1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxNcPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_wxImage_HSVValue swig_types[36]
1379 #define SWIGTYPE_p_int swig_types[37]
1380 #define SWIGTYPE_p_wxSize swig_types[38]
1381 #define SWIGTYPE_p_wxDC swig_types[39]
1382 #define SWIGTYPE_p_wxPySizer swig_types[40]
1383 #define SWIGTYPE_p_wxVisualAttributes swig_types[41]
1384 #define SWIGTYPE_p_wxImage_RGBValue swig_types[42]
1385 #define SWIGTYPE_p_wxNotifyEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyEvent swig_types[44]
1387 #define SWIGTYPE_p_wxPropagationDisabler swig_types[45]
1388 #define SWIGTYPE_p_form_ops_t swig_types[46]
1389 #define SWIGTYPE_p_wxAppTraits swig_types[47]
1390 #define SWIGTYPE_p_wxArrayString swig_types[48]
1391 #define SWIGTYPE_p_wxShowEvent swig_types[49]
1392 #define SWIGTYPE_p_wxToolTip swig_types[50]
1393 #define SWIGTYPE_p_wxMoveEvent swig_types[51]
1394 #define SWIGTYPE_p_wxSizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxActivateEvent swig_types[53]
1396 #define SWIGTYPE_p_wxIconizeEvent swig_types[54]
1397 #define SWIGTYPE_p_wxMaximizeEvent swig_types[55]
1398 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[56]
1399 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
1401 #define SWIGTYPE_p_wxDateEvent swig_types[59]
1402 #define SWIGTYPE_p_wxMenuItem swig_types[60]
1403 #define SWIGTYPE_p_wxStaticBox swig_types[61]
1404 #define SWIGTYPE_p_long swig_types[62]
1405 #define SWIGTYPE_p_wxDuplexMode swig_types[63]
1406 #define SWIGTYPE_p_wxTIFFHandler swig_types[64]
1407 #define SWIGTYPE_p_wxXPMHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPNMHandler swig_types[66]
1409 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPCXHandler swig_types[68]
1411 #define SWIGTYPE_p_wxGIFHandler swig_types[69]
1412 #define SWIGTYPE_p_wxPNGHandler swig_types[70]
1413 #define SWIGTYPE_p_wxANIHandler swig_types[71]
1414 #define SWIGTYPE_p_wxPyImageHandler swig_types[72]
1415 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[73]
1416 #define SWIGTYPE_p_wxZipFSHandler swig_types[74]
1417 #define SWIGTYPE_p_wxInternetFSHandler swig_types[75]
1418 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[76]
1419 #define SWIGTYPE_p_wxEvtHandler swig_types[77]
1420 #define SWIGTYPE_p_wxCURHandler swig_types[78]
1421 #define SWIGTYPE_p_wxICOHandler swig_types[79]
1422 #define SWIGTYPE_p_wxBMPHandler swig_types[80]
1423 #define SWIGTYPE_p_wxImageHandler swig_types[81]
1424 #define SWIGTYPE_p_wxFileSystemHandler swig_types[82]
1425 #define SWIGTYPE_p_wxRect swig_types[83]
1426 #define SWIGTYPE_p_wxButton swig_types[84]
1427 #define SWIGTYPE_p_wxGBSpan swig_types[85]
1428 #define SWIGTYPE_p_wxPropagateOnce swig_types[86]
1429 #define SWIGTYPE_p_wxAcceleratorTable swig_types[87]
1430 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[88]
1431 #define SWIGTYPE_p_char swig_types[89]
1432 #define SWIGTYPE_p_wxGBPosition swig_types[90]
1433 #define SWIGTYPE_p_wxImage swig_types[91]
1434 #define SWIGTYPE_p_wxFrame swig_types[92]
1435 #define SWIGTYPE_p_wxScrollWinEvent swig_types[93]
1436 #define SWIGTYPE_p_wxPaperSize swig_types[94]
1437 #define SWIGTYPE_p_wxImageHistogram swig_types[95]
1438 #define SWIGTYPE_p_wxPoint swig_types[96]
1439 #define SWIGTYPE_p_wxCursor swig_types[97]
1440 #define SWIGTYPE_p_wxObject swig_types[98]
1441 #define SWIGTYPE_p_wxInputStream swig_types[99]
1442 #define SWIGTYPE_p_wxOutputStream swig_types[100]
1443 #define SWIGTYPE_p_wxPyInputStream swig_types[101]
1444 #define SWIGTYPE_p_wxDateTime swig_types[102]
1445 #define SWIGTYPE_p_wxKeyEvent swig_types[103]
1446 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
1447 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[105]
1448 #define SWIGTYPE_p_unsigned_long swig_types[106]
1449 #define SWIGTYPE_p_wxWindow swig_types[107]
1450 #define SWIGTYPE_p_wxMenuBar swig_types[108]
1451 #define SWIGTYPE_p_wxFileSystem swig_types[109]
1452 #define SWIGTYPE_p_wxBitmap swig_types[110]
1453 #define SWIGTYPE_unsigned_int swig_types[111]
1454 #define SWIGTYPE_p_unsigned_int swig_types[112]
1455 #define SWIGTYPE_p_wxMenuEvent swig_types[113]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[114]
1457 #define SWIGTYPE_p_unsigned_char swig_types[115]
1458 #define SWIGTYPE_p_wxMouseEvent swig_types[116]
1459 #define SWIGTYPE_p_wxEraseEvent swig_types[117]
1460 #define SWIGTYPE_p_wxCloseEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyApp swig_types[119]
1462 #define SWIGTYPE_p_wxCommandEvent swig_types[120]
1463 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
1464 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
1465 #define SWIGTYPE_p_wxQuantize swig_types[123]
1466 #define SWIGTYPE_p_wxFocusEvent swig_types[124]
1467 #define SWIGTYPE_p_wxChildFocusEvent swig_types[125]
1468 #define SWIGTYPE_p_wxDropFilesEvent swig_types[126]
1469 #define SWIGTYPE_p_wxControlWithItems swig_types[127]
1470 #define SWIGTYPE_p_wxColour swig_types[128]
1471 #define SWIGTYPE_p_wxValidator swig_types[129]
1472 #define SWIGTYPE_p_wxPyValidator swig_types[130]
1473 static swig_type_info
*swig_types
[132];
1475 /* -------- TYPES TABLE (END) -------- */
1478 /*-----------------------------------------------
1479 @(target):= _core_.so
1480 ------------------------------------------------*/
1481 #define SWIG_init init_core_
1483 #define SWIG_name "_core_"
1485 #include "wx/wxPython/wxPython_int.h"
1486 #include "wx/wxPython/pyclasses.h"
1489 #ifndef wxPyUSE_EXPORT
1490 // Helper functions for dealing with SWIG objects and such. These are
1491 // located here so they know about the SWIG types and functions declared
1492 // in the wrapper code.
1494 #include <wx/hashmap.h>
1495 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1498 // Maintains a hashmap of className to swig_type_info pointers. Given the
1499 // name of a class either looks up the type info in the cache, or scans the
1500 // SWIG tables for it.
1501 extern PyObject
* wxPyPtrTypeMap
;
1503 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1505 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1507 if (typeInfoCache
== NULL
)
1508 typeInfoCache
= new wxPyTypeInfoHashMap
;
1510 wxString
name(className
);
1511 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1514 // it wasn't in the cache, so look it up from SWIG
1515 name
.Append(wxT(" *"));
1516 swigType
= SWIG_TypeQuery(name
.mb_str());
1518 // if it still wasn't found, try looking for a mapped name
1523 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1524 (char*)(const char*)name
.mbc_str())) != NULL
) {
1525 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1526 name
.Append(wxT(" *"));
1527 swigType
= SWIG_TypeQuery(name
.mb_str());
1531 // and add it to the map if found
1532 (*typeInfoCache
)[className
] = swigType
;
1539 // Check if a class name is a type known to SWIG
1540 bool wxPyCheckSwigType(const wxChar
* className
) {
1542 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1543 return swigType
!= NULL
;
1547 // Given a pointer to a C++ object and a class name, construct a Python proxy
1549 PyObject
* wxPyConstructObject(void* ptr
,
1550 const wxChar
* className
,
1553 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1554 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1556 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1560 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1561 // Ensures that the proxy object is of the specified (or derived) type. If
1562 // not able to perform the conversion then a Python exception is set and the
1563 // error should be handled properly in the caller. Returns True on success.
1564 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1565 const wxChar
* className
) {
1567 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1568 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1570 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1574 // Make a SWIGified pointer object suitable for a .this attribute
1575 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1577 PyObject
* robj
= NULL
;
1579 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1580 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1582 #ifdef SWIG_COBJECT_TYPES
1583 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1587 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1588 PyString_FromString(result
) : 0;
1596 // Python's PyInstance_Check does not return True for instances of new-style
1597 // classes. This should get close enough for both new and old classes but I
1598 // should re-evaluate the need for doing instance checks...
1599 bool wxPyInstance_Check(PyObject
* obj
) {
1600 return PyObject_HasAttrString(obj
, "__class__") != 0;
1605 // This one checks if the object is an instance of a SWIG proxy class (it has
1606 // a .this attribute, and the .this attribute is a PySwigObject.)
1607 bool wxPySwigInstance_Check(PyObject
* obj
) {
1608 static PyObject
* this_str
= NULL
;
1609 if (this_str
== NULL
)
1610 this_str
= PyString_FromString("this");
1612 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
1614 bool retval
= (PySwigObject_Check(this_attr
) != 0);
1615 Py_DECREF(this_attr
);
1625 // Export a C API in a struct. Other modules will be able to load this from
1626 // the wx._core_ module and will then have safe access to these functions,
1627 // even if they are located in another shared library.
1628 static wxPyCoreAPI API
= {
1631 wxPyConstructObject
,
1635 wxPyBeginAllowThreads
,
1636 wxPyEndAllowThreads
,
1637 wxPyBeginBlockThreads
,
1638 wxPyEndBlockThreads
,
1650 wxPoint_LIST_helper
,
1651 wxBitmap_LIST_helper
,
1652 wxString_LIST_helper
,
1653 wxAcceleratorEntry_LIST_helper
,
1662 wxPySimple_typecheck
,
1665 wxPyCBH_setCallbackInfo
,
1666 wxPyCBH_findCallback
,
1667 wxPyCBH_callCallback
,
1668 wxPyCBH_callCallbackObj
,
1674 wxPy2int_seq_helper
,
1675 wxPy4int_seq_helper
,
1676 wxArrayString2PyList_helper
,
1677 wxArrayInt2PyList_helper
,
1679 wxPyClientData_dtor
,
1681 wxPyOORClientData_dtor
,
1683 wxPyCBInputStream_create
,
1684 wxPyCBInputStream_copy
,
1687 wxPySwigInstance_Check
,
1696 #if !WXWIN_COMPATIBILITY_2_4
1697 #define wxHIDE_READONLY 0
1701 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1702 #define SWIG_From_int PyInt_FromLong
1705 static const wxString
wxPyEmptyString(wxEmptyString
);
1706 static wxString
wxObject_GetClassName(wxObject
*self
){
1707 return self
->GetClassInfo()->GetClassName();
1709 static void wxObject_Destroy(wxObject
*self
){
1714 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1722 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1725 if (value
< min_value
) {
1727 PyErr_Format(PyExc_OverflowError
,
1728 "value %ld is less than '%s' minimum %ld",
1729 value
, errmsg
, min_value
);
1732 } else if (value
> max_value
) {
1734 PyErr_Format(PyExc_OverflowError
,
1735 "value %ld is greater than '%s' maximum %ld",
1736 value
, errmsg
, max_value
);
1745 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1747 if (PyNumber_Check(obj
)) {
1748 if (val
) *val
= PyInt_AsLong(obj
);
1752 SWIG_type_error("number", obj
);
1758 #if INT_MAX != LONG_MAX
1760 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1762 const char* errmsg
= val
? "int" : (char*)0;
1764 if (SWIG_AsVal_long(obj
, &v
)) {
1765 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1766 if (val
) *val
= (int)(v
);
1775 SWIG_type_error(errmsg
, obj
);
1781 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1783 return SWIG_AsVal_long(obj
,(long*)val
);
1789 SWIG_As_int(PyObject
* obj
)
1792 if (!SWIG_AsVal_int(obj
, &v
)) {
1794 this is needed to make valgrind/purify happier.
1796 memset((void*)&v
, 0, sizeof(int));
1803 SWIG_Check_int(PyObject
* obj
)
1805 return SWIG_AsVal_int(obj
, (int*)0);
1808 static PyObject
*wxSize_Get(wxSize
*self
){
1809 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1810 PyObject
* tup
= PyTuple_New(2);
1811 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1812 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1813 wxPyEndBlockThreads(blocked
);
1818 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1820 if (PyNumber_Check(obj
)) {
1821 if (val
) *val
= PyFloat_AsDouble(obj
);
1825 SWIG_type_error("number", obj
);
1831 SWIGINTERNSHORT
double
1832 SWIG_As_double(PyObject
* obj
)
1835 if (!SWIG_AsVal_double(obj
, &v
)) {
1837 this is needed to make valgrind/purify happier.
1839 memset((void*)&v
, 0, sizeof(double));
1846 SWIG_Check_double(PyObject
* obj
)
1848 return SWIG_AsVal_double(obj
, (double*)0);
1852 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1853 #define SWIG_From_double PyFloat_FromDouble
1856 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1860 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1861 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1862 PyObject
* tup
= PyTuple_New(2);
1863 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1864 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1865 wxPyEndBlockThreads(blocked
);
1869 SWIGINTERNSHORT
long
1870 SWIG_As_long(PyObject
* obj
)
1873 if (!SWIG_AsVal_long(obj
, &v
)) {
1875 this is needed to make valgrind/purify happier.
1877 memset((void*)&v
, 0, sizeof(long));
1884 SWIG_Check_long(PyObject
* obj
)
1886 return SWIG_AsVal_long(obj
, (long*)0);
1889 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1893 static PyObject
*wxPoint_Get(wxPoint
*self
){
1894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1895 PyObject
* tup
= PyTuple_New(2);
1896 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1897 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1898 wxPyEndBlockThreads(blocked
);
1901 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1904 self
->width
= width
;
1905 self
->height
= height
;
1907 static PyObject
*wxRect_Get(wxRect
*self
){
1908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1909 PyObject
* tup
= PyTuple_New(4);
1910 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1911 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1912 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1913 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1914 wxPyEndBlockThreads(blocked
);
1918 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1921 wxRect
dest(0,0,0,0);
1924 reg1
.Intersect(reg2
);
1925 dest
= reg1
.GetBox();
1927 if (dest
!= wxRect(0,0,0,0)) {
1928 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1929 wxRect
* newRect
= new wxRect(dest
);
1930 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1931 wxPyEndBlockThreads(blocked
);
1939 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1945 } else if (target
== Py_None
) {
1949 if (!PyTuple_Check(target
)) {
1951 target
= PyTuple_New(1);
1952 PyTuple_SetItem(target
, 0, o2
);
1954 o3
= PyTuple_New(1);
1955 PyTuple_SetItem(o3
, 0, o
);
1958 target
= PySequence_Concat(o2
, o3
);
1966 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1970 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 PyObject
* tup
= PyTuple_New(2);
1973 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1974 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1975 wxPyEndBlockThreads(blocked
);
1979 #include "wx/wxPython/pyistream.h"
1981 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1982 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1984 return new wxPyInputStream(wxis
);
1989 SWIGINTERNSHORT PyObject
*
1990 SWIG_From_char(char c
)
1992 return PyString_FromStringAndSize(&c
,1);
1996 SWIGINTERNSHORT PyObject
*
1997 SWIG_From_unsigned_SS_long(unsigned long value
)
1999 return (value
> LONG_MAX
) ?
2000 PyLong_FromUnsignedLong(value
)
2001 : PyInt_FromLong((long)(value
));
2005 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
2007 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
2009 static swig_type_info
* pchar_info
= 0;
2011 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
2012 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
2013 if (cptr
) *cptr
= vptr
;
2014 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2018 if (PyString_Check(obj
)) {
2020 *cptr
= PyString_AS_STRING(obj
);
2022 *psize
= PyString_GET_SIZE(obj
) + 1;
2029 SWIG_type_error("char *", obj
);
2036 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2038 char* cptr
; size_t csize
;
2039 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2042 char x[5] = "hello";
2044 ie, assing the array using an extra '0' char.
2046 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2047 if (csize
<= size
) {
2049 if (csize
) memcpy(val
, cptr
, csize
);
2050 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2056 PyErr_Format(PyExc_TypeError
,
2057 "a char array of maximum size %lu is expected",
2058 (unsigned long) size
);
2065 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2067 const char* errmsg
= val
? "char" : (char*)0;
2069 if (SWIG_AsVal_long(obj
, &v
)) {
2070 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2071 if (val
) *val
= (char)(v
);
2078 return SWIG_AsCharArray(obj
, val
, 1);
2083 SWIGINTERNSHORT
char
2084 SWIG_As_char(PyObject
* obj
)
2087 if (!SWIG_AsVal_char(obj
, &v
)) {
2089 this is needed to make valgrind/purify happier.
2091 memset((void*)&v
, 0, sizeof(char));
2098 SWIG_Check_char(PyObject
* obj
)
2100 return SWIG_AsVal_char(obj
, (char*)0);
2104 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2105 #define SWIG_From_long PyInt_FromLong
2108 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2109 // We use only strings for the streams, not unicode
2110 PyObject
* str
= PyObject_Str(obj
);
2112 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2115 self
->Write(PyString_AS_STRING(str
),
2116 PyString_GET_SIZE(str
));
2120 #include "wx/wxPython/pyistream.h"
2123 class wxPyFileSystemHandler
: public wxFileSystemHandler
2126 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2128 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2129 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2130 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2131 DEC_PYCALLBACK_STRING__pure(FindNext
);
2133 wxString
GetProtocol(const wxString
& location
) {
2134 return wxFileSystemHandler::GetProtocol(location
);
2137 wxString
GetLeftLocation(const wxString
& location
) {
2138 return wxFileSystemHandler::GetLeftLocation(location
);
2141 wxString
GetAnchor(const wxString
& location
) {
2142 return wxFileSystemHandler::GetAnchor(location
);
2145 wxString
GetRightLocation(const wxString
& location
) {
2146 return wxFileSystemHandler::GetRightLocation(location
);
2149 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2150 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2157 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2158 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2159 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2160 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2164 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2166 if (obj
== Py_True
) {
2167 if (val
) *val
= true;
2170 if (obj
== Py_False
) {
2171 if (val
) *val
= false;
2175 if (SWIG_AsVal_int(obj
, &res
)) {
2176 if (val
) *val
= res
? true : false;
2182 SWIG_type_error("bool", obj
);
2188 SWIGINTERNSHORT
bool
2189 SWIG_As_bool(PyObject
* obj
)
2192 if (!SWIG_AsVal_bool(obj
, &v
)) {
2194 this is needed to make valgrind/purify happier.
2196 memset((void*)&v
, 0, sizeof(bool));
2203 SWIG_Check_bool(PyObject
* obj
)
2205 return SWIG_AsVal_bool(obj
, (bool*)0);
2208 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2209 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2210 return fname
.GetFullPath();
2213 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2216 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2219 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2220 const wxBitmap
& bitmap
,
2222 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2225 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2227 if (! PyString_Check(data
)) {
2228 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2229 "Expected string object"));
2233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2234 void* ptr
= (void*)PyString_AsString(data
);
2235 size_t size
= PyString_Size(data
);
2236 wxPyEndBlockThreads(blocked
);
2238 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2242 #include "wx/wxPython/pyistream.h"
2246 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2249 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2250 SWIG_type_error("unsigned number", obj
);
2253 *val
= (unsigned long)v
;
2259 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2260 unsigned long max_value
,
2263 if (value
> max_value
) {
2265 PyErr_Format(PyExc_OverflowError
,
2266 "value %lu is greater than '%s' minimum %lu",
2267 value
, errmsg
, max_value
);
2276 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2278 const char* errmsg
= val
? "unsigned char" : (char*)0;
2280 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2281 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2282 if (val
) *val
= (unsigned char)(v
);
2291 SWIG_type_error(errmsg
, obj
);
2297 SWIGINTERNSHORT
unsigned char
2298 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2301 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2303 this is needed to make valgrind/purify happier.
2305 memset((void*)&v
, 0, sizeof(unsigned char));
2312 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2314 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2318 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2319 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2324 SWIGINTERNSHORT
unsigned long
2325 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2328 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2330 this is needed to make valgrind/purify happier.
2332 memset((void*)&v
, 0, sizeof(unsigned long));
2339 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2341 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2344 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2345 wxImageHistogramEntry e
= (*self
)[key
];
2348 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2349 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2350 wxImageHistogramEntry e
= (*self
)[key
];
2353 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2354 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2357 wxImageHistogramEntry e
= (*self
)[key
];
2361 typedef unsigned char* buffer
;
2364 // Pull the nested class out to the top level for SWIG's sake
2365 #define wxImage_RGBValue wxImage::RGBValue
2366 #define wxImage_HSVValue wxImage::HSVValue
2368 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2369 if (width
> 0 && height
> 0)
2370 return new wxImage(width
, height
, clear
);
2374 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2375 return new wxImage(bitmap
.ConvertToImage());
2377 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2378 if (DATASIZE
!= width
*height
*3) {
2379 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2383 // Copy the source data so the wxImage can clean it up later
2384 buffer copy
= (buffer
)malloc(DATASIZE
);
2386 wxPyBLOCK_THREADS(PyErr_NoMemory());
2389 memcpy(copy
, data
, DATASIZE
);
2390 return new wxImage(width
, height
, copy
, false);
2392 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2393 if (DATASIZE
!= width
*height
*3) {
2394 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2397 if (ALPHASIZE
!= width
*height
) {
2398 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2402 // Copy the source data so the wxImage can clean it up later
2403 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2404 if (dcopy
== NULL
) {
2405 wxPyBLOCK_THREADS(PyErr_NoMemory());
2408 memcpy(dcopy
, data
, DATASIZE
);
2410 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2411 if (acopy
== NULL
) {
2412 wxPyBLOCK_THREADS(PyErr_NoMemory());
2415 memcpy(acopy
, alpha
, ALPHASIZE
);
2417 return new wxImage(width
, height
, dcopy
, acopy
, false);
2419 static wxSize
wxImage_GetSize(wxImage
*self
){
2420 wxSize
size(self
->GetWidth(), self
->GetHeight());
2423 static PyObject
*wxImage_GetData(wxImage
*self
){
2424 buffer data
= self
->GetData();
2425 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2427 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2430 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2431 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2432 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2435 buffer copy
= (buffer
)malloc(DATASIZE
);
2437 wxPyBLOCK_THREADS(PyErr_NoMemory());
2440 memcpy(copy
, data
, DATASIZE
);
2441 self
->SetData(copy
, false);
2442 // wxImage takes ownership of copy...
2444 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2445 buffer data
= self
->GetData();
2446 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2448 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2451 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2452 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2453 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2456 self
->SetData(data
, true);
2458 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2459 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2469 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2470 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2471 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2474 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2475 if (acopy
== NULL
) {
2476 wxPyBLOCK_THREADS(PyErr_NoMemory());
2479 memcpy(acopy
, alpha
, ALPHASIZE
);
2480 self
->SetAlpha(acopy
, false);
2481 // wxImage takes ownership of acopy...
2483 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2484 buffer data
= self
->GetAlpha();
2485 int len
= self
->GetWidth() * self
->GetHeight();
2487 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2490 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2491 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2492 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2495 self
->SetAlpha(alpha
, true);
2497 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2498 wxBitmap
bitmap(*self
, depth
);
2501 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2502 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2503 wxBitmap
bitmap( mono
, 1 );
2506 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2507 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2508 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2509 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2510 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2511 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2512 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2513 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2514 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2515 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2516 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2517 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2518 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2519 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2520 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2522 #include <wx/quantize.h>
2524 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2525 return wxQuantize::Quantize(src
, dest
,
2528 NULL
, // eightBitData
2531 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2532 if (PyCallable_Check(func
)) {
2533 self
->Connect(id
, lastId
, eventType
,
2534 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2535 new wxPyCallback(func
));
2537 else if (func
== Py_None
) {
2538 self
->Disconnect(id
, lastId
, eventType
,
2539 (wxObjectEventFunction
)
2540 &wxPyCallback::EventThunker
);
2544 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2547 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2548 return self
->Disconnect(id
, lastId
, eventType
,
2549 (wxObjectEventFunction
)
2550 &wxPyCallback::EventThunker
);
2552 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2553 if (_self
&& _self
!= Py_None
) {
2554 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2557 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2559 self
->SetClientObject(NULL
); // This will delete it too
2565 #define wxEVT_HOTKEY -9999
2569 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2571 return self
->GetUnicodeKey();
2577 #if UINT_MAX < LONG_MAX
2578 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2579 #define SWIG_From_unsigned_SS_int SWIG_From_long
2582 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2583 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2588 #if UINT_MAX != ULONG_MAX
2590 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2592 const char* errmsg
= val
? "unsigned int" : (char*)0;
2594 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2595 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2596 if (val
) *val
= (unsigned int)(v
);
2603 SWIG_type_error(errmsg
, obj
);
2608 SWIGINTERNSHORT
unsigned int
2609 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2611 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2616 SWIGINTERNSHORT
unsigned int
2617 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2620 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2622 this is needed to make valgrind/purify happier.
2624 memset((void*)&v
, 0, sizeof(unsigned int));
2631 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2633 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2636 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2637 self
->m_size
= size
;
2639 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2640 int count
= self
->GetNumberOfFiles();
2641 wxString
* files
= self
->GetFiles();
2642 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2643 PyObject
* list
= PyList_New(count
);
2646 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2647 wxPyEndBlockThreads(blocked
);
2651 for (int i
=0; i
<count
; i
++) {
2652 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2654 wxPyEndBlockThreads(blocked
);
2659 static wxPyApp
*new_wxPyApp(){
2660 wxPythonApp
= new wxPyApp();
2664 void wxApp_CleanUp() {
2669 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2673 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2675 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2680 SWIG_type_error("char *", obj
);
2686 SWIGINTERN PyObject
*
2687 SWIG_FromCharPtr(const char* cptr
)
2690 size_t size
= strlen(cptr
);
2691 if (size
> INT_MAX
) {
2692 return SWIG_NewPointerObj((char*)(cptr
),
2693 SWIG_TypeQuery("char *"), 0);
2696 return PyString_FromStringAndSize(cptr
, size
);
2698 return PyString_FromString(cptr
);
2709 // A dummy class that raises an exception if used...
2713 wxEventLoop() { wxPyRaiseNotImplemented(); }
2714 int Run() { return 0; }
2715 void Exit(int rc
= 0) {}
2716 bool Pending() const { return false; }
2717 bool Dispatch() { return false; }
2718 bool IsRunning() const { return false; }
2719 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2720 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2725 #include <wx/evtloop.h>
2731 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2733 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2734 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2735 wxWindowList
& list
= self
->GetChildren();
2736 return wxPy_ConvertList(&list
);
2738 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2740 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2745 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2752 static long wxWindow_GetHandle(wxWindow
*self
){
2753 return wxPyGetWinHandle(self
);
2755 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2756 self
->AssociateHandle((WXWidget
)handle
);
2759 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2760 return wxWindow::FindWindowById(id
, parent
);
2763 wxWindow
* wxFindWindowByName( const wxString
& name
,
2764 const wxWindow
*parent
= NULL
) {
2765 return wxWindow::FindWindowByName(name
, parent
);
2768 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2769 const wxWindow
*parent
= NULL
) {
2770 return wxWindow::FindWindowByLabel(label
, parent
);
2775 #include <wx/msw/private.h> // to get wxGetWindowId
2779 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2781 WXHWND hWnd
= (WXHWND
)_hWnd
;
2782 long id
= wxGetWindowId(hWnd
);
2783 wxWindow
* win
= new wxWindow
;
2785 parent
->AddChild(win
);
2786 win
->SetEventHandler(win
);
2789 win
->SubclassWin(hWnd
);
2790 win
->AdoptAttributesFromHWND();
2791 win
->SetupColours();
2794 wxPyRaiseNotImplemented();
2800 PyObject
* GetTopLevelWindows() {
2801 return wxPy_ConvertList(&wxTopLevelWindows
);
2805 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2806 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2807 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2809 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2811 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2812 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2813 wxMenuItemList
& list
= self
->GetMenuItems();
2814 return wxPy_ConvertList(&list
);
2816 static void MenuBar_SetAutoWindowMenu(bool enable
){}
2817 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2818 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2819 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2821 wxPyClientData
* data
= new wxPyClientData(clientData
);
2822 return self
->Append(item
, data
);
2824 return self
->Append(item
);
2826 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2828 wxPyClientData
* data
= new wxPyClientData(clientData
);
2829 return self
->Insert(item
, pos
, data
);
2831 return self
->Insert(item
, pos
);
2833 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2834 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2836 Py_INCREF(data
->m_obj
);
2843 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2844 wxPyClientData
* data
= new wxPyClientData(clientData
);
2845 self
->SetClientObject(n
, data
);
2849 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2850 wxPyUserData
* data
= NULL
;
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 data
= new wxPyUserData(userData
);
2854 wxPyEndBlockThreads(blocked
);
2856 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2858 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2859 wxPyUserData
* data
= NULL
;
2861 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2862 data
= new wxPyUserData(userData
);
2863 wxPyEndBlockThreads(blocked
);
2865 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2867 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2868 wxPyUserData
* data
= NULL
;
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2871 data
= new wxPyUserData(userData
);
2872 wxPyEndBlockThreads(blocked
);
2874 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2879 SWIG_CheckDoubleInRange(double value
, double min_value
,
2880 double max_value
, const char* errmsg
)
2882 if (value
< min_value
) {
2884 PyErr_Format(PyExc_OverflowError
,
2885 "value %g is less than %s minimum %g",
2886 value
, errmsg
, min_value
);
2889 } else if (value
> max_value
) {
2891 PyErr_Format(PyExc_OverflowError
,
2892 "value %g is greater than %s maximum %g",
2893 value
, errmsg
, max_value
);
2902 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2904 const char* errmsg
= val
? "float" : (char*)0;
2906 if (SWIG_AsVal_double(obj
, &v
)) {
2907 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2908 if (val
) *val
= (float)(v
);
2917 SWIG_type_error(errmsg
, obj
);
2923 SWIGINTERNSHORT
float
2924 SWIG_As_float(PyObject
* obj
)
2927 if (!SWIG_AsVal_float(obj
, &v
)) {
2929 this is needed to make valgrind/purify happier.
2931 memset((void*)&v
, 0, sizeof(float));
2938 SWIG_Check_float(PyObject
* obj
)
2940 return SWIG_AsVal_float(obj
, (float*)0);
2944 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2945 #define SWIG_From_float PyFloat_FromDouble
2948 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2949 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2951 Py_INCREF(data
->m_obj
);
2959 // Figure out the type of the sizer item
2961 struct wxPySizerItemInfo
{
2963 : window(NULL
), sizer(NULL
), gotSize(false),
2964 size(wxDefaultSize
), gotPos(false), pos(-1)
2975 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2977 wxPySizerItemInfo info
;
2979 wxSize
* sizePtr
= &size
;
2981 // Find out what the type of the item is
2983 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2988 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2992 // try wxSize or (w,h)
2993 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2994 info
.size
= *sizePtr
;
2995 info
.gotSize
= true;
2999 if (checkIdx
&& PyInt_Check(item
)) {
3000 info
.pos
= PyInt_AsLong(item
);
3006 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3007 // no expected type, figure out what kind of error message to generate
3008 if ( !checkSize
&& !checkIdx
)
3009 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3010 else if ( checkSize
&& !checkIdx
)
3011 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3012 else if ( !checkSize
&& checkIdx
)
3013 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3015 // can this one happen?
3016 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3022 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3023 if (!self
->GetClientObject())
3024 self
->SetClientObject(new wxPyOORClientData(_self
));
3026 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3028 wxPyUserData
* data
= NULL
;
3029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3031 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3032 data
= new wxPyUserData(userData
);
3033 wxPyEndBlockThreads(blocked
);
3035 // Now call the real Add method if a valid item type was found
3037 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3038 else if ( info
.sizer
)
3039 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3040 else if (info
.gotSize
)
3041 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3042 proportion
, flag
, border
, data
);
3046 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3048 wxPyUserData
* data
= NULL
;
3049 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3050 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3051 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3052 data
= new wxPyUserData(userData
);
3053 wxPyEndBlockThreads(blocked
);
3055 // Now call the real Insert method if a valid item type was found
3057 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3058 else if ( info
.sizer
)
3059 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3060 else if (info
.gotSize
)
3061 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3062 proportion
, flag
, border
, data
);
3066 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3068 wxPyUserData
* data
= NULL
;
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3071 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3072 data
= new wxPyUserData(userData
);
3073 wxPyEndBlockThreads(blocked
);
3075 // Now call the real Prepend method if a valid item type was found
3077 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3078 else if ( info
.sizer
)
3079 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3080 else if (info
.gotSize
)
3081 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3082 proportion
, flag
, border
, data
);
3086 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 return self
->Remove(info
.window
);
3092 else if ( info
.sizer
)
3093 return self
->Remove(info
.sizer
);
3094 else if ( info
.gotPos
)
3095 return self
->Remove(info
.pos
);
3099 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3100 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3101 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3102 wxPyEndBlockThreads(blocked
);
3104 return self
->Detach(info
.window
);
3105 else if ( info
.sizer
)
3106 return self
->Detach(info
.sizer
);
3107 else if ( info
.gotPos
)
3108 return self
->Detach(info
.pos
);
3112 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3114 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3115 wxPyEndBlockThreads(blocked
);
3117 return self
->GetItem(info
.window
);
3118 else if ( info
.sizer
)
3119 return self
->GetItem(info
.sizer
);
3120 else if ( info
.gotPos
)
3121 return self
->GetItem(info
.pos
);
3125 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3126 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3127 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3128 wxPyEndBlockThreads(blocked
);
3130 self
->SetItemMinSize(info
.window
, size
);
3131 else if ( info
.sizer
)
3132 self
->SetItemMinSize(info
.sizer
, size
);
3133 else if ( info
.gotPos
)
3134 self
->SetItemMinSize(info
.pos
, size
);
3136 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3137 wxSizerItemList
& list
= self
->GetChildren();
3138 return wxPy_ConvertList(&list
);
3140 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3142 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3143 wxPyEndBlockThreads(blocked
);
3145 return self
->Show(info
.window
, show
, recursive
);
3146 else if ( info
.sizer
)
3147 return self
->Show(info
.sizer
, show
, recursive
);
3148 else if ( info
.gotPos
)
3149 return self
->Show(info
.pos
, show
);
3153 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3155 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3156 wxPyEndBlockThreads(blocked
);
3158 return self
->IsShown(info
.window
);
3159 else if ( info
.sizer
)
3160 return self
->IsShown(info
.sizer
);
3161 else if ( info
.gotPos
)
3162 return self
->IsShown(info
.pos
);
3168 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3169 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3170 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3175 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3177 if (source
== Py_None
) {
3178 **obj
= wxGBPosition(-1,-1);
3181 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3184 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3186 if (source
== Py_None
) {
3187 **obj
= wxGBSpan(-1,-1);
3190 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3194 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3198 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3199 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3200 PyObject
* tup
= PyTuple_New(2);
3201 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3202 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3203 wxPyEndBlockThreads(blocked
);
3206 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3207 self
->SetRowspan(rowspan
);
3208 self
->SetColspan(colspan
);
3210 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* tup
= PyTuple_New(2);
3213 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3214 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3215 wxPyEndBlockThreads(blocked
);
3218 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3219 wxPyUserData
* data
= NULL
;
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 data
= new wxPyUserData(userData
);
3223 wxPyEndBlockThreads(blocked
);
3225 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3227 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3228 wxPyUserData
* data
= NULL
;
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 data
= new wxPyUserData(userData
);
3232 wxPyEndBlockThreads(blocked
);
3234 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3236 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3237 wxPyUserData
* data
= NULL
;
3239 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3240 data
= new wxPyUserData(userData
);
3241 wxPyEndBlockThreads(blocked
);
3243 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3245 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3247 self
->GetEndPos(row
, col
);
3248 return wxGBPosition(row
, col
);
3250 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3252 wxPyUserData
* data
= NULL
;
3253 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3254 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3255 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3256 data
= new wxPyUserData(userData
);
3257 wxPyEndBlockThreads(blocked
);
3259 // Now call the real Add method if a valid item type was found
3261 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3262 else if ( info
.sizer
)
3263 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3264 else if (info
.gotSize
)
3265 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3266 pos
, span
, flag
, border
, data
);
3274 static int _wrap_EmptyString_set(PyObject
*) {
3275 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3280 static PyObject
*_wrap_EmptyString_get(void) {
3285 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3287 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3294 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxObject
*arg1
= (wxObject
*) 0 ;
3298 PyObject
* obj0
= 0 ;
3300 (char *) "self", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3305 if (SWIG_arg_fail(1)) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= wxObject_GetClassName(arg1
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3326 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxObject
*arg1
= (wxObject
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3331 (char *) "self", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3336 if (SWIG_arg_fail(1)) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxObject_Destroy(arg1
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3354 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3356 return Py_BuildValue((char *)"");
3358 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxSize
*arg1
= (wxSize
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3365 (char *) "self",(char *) "x", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3370 if (SWIG_arg_fail(1)) SWIG_fail
;
3372 arg2
= (int)(SWIG_As_int(obj1
));
3373 if (SWIG_arg_fail(2)) SWIG_fail
;
3375 if (arg1
) (arg1
)->x
= arg2
;
3377 Py_INCREF(Py_None
); resultobj
= Py_None
;
3384 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxSize
*arg1
= (wxSize
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail
;
3396 result
= (int) ((arg1
)->x
);
3399 resultobj
= SWIG_From_int((int)(result
));
3407 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxSize
*arg1
= (wxSize
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3414 (char *) "self",(char *) "y", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 arg2
= (int)(SWIG_As_int(obj1
));
3422 if (SWIG_arg_fail(2)) SWIG_fail
;
3424 if (arg1
) (arg1
)->y
= arg2
;
3426 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxSize
*arg1
= (wxSize
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3444 if (SWIG_arg_fail(1)) SWIG_fail
;
3445 result
= (int) ((arg1
)->y
);
3448 resultobj
= SWIG_From_int((int)(result
));
3456 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 int arg1
= (int) 0 ;
3459 int arg2
= (int) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "w",(char *) "h", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 arg1
= (int)(SWIG_As_int(obj0
));
3471 if (SWIG_arg_fail(1)) SWIG_fail
;
3476 arg2
= (int)(SWIG_As_int(obj1
));
3477 if (SWIG_arg_fail(2)) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3494 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
;
3496 wxSize
*arg1
= (wxSize
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3499 (char *) "self", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3504 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxSize
*arg1
= (wxSize
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "sz", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3533 if (SWIG_arg_fail(1)) SWIG_fail
;
3536 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3554 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxSize
*arg1
= (wxSize
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "sz", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3589 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxSize
*arg1
= (wxSize
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3598 (char *) "self",(char *) "sz", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3603 if (SWIG_arg_fail(1)) SWIG_fail
;
3606 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3617 resultptr
= new wxSize((wxSize
&)(result
));
3618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3626 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxSize
*arg1
= (wxSize
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3633 PyObject
* obj1
= 0 ;
3635 (char *) "self",(char *) "sz", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3640 if (SWIG_arg_fail(1)) SWIG_fail
;
3643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3654 resultptr
= new wxSize((wxSize
&)(result
));
3655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3663 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxSize
*arg1
= (wxSize
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3671 (char *) "self",(char *) "sz", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3679 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 (arg1
)->IncTo((wxSize
const &)*arg2
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxSize
*arg1
= (wxSize
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3703 (char *) "self",(char *) "sz", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3711 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->DecTo((wxSize
const &)*arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxSize
*arg1
= (wxSize
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3734 PyObject
* obj2
= 0 ;
3736 (char *) "self",(char *) "w",(char *) "h", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3741 if (SWIG_arg_fail(1)) SWIG_fail
;
3743 arg2
= (int)(SWIG_As_int(obj1
));
3744 if (SWIG_arg_fail(2)) SWIG_fail
;
3747 arg3
= (int)(SWIG_As_int(obj2
));
3748 if (SWIG_arg_fail(3)) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 (arg1
)->Set(arg2
,arg3
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxSize
*arg1
= (wxSize
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "w", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3776 if (SWIG_arg_fail(1)) SWIG_fail
;
3778 arg2
= (int)(SWIG_As_int(obj1
));
3779 if (SWIG_arg_fail(2)) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 (arg1
)->SetWidth(arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxSize
*arg1
= (wxSize
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3802 (char *) "self",(char *) "h", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 arg2
= (int)(SWIG_As_int(obj1
));
3810 if (SWIG_arg_fail(2)) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 (arg1
)->SetHeight(arg2
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxSize
*arg1
= (wxSize
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= SWIG_From_int((int)(result
));
3854 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxSize
*arg1
= (wxSize
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_From_int((int)(result
));
3882 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxSize
*arg1
= (wxSize
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3888 (char *) "self", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3910 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxSize
*arg1
= (wxSize
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3918 (char *) "self",(char *) "size", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail
;
3926 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxSize
*arg1
= (wxSize
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3948 (char *) "self", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (PyObject
*)wxSize_Get(arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3968 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3971 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3973 return Py_BuildValue((char *)"");
3975 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3982 (char *) "self",(char *) "x", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3987 if (SWIG_arg_fail(1)) SWIG_fail
;
3989 arg2
= (double)(SWIG_As_double(obj1
));
3990 if (SWIG_arg_fail(2)) SWIG_fail
;
3992 if (arg1
) (arg1
)->x
= arg2
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
4011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4012 if (SWIG_arg_fail(1)) SWIG_fail
;
4013 result
= (double) ((arg1
)->x
);
4016 resultobj
= SWIG_From_double((double)(result
));
4024 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "y", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4036 if (SWIG_arg_fail(1)) SWIG_fail
;
4038 arg2
= (double)(SWIG_As_double(obj1
));
4039 if (SWIG_arg_fail(2)) SWIG_fail
;
4041 if (arg1
) (arg1
)->y
= arg2
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4062 result
= (double) ((arg1
)->y
);
4065 resultobj
= SWIG_From_double((double)(result
));
4073 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 double arg1
= (double) 0.0 ;
4076 double arg2
= (double) 0.0 ;
4077 wxRealPoint
*result
;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4081 (char *) "x",(char *) "y", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4087 arg1
= (double)(SWIG_As_double(obj0
));
4088 if (SWIG_arg_fail(1)) SWIG_fail
;
4093 arg2
= (double)(SWIG_As_double(obj1
));
4094 if (SWIG_arg_fail(2)) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4111 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "self", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4121 if (SWIG_arg_fail(1)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4139 wxRealPoint
*arg2
= 0 ;
4142 PyObject
* obj0
= 0 ;
4143 PyObject
* obj1
= 0 ;
4145 (char *) "self",(char *) "pt", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail
;
4153 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4171 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4174 wxRealPoint
*arg2
= 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "self",(char *) "pt", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail
;
4188 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4206 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4209 wxRealPoint
*arg2
= 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "pt", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4220 if (SWIG_arg_fail(1)) SWIG_fail
;
4223 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 wxRealPoint
* resultptr
;
4234 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4243 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4246 wxRealPoint
*arg2
= 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "self",(char *) "pt", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail
;
4260 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 wxRealPoint
* resultptr
;
4271 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4280 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 PyObject
* obj2
= 0 ;
4289 (char *) "self",(char *) "x",(char *) "y", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (double)(SWIG_As_double(obj1
));
4297 if (SWIG_arg_fail(2)) SWIG_fail
;
4300 arg3
= (double)(SWIG_As_double(obj2
));
4301 if (SWIG_arg_fail(3)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxRealPoint_Set(arg1
,arg2
,arg3
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 Py_INCREF(Py_None
); resultobj
= Py_None
;
4317 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4321 PyObject
* obj0
= 0 ;
4323 (char *) "self", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4328 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4343 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4346 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4348 return Py_BuildValue((char *)"");
4350 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxPoint
*arg1
= (wxPoint
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "x", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4362 if (SWIG_arg_fail(1)) SWIG_fail
;
4364 arg2
= (int)(SWIG_As_int(obj1
));
4365 if (SWIG_arg_fail(2)) SWIG_fail
;
4367 if (arg1
) (arg1
)->x
= arg2
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxPoint
*arg1
= (wxPoint
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4387 if (SWIG_arg_fail(1)) SWIG_fail
;
4388 result
= (int) ((arg1
)->x
);
4391 resultobj
= SWIG_From_int((int)(result
));
4399 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxPoint
*arg1
= (wxPoint
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4406 (char *) "self",(char *) "y", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4411 if (SWIG_arg_fail(1)) SWIG_fail
;
4413 arg2
= (int)(SWIG_As_int(obj1
));
4414 if (SWIG_arg_fail(2)) SWIG_fail
;
4416 if (arg1
) (arg1
)->y
= arg2
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxPoint
*arg1
= (wxPoint
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "self", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4436 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 result
= (int) ((arg1
)->y
);
4440 resultobj
= SWIG_From_int((int)(result
));
4448 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 int arg1
= (int) 0 ;
4451 int arg2
= (int) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4456 (char *) "x",(char *) "y", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 arg1
= (int)(SWIG_As_int(obj0
));
4463 if (SWIG_arg_fail(1)) SWIG_fail
;
4468 arg2
= (int)(SWIG_As_int(obj1
));
4469 if (SWIG_arg_fail(2)) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4486 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxPoint
*arg1
= (wxPoint
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4491 (char *) "self", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4496 if (SWIG_arg_fail(1)) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 Py_INCREF(Py_None
); resultobj
= Py_None
;
4511 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxPoint
*arg1
= (wxPoint
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4520 (char *) "self",(char *) "pt", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4525 if (SWIG_arg_fail(1)) SWIG_fail
;
4528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxPoint
*arg1
= (wxPoint
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "pt", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxPoint
*arg1
= (wxPoint
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4590 (char *) "self",(char *) "pt", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4595 if (SWIG_arg_fail(1)) SWIG_fail
;
4598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 wxPoint
* resultptr
;
4609 resultptr
= new wxPoint((wxPoint
&)(result
));
4610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4618 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxPoint
*arg1
= (wxPoint
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4627 (char *) "self",(char *) "pt", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail
;
4635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4645 wxPoint
* resultptr
;
4646 resultptr
= new wxPoint((wxPoint
&)(result
));
4647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4655 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxPoint
*arg1
= (wxPoint
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "self",(char *) "pt", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4678 result
= (wxPoint
*) &_result_ref
;
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4691 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxPoint
*arg1
= (wxPoint
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "pt", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4705 if (SWIG_arg_fail(1)) SWIG_fail
;
4708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4714 result
= (wxPoint
*) &_result_ref
;
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4727 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxPoint
*arg1
= (wxPoint
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4733 PyObject
* obj1
= 0 ;
4734 PyObject
* obj2
= 0 ;
4736 (char *) "self",(char *) "x",(char *) "y", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
4744 if (SWIG_arg_fail(2)) SWIG_fail
;
4747 arg3
= (long)(SWIG_As_long(obj2
));
4748 if (SWIG_arg_fail(3)) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxPoint_Set(arg1
,arg2
,arg3
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 Py_INCREF(Py_None
); resultobj
= Py_None
;
4764 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxPoint
*arg1
= (wxPoint
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4770 (char *) "self", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4775 if (SWIG_arg_fail(1)) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 result
= (PyObject
*)wxPoint_Get(arg1
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4790 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4793 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4795 return Py_BuildValue((char *)"");
4797 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 int arg1
= (int) 0 ;
4800 int arg2
= (int) 0 ;
4801 int arg3
= (int) 0 ;
4802 int arg4
= (int) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4806 PyObject
* obj2
= 0 ;
4807 PyObject
* obj3
= 0 ;
4809 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4815 arg1
= (int)(SWIG_As_int(obj0
));
4816 if (SWIG_arg_fail(1)) SWIG_fail
;
4821 arg2
= (int)(SWIG_As_int(obj1
));
4822 if (SWIG_arg_fail(2)) SWIG_fail
;
4827 arg3
= (int)(SWIG_As_int(obj2
));
4828 if (SWIG_arg_fail(3)) SWIG_fail
;
4833 arg4
= (int)(SWIG_As_int(obj3
));
4834 if (SWIG_arg_fail(4)) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4851 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "topLeft",(char *) "bottomRight", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4867 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4887 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4897 (char *) "pos",(char *) "size", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4923 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4928 PyObject
* obj0
= 0 ;
4930 (char *) "size", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4936 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4952 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxRect
*arg1
= (wxRect
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4962 if (SWIG_arg_fail(1)) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxRect
*arg1
= (wxRect
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4983 (char *) "self", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (int)((wxRect
const *)arg1
)->GetX();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_From_int((int)(result
));
5005 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxRect
*arg1
= (wxRect
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5012 (char *) "self",(char *) "x", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail
;
5019 arg2
= (int)(SWIG_As_int(obj1
));
5020 if (SWIG_arg_fail(2)) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 Py_INCREF(Py_None
); resultobj
= Py_None
;
5036 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxRect
*arg1
= (wxRect
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)(arg1
)->GetY();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int((int)(result
));
5064 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxRect
*arg1
= (wxRect
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5071 (char *) "self",(char *) "y", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(1)) SWIG_fail
;
5078 arg2
= (int)(SWIG_As_int(obj1
));
5079 if (SWIG_arg_fail(2)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 Py_INCREF(Py_None
); resultobj
= Py_None
;
5095 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxRect
*arg1
= (wxRect
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "self", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5106 if (SWIG_arg_fail(1)) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= SWIG_From_int((int)(result
));
5123 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5125 wxRect
*arg1
= (wxRect
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5130 (char *) "self",(char *) "w", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 arg2
= (int)(SWIG_As_int(obj1
));
5138 if (SWIG_arg_fail(2)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 (arg1
)->SetWidth(arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 Py_INCREF(Py_None
); resultobj
= Py_None
;
5154 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxRect
*arg1
= (wxRect
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_From_int((int)(result
));
5182 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxRect
*arg1
= (wxRect
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "h", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 arg2
= (int)(SWIG_As_int(obj1
));
5197 if (SWIG_arg_fail(2)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 (arg1
)->SetHeight(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxRect
*arg1
= (wxRect
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "self", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5224 if (SWIG_arg_fail(1)) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= ((wxRect
const *)arg1
)->GetPosition();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 wxPoint
* resultptr
;
5234 resultptr
= new wxPoint((wxPoint
&)(result
));
5235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5243 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxRect
*arg1
= (wxRect
*) 0 ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5251 (char *) "self",(char *) "p", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail
;
5259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 Py_INCREF(Py_None
); resultobj
= Py_None
;
5275 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxRect
*arg1
= (wxRect
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= ((wxRect
const *)arg1
)->GetSize();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5296 resultptr
= new wxSize((wxSize
&)(result
));
5297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5305 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxRect
*arg1
= (wxRect
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5311 PyObject
* obj1
= 0 ;
5313 (char *) "self",(char *) "s", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5318 if (SWIG_arg_fail(1)) SWIG_fail
;
5321 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->SetSize((wxSize
const &)*arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 Py_INCREF(Py_None
); resultobj
= Py_None
;
5337 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxRect
*arg1
= (wxRect
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5343 (char *) "self", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5365 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxRect
*arg1
= (wxRect
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 wxPoint
* resultptr
;
5386 resultptr
= new wxPoint((wxPoint
&)(result
));
5387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5395 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxRect
*arg1
= (wxRect
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5403 (char *) "self",(char *) "p", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail
;
5411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxRect
*arg1
= (wxRect
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5433 (char *) "self", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5447 wxPoint
* resultptr
;
5448 resultptr
= new wxPoint((wxPoint
&)(result
));
5449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5457 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxRect
*arg1
= (wxRect
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "p", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxRect
*arg1
= (wxRect
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxRect
*arg1
= (wxRect
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (int)((wxRect
const *)arg1
)->GetTop();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_From_int((int)(result
));
5545 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxRect
*arg1
= (wxRect
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_From_int((int)(result
));
5573 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxRect
*arg1
= (wxRect
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5579 (char *) "self", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (int)((wxRect
const *)arg1
)->GetRight();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_From_int((int)(result
));
5601 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxRect
*arg1
= (wxRect
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "left", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5613 if (SWIG_arg_fail(1)) SWIG_fail
;
5615 arg2
= (int)(SWIG_As_int(obj1
));
5616 if (SWIG_arg_fail(2)) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetLeft(arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxRect
*arg1
= (wxRect
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5639 (char *) "self",(char *) "right", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5644 if (SWIG_arg_fail(1)) SWIG_fail
;
5646 arg2
= (int)(SWIG_As_int(obj1
));
5647 if (SWIG_arg_fail(2)) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 (arg1
)->SetRight(arg2
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 Py_INCREF(Py_None
); resultobj
= Py_None
;
5663 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxRect
*arg1
= (wxRect
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5670 (char *) "self",(char *) "top", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail
;
5677 arg2
= (int)(SWIG_As_int(obj1
));
5678 if (SWIG_arg_fail(2)) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 (arg1
)->SetTop(arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 Py_INCREF(Py_None
); resultobj
= Py_None
;
5694 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxRect
*arg1
= (wxRect
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 (char *) "self",(char *) "bottom", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->SetBottom(arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxRect
*arg1
= (wxRect
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5733 PyObject
* obj2
= 0 ;
5735 (char *) "self",(char *) "dx",(char *) "dy", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 arg2
= (int)(SWIG_As_int(obj1
));
5743 if (SWIG_arg_fail(2)) SWIG_fail
;
5746 arg3
= (int)(SWIG_As_int(obj2
));
5747 if (SWIG_arg_fail(3)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5753 result
= (wxRect
*) &_result_ref
;
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5766 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxRect
*arg1
= (wxRect
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5774 PyObject
* obj2
= 0 ;
5776 (char *) "self",(char *) "dx",(char *) "dy", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail
;
5783 arg2
= (int)(SWIG_As_int(obj1
));
5784 if (SWIG_arg_fail(2)) SWIG_fail
;
5787 arg3
= (int)(SWIG_As_int(obj2
));
5788 if (SWIG_arg_fail(3)) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5794 result
= (wxRect
*) &_result_ref
;
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5807 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRect
*arg1
= (wxRect
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj2
= 0 ;
5816 (char *) "self",(char *) "dx",(char *) "dy", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5821 if (SWIG_arg_fail(1)) SWIG_fail
;
5823 arg2
= (int)(SWIG_As_int(obj1
));
5824 if (SWIG_arg_fail(2)) SWIG_fail
;
5827 arg3
= (int)(SWIG_As_int(obj2
));
5828 if (SWIG_arg_fail(3)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 (arg1
)->Offset(arg2
,arg3
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxRect
*arg1
= (wxRect
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5852 (char *) "self",(char *) "pt", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 (arg1
)->Offset((wxPoint
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 Py_INCREF(Py_None
); resultobj
= Py_None
;
5876 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxRect
*arg1
= (wxRect
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5885 (char *) "self",(char *) "rect", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail
;
5893 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5904 resultptr
= new wxRect((wxRect
&)(result
));
5905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5913 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxRect
*arg1
= (wxRect
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5922 (char *) "self",(char *) "rect", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5927 if (SWIG_arg_fail(1)) SWIG_fail
;
5930 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5941 resultptr
= new wxRect((wxRect
&)(result
));
5942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5950 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxRect
*arg1
= (wxRect
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5959 (char *) "self",(char *) "rect", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5964 if (SWIG_arg_fail(1)) SWIG_fail
;
5967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5978 resultptr
= new wxRect((wxRect
&)(result
));
5979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5987 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxRect
*arg1
= (wxRect
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5996 (char *) "self",(char *) "rect", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6001 if (SWIG_arg_fail(1)) SWIG_fail
;
6004 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
6010 result
= (wxRect
*) &_result_ref
;
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6023 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxRect
*arg1
= (wxRect
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6032 (char *) "self",(char *) "rect", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6037 if (SWIG_arg_fail(1)) SWIG_fail
;
6040 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxRect
*arg1
= (wxRect
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6065 PyObject
* obj1
= 0 ;
6067 (char *) "self",(char *) "rect", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail
;
6075 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxRect
*arg1
= (wxRect
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 PyObject
* obj2
= 0 ;
6103 (char *) "self",(char *) "x",(char *) "y", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 arg2
= (int)(SWIG_As_int(obj1
));
6111 if (SWIG_arg_fail(2)) SWIG_fail
;
6114 arg3
= (int)(SWIG_As_int(obj2
));
6115 if (SWIG_arg_fail(3)) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxRect
*arg1
= (wxRect
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6142 (char *) "self",(char *) "pt", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6168 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxRect
*arg1
= (wxRect
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6177 (char *) "self",(char *) "rect", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6203 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxRect
*arg1
= (wxRect
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "x", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6217 arg2
= (int)(SWIG_As_int(obj1
));
6218 if (SWIG_arg_fail(2)) SWIG_fail
;
6220 if (arg1
) (arg1
)->x
= arg2
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxRect
*arg1
= (wxRect
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail
;
6241 result
= (int) ((arg1
)->x
);
6244 resultobj
= SWIG_From_int((int)(result
));
6252 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxRect
*arg1
= (wxRect
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "y", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6264 if (SWIG_arg_fail(1)) SWIG_fail
;
6266 arg2
= (int)(SWIG_As_int(obj1
));
6267 if (SWIG_arg_fail(2)) SWIG_fail
;
6269 if (arg1
) (arg1
)->y
= arg2
;
6271 Py_INCREF(Py_None
); resultobj
= Py_None
;
6278 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxRect
*arg1
= (wxRect
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail
;
6290 result
= (int) ((arg1
)->y
);
6293 resultobj
= SWIG_From_int((int)(result
));
6301 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxRect
*arg1
= (wxRect
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "self",(char *) "width", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6313 if (SWIG_arg_fail(1)) SWIG_fail
;
6315 arg2
= (int)(SWIG_As_int(obj1
));
6316 if (SWIG_arg_fail(2)) SWIG_fail
;
6318 if (arg1
) (arg1
)->width
= arg2
;
6320 Py_INCREF(Py_None
); resultobj
= Py_None
;
6327 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxRect
*arg1
= (wxRect
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail
;
6339 result
= (int) ((arg1
)->width
);
6342 resultobj
= SWIG_From_int((int)(result
));
6350 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxRect
*arg1
= (wxRect
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6357 (char *) "self",(char *) "height", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6362 if (SWIG_arg_fail(1)) SWIG_fail
;
6364 arg2
= (int)(SWIG_As_int(obj1
));
6365 if (SWIG_arg_fail(2)) SWIG_fail
;
6367 if (arg1
) (arg1
)->height
= arg2
;
6369 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxRect
*arg1
= (wxRect
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6388 result
= (int) ((arg1
)->height
);
6391 resultobj
= SWIG_From_int((int)(result
));
6399 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxRect
*arg1
= (wxRect
*) 0 ;
6402 int arg2
= (int) 0 ;
6403 int arg3
= (int) 0 ;
6404 int arg4
= (int) 0 ;
6405 int arg5
= (int) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 PyObject
* obj2
= 0 ;
6409 PyObject
* obj3
= 0 ;
6410 PyObject
* obj4
= 0 ;
6412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6417 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 arg2
= (int)(SWIG_As_int(obj1
));
6421 if (SWIG_arg_fail(2)) SWIG_fail
;
6426 arg3
= (int)(SWIG_As_int(obj2
));
6427 if (SWIG_arg_fail(3)) SWIG_fail
;
6432 arg4
= (int)(SWIG_As_int(obj3
));
6433 if (SWIG_arg_fail(4)) SWIG_fail
;
6438 arg5
= (int)(SWIG_As_int(obj4
));
6439 if (SWIG_arg_fail(5)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxRect
*arg1
= (wxRect
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "self", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6467 if (SWIG_arg_fail(1)) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (PyObject
*)wxRect_Get(arg1
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6482 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6485 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6487 return Py_BuildValue((char *)"");
6489 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxRect
*arg1
= (wxRect
*) 0 ;
6492 wxRect
*arg2
= (wxRect
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6497 (char *) "r1",(char *) "r2", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6504 if (SWIG_arg_fail(2)) SWIG_fail
;
6506 if (!wxPyCheckForApp()) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6520 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 double arg1
= (double) 0.0 ;
6523 double arg2
= (double) 0.0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "x",(char *) "y", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6534 arg1
= (double)(SWIG_As_double(obj0
));
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6540 arg2
= (double)(SWIG_As_double(obj1
));
6541 if (SWIG_arg_fail(2)) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6558 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxPoint2D
*arg1
= 0 ;
6563 PyObject
* obj0
= 0 ;
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6571 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6587 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6592 PyObject
* obj0
= 0 ;
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6600 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6616 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6619 int *arg2
= (int *) 0 ;
6620 int *arg3
= (int *) 0 ;
6625 PyObject
* obj0
= 0 ;
6627 (char *) "self", NULL
6630 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6631 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6634 if (SWIG_arg_fail(1)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6644 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6645 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6646 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6653 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6656 int *arg2
= (int *) 0 ;
6657 int *arg3
= (int *) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6668 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 Py_INCREF(Py_None
); resultobj
= Py_None
;
6680 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6681 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6682 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6683 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6690 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6696 (char *) "self", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_From_double((double)(result
));
6718 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6724 (char *) "self", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_From_double((double)(result
));
6746 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "length", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6758 if (SWIG_arg_fail(1)) SWIG_fail
;
6760 arg2
= (double)(SWIG_As_double(obj1
));
6761 if (SWIG_arg_fail(2)) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 (arg1
)->SetVectorLength(arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 Py_INCREF(Py_None
); resultobj
= Py_None
;
6777 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "degrees", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6791 arg2
= (double)(SWIG_As_double(obj1
));
6792 if (SWIG_arg_fail(2)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetVectorAngle(arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 Py_INCREF(Py_None
); resultobj
= Py_None
;
6808 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6811 wxPoint2D
*arg2
= 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "pt", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail
;
6825 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_From_double((double)(result
));
6843 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6846 wxPoint2D
*arg2
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "pt", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_From_double((double)(result
));
6878 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6881 wxPoint2D
*arg2
= 0 ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "vec", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_From_double((double)(result
));
6913 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6916 wxPoint2D
*arg2
= 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6922 (char *) "self",(char *) "vec", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6927 if (SWIG_arg_fail(1)) SWIG_fail
;
6930 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_From_double((double)(result
));
6948 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (arg1
)->operator -();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 wxPoint2D
* resultptr
;
6969 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6978 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6981 wxPoint2D
*arg2
= 0 ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6987 (char *) "self",(char *) "pt", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6992 if (SWIG_arg_fail(1)) SWIG_fail
;
6995 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
7001 result
= (wxPoint2D
*) &_result_ref
;
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7014 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7017 wxPoint2D
*arg2
= 0 ;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7023 (char *) "self",(char *) "pt", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7028 if (SWIG_arg_fail(1)) SWIG_fail
;
7031 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7037 result
= (wxPoint2D
*) &_result_ref
;
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7050 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7053 wxPoint2D
*arg2
= 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7059 (char *) "self",(char *) "pt", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7064 if (SWIG_arg_fail(1)) SWIG_fail
;
7067 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7073 result
= (wxPoint2D
*) &_result_ref
;
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7086 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7089 wxPoint2D
*arg2
= 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7095 (char *) "self",(char *) "pt", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7100 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7109 result
= (wxPoint2D
*) &_result_ref
;
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7122 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7125 wxPoint2D
*arg2
= 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "pt", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7157 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7160 wxPoint2D
*arg2
= 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "pt", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7174 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7199 (char *) "self",(char *) "m_x", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7204 if (SWIG_arg_fail(1)) SWIG_fail
;
7206 arg2
= (double)(SWIG_As_double(obj1
));
7207 if (SWIG_arg_fail(2)) SWIG_fail
;
7209 if (arg1
) (arg1
)->m_x
= arg2
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7230 result
= (double) ((arg1
)->m_x
);
7233 resultobj
= SWIG_From_double((double)(result
));
7241 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7248 (char *) "self",(char *) "m_y", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7253 if (SWIG_arg_fail(1)) SWIG_fail
;
7255 arg2
= (double)(SWIG_As_double(obj1
));
7256 if (SWIG_arg_fail(2)) SWIG_fail
;
7258 if (arg1
) (arg1
)->m_y
= arg2
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7278 if (SWIG_arg_fail(1)) SWIG_fail
;
7279 result
= (double) ((arg1
)->m_y
);
7282 resultobj
= SWIG_From_double((double)(result
));
7290 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7293 double arg2
= (double) 0 ;
7294 double arg3
= (double) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7297 PyObject
* obj2
= 0 ;
7299 (char *) "self",(char *) "x",(char *) "y", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7304 if (SWIG_arg_fail(1)) SWIG_fail
;
7307 arg2
= (double)(SWIG_As_double(obj1
));
7308 if (SWIG_arg_fail(2)) SWIG_fail
;
7313 arg3
= (double)(SWIG_As_double(obj2
));
7314 if (SWIG_arg_fail(3)) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxPoint2D_Set(arg1
,arg2
,arg3
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7357 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7360 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7362 return Py_BuildValue((char *)"");
7364 static int _wrap_DefaultPosition_set(PyObject
*) {
7365 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7370 static PyObject
*_wrap_DefaultPosition_get(void) {
7373 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7378 static int _wrap_DefaultSize_set(PyObject
*) {
7379 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7384 static PyObject
*_wrap_DefaultSize_get(void) {
7387 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7392 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 PyObject
*arg1
= (PyObject
*) 0 ;
7395 wxPyInputStream
*result
;
7396 PyObject
* obj0
= 0 ;
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7417 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7447 (char *) "self", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "self", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 Py_INCREF(Py_None
); resultobj
= Py_None
;
7492 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7498 (char *) "self", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7503 if (SWIG_arg_fail(1)) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (bool)(arg1
)->eof();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7520 static PyObject
*_wrap_InputStream_read(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_read",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
)->read(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7554 static PyObject
*_wrap_InputStream_readline(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 *) "size", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",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
)->readline(arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7588 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7591 int arg2
= (int) -1 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "sizehint", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 arg2
= (int)(SWIG_As_int(obj1
));
7605 if (SWIG_arg_fail(2)) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7622 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 int arg3
= (int) 0 ;
7627 PyObject
* obj0
= 0 ;
7628 PyObject
* obj1
= 0 ;
7629 PyObject
* obj2
= 0 ;
7631 (char *) "self",(char *) "offset",(char *) "whence", NULL
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7636 if (SWIG_arg_fail(1)) SWIG_fail
;
7638 arg2
= (int)(SWIG_As_int(obj1
));
7639 if (SWIG_arg_fail(2)) SWIG_fail
;
7643 arg3
= (int)(SWIG_As_int(obj2
));
7644 if (SWIG_arg_fail(3)) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 (arg1
)->seek(arg2
,arg3
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (int)(arg1
)->tell();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_From_int((int)(result
));
7689 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (char)(arg1
)->Peek();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_From_char((char)(result
));
7717 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (char)(arg1
)->GetC();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_From_char((char)(result
));
7745 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (size_t)(arg1
)->LastRead();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7773 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7779 (char *) "self", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)(arg1
)->CanRead();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "self", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (bool)(arg1
)->Eof();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "self",(char *) "c", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 arg2
= (char)(SWIG_As_char(obj1
));
7845 if (SWIG_arg_fail(2)) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (bool)(arg1
)->Ungetch(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7863 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7867 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7873 (char *) "self",(char *) "pos",(char *) "mode", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail
;
7880 arg2
= (long)(SWIG_As_long(obj1
));
7881 if (SWIG_arg_fail(2)) SWIG_fail
;
7885 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7886 if (SWIG_arg_fail(3)) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_From_long((long)(result
));
7905 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7916 if (SWIG_arg_fail(1)) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (long)(arg1
)->TellI();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_From_long((long)(result
));
7933 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7936 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7938 return Py_BuildValue((char *)"");
7940 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7943 PyObject
*arg2
= (PyObject
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7947 (char *) "self",(char *) "obj", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7952 if (SWIG_arg_fail(1)) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 wxOutputStream_write(arg1
,arg2
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 Py_INCREF(Py_None
); resultobj
= Py_None
;
7968 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7971 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7973 return Py_BuildValue((char *)"");
7975 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7978 wxString
*arg2
= 0 ;
7979 wxString
*arg3
= 0 ;
7980 wxString
*arg4
= 0 ;
7983 wxPyInputStream
*temp1
;
7984 bool temp2
= false ;
7985 bool temp3
= false ;
7986 bool temp4
= false ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 PyObject
* obj2
= 0 ;
7990 PyObject
* obj3
= 0 ;
7991 PyObject
* obj4
= 0 ;
7993 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7998 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7999 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
8001 PyErr_Clear(); // clear the failure of the wxPyConvert above
8002 arg1
= wxPyCBInputStream_create(obj0
, true);
8004 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
8010 arg2
= wxString_in_helper(obj1
);
8011 if (arg2
== NULL
) SWIG_fail
;
8015 arg3
= wxString_in_helper(obj2
);
8016 if (arg3
== NULL
) SWIG_fail
;
8020 arg4
= wxString_in_helper(obj3
);
8021 if (arg4
== NULL
) SWIG_fail
;
8026 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8027 if (SWIG_arg_fail(5)) SWIG_fail
;
8029 SWIG_null_ref("wxDateTime");
8031 if (SWIG_arg_fail(5)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= wxPyMake_wxObject(result
, 1);
8074 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8102 wxInputStream
*result
;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8110 if (SWIG_arg_fail(1)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxInputStream
*)(arg1
)->GetStream();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8119 wxPyInputStream
* _ptr
= NULL
;
8122 _ptr
= new wxPyInputStream(result
);
8124 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8132 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8143 if (SWIG_arg_fail(1)) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8148 result
= (wxString
*) &_result_ref
;
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8167 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 wxString
const &_result_ref
= (arg1
)->GetLocation();
8183 result
= (wxString
*) &_result_ref
;
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8202 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "self", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8218 result
= (wxString
*) &_result_ref
;
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8237 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8248 if (SWIG_arg_fail(1)) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (arg1
)->GetModificationTime();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8257 wxDateTime
* resultptr
;
8258 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8267 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8270 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8272 return Py_BuildValue((char *)"");
8274 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8277 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8279 return Py_BuildValue((char *)"");
8281 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxPyFileSystemHandler
*result
;
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8303 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8306 PyObject
*arg2
= (PyObject
*) 0 ;
8307 PyObject
*arg3
= (PyObject
*) 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8312 (char *) "self",(char *) "self",(char *) "_class", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8317 if (SWIG_arg_fail(1)) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8334 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8337 wxString
*arg2
= 0 ;
8339 bool temp2
= false ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 (char *) "self",(char *) "location", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail
;
8350 arg2
= wxString_in_helper(obj1
);
8351 if (arg2
== NULL
) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8378 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8381 wxFileSystem
*arg2
= 0 ;
8382 wxString
*arg3
= 0 ;
8384 bool temp3
= false ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8389 (char *) "self",(char *) "fs",(char *) "location", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(1)) SWIG_fail
;
8396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8397 if (SWIG_arg_fail(2)) SWIG_fail
;
8399 SWIG_null_ref("wxFileSystem");
8401 if (SWIG_arg_fail(2)) SWIG_fail
;
8404 arg3
= wxString_in_helper(obj2
);
8405 if (arg3
== NULL
) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= wxPyMake_wxObject(result
, 1);
8432 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8435 wxString
*arg2
= 0 ;
8436 int arg3
= (int) 0 ;
8438 bool temp2
= false ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8443 (char *) "self",(char *) "spec",(char *) "flags", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 arg2
= wxString_in_helper(obj1
);
8451 if (arg2
== NULL
) SWIG_fail
;
8456 arg3
= (int)(SWIG_As_int(obj2
));
8457 if (SWIG_arg_fail(3)) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8488 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (arg1
)->FindNext();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8520 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8523 wxString
*arg2
= 0 ;
8525 bool temp2
= false ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "location", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail
;
8536 arg2
= wxString_in_helper(obj1
);
8537 if (arg2
== NULL
) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8568 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8571 wxString
*arg2
= 0 ;
8573 bool temp2
= false ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8577 (char *) "self",(char *) "location", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8582 if (SWIG_arg_fail(1)) SWIG_fail
;
8584 arg2
= wxString_in_helper(obj1
);
8585 if (arg2
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8616 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8619 wxString
*arg2
= 0 ;
8621 bool temp2
= false ;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8625 (char *) "self",(char *) "location", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8630 if (SWIG_arg_fail(1)) SWIG_fail
;
8632 arg2
= wxString_in_helper(obj1
);
8633 if (arg2
== NULL
) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8664 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8667 wxString
*arg2
= 0 ;
8669 bool temp2
= false ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8673 (char *) "self",(char *) "location", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8678 if (SWIG_arg_fail(1)) SWIG_fail
;
8680 arg2
= wxString_in_helper(obj1
);
8681 if (arg2
== NULL
) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8712 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8715 wxString
*arg2
= 0 ;
8717 bool temp2
= false ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "self",(char *) "location", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8726 if (SWIG_arg_fail(1)) SWIG_fail
;
8728 arg2
= wxString_in_helper(obj1
);
8729 if (arg2
== NULL
) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8760 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8765 return Py_BuildValue((char *)"");
8767 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxFileSystem
*result
;
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxFileSystem
*)new wxFileSystem();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= wxPyMake_wxObject(result
, 1);
8791 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8796 (char *) "self", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8819 wxString
*arg2
= 0 ;
8820 bool arg3
= (bool) false ;
8821 bool temp2
= false ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8826 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail
;
8833 arg2
= wxString_in_helper(obj1
);
8834 if (arg2
== NULL
) SWIG_fail
;
8839 arg3
= (bool)(SWIG_As_bool(obj2
));
8840 if (SWIG_arg_fail(3)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (arg1
)->GetPath();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8897 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8900 wxString
*arg2
= 0 ;
8902 bool temp2
= false ;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8906 (char *) "self",(char *) "location", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8911 if (SWIG_arg_fail(1)) SWIG_fail
;
8913 arg2
= wxString_in_helper(obj1
);
8914 if (arg2
== NULL
) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= wxPyMake_wxObject(result
, 1);
8941 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8944 wxString
*arg2
= 0 ;
8945 int arg3
= (int) 0 ;
8947 bool temp2
= false ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 PyObject
* obj2
= 0 ;
8952 (char *) "self",(char *) "spec",(char *) "flags", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail
;
8959 arg2
= wxString_in_helper(obj1
);
8960 if (arg2
== NULL
) SWIG_fail
;
8965 arg3
= (int)(SWIG_As_int(obj2
));
8966 if (SWIG_arg_fail(3)) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8997 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
9007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9008 if (SWIG_arg_fail(1)) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (arg1
)->FindNext();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9029 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "handler", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxFileSystem::AddHandler(arg1
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 wxFileSystem::CleanUpHandlers();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxString
*arg1
= 0 ;
9079 bool temp1
= false ;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "filename", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9087 arg1
= wxString_in_helper(obj0
);
9088 if (arg1
== NULL
) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9119 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxString
*arg1
= 0 ;
9123 bool temp1
= false ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "url", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9131 arg1
= wxString_in_helper(obj0
);
9132 if (arg1
== NULL
) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9163 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9166 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9168 return Py_BuildValue((char *)"");
9170 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxInternetFSHandler
*result
;
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9192 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9195 wxString
*arg2
= 0 ;
9197 bool temp2
= false ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "location", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9206 if (SWIG_arg_fail(1)) SWIG_fail
;
9208 arg2
= wxString_in_helper(obj1
);
9209 if (arg2
== NULL
) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9239 wxFileSystem
*arg2
= 0 ;
9240 wxString
*arg3
= 0 ;
9242 bool temp3
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 PyObject
* obj2
= 0 ;
9247 (char *) "self",(char *) "fs",(char *) "location", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail
;
9254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9255 if (SWIG_arg_fail(2)) SWIG_fail
;
9257 SWIG_null_ref("wxFileSystem");
9259 if (SWIG_arg_fail(2)) SWIG_fail
;
9262 arg3
= wxString_in_helper(obj2
);
9263 if (arg3
== NULL
) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= wxPyMake_wxObject(result
, 1);
9290 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9293 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9295 return Py_BuildValue((char *)"");
9297 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxZipFSHandler
*result
;
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9319 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9322 wxString
*arg2
= 0 ;
9324 bool temp2
= false ;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9328 (char *) "self",(char *) "location", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail
;
9335 arg2
= wxString_in_helper(obj1
);
9336 if (arg2
== NULL
) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9366 wxFileSystem
*arg2
= 0 ;
9367 wxString
*arg3
= 0 ;
9369 bool temp3
= false ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9374 (char *) "self",(char *) "fs",(char *) "location", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9379 if (SWIG_arg_fail(1)) SWIG_fail
;
9381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9382 if (SWIG_arg_fail(2)) SWIG_fail
;
9384 SWIG_null_ref("wxFileSystem");
9386 if (SWIG_arg_fail(2)) SWIG_fail
;
9389 arg3
= wxString_in_helper(obj2
);
9390 if (arg3
== NULL
) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= wxPyMake_wxObject(result
, 1);
9417 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9420 wxString
*arg2
= 0 ;
9421 int arg3
= (int) 0 ;
9423 bool temp2
= false ;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9426 PyObject
* obj2
= 0 ;
9428 (char *) "self",(char *) "spec",(char *) "flags", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9433 if (SWIG_arg_fail(1)) SWIG_fail
;
9435 arg2
= wxString_in_helper(obj1
);
9436 if (arg2
== NULL
) SWIG_fail
;
9441 arg3
= (int)(SWIG_As_int(obj2
));
9442 if (SWIG_arg_fail(3)) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9473 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (arg1
)->FindNext();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9505 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9508 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9510 return Py_BuildValue((char *)"");
9512 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxString
*arg1
= 0 ;
9517 bool temp1
= false ;
9518 PyObject
* obj0
= 0 ;
9519 PyObject
* obj1
= 0 ;
9520 PyObject
* obj2
= 0 ;
9522 (char *) "filename",(char *) "image",(char *) "type", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9527 arg1
= wxString_in_helper(obj0
);
9528 if (arg1
== NULL
) SWIG_fail
;
9532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9533 if (SWIG_arg_fail(2)) SWIG_fail
;
9535 SWIG_null_ref("wxImage");
9537 if (SWIG_arg_fail(2)) SWIG_fail
;
9540 arg3
= (long)(SWIG_As_long(obj2
));
9541 if (SWIG_arg_fail(3)) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9565 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxString
*arg1
= 0 ;
9568 wxBitmap
*arg2
= 0 ;
9570 bool temp1
= false ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 PyObject
* obj2
= 0 ;
9575 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9580 arg1
= wxString_in_helper(obj0
);
9581 if (arg1
== NULL
) SWIG_fail
;
9585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9586 if (SWIG_arg_fail(2)) SWIG_fail
;
9588 SWIG_null_ref("wxBitmap");
9590 if (SWIG_arg_fail(2)) SWIG_fail
;
9593 arg3
= (long)(SWIG_As_long(obj2
));
9594 if (SWIG_arg_fail(3)) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 Py_INCREF(Py_None
); resultobj
= Py_None
;
9618 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxString
*arg1
= 0 ;
9621 PyObject
*arg2
= (PyObject
*) 0 ;
9622 bool temp1
= false ;
9623 PyObject
* obj0
= 0 ;
9624 PyObject
* obj1
= 0 ;
9626 (char *) "filename",(char *) "data", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9631 arg1
= wxString_in_helper(obj0
);
9632 if (arg1
== NULL
) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxMemoryFSHandler
*result
;
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9680 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxString
*arg1
= 0 ;
9683 bool temp1
= false ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "filename", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9691 arg1
= wxString_in_helper(obj0
);
9692 if (arg1
== NULL
) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9720 wxString
*arg2
= 0 ;
9722 bool temp2
= false ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "self",(char *) "location", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9731 if (SWIG_arg_fail(1)) SWIG_fail
;
9733 arg2
= wxString_in_helper(obj1
);
9734 if (arg2
== NULL
) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9761 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9764 wxFileSystem
*arg2
= 0 ;
9765 wxString
*arg3
= 0 ;
9767 bool temp3
= false ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "fs",(char *) "location", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9780 if (SWIG_arg_fail(2)) SWIG_fail
;
9782 SWIG_null_ref("wxFileSystem");
9784 if (SWIG_arg_fail(2)) SWIG_fail
;
9787 arg3
= wxString_in_helper(obj2
);
9788 if (arg3
== NULL
) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= wxPyMake_wxObject(result
, 1);
9815 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9818 wxString
*arg2
= 0 ;
9819 int arg3
= (int) 0 ;
9821 bool temp2
= false ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9826 (char *) "self",(char *) "spec",(char *) "flags", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9831 if (SWIG_arg_fail(1)) SWIG_fail
;
9833 arg2
= wxString_in_helper(obj1
);
9834 if (arg2
== NULL
) SWIG_fail
;
9839 arg3
= (int)(SWIG_As_int(obj2
));
9840 if (SWIG_arg_fail(3)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9871 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (arg1
)->FindNext();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9903 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9906 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9908 return Py_BuildValue((char *)"");
9910 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9916 (char *) "self", NULL
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9921 if (SWIG_arg_fail(1)) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (arg1
)->GetName();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9942 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9953 if (SWIG_arg_fail(1)) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (arg1
)->GetExtension();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9974 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9985 if (SWIG_arg_fail(1)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (long)(arg1
)->GetType();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_From_long((long)(result
));
10002 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (arg1
)->GetMimeType();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10034 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10037 wxString
*arg2
= 0 ;
10039 bool temp2
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "name", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10050 arg2
= wxString_in_helper(obj1
);
10051 if (arg2
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10081 wxString
*arg2
= 0 ;
10082 bool temp2
= false ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "name", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10091 if (SWIG_arg_fail(1)) SWIG_fail
;
10093 arg2
= wxString_in_helper(obj1
);
10094 if (arg2
== NULL
) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->SetName((wxString
const &)*arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10122 wxString
*arg2
= 0 ;
10123 bool temp2
= false ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self",(char *) "extension", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10134 arg2
= wxString_in_helper(obj1
);
10135 if (arg2
== NULL
) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->SetExtension((wxString
const &)*arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10160 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self",(char *) "type", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10172 if (SWIG_arg_fail(1)) SWIG_fail
;
10174 arg2
= (long)(SWIG_As_long(obj1
));
10175 if (SWIG_arg_fail(2)) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 (arg1
)->SetType(arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10191 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10194 wxString
*arg2
= 0 ;
10195 bool temp2
= false ;
10196 PyObject
* obj0
= 0 ;
10197 PyObject
* obj1
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "mimetype", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10204 if (SWIG_arg_fail(1)) SWIG_fail
;
10206 arg2
= wxString_in_helper(obj1
);
10207 if (arg2
== NULL
) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10235 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10237 return Py_BuildValue((char *)"");
10239 static PyObject
*_wrap_new_PyImageHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxPyImageHandler
*result
;
10242 char *kwnames
[] = {
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyImageHandler",kwnames
)) goto fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (wxPyImageHandler
*)new wxPyImageHandler();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyImageHandler
, 1);
10261 static PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
10264 PyObject
*arg2
= (PyObject
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
10272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->_SetSelf(arg2
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
* PyImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10292 SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler
, obj
);
10294 return Py_BuildValue((char *)"");
10296 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxImageHistogram
*result
;
10299 char *kwnames
[] = {
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (wxImageHistogram
*)new wxImageHistogram();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10318 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10323 unsigned long result
;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 PyObject
* obj2
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "r",(char *) "g",(char *) "b", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10333 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10334 if (SWIG_arg_fail(1)) SWIG_fail
;
10337 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10338 if (SWIG_arg_fail(2)) SWIG_fail
;
10341 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10342 if (SWIG_arg_fail(3)) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10360 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10363 byte
*arg2
= (byte
*) 0 ;
10364 byte
*arg3
= (byte
*) 0 ;
10365 byte
*arg4
= (byte
*) 0 ;
10366 byte arg5
= (byte
) 1 ;
10367 byte arg6
= (byte
) 0 ;
10368 byte arg7
= (byte
) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 PyObject
* obj2
= 0 ;
10379 PyObject
* obj3
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10384 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10386 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10389 if (SWIG_arg_fail(1)) SWIG_fail
;
10392 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10393 if (SWIG_arg_fail(5)) SWIG_fail
;
10398 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10399 if (SWIG_arg_fail(6)) SWIG_fail
;
10404 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10405 if (SWIG_arg_fail(7)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10419 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10420 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10421 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10422 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10423 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10430 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10433 unsigned long arg2
;
10434 unsigned long result
;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self",(char *) "key", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail
;
10445 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10446 if (SWIG_arg_fail(2)) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10464 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10470 unsigned long result
;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 PyObject
* obj2
= 0 ;
10474 PyObject
* obj3
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(1)) SWIG_fail
;
10483 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10484 if (SWIG_arg_fail(2)) SWIG_fail
;
10487 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10488 if (SWIG_arg_fail(3)) SWIG_fail
;
10491 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10492 if (SWIG_arg_fail(4)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10510 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10513 wxColour
*arg2
= 0 ;
10514 unsigned long result
;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "colour", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail
;
10527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10545 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10548 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10550 return Py_BuildValue((char *)"");
10552 static PyObject
*_wrap_new_Image_RGBValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 byte arg1
= (byte
) 0 ;
10555 byte arg2
= (byte
) 0 ;
10556 byte arg3
= (byte
) 0 ;
10557 wxImage_RGBValue
*result
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "r",(char *) "g",(char *) "b", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10569 if (SWIG_arg_fail(1)) SWIG_fail
;
10574 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10575 if (SWIG_arg_fail(2)) SWIG_fail
;
10580 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10581 if (SWIG_arg_fail(3)) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_RGBValue
, 1);
10598 static PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "red", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_red_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10610 if (SWIG_arg_fail(1)) SWIG_fail
;
10612 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10613 if (SWIG_arg_fail(2)) SWIG_fail
;
10615 if (arg1
) (arg1
)->red
= arg2
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10628 PyObject
* obj0
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_red_get",kwnames
,&obj0
)) goto fail
;
10634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10635 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 result
= (byte
) ((arg1
)->red
);
10639 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10647 static PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "green", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_green_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10662 if (SWIG_arg_fail(2)) SWIG_fail
;
10664 if (arg1
) (arg1
)->green
= arg2
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10673 static PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_green_get",kwnames
,&obj0
)) goto fail
;
10683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail
;
10685 result
= (byte
) ((arg1
)->green
);
10688 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10696 static PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "blue", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_blue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail
;
10710 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10711 if (SWIG_arg_fail(2)) SWIG_fail
;
10713 if (arg1
) (arg1
)->blue
= arg2
;
10715 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_blue_get",kwnames
,&obj0
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 result
= (byte
) ((arg1
)->blue
);
10737 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10745 static PyObject
* Image_RGBValue_swigregister(PyObject
*, PyObject
*args
) {
10747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10748 SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue
, obj
);
10750 return Py_BuildValue((char *)"");
10752 static PyObject
*_wrap_new_Image_HSVValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 double arg1
= (double) 0.0 ;
10755 double arg2
= (double) 0.0 ;
10756 double arg3
= (double) 0.0 ;
10757 wxImage_HSVValue
*result
;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 PyObject
* obj2
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "h",(char *) "s",(char *) "v", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10768 arg1
= (double)(SWIG_As_double(obj0
));
10769 if (SWIG_arg_fail(1)) SWIG_fail
;
10774 arg2
= (double)(SWIG_As_double(obj1
));
10775 if (SWIG_arg_fail(2)) SWIG_fail
;
10780 arg3
= (double)(SWIG_As_double(obj2
));
10781 if (SWIG_arg_fail(3)) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_HSVValue
, 1);
10798 static PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "hue", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_hue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10812 arg2
= (double)(SWIG_As_double(obj1
));
10813 if (SWIG_arg_fail(2)) SWIG_fail
;
10815 if (arg1
) (arg1
)->hue
= arg2
;
10817 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 static PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_hue_get",kwnames
,&obj0
)) goto fail
;
10834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail
;
10836 result
= (double) ((arg1
)->hue
);
10839 resultobj
= SWIG_From_double((double)(result
));
10847 static PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "saturation", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_saturation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10861 arg2
= (double)(SWIG_As_double(obj1
));
10862 if (SWIG_arg_fail(2)) SWIG_fail
;
10864 if (arg1
) (arg1
)->saturation
= arg2
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_saturation_get",kwnames
,&obj0
)) goto fail
;
10883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10884 if (SWIG_arg_fail(1)) SWIG_fail
;
10885 result
= (double) ((arg1
)->saturation
);
10888 resultobj
= SWIG_From_double((double)(result
));
10896 static PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "value", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_value_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail
;
10910 arg2
= (double)(SWIG_As_double(obj1
));
10911 if (SWIG_arg_fail(2)) SWIG_fail
;
10913 if (arg1
) (arg1
)->value
= arg2
;
10915 Py_INCREF(Py_None
); resultobj
= Py_None
;
10922 static PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_value_get",kwnames
,&obj0
)) goto fail
;
10932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10933 if (SWIG_arg_fail(1)) SWIG_fail
;
10934 result
= (double) ((arg1
)->value
);
10937 resultobj
= SWIG_From_double((double)(result
));
10945 static PyObject
* Image_HSVValue_swigregister(PyObject
*, PyObject
*args
) {
10947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10948 SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue
, obj
);
10950 return Py_BuildValue((char *)"");
10952 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxString
*arg1
= 0 ;
10955 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10956 int arg3
= (int) -1 ;
10958 bool temp1
= false ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 PyObject
* obj2
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "name",(char *) "type",(char *) "index", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10968 arg1
= wxString_in_helper(obj0
);
10969 if (arg1
== NULL
) SWIG_fail
;
10974 arg2
= (long)(SWIG_As_long(obj1
));
10975 if (SWIG_arg_fail(2)) SWIG_fail
;
10980 arg3
= (int)(SWIG_As_int(obj2
));
10981 if (SWIG_arg_fail(3)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11006 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxImage
*arg1
= (wxImage
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
11015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(1)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxString
*arg1
= 0 ;
11034 wxString
*arg2
= 0 ;
11035 int arg3
= (int) -1 ;
11037 bool temp1
= false ;
11038 bool temp2
= false ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "name",(char *) "mimetype",(char *) "index", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11048 arg1
= wxString_in_helper(obj0
);
11049 if (arg1
== NULL
) SWIG_fail
;
11053 arg2
= wxString_in_helper(obj1
);
11054 if (arg2
== NULL
) SWIG_fail
;
11059 arg3
= (int)(SWIG_As_int(obj2
));
11060 if (SWIG_arg_fail(3)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11093 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxInputStream
*arg1
= 0 ;
11096 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11097 int arg3
= (int) -1 ;
11099 wxPyInputStream
*temp1
;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "stream",(char *) "type",(char *) "index", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11110 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11111 arg1
= temp1
->m_wxis
;
11114 PyErr_Clear(); // clear the failure of the wxPyConvert above
11115 arg1
= wxPyCBInputStream_create(obj0
, false);
11116 if (arg1
== NULL
) {
11117 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11125 arg2
= (long)(SWIG_As_long(obj1
));
11126 if (SWIG_arg_fail(2)) SWIG_fail
;
11131 arg3
= (int)(SWIG_As_int(obj2
));
11132 if (SWIG_arg_fail(3)) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11144 if (created1
) delete arg1
;
11149 if (created1
) delete arg1
;
11155 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxInputStream
*arg1
= 0 ;
11158 wxString
*arg2
= 0 ;
11159 int arg3
= (int) -1 ;
11161 wxPyInputStream
*temp1
;
11163 bool temp2
= false ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 PyObject
* obj2
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11173 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11174 arg1
= temp1
->m_wxis
;
11177 PyErr_Clear(); // clear the failure of the wxPyConvert above
11178 arg1
= wxPyCBInputStream_create(obj0
, false);
11179 if (arg1
== NULL
) {
11180 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11187 arg2
= wxString_in_helper(obj1
);
11188 if (arg2
== NULL
) SWIG_fail
;
11193 arg3
= (int)(SWIG_As_int(obj2
));
11194 if (SWIG_arg_fail(3)) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11206 if (created1
) delete arg1
;
11215 if (created1
) delete arg1
;
11225 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 int arg1
= (int) 0 ;
11228 int arg2
= (int) 0 ;
11229 bool arg3
= (bool) true ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 PyObject
* obj2
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "width",(char *) "height",(char *) "clear", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11241 arg1
= (int)(SWIG_As_int(obj0
));
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11247 arg2
= (int)(SWIG_As_int(obj1
));
11248 if (SWIG_arg_fail(2)) SWIG_fail
;
11253 arg3
= (bool)(SWIG_As_bool(obj2
));
11254 if (SWIG_arg_fail(3)) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11271 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxBitmap
*arg1
= 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "bitmap", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
11282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
11283 if (SWIG_arg_fail(1)) SWIG_fail
;
11284 if (arg1
== NULL
) {
11285 SWIG_null_ref("wxBitmap");
11287 if (SWIG_arg_fail(1)) SWIG_fail
;
11290 if (!wxPyCheckForApp()) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11304 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "width",(char *) "height",(char *) "data", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11320 arg1
= (int)(SWIG_As_int(obj0
));
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11324 arg2
= (int)(SWIG_As_int(obj1
));
11325 if (SWIG_arg_fail(2)) SWIG_fail
;
11328 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11344 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 PyObject
* obj3
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11363 arg1
= (int)(SWIG_As_int(obj0
));
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 arg2
= (int)(SWIG_As_int(obj1
));
11368 if (SWIG_arg_fail(2)) SWIG_fail
;
11371 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11374 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11390 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxImage
*arg1
= (wxImage
*) 0 ;
11395 bool arg4
= (bool) true ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail
;
11408 arg2
= (int)(SWIG_As_int(obj1
));
11409 if (SWIG_arg_fail(2)) SWIG_fail
;
11412 arg3
= (int)(SWIG_As_int(obj2
));
11413 if (SWIG_arg_fail(3)) SWIG_fail
;
11417 arg4
= (bool)(SWIG_As_bool(obj3
));
11418 if (SWIG_arg_fail(4)) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->Create(arg2
,arg3
,arg4
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 Py_INCREF(Py_None
); resultobj
= Py_None
;
11435 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxImage
*arg1
= (wxImage
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
11444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxImage
*arg1
= (wxImage
*) 0 ;
11465 SwigValueWrapper
<wxImage
> result
;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "width",(char *) "height", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 arg2
= (int)(SWIG_As_int(obj1
));
11478 if (SWIG_arg_fail(2)) SWIG_fail
;
11481 arg3
= (int)(SWIG_As_int(obj2
));
11482 if (SWIG_arg_fail(3)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (arg1
)->Scale(arg2
,arg3
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 wxImage
* resultptr
;
11493 resultptr
= new wxImage((wxImage
&)(result
));
11494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11502 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxImage
*arg1
= (wxImage
*) 0 ;
11507 SwigValueWrapper
<wxImage
> result
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 PyObject
* obj2
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11517 if (SWIG_arg_fail(1)) SWIG_fail
;
11519 arg2
= (int)(SWIG_As_int(obj1
));
11520 if (SWIG_arg_fail(2)) SWIG_fail
;
11523 arg3
= (int)(SWIG_As_int(obj2
));
11524 if (SWIG_arg_fail(3)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 wxImage
* resultptr
;
11535 resultptr
= new wxImage((wxImage
&)(result
));
11536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11544 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxImage
*arg1
= (wxImage
*) 0 ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "width",(char *) "height", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11559 if (SWIG_arg_fail(1)) SWIG_fail
;
11561 arg2
= (int)(SWIG_As_int(obj1
));
11562 if (SWIG_arg_fail(2)) SWIG_fail
;
11565 arg3
= (int)(SWIG_As_int(obj2
));
11566 if (SWIG_arg_fail(3)) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11572 result
= (wxImage
*) &_result_ref
;
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11585 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxImage
*arg1
= (wxImage
*) 0 ;
11589 wxPoint
*arg3
= 0 ;
11590 int arg4
= (int) -1 ;
11591 int arg5
= (int) -1 ;
11592 int arg6
= (int) -1 ;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11599 PyObject
* obj3
= 0 ;
11600 PyObject
* obj4
= 0 ;
11601 PyObject
* obj5
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11608 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11619 arg4
= (int)(SWIG_As_int(obj3
));
11620 if (SWIG_arg_fail(4)) SWIG_fail
;
11625 arg5
= (int)(SWIG_As_int(obj4
));
11626 if (SWIG_arg_fail(5)) SWIG_fail
;
11631 arg6
= (int)(SWIG_As_int(obj5
));
11632 if (SWIG_arg_fail(6)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11639 result
= (wxImage
*) &_result_ref
;
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11652 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxImage
*arg1
= (wxImage
*) 0 ;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 PyObject
* obj2
= 0 ;
11663 PyObject
* obj3
= 0 ;
11664 PyObject
* obj4
= 0 ;
11665 PyObject
* obj5
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11672 if (SWIG_arg_fail(1)) SWIG_fail
;
11674 arg2
= (int)(SWIG_As_int(obj1
));
11675 if (SWIG_arg_fail(2)) SWIG_fail
;
11678 arg3
= (int)(SWIG_As_int(obj2
));
11679 if (SWIG_arg_fail(3)) SWIG_fail
;
11682 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11683 if (SWIG_arg_fail(4)) SWIG_fail
;
11686 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11687 if (SWIG_arg_fail(5)) SWIG_fail
;
11690 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11691 if (SWIG_arg_fail(6)) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxImage
*arg1
= (wxImage
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11726 if (SWIG_arg_fail(1)) SWIG_fail
;
11729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11732 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11733 if (SWIG_arg_fail(3)) SWIG_fail
;
11736 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11737 if (SWIG_arg_fail(4)) SWIG_fail
;
11740 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11741 if (SWIG_arg_fail(5)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxImage
*arg1
= (wxImage
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 PyObject
* obj2
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "x",(char *) "y", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11772 if (SWIG_arg_fail(1)) SWIG_fail
;
11774 arg2
= (int)(SWIG_As_int(obj1
));
11775 if (SWIG_arg_fail(2)) SWIG_fail
;
11778 arg3
= (int)(SWIG_As_int(obj2
));
11779 if (SWIG_arg_fail(3)) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11797 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxImage
*arg1
= (wxImage
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self",(char *) "x",(char *) "y", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11812 if (SWIG_arg_fail(1)) SWIG_fail
;
11814 arg2
= (int)(SWIG_As_int(obj1
));
11815 if (SWIG_arg_fail(2)) SWIG_fail
;
11818 arg3
= (int)(SWIG_As_int(obj2
));
11819 if (SWIG_arg_fail(3)) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11837 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxImage
*arg1
= (wxImage
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "x",(char *) "y", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11852 if (SWIG_arg_fail(1)) SWIG_fail
;
11854 arg2
= (int)(SWIG_As_int(obj1
));
11855 if (SWIG_arg_fail(2)) SWIG_fail
;
11858 arg3
= (int)(SWIG_As_int(obj2
));
11859 if (SWIG_arg_fail(3)) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11877 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxImage
*arg1
= (wxImage
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 PyObject
* obj2
= 0 ;
11886 PyObject
* obj3
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail
;
11895 arg2
= (int)(SWIG_As_int(obj1
));
11896 if (SWIG_arg_fail(2)) SWIG_fail
;
11899 arg3
= (int)(SWIG_As_int(obj2
));
11900 if (SWIG_arg_fail(3)) SWIG_fail
;
11903 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11904 if (SWIG_arg_fail(4)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 Py_INCREF(Py_None
); resultobj
= Py_None
;
11920 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxImage
*arg1
= (wxImage
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self",(char *) "x",(char *) "y", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11935 if (SWIG_arg_fail(1)) SWIG_fail
;
11937 arg2
= (int)(SWIG_As_int(obj1
));
11938 if (SWIG_arg_fail(2)) SWIG_fail
;
11941 arg3
= (int)(SWIG_As_int(obj2
));
11942 if (SWIG_arg_fail(3)) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11960 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxImage
*arg1
= (wxImage
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11971 if (SWIG_arg_fail(1)) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (bool)(arg1
)->HasAlpha();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11988 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxImage
*arg1
= (wxImage
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 (arg1
)->InitAlpha();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 Py_INCREF(Py_None
); resultobj
= Py_None
;
12013 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxImage
*arg1
= (wxImage
*) 0 ;
12018 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 PyObject
* obj3
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 arg2
= (int)(SWIG_As_int(obj1
));
12033 if (SWIG_arg_fail(2)) SWIG_fail
;
12036 arg3
= (int)(SWIG_As_int(obj2
));
12037 if (SWIG_arg_fail(3)) SWIG_fail
;
12041 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12042 if (SWIG_arg_fail(4)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxImage
*arg1
= (wxImage
*) 0 ;
12064 byte
*arg2
= (byte
*) 0 ;
12065 byte
*arg3
= (byte
*) 0 ;
12066 byte
*arg4
= (byte
*) 0 ;
12067 byte arg5
= (byte
) 0 ;
12068 byte arg6
= (byte
) 0 ;
12069 byte arg7
= (byte
) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 PyObject
* obj2
= 0 ;
12080 PyObject
* obj3
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12085 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12086 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12087 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12090 if (SWIG_arg_fail(1)) SWIG_fail
;
12093 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12094 if (SWIG_arg_fail(5)) SWIG_fail
;
12099 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12100 if (SWIG_arg_fail(6)) SWIG_fail
;
12105 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12106 if (SWIG_arg_fail(7)) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12119 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12120 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12121 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12122 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12123 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12124 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12131 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxImage
*arg1
= (wxImage
*) 0 ;
12134 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "threshold", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12148 if (SWIG_arg_fail(2)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12167 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxImage
*arg1
= (wxImage
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 PyObject
* obj3
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12184 if (SWIG_arg_fail(1)) SWIG_fail
;
12186 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12187 if (SWIG_arg_fail(2)) SWIG_fail
;
12190 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12191 if (SWIG_arg_fail(3)) SWIG_fail
;
12194 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12195 if (SWIG_arg_fail(4)) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxImage
*arg1
= (wxImage
*) 0 ;
12216 wxImage
*arg2
= 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 PyObject
* obj4
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(2)) SWIG_fail
;
12236 if (arg2
== NULL
) {
12237 SWIG_null_ref("wxImage");
12239 if (SWIG_arg_fail(2)) SWIG_fail
;
12242 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12243 if (SWIG_arg_fail(3)) SWIG_fail
;
12246 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12247 if (SWIG_arg_fail(4)) SWIG_fail
;
12250 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
12251 if (SWIG_arg_fail(5)) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxString
*arg1
= 0 ;
12273 bool temp1
= false ;
12274 PyObject
* obj0
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "filename", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
12281 arg1
= wxString_in_helper(obj0
);
12282 if (arg1
== NULL
) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12309 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxString
*arg1
= 0 ;
12312 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12314 bool temp1
= false ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "filename",(char *) "type", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12323 arg1
= wxString_in_helper(obj0
);
12324 if (arg1
== NULL
) SWIG_fail
;
12329 arg2
= (long)(SWIG_As_long(obj1
));
12330 if (SWIG_arg_fail(2)) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_From_int((int)(result
));
12357 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxImage
*arg1
= (wxImage
*) 0 ;
12360 wxString
*arg2
= 0 ;
12361 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12362 int arg4
= (int) -1 ;
12364 bool temp2
= false ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 PyObject
* obj2
= 0 ;
12368 PyObject
* obj3
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12375 if (SWIG_arg_fail(1)) SWIG_fail
;
12377 arg2
= wxString_in_helper(obj1
);
12378 if (arg2
== NULL
) SWIG_fail
;
12383 arg3
= (long)(SWIG_As_long(obj2
));
12384 if (SWIG_arg_fail(3)) SWIG_fail
;
12389 arg4
= (int)(SWIG_As_int(obj3
));
12390 if (SWIG_arg_fail(4)) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12417 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxImage
*arg1
= (wxImage
*) 0 ;
12420 wxString
*arg2
= 0 ;
12421 wxString
*arg3
= 0 ;
12422 int arg4
= (int) -1 ;
12424 bool temp2
= false ;
12425 bool temp3
= false ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 PyObject
* obj2
= 0 ;
12429 PyObject
* obj3
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12436 if (SWIG_arg_fail(1)) SWIG_fail
;
12438 arg2
= wxString_in_helper(obj1
);
12439 if (arg2
== NULL
) SWIG_fail
;
12443 arg3
= wxString_in_helper(obj2
);
12444 if (arg3
== NULL
) SWIG_fail
;
12449 arg4
= (int)(SWIG_As_int(obj3
));
12450 if (SWIG_arg_fail(4)) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12485 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxImage
*arg1
= (wxImage
*) 0 ;
12488 wxString
*arg2
= 0 ;
12491 bool temp2
= false ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 PyObject
* obj2
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "name",(char *) "type", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12501 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 arg2
= wxString_in_helper(obj1
);
12504 if (arg2
== NULL
) SWIG_fail
;
12508 arg3
= (int)(SWIG_As_int(obj2
));
12509 if (SWIG_arg_fail(3)) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12535 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxImage
*arg1
= (wxImage
*) 0 ;
12538 wxString
*arg2
= 0 ;
12539 wxString
*arg3
= 0 ;
12541 bool temp2
= false ;
12542 bool temp3
= false ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 PyObject
* obj2
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail
;
12554 arg2
= wxString_in_helper(obj1
);
12555 if (arg2
== NULL
) SWIG_fail
;
12559 arg3
= wxString_in_helper(obj2
);
12560 if (arg3
== NULL
) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxInputStream
*arg1
= 0 ;
12599 wxPyInputStream
*temp1
;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "stream", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12608 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12609 arg1
= temp1
->m_wxis
;
12612 PyErr_Clear(); // clear the failure of the wxPyConvert above
12613 arg1
= wxPyCBInputStream_create(obj0
, false);
12614 if (arg1
== NULL
) {
12615 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (bool)wxImage::CanRead(*arg1
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12632 if (created1
) delete arg1
;
12637 if (created1
) delete arg1
;
12643 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxImage
*arg1
= (wxImage
*) 0 ;
12646 wxInputStream
*arg2
= 0 ;
12647 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12648 int arg4
= (int) -1 ;
12650 wxPyInputStream
*temp2
;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 PyObject
* obj2
= 0 ;
12655 PyObject
* obj3
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12662 if (SWIG_arg_fail(1)) SWIG_fail
;
12664 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12665 arg2
= temp2
->m_wxis
;
12668 PyErr_Clear(); // clear the failure of the wxPyConvert above
12669 arg2
= wxPyCBInputStream_create(obj1
, false);
12670 if (arg2
== NULL
) {
12671 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12679 arg3
= (long)(SWIG_As_long(obj2
));
12680 if (SWIG_arg_fail(3)) SWIG_fail
;
12685 arg4
= (int)(SWIG_As_int(obj3
));
12686 if (SWIG_arg_fail(4)) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12700 if (created2
) delete arg2
;
12705 if (created2
) delete arg2
;
12711 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxImage
*arg1
= (wxImage
*) 0 ;
12714 wxInputStream
*arg2
= 0 ;
12715 wxString
*arg3
= 0 ;
12716 int arg4
= (int) -1 ;
12718 wxPyInputStream
*temp2
;
12720 bool temp3
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 PyObject
* obj2
= 0 ;
12724 PyObject
* obj3
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12731 if (SWIG_arg_fail(1)) SWIG_fail
;
12733 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12734 arg2
= temp2
->m_wxis
;
12737 PyErr_Clear(); // clear the failure of the wxPyConvert above
12738 arg2
= wxPyCBInputStream_create(obj1
, false);
12739 if (arg2
== NULL
) {
12740 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12747 arg3
= wxString_in_helper(obj2
);
12748 if (arg3
== NULL
) SWIG_fail
;
12753 arg4
= (int)(SWIG_As_int(obj3
));
12754 if (SWIG_arg_fail(4)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12768 if (created2
) delete arg2
;
12777 if (created2
) delete arg2
;
12787 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxImage
*arg1
= (wxImage
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (bool)(arg1
)->Ok();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxImage
*arg1
= (wxImage
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12826 if (SWIG_arg_fail(1)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (int)(arg1
)->GetWidth();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_From_int((int)(result
));
12843 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxImage
*arg1
= (wxImage
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12854 if (SWIG_arg_fail(1)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (int)(arg1
)->GetHeight();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= SWIG_From_int((int)(result
));
12871 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxImage
*arg1
= (wxImage
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12882 if (SWIG_arg_fail(1)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= wxImage_GetSize(arg1
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 wxSize
* resultptr
;
12892 resultptr
= new wxSize((wxSize
&)(result
));
12893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12901 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxImage
*arg1
= (wxImage
*) 0 ;
12905 SwigValueWrapper
<wxImage
> result
;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "rect", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12915 if (SWIG_arg_fail(1)) SWIG_fail
;
12918 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12928 wxImage
* resultptr
;
12929 resultptr
= new wxImage((wxImage
&)(result
));
12930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12938 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxImage
*arg1
= (wxImage
*) 0 ;
12942 wxPoint
*arg3
= 0 ;
12943 int arg4
= (int) -1 ;
12944 int arg5
= (int) -1 ;
12945 int arg6
= (int) -1 ;
12946 SwigValueWrapper
<wxImage
> result
;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 PyObject
* obj2
= 0 ;
12952 PyObject
* obj3
= 0 ;
12953 PyObject
* obj4
= 0 ;
12954 PyObject
* obj5
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail
;
12964 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12972 arg4
= (int)(SWIG_As_int(obj3
));
12973 if (SWIG_arg_fail(4)) SWIG_fail
;
12978 arg5
= (int)(SWIG_As_int(obj4
));
12979 if (SWIG_arg_fail(5)) SWIG_fail
;
12984 arg6
= (int)(SWIG_As_int(obj5
));
12985 if (SWIG_arg_fail(6)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 wxImage
* resultptr
;
12997 resultptr
= new wxImage((wxImage
&)(result
));
12998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13006 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxImage
*arg1
= (wxImage
*) 0 ;
13009 SwigValueWrapper
<wxImage
> result
;
13010 PyObject
* obj0
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
13016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13017 if (SWIG_arg_fail(1)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (arg1
)->Copy();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 wxImage
* resultptr
;
13027 resultptr
= new wxImage((wxImage
&)(result
));
13028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13036 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxImage
*arg1
= (wxImage
*) 0 ;
13039 wxImage
*arg2
= 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 PyObject
* obj2
= 0 ;
13045 PyObject
* obj3
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13052 if (SWIG_arg_fail(1)) SWIG_fail
;
13054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(2)) SWIG_fail
;
13056 if (arg2
== NULL
) {
13057 SWIG_null_ref("wxImage");
13059 if (SWIG_arg_fail(2)) SWIG_fail
;
13062 arg3
= (int)(SWIG_As_int(obj2
));
13063 if (SWIG_arg_fail(3)) SWIG_fail
;
13066 arg4
= (int)(SWIG_As_int(obj3
));
13067 if (SWIG_arg_fail(4)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxImage
*arg1
= (wxImage
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (PyObject
*)wxImage_GetData(arg1
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
;
13109 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxImage
*arg1
= (wxImage
*) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "data", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 wxImage_SetData(arg1
,arg2
,arg3
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxImage
*arg1
= (wxImage
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
13150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= result
;
13166 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxImage
*arg1
= (wxImage
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "data", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13179 if (SWIG_arg_fail(1)) SWIG_fail
;
13181 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxImage
*arg1
= (wxImage
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
13207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13208 if (SWIG_arg_fail(1)) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
;
13223 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxImage
*arg1
= (wxImage
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "alpha", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
13235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13236 if (SWIG_arg_fail(1)) SWIG_fail
;
13238 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxImage
*arg1
= (wxImage
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
;
13280 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxImage
*arg1
= (wxImage
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "alpha", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 Py_INCREF(Py_None
); resultobj
= Py_None
;
13311 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxImage
*arg1
= (wxImage
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 PyObject
* obj3
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail
;
13329 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13330 if (SWIG_arg_fail(2)) SWIG_fail
;
13333 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13334 if (SWIG_arg_fail(3)) SWIG_fail
;
13337 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13338 if (SWIG_arg_fail(4)) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxImage
*arg1
= (wxImage
*) 0 ;
13357 byte
*arg2
= (byte
*) 0 ;
13358 byte
*arg3
= (byte
*) 0 ;
13359 byte
*arg4
= (byte
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13372 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13373 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
13375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13376 if (SWIG_arg_fail(1)) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13386 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
13387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13388 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
13389 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13390 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
13397 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxImage
*arg1
= (wxImage
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (byte
)(arg1
)->GetMaskRed();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13425 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxImage
*arg1
= (wxImage
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
13435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (byte
)(arg1
)->GetMaskGreen();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13453 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxImage
*arg1
= (wxImage
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
13463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13464 if (SWIG_arg_fail(1)) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (byte
)(arg1
)->GetMaskBlue();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13481 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxImage
*arg1
= (wxImage
*) 0 ;
13484 bool arg2
= (bool) true ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "mask", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13493 if (SWIG_arg_fail(1)) SWIG_fail
;
13496 arg2
= (bool)(SWIG_As_bool(obj1
));
13497 if (SWIG_arg_fail(2)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetMask(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxImage
*arg1
= (wxImage
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13525 if (SWIG_arg_fail(1)) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)(arg1
)->HasMask();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13542 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxImage
*arg1
= (wxImage
*) 0 ;
13546 wxPoint
*arg3
= 0 ;
13547 bool arg4
= (bool) true ;
13548 wxPoint
*arg5
= (wxPoint
*) NULL
;
13549 SwigValueWrapper
<wxImage
> result
;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 PyObject
* obj2
= 0 ;
13554 PyObject
* obj3
= 0 ;
13555 PyObject
* obj4
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13562 if (SWIG_arg_fail(1)) SWIG_fail
;
13564 arg2
= (double)(SWIG_As_double(obj1
));
13565 if (SWIG_arg_fail(2)) SWIG_fail
;
13569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13573 arg4
= (bool)(SWIG_As_bool(obj3
));
13574 if (SWIG_arg_fail(4)) SWIG_fail
;
13578 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13579 if (SWIG_arg_fail(5)) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 wxImage
* resultptr
;
13590 resultptr
= new wxImage((wxImage
&)(result
));
13591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13599 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxImage
*arg1
= (wxImage
*) 0 ;
13602 bool arg2
= (bool) true ;
13603 SwigValueWrapper
<wxImage
> result
;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "clockwise", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13612 if (SWIG_arg_fail(1)) SWIG_fail
;
13615 arg2
= (bool)(SWIG_As_bool(obj1
));
13616 if (SWIG_arg_fail(2)) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (arg1
)->Rotate90(arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 wxImage
* resultptr
;
13628 resultptr
= new wxImage((wxImage
&)(result
));
13629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13637 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxImage
*arg1
= (wxImage
*) 0 ;
13640 bool arg2
= (bool) true ;
13641 SwigValueWrapper
<wxImage
> result
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "horizontally", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 arg2
= (bool)(SWIG_As_bool(obj1
));
13654 if (SWIG_arg_fail(2)) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (arg1
)->Mirror(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 wxImage
* resultptr
;
13666 resultptr
= new wxImage((wxImage
&)(result
));
13667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13675 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxImage
*arg1
= (wxImage
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 PyObject
* obj3
= 0 ;
13688 PyObject
* obj4
= 0 ;
13689 PyObject
* obj5
= 0 ;
13690 PyObject
* obj6
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13697 if (SWIG_arg_fail(1)) SWIG_fail
;
13699 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13700 if (SWIG_arg_fail(2)) SWIG_fail
;
13703 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13704 if (SWIG_arg_fail(3)) SWIG_fail
;
13707 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13708 if (SWIG_arg_fail(4)) SWIG_fail
;
13711 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13712 if (SWIG_arg_fail(5)) SWIG_fail
;
13715 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13716 if (SWIG_arg_fail(6)) SWIG_fail
;
13719 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13720 if (SWIG_arg_fail(7)) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 Py_INCREF(Py_None
); resultobj
= Py_None
;
13736 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxImage
*arg1
= (wxImage
*) 0 ;
13742 SwigValueWrapper
<wxImage
> result
;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 PyObject
* obj2
= 0 ;
13746 PyObject
* obj3
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail
;
13755 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13756 if (SWIG_arg_fail(2)) SWIG_fail
;
13759 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13760 if (SWIG_arg_fail(3)) SWIG_fail
;
13763 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13764 if (SWIG_arg_fail(4)) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 wxImage
* resultptr
;
13775 resultptr
= new wxImage((wxImage
&)(result
));
13776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13784 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxImage
*arg1
= (wxImage
*) 0 ;
13787 wxString
*arg2
= 0 ;
13788 wxString
*arg3
= 0 ;
13789 bool temp2
= false ;
13790 bool temp3
= false ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "name",(char *) "value", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13800 if (SWIG_arg_fail(1)) SWIG_fail
;
13802 arg2
= wxString_in_helper(obj1
);
13803 if (arg2
== NULL
) SWIG_fail
;
13807 arg3
= wxString_in_helper(obj2
);
13808 if (arg3
== NULL
) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 Py_INCREF(Py_None
); resultobj
= Py_None
;
13841 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxImage
*arg1
= (wxImage
*) 0 ;
13844 wxString
*arg2
= 0 ;
13846 bool temp2
= false ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 PyObject
* obj2
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "name",(char *) "value", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail
;
13858 arg2
= wxString_in_helper(obj1
);
13859 if (arg2
== NULL
) SWIG_fail
;
13863 arg3
= (int)(SWIG_As_int(obj2
));
13864 if (SWIG_arg_fail(3)) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 Py_INCREF(Py_None
); resultobj
= Py_None
;
13888 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxImage
*arg1
= (wxImage
*) 0 ;
13891 wxString
*arg2
= 0 ;
13893 bool temp2
= false ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "name", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13902 if (SWIG_arg_fail(1)) SWIG_fail
;
13904 arg2
= wxString_in_helper(obj1
);
13905 if (arg2
== NULL
) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13936 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxImage
*arg1
= (wxImage
*) 0 ;
13939 wxString
*arg2
= 0 ;
13941 bool temp2
= false ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "name", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail
;
13952 arg2
= wxString_in_helper(obj1
);
13953 if (arg2
== NULL
) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_From_int((int)(result
));
13980 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxImage
*arg1
= (wxImage
*) 0 ;
13983 wxString
*arg2
= 0 ;
13985 bool temp2
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self",(char *) "name", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13994 if (SWIG_arg_fail(1)) SWIG_fail
;
13996 arg2
= wxString_in_helper(obj1
);
13997 if (arg2
== NULL
) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxImage
*arg1
= (wxImage
*) 0 ;
14027 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
14028 unsigned long result
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "stopafter", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14037 if (SWIG_arg_fail(1)) SWIG_fail
;
14040 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
14041 if (SWIG_arg_fail(2)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (unsigned long)(arg1
)->CountColours(arg2
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14060 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxImage
*arg1
= (wxImage
*) 0 ;
14063 wxImageHistogram
*arg2
= 0 ;
14064 unsigned long result
;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "h", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
14072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14073 if (SWIG_arg_fail(1)) SWIG_fail
;
14075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(2)) SWIG_fail
;
14077 if (arg2
== NULL
) {
14078 SWIG_null_ref("wxImageHistogram");
14080 if (SWIG_arg_fail(2)) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14098 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "handler", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
14107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 wxImage::AddHandler(arg1
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "handler", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
14132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 wxImage::InsertHandler(arg1
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 Py_INCREF(Py_None
); resultobj
= Py_None
;
14148 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxString
*arg1
= 0 ;
14152 bool temp1
= false ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "name", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
14160 arg1
= wxString_in_helper(obj0
);
14161 if (arg1
== NULL
) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14191 char *kwnames
[] = {
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= wxImage::GetImageExtWildcard();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14216 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxImage
*arg1
= (wxImage
*) 0 ;
14219 int arg2
= (int) -1 ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "depth", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14232 arg2
= (int)(SWIG_As_int(obj1
));
14233 if (SWIG_arg_fail(2)) SWIG_fail
;
14237 if (!wxPyCheckForApp()) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 wxBitmap
* resultptr
;
14246 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14255 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxImage
*arg1
= (wxImage
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 PyObject
* obj2
= 0 ;
14265 PyObject
* obj3
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail
;
14274 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
14275 if (SWIG_arg_fail(2)) SWIG_fail
;
14278 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
14279 if (SWIG_arg_fail(3)) SWIG_fail
;
14282 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
14283 if (SWIG_arg_fail(4)) SWIG_fail
;
14286 if (!wxPyCheckForApp()) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 wxBitmap
* resultptr
;
14295 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14304 static PyObject
*_wrap_Image_RotateHue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxImage
*arg1
= (wxImage
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "angle", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) goto fail
;
14315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14316 if (SWIG_arg_fail(1)) SWIG_fail
;
14318 arg2
= (double)(SWIG_As_double(obj1
));
14319 if (SWIG_arg_fail(2)) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 (arg1
)->RotateHue(arg2
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 Py_INCREF(Py_None
); resultobj
= Py_None
;
14335 static PyObject
*_wrap_Image_RGBtoHSV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxImage_RGBValue arg1
;
14338 wxImage_HSVValue result
;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "rgb", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) goto fail
;
14346 wxImage_RGBValue
* argp
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14349 if (argp
== NULL
) {
14350 SWIG_null_ref("wxImage_RGBValue");
14352 if (SWIG_arg_fail(1)) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= wxImage::RGBtoHSV(arg1
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 wxImage_HSVValue
* resultptr
;
14364 resultptr
= new wxImage_HSVValue((wxImage_HSVValue
&)(result
));
14365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_HSVValue
, 1);
14373 static PyObject
*_wrap_Image_HSVtoRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxImage_HSVValue arg1
;
14376 wxImage_RGBValue result
;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "hsv", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) goto fail
;
14384 wxImage_HSVValue
* argp
;
14385 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
);
14386 if (SWIG_arg_fail(1)) SWIG_fail
;
14387 if (argp
== NULL
) {
14388 SWIG_null_ref("wxImage_HSVValue");
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= wxImage::HSVtoRGB(arg1
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 wxImage_RGBValue
* resultptr
;
14402 resultptr
= new wxImage_RGBValue((wxImage_RGBValue
&)(result
));
14403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_RGBValue
, 1);
14411 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
14413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14414 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
14416 return Py_BuildValue((char *)"");
14418 static int _wrap_NullImage_set(PyObject
*) {
14419 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
14424 static PyObject
*_wrap_NullImage_get(void) {
14427 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
14432 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
14433 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
14438 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
14443 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14445 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14452 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
14453 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
14458 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
14463 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14465 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14472 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
14473 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
14478 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
14483 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14485 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14492 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
14493 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
14498 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
14503 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14505 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14512 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
14513 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
14518 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
14523 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14525 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14532 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
14533 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
14538 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
14543 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14545 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14552 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
14553 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
14558 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
14563 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14565 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14572 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
14573 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14578 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14583 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14585 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14592 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14593 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14598 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14603 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14605 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14612 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14613 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14618 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14623 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14625 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14632 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14633 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14638 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14643 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14645 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14652 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14653 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14658 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14663 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14665 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14672 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14673 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14678 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14683 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14685 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14692 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14693 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14698 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14703 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14705 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14712 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14713 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14718 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14723 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14725 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14732 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxBMPHandler
*result
;
14735 char *kwnames
[] = {
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (wxBMPHandler
*)new wxBMPHandler();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14754 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14757 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14759 return Py_BuildValue((char *)"");
14761 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxICOHandler
*result
;
14764 char *kwnames
[] = {
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxICOHandler
*)new wxICOHandler();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14783 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14786 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14788 return Py_BuildValue((char *)"");
14790 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxCURHandler
*result
;
14793 char *kwnames
[] = {
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxCURHandler
*)new wxCURHandler();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14812 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14815 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14817 return Py_BuildValue((char *)"");
14819 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxANIHandler
*result
;
14822 char *kwnames
[] = {
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxANIHandler
*)new wxANIHandler();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14841 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14844 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14846 return Py_BuildValue((char *)"");
14848 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxPNGHandler
*result
;
14851 char *kwnames
[] = {
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxPNGHandler
*)new wxPNGHandler();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14870 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14873 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14875 return Py_BuildValue((char *)"");
14877 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
;
14879 wxGIFHandler
*result
;
14880 char *kwnames
[] = {
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (wxGIFHandler
*)new wxGIFHandler();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14899 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14902 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14904 return Py_BuildValue((char *)"");
14906 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxPCXHandler
*result
;
14909 char *kwnames
[] = {
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxPCXHandler
*)new wxPCXHandler();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14928 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14931 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14933 return Py_BuildValue((char *)"");
14935 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxJPEGHandler
*result
;
14938 char *kwnames
[] = {
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14957 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14960 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14962 return Py_BuildValue((char *)"");
14964 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxPNMHandler
*result
;
14967 char *kwnames
[] = {
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (wxPNMHandler
*)new wxPNMHandler();
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14986 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14989 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14991 return Py_BuildValue((char *)"");
14993 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxXPMHandler
*result
;
14996 char *kwnames
[] = {
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (wxXPMHandler
*)new wxXPMHandler();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
15015 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
15017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15018 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
15020 return Py_BuildValue((char *)"");
15022 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxTIFFHandler
*result
;
15025 char *kwnames
[] = {
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (wxTIFFHandler
*)new wxTIFFHandler();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
15044 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
15046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15047 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
15049 return Py_BuildValue((char *)"");
15051 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxImage
*arg1
= 0 ;
15054 wxImage
*arg2
= 0 ;
15055 int arg3
= (int) 236 ;
15056 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 PyObject
* obj3
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 if (arg1
== NULL
) {
15071 SWIG_null_ref("wxImage");
15073 if (SWIG_arg_fail(1)) SWIG_fail
;
15076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(2)) SWIG_fail
;
15078 if (arg2
== NULL
) {
15079 SWIG_null_ref("wxImage");
15081 if (SWIG_arg_fail(2)) SWIG_fail
;
15085 arg3
= (int)(SWIG_As_int(obj2
));
15086 if (SWIG_arg_fail(3)) SWIG_fail
;
15091 arg4
= (int)(SWIG_As_int(obj3
));
15092 if (SWIG_arg_fail(4)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15111 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
15113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15114 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
15116 return Py_BuildValue((char *)"");
15118 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxEvtHandler
*result
;
15121 char *kwnames
[] = {
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (wxEvtHandler
*)new wxEvtHandler();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
15140 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15143 wxEvtHandler
*result
;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
15150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15151 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= wxPyMake_wxObject(result
, 0);
15168 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15171 wxEvtHandler
*result
;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
15178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15179 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= wxPyMake_wxObject(result
, 0);
15196 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15199 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "handler", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail
;
15209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(2)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetNextHandler(arg2
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15228 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "handler", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15237 if (SWIG_arg_fail(1)) SWIG_fail
;
15238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(2)) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 (arg1
)->SetPreviousHandler(arg2
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 Py_INCREF(Py_None
); resultobj
= Py_None
;
15254 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
15264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15265 if (SWIG_arg_fail(1)) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "enabled", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= (bool)(SWIG_As_bool(obj1
));
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetEvtHandlerEnabled(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15316 wxEvent
*arg2
= 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "event", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15329 if (SWIG_arg_fail(2)) SWIG_fail
;
15330 if (arg2
== NULL
) {
15331 SWIG_null_ref("wxEvent");
15333 if (SWIG_arg_fail(2)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15351 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15354 wxEvent
*arg2
= 0 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self",(char *) "event", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(1)) SWIG_fail
;
15365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(2)) SWIG_fail
;
15367 if (arg2
== NULL
) {
15368 SWIG_null_ref("wxEvent");
15370 if (SWIG_arg_fail(2)) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 (arg1
)->AddPendingEvent(*arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15386 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->ProcessPendingEvents();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15417 PyObject
*arg5
= (PyObject
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 PyObject
* obj2
= 0 ;
15421 PyObject
* obj3
= 0 ;
15422 PyObject
* obj4
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 arg2
= (int)(SWIG_As_int(obj1
));
15432 if (SWIG_arg_fail(2)) SWIG_fail
;
15435 arg3
= (int)(SWIG_As_int(obj2
));
15436 if (SWIG_arg_fail(3)) SWIG_fail
;
15439 arg4
= (int)(SWIG_As_int(obj3
));
15440 if (SWIG_arg_fail(4)) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15457 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15461 int arg3
= (int) -1 ;
15462 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 PyObject
* obj3
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15474 if (SWIG_arg_fail(1)) SWIG_fail
;
15476 arg2
= (int)(SWIG_As_int(obj1
));
15477 if (SWIG_arg_fail(2)) SWIG_fail
;
15481 arg3
= (int)(SWIG_As_int(obj2
));
15482 if (SWIG_arg_fail(3)) SWIG_fail
;
15487 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
15488 if (SWIG_arg_fail(4)) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15507 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15510 PyObject
*arg2
= (PyObject
*) 0 ;
15511 bool arg3
= (bool) true ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "_self",(char *) "incref", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15521 if (SWIG_arg_fail(1)) SWIG_fail
;
15525 arg3
= (bool)(SWIG_As_bool(obj2
));
15526 if (SWIG_arg_fail(3)) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
15545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15546 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
15548 return Py_BuildValue((char *)"");
15550 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxEventType result
;
15553 char *kwnames
[] = {
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (wxEventType
)wxNewEventType();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_From_int((int)(result
));
15574 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxEvent
*arg1
= (wxEvent
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 Py_INCREF(Py_None
); resultobj
= Py_None
;
15599 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxEvent
*arg1
= (wxEvent
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "typ", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail
;
15613 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15614 if (SWIG_arg_fail(2)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetEventType(arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxEvent
*arg1
= (wxEvent
*) 0 ;
15633 wxEventType result
;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15641 if (SWIG_arg_fail(1)) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_From_int((int)(result
));
15658 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxEvent
*arg1
= (wxEvent
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= wxPyMake_wxObject(result
, 0);
15686 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxEvent
*arg1
= (wxEvent
*) 0 ;
15689 wxObject
*arg2
= (wxObject
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "obj", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15698 if (SWIG_arg_fail(1)) SWIG_fail
;
15699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15700 if (SWIG_arg_fail(2)) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->SetEventObject(arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxEvent
*arg1
= (wxEvent
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15726 if (SWIG_arg_fail(1)) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_From_long((long)(result
));
15743 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxEvent
*arg1
= (wxEvent
*) 0 ;
15746 long arg2
= (long) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "ts", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15755 if (SWIG_arg_fail(1)) SWIG_fail
;
15758 arg2
= (long)(SWIG_As_long(obj1
));
15759 if (SWIG_arg_fail(2)) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetTimestamp(arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxEvent
*arg1
= (wxEvent
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15787 if (SWIG_arg_fail(1)) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)((wxEvent
const *)arg1
)->GetId();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_From_int((int)(result
));
15804 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxEvent
*arg1
= (wxEvent
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "Id", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15816 if (SWIG_arg_fail(1)) SWIG_fail
;
15818 arg2
= (int)(SWIG_As_int(obj1
));
15819 if (SWIG_arg_fail(2)) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->SetId(arg2
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxEvent
*arg1
= (wxEvent
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15846 if (SWIG_arg_fail(1)) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15863 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxEvent
*arg1
= (wxEvent
*) 0 ;
15866 bool arg2
= (bool) true ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "skip", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15875 if (SWIG_arg_fail(1)) SWIG_fail
;
15878 arg2
= (bool)(SWIG_As_bool(obj1
));
15879 if (SWIG_arg_fail(2)) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->Skip(arg2
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxEvent
*arg1
= (wxEvent
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15907 if (SWIG_arg_fail(1)) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15924 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxEvent
*arg1
= (wxEvent
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15935 if (SWIG_arg_fail(1)) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15952 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxEvent
*arg1
= (wxEvent
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15963 if (SWIG_arg_fail(1)) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (int)(arg1
)->StopPropagation();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_From_int((int)(result
));
15980 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxEvent
*arg1
= (wxEvent
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "propagationLevel", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15992 if (SWIG_arg_fail(1)) SWIG_fail
;
15994 arg2
= (int)(SWIG_As_int(obj1
));
15995 if (SWIG_arg_fail(2)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->ResumePropagation(arg2
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxEvent
*arg1
= (wxEvent
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
16021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16022 if (SWIG_arg_fail(1)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (wxEvent
*)(arg1
)->Clone();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16037 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
16039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16040 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
16042 return Py_BuildValue((char *)"");
16044 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxEvent
*arg1
= 0 ;
16047 wxPropagationDisabler
*result
;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "event", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail
;
16057 if (arg1
== NULL
) {
16058 SWIG_null_ref("wxEvent");
16060 if (SWIG_arg_fail(1)) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
16076 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
16086 if (SWIG_arg_fail(1)) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
16103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16104 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
16106 return Py_BuildValue((char *)"");
16108 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxEvent
*arg1
= 0 ;
16111 wxPropagateOnce
*result
;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "event", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16121 if (arg1
== NULL
) {
16122 SWIG_null_ref("wxEvent");
16124 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
16140 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
16167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16168 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
16170 return Py_BuildValue((char *)"");
16172 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16175 int arg2
= (int) 0 ;
16176 wxCommandEvent
*result
;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "commandType",(char *) "winid", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16186 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16187 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 arg2
= (int)(SWIG_As_int(obj1
));
16193 if (SWIG_arg_fail(2)) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
16210 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_From_int((int)(result
));
16238 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16241 wxString
*arg2
= 0 ;
16242 bool temp2
= false ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "s", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16251 if (SWIG_arg_fail(1)) SWIG_fail
;
16253 arg2
= wxString_in_helper(obj1
);
16254 if (arg2
== NULL
) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->SetString((wxString
const &)*arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16279 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
16289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16290 if (SWIG_arg_fail(1)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= ((wxCommandEvent
const *)arg1
)->GetString();
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16311 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "extraLong", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 arg2
= (long)(SWIG_As_long(obj1
));
16382 if (SWIG_arg_fail(2)) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 (arg1
)->SetExtraLong(arg2
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 Py_INCREF(Py_None
); resultobj
= Py_None
;
16398 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16402 PyObject
* obj0
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
16408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16409 if (SWIG_arg_fail(1)) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_From_long((long)(result
));
16426 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "i", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(1)) SWIG_fail
;
16440 arg2
= (int)(SWIG_As_int(obj1
));
16441 if (SWIG_arg_fail(2)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetInt(arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
16467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_From_long((long)(result
));
16485 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
16495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16511 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
16513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
16516 return Py_BuildValue((char *)"");
16518 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16521 int arg2
= (int) 0 ;
16522 wxNotifyEvent
*result
;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "commandType",(char *) "winid", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16532 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16533 if (SWIG_arg_fail(1)) SWIG_fail
;
16538 arg2
= (int)(SWIG_As_int(obj1
));
16539 if (SWIG_arg_fail(2)) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
16556 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
16565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16566 if (SWIG_arg_fail(1)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 Py_INCREF(Py_None
); resultobj
= Py_None
;
16606 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (bool)(arg1
)->IsAllowed();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16637 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16639 return Py_BuildValue((char *)"");
16641 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16644 int arg2
= (int) 0 ;
16645 int arg3
= (int) 0 ;
16646 int arg4
= (int) 0 ;
16647 wxScrollEvent
*result
;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 PyObject
* obj2
= 0 ;
16651 PyObject
* obj3
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16659 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16660 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 arg2
= (int)(SWIG_As_int(obj1
));
16666 if (SWIG_arg_fail(2)) SWIG_fail
;
16671 arg3
= (int)(SWIG_As_int(obj2
));
16672 if (SWIG_arg_fail(3)) SWIG_fail
;
16677 arg4
= (int)(SWIG_As_int(obj3
));
16678 if (SWIG_arg_fail(4)) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16695 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16706 if (SWIG_arg_fail(1)) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_From_int((int)(result
));
16723 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16734 if (SWIG_arg_fail(1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_From_int((int)(result
));
16751 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "orient", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 arg2
= (int)(SWIG_As_int(obj1
));
16766 if (SWIG_arg_fail(2)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 (arg1
)->SetOrientation(arg2
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 Py_INCREF(Py_None
); resultobj
= Py_None
;
16782 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "pos", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16796 arg2
= (int)(SWIG_As_int(obj1
));
16797 if (SWIG_arg_fail(2)) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->SetPosition(arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 Py_INCREF(Py_None
); resultobj
= Py_None
;
16813 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16816 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16818 return Py_BuildValue((char *)"");
16820 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16823 int arg2
= (int) 0 ;
16824 int arg3
= (int) 0 ;
16825 wxScrollWinEvent
*result
;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 PyObject
* obj2
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16836 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16837 if (SWIG_arg_fail(1)) SWIG_fail
;
16842 arg2
= (int)(SWIG_As_int(obj1
));
16843 if (SWIG_arg_fail(2)) SWIG_fail
;
16848 arg3
= (int)(SWIG_As_int(obj2
));
16849 if (SWIG_arg_fail(3)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16866 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_int((int)(result
));
16894 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16905 if (SWIG_arg_fail(1)) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= SWIG_From_int((int)(result
));
16922 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self",(char *) "orient", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16934 if (SWIG_arg_fail(1)) SWIG_fail
;
16936 arg2
= (int)(SWIG_As_int(obj1
));
16937 if (SWIG_arg_fail(2)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetOrientation(arg2
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "pos", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 arg2
= (int)(SWIG_As_int(obj1
));
16968 if (SWIG_arg_fail(2)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetPosition(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16987 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16989 return Py_BuildValue((char *)"");
16991 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16994 wxMouseEvent
*result
;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "mouseType", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
17003 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= wxPyMake_wxObject(result
, 1);
17023 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17054 int arg2
= (int) wxMOUSE_BTN_ANY
;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "but", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17067 arg2
= (int)(SWIG_As_int(obj1
));
17068 if (SWIG_arg_fail(2)) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17087 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17090 int arg2
= (int) wxMOUSE_BTN_ANY
;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self",(char *) "but", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
17099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17100 if (SWIG_arg_fail(1)) SWIG_fail
;
17103 arg2
= (int)(SWIG_As_int(obj1
));
17104 if (SWIG_arg_fail(2)) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17123 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17126 int arg2
= (int) wxMOUSE_BTN_ANY
;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "but", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
17135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17136 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 arg2
= (int)(SWIG_As_int(obj1
));
17140 if (SWIG_arg_fail(2)) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17159 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self",(char *) "button", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 arg2
= (int)(SWIG_As_int(obj1
));
17175 if (SWIG_arg_fail(2)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17193 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "but", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail
;
17208 arg2
= (int)(SWIG_As_int(obj1
));
17209 if (SWIG_arg_fail(2)) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17227 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
17237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(1)) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_From_int((int)(result
));
17255 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17266 if (SWIG_arg_fail(1)) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17283 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17311 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17350 if (SWIG_arg_fail(1)) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17378 if (SWIG_arg_fail(1)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17399 PyObject
* obj0
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
17405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17451 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
17461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17462 if (SWIG_arg_fail(1)) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17479 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
17489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17490 if (SWIG_arg_fail(1)) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
17517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17518 if (SWIG_arg_fail(1)) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17535 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
17545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17546 if (SWIG_arg_fail(1)) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17591 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17619 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (bool)(arg1
)->LeftIsDown();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17686 if (SWIG_arg_fail(1)) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->MiddleIsDown();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)(arg1
)->RightIsDown();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17826 if (SWIG_arg_fail(1)) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17843 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17854 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (arg1
)->GetPosition();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 wxPoint
* resultptr
;
17864 resultptr
= new wxPoint((wxPoint
&)(result
));
17865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17873 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17876 long *arg2
= (long *) 0 ;
17877 long *arg3
= (long *) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17888 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17891 if (SWIG_arg_fail(1)) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->GetPosition(arg2
,arg3
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17900 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17901 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17902 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17903 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17910 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "dc", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17926 if (SWIG_arg_fail(2)) SWIG_fail
;
17927 if (arg2
== NULL
) {
17928 SWIG_null_ref("wxDC");
17930 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 wxPoint
* resultptr
;
17941 resultptr
= new wxPoint((wxPoint
&)(result
));
17942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17950 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_From_int((int)(result
));
17978 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_From_int((int)(result
));
18006 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
18016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18017 if (SWIG_arg_fail(1)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_From_int((int)(result
));
18034 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_From_int((int)(result
));
18062 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
18072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18073 if (SWIG_arg_fail(1)) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_From_int((int)(result
));
18090 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18118 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "m_x", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18130 if (SWIG_arg_fail(1)) SWIG_fail
;
18132 arg2
= (int)(SWIG_As_int(obj1
));
18133 if (SWIG_arg_fail(2)) SWIG_fail
;
18135 if (arg1
) (arg1
)->m_x
= arg2
;
18137 Py_INCREF(Py_None
); resultobj
= Py_None
;
18144 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 result
= (int) ((arg1
)->m_x
);
18159 resultobj
= SWIG_From_int((int)(result
));
18167 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj1
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self",(char *) "m_y", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18179 if (SWIG_arg_fail(1)) SWIG_fail
;
18181 arg2
= (int)(SWIG_As_int(obj1
));
18182 if (SWIG_arg_fail(2)) SWIG_fail
;
18184 if (arg1
) (arg1
)->m_y
= arg2
;
18186 Py_INCREF(Py_None
); resultobj
= Py_None
;
18193 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18204 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 result
= (int) ((arg1
)->m_y
);
18208 resultobj
= SWIG_From_int((int)(result
));
18216 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "m_leftDown", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18228 if (SWIG_arg_fail(1)) SWIG_fail
;
18230 arg2
= (bool)(SWIG_As_bool(obj1
));
18231 if (SWIG_arg_fail(2)) SWIG_fail
;
18233 if (arg1
) (arg1
)->m_leftDown
= arg2
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
18252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18253 if (SWIG_arg_fail(1)) SWIG_fail
;
18254 result
= (bool) ((arg1
)->m_leftDown
);
18257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18265 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "m_middleDown", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18277 if (SWIG_arg_fail(1)) SWIG_fail
;
18279 arg2
= (bool)(SWIG_As_bool(obj1
));
18280 if (SWIG_arg_fail(2)) SWIG_fail
;
18282 if (arg1
) (arg1
)->m_middleDown
= arg2
;
18284 Py_INCREF(Py_None
); resultobj
= Py_None
;
18291 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
18301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18302 if (SWIG_arg_fail(1)) SWIG_fail
;
18303 result
= (bool) ((arg1
)->m_middleDown
);
18306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18314 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "m_rightDown", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 arg2
= (bool)(SWIG_As_bool(obj1
));
18329 if (SWIG_arg_fail(2)) SWIG_fail
;
18331 if (arg1
) (arg1
)->m_rightDown
= arg2
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 result
= (bool) ((arg1
)->m_rightDown
);
18355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18363 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "m_controlDown", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 arg2
= (bool)(SWIG_As_bool(obj1
));
18378 if (SWIG_arg_fail(2)) SWIG_fail
;
18380 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 result
= (bool) ((arg1
)->m_controlDown
);
18404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18412 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "m_shiftDown", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18424 if (SWIG_arg_fail(1)) SWIG_fail
;
18426 arg2
= (bool)(SWIG_As_bool(obj1
));
18427 if (SWIG_arg_fail(2)) SWIG_fail
;
18429 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 result
= (bool) ((arg1
)->m_shiftDown
);
18453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18461 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "m_altDown", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 arg2
= (bool)(SWIG_As_bool(obj1
));
18476 if (SWIG_arg_fail(2)) SWIG_fail
;
18478 if (arg1
) (arg1
)->m_altDown
= arg2
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18499 result
= (bool) ((arg1
)->m_altDown
);
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "m_metaDown", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(1)) SWIG_fail
;
18524 arg2
= (bool)(SWIG_As_bool(obj1
));
18525 if (SWIG_arg_fail(2)) SWIG_fail
;
18527 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 result
= (bool) ((arg1
)->m_metaDown
);
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18559 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "m_wheelRotation", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 arg2
= (int)(SWIG_As_int(obj1
));
18574 if (SWIG_arg_fail(2)) SWIG_fail
;
18576 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18597 result
= (int) ((arg1
)->m_wheelRotation
);
18600 resultobj
= SWIG_From_int((int)(result
));
18608 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "m_wheelDelta", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18622 arg2
= (int)(SWIG_As_int(obj1
));
18623 if (SWIG_arg_fail(2)) SWIG_fail
;
18625 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 result
= (int) ((arg1
)->m_wheelDelta
);
18649 resultobj
= SWIG_From_int((int)(result
));
18657 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "m_linesPerAction", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 arg2
= (int)(SWIG_As_int(obj1
));
18672 if (SWIG_arg_fail(2)) SWIG_fail
;
18674 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 result
= (int) ((arg1
)->m_linesPerAction
);
18698 resultobj
= SWIG_From_int((int)(result
));
18706 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18709 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18711 return Py_BuildValue((char *)"");
18713 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 int arg1
= (int) 0 ;
18716 int arg2
= (int) 0 ;
18717 wxSetCursorEvent
*result
;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "x",(char *) "y", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 arg1
= (int)(SWIG_As_int(obj0
));
18728 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 arg2
= (int)(SWIG_As_int(obj1
));
18734 if (SWIG_arg_fail(2)) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18751 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_From_int((int)(result
));
18779 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_From_int((int)(result
));
18807 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18810 wxCursor
*arg2
= 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "cursor", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18819 if (SWIG_arg_fail(1)) SWIG_fail
;
18821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18822 if (SWIG_arg_fail(2)) SWIG_fail
;
18823 if (arg2
== NULL
) {
18824 SWIG_null_ref("wxCursor");
18826 if (SWIG_arg_fail(2)) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18858 result
= (wxCursor
*) &_result_ref
;
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18865 wxCursor
* resultptr
= new wxCursor(*result
);
18866 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18874 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18902 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18905 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18907 return Py_BuildValue((char *)"");
18909 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18912 wxKeyEvent
*result
;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "eventType", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18921 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18922 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18939 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18950 if (SWIG_arg_fail(1)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18995 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
19005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19023 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
19033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19034 if (SWIG_arg_fail(1)) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19051 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19079 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
19089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19107 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_From_int((int)(result
));
19135 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
19145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19146 if (SWIG_arg_fail(1)) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_From_int((int)(result
));
19163 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19166 unsigned int result
;
19167 PyObject
* obj0
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
19173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19191 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19194 unsigned int result
;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
19201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(1)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19219 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (arg1
)->GetPosition();
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19239 wxPoint
* resultptr
;
19240 resultptr
= new wxPoint((wxPoint
&)(result
));
19241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19249 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19252 long *arg2
= (long *) 0 ;
19253 long *arg3
= (long *) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->GetPosition(arg2
,arg3
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19276 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19277 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
19278 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19279 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
19286 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
19296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19297 if (SWIG_arg_fail(1)) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_From_int((int)(result
));
19314 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
19324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= SWIG_From_int((int)(result
));
19342 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "m_x", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19354 if (SWIG_arg_fail(1)) SWIG_fail
;
19356 arg2
= (int)(SWIG_As_int(obj1
));
19357 if (SWIG_arg_fail(2)) SWIG_fail
;
19359 if (arg1
) (arg1
)->m_x
= arg2
;
19361 Py_INCREF(Py_None
); resultobj
= Py_None
;
19368 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
19378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19379 if (SWIG_arg_fail(1)) SWIG_fail
;
19380 result
= (int) ((arg1
)->m_x
);
19383 resultobj
= SWIG_From_int((int)(result
));
19391 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "m_y", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19403 if (SWIG_arg_fail(1)) SWIG_fail
;
19405 arg2
= (int)(SWIG_As_int(obj1
));
19406 if (SWIG_arg_fail(2)) SWIG_fail
;
19408 if (arg1
) (arg1
)->m_y
= arg2
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
19427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19428 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 result
= (int) ((arg1
)->m_y
);
19432 resultobj
= SWIG_From_int((int)(result
));
19440 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "m_keyCode", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19452 if (SWIG_arg_fail(1)) SWIG_fail
;
19454 arg2
= (long)(SWIG_As_long(obj1
));
19455 if (SWIG_arg_fail(2)) SWIG_fail
;
19457 if (arg1
) (arg1
)->m_keyCode
= arg2
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
19476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19477 if (SWIG_arg_fail(1)) SWIG_fail
;
19478 result
= (long) ((arg1
)->m_keyCode
);
19481 resultobj
= SWIG_From_long((long)(result
));
19489 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self",(char *) "m_controlDown", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19503 arg2
= (bool)(SWIG_As_bool(obj1
));
19504 if (SWIG_arg_fail(2)) SWIG_fail
;
19506 if (arg1
) (arg1
)->m_controlDown
= arg2
;
19508 Py_INCREF(Py_None
); resultobj
= Py_None
;
19515 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
19525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19526 if (SWIG_arg_fail(1)) SWIG_fail
;
19527 result
= (bool) ((arg1
)->m_controlDown
);
19530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19538 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "m_shiftDown", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19550 if (SWIG_arg_fail(1)) SWIG_fail
;
19552 arg2
= (bool)(SWIG_As_bool(obj1
));
19553 if (SWIG_arg_fail(2)) SWIG_fail
;
19555 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
19557 Py_INCREF(Py_None
); resultobj
= Py_None
;
19564 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
19574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19575 if (SWIG_arg_fail(1)) SWIG_fail
;
19576 result
= (bool) ((arg1
)->m_shiftDown
);
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self",(char *) "m_altDown", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19599 if (SWIG_arg_fail(1)) SWIG_fail
;
19601 arg2
= (bool)(SWIG_As_bool(obj1
));
19602 if (SWIG_arg_fail(2)) SWIG_fail
;
19604 if (arg1
) (arg1
)->m_altDown
= arg2
;
19606 Py_INCREF(Py_None
); resultobj
= Py_None
;
19613 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19624 if (SWIG_arg_fail(1)) SWIG_fail
;
19625 result
= (bool) ((arg1
)->m_altDown
);
19628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19636 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "m_metaDown", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19648 if (SWIG_arg_fail(1)) SWIG_fail
;
19650 arg2
= (bool)(SWIG_As_bool(obj1
));
19651 if (SWIG_arg_fail(2)) SWIG_fail
;
19653 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19662 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19674 result
= (bool) ((arg1
)->m_metaDown
);
19677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19685 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 PyObject
* obj1
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self",(char *) "m_scanCode", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 arg2
= (bool)(SWIG_As_bool(obj1
));
19700 if (SWIG_arg_fail(2)) SWIG_fail
;
19702 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19723 result
= (bool) ((arg1
)->m_scanCode
);
19726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19734 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19737 unsigned int arg2
;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "m_rawCode", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19748 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19749 if (SWIG_arg_fail(2)) SWIG_fail
;
19751 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19753 Py_INCREF(Py_None
); resultobj
= Py_None
;
19760 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19763 unsigned int result
;
19764 PyObject
* obj0
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19772 result
= (unsigned int) ((arg1
)->m_rawCode
);
19775 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19783 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19786 unsigned int arg2
;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "m_rawFlags", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19798 if (SWIG_arg_fail(2)) SWIG_fail
;
19800 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19802 Py_INCREF(Py_None
); resultobj
= Py_None
;
19809 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19812 unsigned int result
;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19820 if (SWIG_arg_fail(1)) SWIG_fail
;
19821 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19824 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19832 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19835 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19837 return Py_BuildValue((char *)"");
19839 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19842 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19843 int arg2
= (int) 0 ;
19844 wxSizeEvent
*result
;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "sz",(char *) "winid", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19856 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19861 arg2
= (int)(SWIG_As_int(obj1
));
19862 if (SWIG_arg_fail(2)) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19879 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19899 wxSize
* resultptr
;
19900 resultptr
= new wxSize((wxSize
&)(result
));
19901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19909 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 wxRect
* resultptr
;
19930 resultptr
= new wxRect((wxRect
&)(result
));
19931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19939 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "rect", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19951 if (SWIG_arg_fail(1)) SWIG_fail
;
19954 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19955 if (SWIG_arg_fail(2)) SWIG_fail
;
19956 if (argp
== NULL
) {
19957 SWIG_null_ref("wxRect");
19959 if (SWIG_arg_fail(2)) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->SetRect(arg2
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 Py_INCREF(Py_None
); resultobj
= Py_None
;
19976 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "size", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19988 if (SWIG_arg_fail(1)) SWIG_fail
;
19991 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19992 if (SWIG_arg_fail(2)) SWIG_fail
;
19993 if (argp
== NULL
) {
19994 SWIG_null_ref("wxSize");
19996 if (SWIG_arg_fail(2)) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 wxSizeEvent_SetSize(arg1
,arg2
);
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 Py_INCREF(Py_None
); resultobj
= Py_None
;
20013 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20016 wxSize
*arg2
= (wxSize
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "m_size", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
20027 if (SWIG_arg_fail(2)) SWIG_fail
;
20028 if (arg1
) (arg1
)->m_size
= *arg2
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
20047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail
;
20049 result
= (wxSize
*)& ((arg1
)->m_size
);
20051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20058 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20061 wxRect
*arg2
= (wxRect
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "m_rect", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20070 if (SWIG_arg_fail(1)) SWIG_fail
;
20071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(2)) SWIG_fail
;
20073 if (arg1
) (arg1
)->m_rect
= *arg2
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
20092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20093 if (SWIG_arg_fail(1)) SWIG_fail
;
20094 result
= (wxRect
*)& ((arg1
)->m_rect
);
20096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
20103 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20106 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
20108 return Py_BuildValue((char *)"");
20110 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
20113 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
20114 int arg2
= (int) 0 ;
20115 wxMoveEvent
*result
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "pos",(char *) "winid", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
20132 arg2
= (int)(SWIG_As_int(obj1
));
20133 if (SWIG_arg_fail(2)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
20150 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 wxPoint
* resultptr
;
20171 resultptr
= new wxPoint((wxPoint
&)(result
));
20172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20180 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
20190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20200 wxRect
* resultptr
;
20201 resultptr
= new wxRect((wxRect
&)(result
));
20202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20210 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self",(char *) "rect", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
20222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20223 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->SetRect((wxRect
const &)*arg2
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20245 wxPoint
*arg2
= 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "pos", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20255 if (SWIG_arg_fail(1)) SWIG_fail
;
20258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
20276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20277 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
20279 return Py_BuildValue((char *)"");
20281 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 int arg1
= (int) 0 ;
20284 wxPaintEvent
*result
;
20285 PyObject
* obj0
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "Id", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
20293 arg1
= (int)(SWIG_As_int(obj0
));
20294 if (SWIG_arg_fail(1)) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
20311 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20314 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
20316 return Py_BuildValue((char *)"");
20318 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 int arg1
= (int) 0 ;
20321 wxNcPaintEvent
*result
;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "winid", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
20330 arg1
= (int)(SWIG_As_int(obj0
));
20331 if (SWIG_arg_fail(1)) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
20348 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20351 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
20353 return Py_BuildValue((char *)"");
20355 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 int arg1
= (int) 0 ;
20358 wxDC
*arg2
= (wxDC
*) NULL
;
20359 wxEraseEvent
*result
;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "Id",(char *) "dc", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20369 arg1
= (int)(SWIG_As_int(obj0
));
20370 if (SWIG_arg_fail(1)) SWIG_fail
;
20374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20375 if (SWIG_arg_fail(2)) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
20391 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 char *kwnames
[] = {
20397 (char *) "self", NULL
20400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
20401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20402 if (SWIG_arg_fail(1)) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= wxPyMake_wxObject(result
, 0);
20419 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
20421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20422 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
20424 return Py_BuildValue((char *)"");
20426 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20429 int arg2
= (int) 0 ;
20430 wxFocusEvent
*result
;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "type",(char *) "winid", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20441 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 arg2
= (int)(SWIG_As_int(obj1
));
20447 if (SWIG_arg_fail(2)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
20464 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20468 PyObject
* obj0
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= wxPyMake_wxObject(result
, 0);
20492 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20495 wxWindow
*arg2
= (wxWindow
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self",(char *) "win", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20504 if (SWIG_arg_fail(1)) SWIG_fail
;
20505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20506 if (SWIG_arg_fail(2)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->SetWindow(arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20524 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
20526 return Py_BuildValue((char *)"");
20528 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxWindow
*arg1
= (wxWindow
*) NULL
;
20531 wxChildFocusEvent
*result
;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "win", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
20539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20540 if (SWIG_arg_fail(1)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
20556 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= wxPyMake_wxObject(result
, 0);
20584 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20587 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20589 return Py_BuildValue((char *)"");
20591 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20594 bool arg2
= (bool) true ;
20595 int arg3
= (int) 0 ;
20596 wxActivateEvent
*result
;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 PyObject
* obj2
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "type",(char *) "active",(char *) "Id", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20607 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20608 if (SWIG_arg_fail(1)) SWIG_fail
;
20613 arg2
= (bool)(SWIG_As_bool(obj1
));
20614 if (SWIG_arg_fail(2)) SWIG_fail
;
20619 arg3
= (int)(SWIG_As_int(obj2
));
20620 if (SWIG_arg_fail(3)) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20637 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20665 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20668 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20670 return Py_BuildValue((char *)"");
20672 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20674 int arg1
= (int) 0 ;
20675 wxInitDialogEvent
*result
;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "Id", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20684 arg1
= (int)(SWIG_As_int(obj0
));
20685 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20702 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20705 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20707 return Py_BuildValue((char *)"");
20709 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20712 int arg2
= (int) 0 ;
20713 wxMenu
*arg3
= (wxMenu
*) NULL
;
20714 wxMenuEvent
*result
;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 PyObject
* obj2
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "type",(char *) "winid",(char *) "menu", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20725 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 arg2
= (int)(SWIG_As_int(obj1
));
20732 if (SWIG_arg_fail(2)) SWIG_fail
;
20736 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20737 if (SWIG_arg_fail(3)) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20753 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20764 if (SWIG_arg_fail(1)) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_From_int((int)(result
));
20781 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20809 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= wxPyMake_wxObject(result
, 0);
20837 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20840 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20842 return Py_BuildValue((char *)"");
20844 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20847 int arg2
= (int) 0 ;
20848 wxCloseEvent
*result
;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "type",(char *) "winid", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20858 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20859 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 arg2
= (int)(SWIG_As_int(obj1
));
20865 if (SWIG_arg_fail(2)) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20882 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self",(char *) "logOff", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20894 if (SWIG_arg_fail(1)) SWIG_fail
;
20896 arg2
= (bool)(SWIG_As_bool(obj1
));
20897 if (SWIG_arg_fail(2)) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->SetLoggingOff(arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20941 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20944 bool arg2
= (bool) true ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self",(char *) "veto", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail
;
20956 arg2
= (bool)(SWIG_As_bool(obj1
));
20957 if (SWIG_arg_fail(2)) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 (arg1
)->Veto(arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 Py_INCREF(Py_None
); resultobj
= Py_None
;
20974 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21002 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self",(char *) "canVeto", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
21013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21014 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 arg2
= (bool)(SWIG_As_bool(obj1
));
21017 if (SWIG_arg_fail(2)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetCanVeto(arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 Py_INCREF(Py_None
); resultobj
= Py_None
;
21033 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
21043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21044 if (SWIG_arg_fail(1)) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21061 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
21063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21064 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
21066 return Py_BuildValue((char *)"");
21068 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 int arg1
= (int) 0 ;
21071 bool arg2
= (bool) false ;
21072 wxShowEvent
*result
;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "winid",(char *) "show", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21082 arg1
= (int)(SWIG_As_int(obj0
));
21083 if (SWIG_arg_fail(1)) SWIG_fail
;
21088 arg2
= (bool)(SWIG_As_bool(obj1
));
21089 if (SWIG_arg_fail(2)) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
21106 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "show", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21118 if (SWIG_arg_fail(1)) SWIG_fail
;
21120 arg2
= (bool)(SWIG_As_bool(obj1
));
21121 if (SWIG_arg_fail(2)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->SetShow(arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
21147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21165 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
21167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21168 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
21170 return Py_BuildValue((char *)"");
21172 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 int arg1
= (int) 0 ;
21175 bool arg2
= (bool) true ;
21176 wxIconizeEvent
*result
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "id",(char *) "iconized", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 arg1
= (int)(SWIG_As_int(obj0
));
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21192 arg2
= (bool)(SWIG_As_bool(obj1
));
21193 if (SWIG_arg_fail(2)) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
21210 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
21220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
21221 if (SWIG_arg_fail(1)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (bool)(arg1
)->Iconized();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21241 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
21243 return Py_BuildValue((char *)"");
21245 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 int arg1
= (int) 0 ;
21248 wxMaximizeEvent
*result
;
21249 PyObject
* obj0
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "id", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
21257 arg1
= (int)(SWIG_As_int(obj0
));
21258 if (SWIG_arg_fail(1)) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
21275 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21278 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
21280 return Py_BuildValue((char *)"");
21282 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21293 if (SWIG_arg_fail(1)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (arg1
)->GetPosition();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 wxPoint
* resultptr
;
21303 resultptr
= new wxPoint((wxPoint
&)(result
));
21304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21312 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
21322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21323 if (SWIG_arg_fail(1)) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (int)(arg1
)->GetNumberOfFiles();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_From_int((int)(result
));
21340 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
21350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21351 if (SWIG_arg_fail(1)) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
;
21366 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
21368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21369 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
21371 return Py_BuildValue((char *)"");
21373 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 int arg1
= (int) 0 ;
21376 wxUpdateUIEvent
*result
;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "commandId", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
21385 arg1
= (int)(SWIG_As_int(obj0
));
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
21403 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
21413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21414 if (SWIG_arg_fail(1)) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21431 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21459 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
21469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21491 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
;
21493 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21519 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21547 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
21557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21558 if (SWIG_arg_fail(1)) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21575 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "check", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21587 if (SWIG_arg_fail(1)) SWIG_fail
;
21589 arg2
= (bool)(SWIG_As_bool(obj1
));
21590 if (SWIG_arg_fail(2)) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 (arg1
)->Check(arg2
);
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 Py_INCREF(Py_None
); resultobj
= Py_None
;
21606 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "enable", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21618 if (SWIG_arg_fail(1)) SWIG_fail
;
21620 arg2
= (bool)(SWIG_As_bool(obj1
));
21621 if (SWIG_arg_fail(2)) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 (arg1
)->Enable(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 Py_INCREF(Py_None
); resultobj
= Py_None
;
21637 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21640 wxString
*arg2
= 0 ;
21641 bool temp2
= false ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "text", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 arg2
= wxString_in_helper(obj1
);
21653 if (arg2
== NULL
) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->SetText((wxString
const &)*arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21678 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21681 PyObject
* obj0
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "updateInterval", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21688 arg1
= (long)(SWIG_As_long(obj0
));
21689 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21708 char *kwnames
[] = {
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_From_long((long)(result
));
21729 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxWindow
*arg1
= (wxWindow
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "win", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 char *kwnames
[] = {
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 wxUpdateUIEvent::ResetUpdateTime();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 Py_INCREF(Py_None
); resultobj
= Py_None
;
21778 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxUpdateUIMode arg1
;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "mode", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21788 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxUpdateUIMode result
;
21808 char *kwnames
[] = {
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_From_int((result
));
21827 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21830 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21832 return Py_BuildValue((char *)"");
21834 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxSysColourChangedEvent
*result
;
21837 char *kwnames
[] = {
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21856 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21859 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21861 return Py_BuildValue((char *)"");
21863 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 int arg1
= (int) 0 ;
21866 wxWindow
*arg2
= (wxWindow
*) NULL
;
21867 wxMouseCaptureChangedEvent
*result
;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "winid",(char *) "gainedCapture", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21877 arg1
= (int)(SWIG_As_int(obj0
));
21878 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21883 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21899 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= wxPyMake_wxObject(result
, 0);
21927 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21930 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21932 return Py_BuildValue((char *)"");
21934 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxDisplayChangedEvent
*result
;
21937 char *kwnames
[] = {
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21956 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21959 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21961 return Py_BuildValue((char *)"");
21963 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 int arg1
= (int) 0 ;
21966 wxPaletteChangedEvent
*result
;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "id", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21975 arg1
= (int)(SWIG_As_int(obj0
));
21976 if (SWIG_arg_fail(1)) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21993 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21996 wxWindow
*arg2
= (wxWindow
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "win", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail
;
22006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22007 if (SWIG_arg_fail(2)) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->SetChangedWindow(arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= wxPyMake_wxObject(result
, 0);
22050 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
22052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22053 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
22055 return Py_BuildValue((char *)"");
22057 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 int arg1
= (int) 0 ;
22060 wxQueryNewPaletteEvent
*result
;
22061 PyObject
* obj0
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "winid", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
22069 arg1
= (int)(SWIG_As_int(obj0
));
22070 if (SWIG_arg_fail(1)) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
22087 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 char *kwnames
[] = {
22094 (char *) "self",(char *) "realized", NULL
22097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
22098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail
;
22101 arg2
= (bool)(SWIG_As_bool(obj1
));
22102 if (SWIG_arg_fail(2)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->SetPaletteRealized(arg2
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 Py_INCREF(Py_None
); resultobj
= Py_None
;
22118 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22146 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
22148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22149 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
22151 return Py_BuildValue((char *)"");
22153 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxNavigationKeyEvent
*result
;
22156 char *kwnames
[] = {
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
22175 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22203 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "forward", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 arg2
= (bool)(SWIG_As_bool(obj1
));
22218 if (SWIG_arg_fail(2)) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 (arg1
)->SetDirection(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 Py_INCREF(Py_None
); resultobj
= Py_None
;
22234 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
22244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22245 if (SWIG_arg_fail(1)) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22262 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self",(char *) "ischange", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
22273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22274 if (SWIG_arg_fail(1)) SWIG_fail
;
22276 arg2
= (bool)(SWIG_As_bool(obj1
));
22277 if (SWIG_arg_fail(2)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->SetWindowChange(arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
22303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22304 if (SWIG_arg_fail(1)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22321 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "bIs", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22333 if (SWIG_arg_fail(1)) SWIG_fail
;
22335 arg2
= (bool)(SWIG_As_bool(obj1
));
22336 if (SWIG_arg_fail(2)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->SetFromTab(arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "flags", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 arg2
= (long)(SWIG_As_long(obj1
));
22367 if (SWIG_arg_fail(2)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetFlags(arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22383 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
22393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= wxPyMake_wxObject(result
, 0);
22411 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22414 wxWindow
*arg2
= (wxWindow
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 PyObject
* obj1
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self",(char *) "win", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
22422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22423 if (SWIG_arg_fail(1)) SWIG_fail
;
22424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22425 if (SWIG_arg_fail(2)) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 (arg1
)->SetCurrentFocus(arg2
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 Py_INCREF(Py_None
); resultobj
= Py_None
;
22440 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
22442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22443 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
22445 return Py_BuildValue((char *)"");
22447 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) NULL
;
22450 wxWindowCreateEvent
*result
;
22451 PyObject
* obj0
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "win", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
22458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
22475 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= wxPyMake_wxObject(result
, 0);
22503 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
22505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22506 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
22508 return Py_BuildValue((char *)"");
22510 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxWindow
*arg1
= (wxWindow
*) NULL
;
22513 wxWindowDestroyEvent
*result
;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "win", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
22521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22522 if (SWIG_arg_fail(1)) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
22538 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22549 if (SWIG_arg_fail(1)) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= wxPyMake_wxObject(result
, 0);
22566 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
22568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
22571 return Py_BuildValue((char *)"");
22573 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22576 int arg2
= (int) 0 ;
22577 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22578 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22579 wxContextMenuEvent
*result
;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "type",(char *) "winid",(char *) "pt", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22591 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22597 arg2
= (int)(SWIG_As_int(obj1
));
22598 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22621 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22637 result
= (wxPoint
*) &_result_ref
;
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22650 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22653 wxPoint
*arg2
= 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "pos", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22685 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22687 return Py_BuildValue((char *)"");
22689 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxIdleEvent
*result
;
22692 char *kwnames
[] = {
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (wxIdleEvent
*)new wxIdleEvent();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22711 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22714 bool arg2
= (bool) true ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "needMore", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22723 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 arg2
= (bool)(SWIG_As_bool(obj1
));
22727 if (SWIG_arg_fail(2)) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->RequestMore(arg2
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22755 if (SWIG_arg_fail(1)) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22772 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "mode", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22782 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22783 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22802 char *kwnames
[] = {
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_int((result
));
22821 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxWindow
*arg1
= (wxWindow
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "win", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22832 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (bool)wxIdleEvent::CanSend(arg1
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22849 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22852 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22854 return Py_BuildValue((char *)"");
22856 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 int arg1
= (int) 0 ;
22859 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "winid",(char *) "eventType", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22870 arg1
= (int)(SWIG_As_int(obj0
));
22871 if (SWIG_arg_fail(1)) SWIG_fail
;
22876 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22877 if (SWIG_arg_fail(2)) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22894 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 Py_INCREF(Py_None
); resultobj
= Py_None
;
22919 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22922 PyObject
*arg2
= (PyObject
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self",(char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->SetSelf(arg2
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (PyObject
*)(arg1
)->GetSelf();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= result
;
22973 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22976 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22978 return Py_BuildValue((char *)"");
22980 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22983 int arg2
= (int) 0 ;
22984 wxPyCommandEvent
*result
;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "eventType",(char *) "id", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22994 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22995 if (SWIG_arg_fail(1)) SWIG_fail
;
23000 arg2
= (int)(SWIG_As_int(obj1
));
23001 if (SWIG_arg_fail(2)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
23018 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23046 PyObject
*arg2
= (PyObject
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self",(char *) "self", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
23054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->SetSelf(arg2
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 Py_INCREF(Py_None
); resultobj
= Py_None
;
23071 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (PyObject
*)(arg1
)->GetSelf();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
;
23097 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
23099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23100 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
23102 return Py_BuildValue((char *)"");
23104 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxWindow
*arg1
= (wxWindow
*) 0 ;
23107 wxDateTime
*arg2
= 0 ;
23109 wxDateEvent
*result
;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 PyObject
* obj2
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "win",(char *) "dt",(char *) "type", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23122 if (SWIG_arg_fail(2)) SWIG_fail
;
23123 if (arg2
== NULL
) {
23124 SWIG_null_ref("wxDateTime");
23126 if (SWIG_arg_fail(2)) SWIG_fail
;
23129 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
23130 if (SWIG_arg_fail(3)) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
23146 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23149 wxDateTime
*result
;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
23162 result
= (wxDateTime
*) &_result_ref
;
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23175 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23178 wxDateTime
*arg2
= 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "date", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23190 if (SWIG_arg_fail(2)) SWIG_fail
;
23191 if (arg2
== NULL
) {
23192 SWIG_null_ref("wxDateTime");
23194 if (SWIG_arg_fail(2)) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
23212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23213 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
23215 return Py_BuildValue((char *)"");
23217 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23220 char *kwnames
[] = {
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (wxPyApp
*)new_wxPyApp();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
23239 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
23248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 Py_INCREF(Py_None
); resultobj
= Py_None
;
23264 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23267 PyObject
*arg2
= (PyObject
*) 0 ;
23268 PyObject
*arg3
= (PyObject
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 PyObject
* obj2
= 0 ;
23273 PyObject
* obj3
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 arg4
= (bool)(SWIG_As_bool(obj3
));
23285 if (SWIG_arg_fail(4)) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= ((wxPyApp
const *)arg1
)->GetAppName();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23333 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23336 wxString
*arg2
= 0 ;
23337 bool temp2
= false ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "name", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23348 arg2
= wxString_in_helper(obj1
);
23349 if (arg2
== NULL
) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 (arg1
)->SetAppName((wxString
const &)*arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23374 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= ((wxPyApp
const *)arg1
)->GetClassName();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23406 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23409 wxString
*arg2
= 0 ;
23410 bool temp2
= false ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "name", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23419 if (SWIG_arg_fail(1)) SWIG_fail
;
23421 arg2
= wxString_in_helper(obj1
);
23422 if (arg2
== NULL
) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->SetClassName((wxString
const &)*arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23447 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
23457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
23463 result
= (wxString
*) &_result_ref
;
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23473 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23482 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23485 wxString
*arg2
= 0 ;
23486 bool temp2
= false ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self",(char *) "name", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
23494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23495 if (SWIG_arg_fail(1)) SWIG_fail
;
23497 arg2
= wxString_in_helper(obj1
);
23498 if (arg2
== NULL
) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->SetVendorName((wxString
const &)*arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23523 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23526 wxAppTraits
*result
;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
23533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (wxAppTraits
*)(arg1
)->GetTraits();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
23549 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
23558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23559 if (SWIG_arg_fail(1)) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->ProcessPendingEvents();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23577 bool arg2
= (bool) false ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "onlyIfNeeded", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23587 if (SWIG_arg_fail(1)) SWIG_fail
;
23590 arg2
= (bool)(SWIG_As_bool(obj1
));
23591 if (SWIG_arg_fail(2)) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= (bool)(arg1
)->Yield(arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23610 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23620 if (SWIG_arg_fail(1)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 (arg1
)->WakeUpIdle();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 Py_INCREF(Py_None
); resultobj
= Py_None
;
23635 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23638 char *kwnames
[] = {
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (bool)wxPyApp::IsMainLoopRunning();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23659 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (int)(arg1
)->MainLoop();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_From_int((int)(result
));
23687 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23697 if (SWIG_arg_fail(1)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 Py_INCREF(Py_None
); resultobj
= Py_None
;
23712 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23722 if (SWIG_arg_fail(1)) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 (arg1
)->ExitMainLoop();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 Py_INCREF(Py_None
); resultobj
= Py_None
;
23737 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (bool)(arg1
)->Pending();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23765 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23767 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (bool)(arg1
)->Dispatch();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23793 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23804 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (bool)(arg1
)->ProcessIdle();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23821 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23824 wxWindow
*arg2
= (wxWindow
*) 0 ;
23825 wxIdleEvent
*arg3
= 0 ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 PyObject
* obj2
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self",(char *) "win",(char *) "event", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23836 if (SWIG_arg_fail(1)) SWIG_fail
;
23837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23838 if (SWIG_arg_fail(2)) SWIG_fail
;
23840 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23841 if (SWIG_arg_fail(3)) SWIG_fail
;
23842 if (arg3
== NULL
) {
23843 SWIG_null_ref("wxIdleEvent");
23845 if (SWIG_arg_fail(3)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23863 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23891 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23894 wxWindow
*arg2
= (wxWindow
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self",(char *) "win", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23903 if (SWIG_arg_fail(1)) SWIG_fail
;
23904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23905 if (SWIG_arg_fail(2)) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->SetTopWindow(arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23931 if (SWIG_arg_fail(1)) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= wxPyMake_wxObject(result
, 0);
23948 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "flag", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23960 if (SWIG_arg_fail(1)) SWIG_fail
;
23962 arg2
= (bool)(SWIG_As_bool(obj1
));
23963 if (SWIG_arg_fail(2)) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 (arg1
)->SetExitOnFrameDelete(arg2
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 Py_INCREF(Py_None
); resultobj
= Py_None
;
23979 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23990 if (SWIG_arg_fail(1)) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24007 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "flag", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24019 if (SWIG_arg_fail(1)) SWIG_fail
;
24021 arg2
= (bool)(SWIG_As_bool(obj1
));
24022 if (SWIG_arg_fail(2)) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 (arg1
)->SetUseBestVisual(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 Py_INCREF(Py_None
); resultobj
= Py_None
;
24038 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "mode", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail
;
24080 arg2
= (int)(SWIG_As_int(obj1
));
24081 if (SWIG_arg_fail(2)) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetPrintMode(arg2
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_From_int((int)(result
));
24125 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self",(char *) "mode", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24137 if (SWIG_arg_fail(1)) SWIG_fail
;
24139 arg2
= (int)(SWIG_As_int(obj1
));
24140 if (SWIG_arg_fail(2)) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 (arg1
)->SetAssertMode(arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 Py_INCREF(Py_None
); resultobj
= Py_None
;
24156 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
24166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(1)) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (int)(arg1
)->GetAssertMode();
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_From_int((int)(result
));
24184 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24187 char *kwnames
[] = {
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24211 char *kwnames
[] = {
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (long)wxPyApp::GetMacAboutMenuItemId();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_From_long((long)(result
));
24232 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24235 char *kwnames
[] = {
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= SWIG_From_long((long)(result
));
24256 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24259 char *kwnames
[] = {
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (long)wxPyApp::GetMacExitMenuItemId();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_From_long((long)(result
));
24280 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24283 char *kwnames
[] = {
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= wxPyApp::GetMacHelpMenuTitleName();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24308 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "val", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
24318 arg1
= (bool)(SWIG_As_bool(obj0
));
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 Py_INCREF(Py_None
); resultobj
= Py_None
;
24335 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "val", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
24345 arg1
= (long)(SWIG_As_long(obj0
));
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxPyApp::SetMacAboutMenuItemId(arg1
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 Py_INCREF(Py_None
); resultobj
= Py_None
;
24362 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "val", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
24372 arg1
= (long)(SWIG_As_long(obj0
));
24373 if (SWIG_arg_fail(1)) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "val", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
24399 arg1
= (long)(SWIG_As_long(obj0
));
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxPyApp::SetMacExitMenuItemId(arg1
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 Py_INCREF(Py_None
); resultobj
= Py_None
;
24416 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxString
*arg1
= 0 ;
24419 bool temp1
= false ;
24420 PyObject
* obj0
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "val", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
24427 arg1
= wxString_in_helper(obj0
);
24428 if (arg1
== NULL
) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24453 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 (arg1
)->_BootstrapApp();
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 Py_INCREF(Py_None
); resultobj
= Py_None
;
24478 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
;
24481 char *kwnames
[] = {
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (int)wxPyApp::GetComCtl32Version();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_From_int((int)(result
));
24502 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
24504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
24507 return Py_BuildValue((char *)"");
24509 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 char *kwnames
[] = {
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 Py_INCREF(Py_None
); resultobj
= Py_None
;
24530 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24533 char *kwnames
[] = {
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (bool)wxYield();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24554 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24557 char *kwnames
[] = {
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (bool)wxYieldIfNeeded();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24578 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxWindow
*arg1
= (wxWindow
*) NULL
;
24581 bool arg2
= (bool) false ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "win",(char *) "onlyIfNeeded", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24596 arg2
= (bool)(SWIG_As_bool(obj1
));
24597 if (SWIG_arg_fail(2)) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (bool)wxSafeYield(arg1
,arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24616 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 char *kwnames
[] = {
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 Py_INCREF(Py_None
); resultobj
= Py_None
;
24637 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24640 wxEvent
*arg2
= 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "dest",(char *) "event", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24649 if (SWIG_arg_fail(1)) SWIG_fail
;
24651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(2)) SWIG_fail
;
24653 if (arg2
== NULL
) {
24654 SWIG_null_ref("wxEvent");
24656 if (SWIG_arg_fail(2)) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 wxPostEvent(arg1
,*arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 char *kwnames
[] = {
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24696 char *kwnames
[] = {
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (wxPyApp
*)wxPyGetApp();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= wxPyMake_wxObject(result
, 0);
24717 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 char *arg1
= (char *) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 char *kwnames
[] = {
24722 (char *) "encoding", NULL
24725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24726 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24727 SWIG_arg_fail(1);SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 wxSetDefaultPyEncoding((char const *)arg1
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24746 char *kwnames
[] = {
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (char *)wxGetDefaultPyEncoding();
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_FromCharPtr(result
);
24765 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxEventLoop
*result
;
24768 char *kwnames
[] = {
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (wxEventLoop
*)new wxEventLoop();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24787 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24797 if (SWIG_arg_fail(1)) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24823 if (SWIG_arg_fail(1)) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (int)(arg1
)->Run();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= SWIG_From_int((int)(result
));
24840 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24843 int arg2
= (int) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self",(char *) "rc", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail
;
24855 arg2
= (int)(SWIG_As_int(obj1
));
24856 if (SWIG_arg_fail(2)) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->Exit(arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 Py_INCREF(Py_None
); resultobj
= Py_None
;
24873 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24877 PyObject
* obj0
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24901 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24905 PyObject
* obj0
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (bool)(arg1
)->Dispatch();
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24929 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24957 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxEventLoop
*result
;
24960 char *kwnames
[] = {
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24979 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "loop", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 wxEventLoop::SetActive(arg1
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 Py_INCREF(Py_None
); resultobj
= Py_None
;
25004 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
25006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25007 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
25009 return Py_BuildValue((char *)"");
25011 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 int arg1
= (int) 0 ;
25014 int arg2
= (int) 0 ;
25015 int arg3
= (int) 0 ;
25016 wxAcceleratorEntry
*result
;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 PyObject
* obj2
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25027 arg1
= (int)(SWIG_As_int(obj0
));
25028 if (SWIG_arg_fail(1)) SWIG_fail
;
25033 arg2
= (int)(SWIG_As_int(obj1
));
25034 if (SWIG_arg_fail(2)) SWIG_fail
;
25039 arg3
= (int)(SWIG_As_int(obj2
));
25040 if (SWIG_arg_fail(3)) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
25057 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25060 PyObject
* obj0
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
25066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25067 if (SWIG_arg_fail(1)) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 Py_INCREF(Py_None
); resultobj
= Py_None
;
25082 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 PyObject
* obj3
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25098 if (SWIG_arg_fail(1)) SWIG_fail
;
25100 arg2
= (int)(SWIG_As_int(obj1
));
25101 if (SWIG_arg_fail(2)) SWIG_fail
;
25104 arg3
= (int)(SWIG_As_int(obj2
));
25105 if (SWIG_arg_fail(3)) SWIG_fail
;
25108 arg4
= (int)(SWIG_As_int(obj3
));
25109 if (SWIG_arg_fail(4)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->Set(arg2
,arg3
,arg4
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25125 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
25135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (int)(arg1
)->GetFlags();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_From_int((int)(result
));
25153 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25164 if (SWIG_arg_fail(1)) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (int)(arg1
)->GetKeyCode();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= SWIG_From_int((int)(result
));
25181 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
25191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25192 if (SWIG_arg_fail(1)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= (int)(arg1
)->GetCommand();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_From_int((int)(result
));
25209 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
25211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25212 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
25214 return Py_BuildValue((char *)"");
25216 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25219 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
25220 wxAcceleratorTable
*result
;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25228 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
25229 if (arg2
) arg1
= PyList_Size(obj0
);
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
25252 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25262 if (SWIG_arg_fail(1)) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 Py_INCREF(Py_None
); resultobj
= Py_None
;
25277 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
25287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25288 if (SWIG_arg_fail(1)) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25305 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
25307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25308 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
25310 return Py_BuildValue((char *)"");
25312 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
25313 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
25318 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
25321 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25326 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25328 wxString
*arg1
= 0 ;
25329 wxAcceleratorEntry
*result
;
25330 bool temp1
= false ;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "label", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
25338 arg1
= wxString_in_helper(obj0
);
25339 if (arg1
== NULL
) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
25364 static int _wrap_PanelNameStr_set(PyObject
*) {
25365 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
25370 static PyObject
*_wrap_PanelNameStr_get(void) {
25375 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25377 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25384 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxVisualAttributes
*result
;
25387 char *kwnames
[] = {
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
25406 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 delete_wxVisualAttributes(arg1
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 Py_INCREF(Py_None
); resultobj
= Py_None
;
25431 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25434 wxFont
*arg2
= (wxFont
*) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "font", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(2)) SWIG_fail
;
25446 if (arg1
) (arg1
)->font
= *arg2
;
25448 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
25465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 result
= (wxFont
*)& ((arg1
)->font
);
25469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25476 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25479 wxColour
*arg2
= (wxColour
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "colFg", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25490 if (SWIG_arg_fail(2)) SWIG_fail
;
25491 if (arg1
) (arg1
)->colFg
= *arg2
;
25493 Py_INCREF(Py_None
); resultobj
= Py_None
;
25500 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
25510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25511 if (SWIG_arg_fail(1)) SWIG_fail
;
25512 result
= (wxColour
*)& ((arg1
)->colFg
);
25514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25521 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25524 wxColour
*arg2
= (wxColour
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "colBg", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(2)) SWIG_fail
;
25536 if (arg1
) (arg1
)->colBg
= *arg2
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 result
= (wxColour
*)& ((arg1
)->colBg
);
25559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25566 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
25568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25569 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
25571 return Py_BuildValue((char *)"");
25573 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxWindow
*arg1
= (wxWindow
*) 0 ;
25576 int arg2
= (int) (int)-1 ;
25577 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25578 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25579 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25580 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25581 long arg5
= (long) 0 ;
25582 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25583 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25587 bool temp6
= false ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 PyObject
* obj2
= 0 ;
25591 PyObject
* obj3
= 0 ;
25592 PyObject
* obj4
= 0 ;
25593 PyObject
* obj5
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25600 if (SWIG_arg_fail(1)) SWIG_fail
;
25603 arg2
= (int const)(SWIG_As_int(obj1
));
25604 if (SWIG_arg_fail(2)) SWIG_fail
;
25610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25621 arg5
= (long)(SWIG_As_long(obj4
));
25622 if (SWIG_arg_fail(5)) SWIG_fail
;
25627 arg6
= wxString_in_helper(obj5
);
25628 if (arg6
== NULL
) SWIG_fail
;
25633 if (!wxPyCheckForApp()) SWIG_fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25655 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25658 char *kwnames
[] = {
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25664 if (!wxPyCheckForApp()) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (wxWindow
*)new wxWindow();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25678 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxWindow
*arg1
= (wxWindow
*) 0 ;
25681 wxWindow
*arg2
= (wxWindow
*) 0 ;
25682 int arg3
= (int) (int)-1 ;
25683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25687 long arg6
= (long) 0 ;
25688 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25689 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25693 bool temp7
= false ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 PyObject
* obj3
= 0 ;
25698 PyObject
* obj4
= 0 ;
25699 PyObject
* obj5
= 0 ;
25700 PyObject
* obj6
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(2)) SWIG_fail
;
25712 arg3
= (int const)(SWIG_As_int(obj2
));
25713 if (SWIG_arg_fail(3)) SWIG_fail
;
25719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25730 arg6
= (long)(SWIG_As_long(obj5
));
25731 if (SWIG_arg_fail(6)) SWIG_fail
;
25736 arg7
= wxString_in_helper(obj6
);
25737 if (arg7
== NULL
) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25765 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 bool arg2
= (bool) false ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self",(char *) "force", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25778 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 arg2
= (bool)(SWIG_As_bool(obj1
));
25782 if (SWIG_arg_fail(2)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (bool)(arg1
)->Close(arg2
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxWindow
*arg1
= (wxWindow
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (bool)(arg1
)->Destroy();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25829 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxWindow
*arg1
= (wxWindow
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (bool)(arg1
)->DestroyChildren();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25857 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxWindow
*arg1
= (wxWindow
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25885 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxWindow
*arg1
= (wxWindow
*) 0 ;
25888 wxString
*arg2
= 0 ;
25889 bool temp2
= false ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "label", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25898 if (SWIG_arg_fail(1)) SWIG_fail
;
25900 arg2
= wxString_in_helper(obj1
);
25901 if (arg2
== NULL
) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 (arg1
)->SetLabel((wxString
const &)*arg2
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= ((wxWindow
const *)arg1
)->GetLabel();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25958 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxWindow
*arg1
= (wxWindow
*) 0 ;
25961 wxString
*arg2
= 0 ;
25962 bool temp2
= false ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "name", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail
;
25973 arg2
= wxString_in_helper(obj1
);
25974 if (arg2
== NULL
) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->SetName((wxString
const &)*arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25999 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
26009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26010 if (SWIG_arg_fail(1)) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= ((wxWindow
const *)arg1
)->GetName();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26031 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxWindow
*arg1
= (wxWindow
*) 0 ;
26034 wxWindowVariant arg2
;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "variant", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail
;
26045 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
26046 if (SWIG_arg_fail(2)) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 Py_INCREF(Py_None
); resultobj
= Py_None
;
26062 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxWindow
*arg1
= (wxWindow
*) 0 ;
26065 wxWindowVariant result
;
26066 PyObject
* obj0
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_From_int((result
));
26088 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxWindow
*arg1
= (wxWindow
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "winid", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26100 if (SWIG_arg_fail(1)) SWIG_fail
;
26102 arg2
= (int)(SWIG_As_int(obj1
));
26103 if (SWIG_arg_fail(2)) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 (arg1
)->SetId(arg2
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 Py_INCREF(Py_None
); resultobj
= Py_None
;
26119 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxWindow
*arg1
= (wxWindow
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
26129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(1)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (int)((wxWindow
const *)arg1
)->GetId();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_From_int((int)(result
));
26147 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26150 char *kwnames
[] = {
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (int)wxWindow::NewControlId();
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_From_int((int)(result
));
26171 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26175 PyObject
* obj0
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "winid", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
26182 arg1
= (int)(SWIG_As_int(obj0
));
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 result
= (int)wxWindow::NextControlId(arg1
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_From_int((int)(result
));
26201 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26205 PyObject
* obj0
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "winid", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
26212 arg1
= (int)(SWIG_As_int(obj0
));
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (int)wxWindow::PrevControlId(arg1
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_From_int((int)(result
));
26231 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxWindow
*arg1
= (wxWindow
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "size", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 (arg1
)->SetSize((wxSize
const &)*arg2
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxWindow
*arg1
= (wxWindow
*) 0 ;
26270 int arg6
= (int) wxSIZE_AUTO
;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 PyObject
* obj2
= 0 ;
26274 PyObject
* obj3
= 0 ;
26275 PyObject
* obj4
= 0 ;
26276 PyObject
* obj5
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail
;
26285 arg2
= (int)(SWIG_As_int(obj1
));
26286 if (SWIG_arg_fail(2)) SWIG_fail
;
26289 arg3
= (int)(SWIG_As_int(obj2
));
26290 if (SWIG_arg_fail(3)) SWIG_fail
;
26293 arg4
= (int)(SWIG_As_int(obj3
));
26294 if (SWIG_arg_fail(4)) SWIG_fail
;
26297 arg5
= (int)(SWIG_As_int(obj4
));
26298 if (SWIG_arg_fail(5)) SWIG_fail
;
26302 arg6
= (int)(SWIG_As_int(obj5
));
26303 if (SWIG_arg_fail(6)) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 Py_INCREF(Py_None
); resultobj
= Py_None
;
26320 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
;
26322 wxWindow
*arg1
= (wxWindow
*) 0 ;
26324 int arg3
= (int) wxSIZE_AUTO
;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 PyObject
* obj2
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26335 if (SWIG_arg_fail(1)) SWIG_fail
;
26338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26342 arg3
= (int)(SWIG_As_int(obj2
));
26343 if (SWIG_arg_fail(3)) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 Py_INCREF(Py_None
); resultobj
= Py_None
;
26360 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxWindow
*arg1
= (wxWindow
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 PyObject
* obj2
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "width",(char *) "height", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26374 if (SWIG_arg_fail(1)) SWIG_fail
;
26376 arg2
= (int)(SWIG_As_int(obj1
));
26377 if (SWIG_arg_fail(2)) SWIG_fail
;
26380 arg3
= (int)(SWIG_As_int(obj2
));
26381 if (SWIG_arg_fail(3)) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 (arg1
)->SetSize(arg2
,arg3
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 Py_INCREF(Py_None
); resultobj
= Py_None
;
26397 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 wxPoint
*arg2
= 0 ;
26401 int arg3
= (int) wxSIZE_USE_EXISTING
;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 PyObject
* obj2
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self",(char *) "pt",(char *) "flags", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26419 arg3
= (int)(SWIG_As_int(obj2
));
26420 if (SWIG_arg_fail(3)) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 int arg4
= (int) wxSIZE_USE_EXISTING
;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 PyObject
* obj2
= 0 ;
26446 PyObject
* obj3
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26453 if (SWIG_arg_fail(1)) SWIG_fail
;
26455 arg2
= (int)(SWIG_As_int(obj1
));
26456 if (SWIG_arg_fail(2)) SWIG_fail
;
26459 arg3
= (int)(SWIG_As_int(obj2
));
26460 if (SWIG_arg_fail(3)) SWIG_fail
;
26464 arg4
= (int)(SWIG_As_int(obj3
));
26465 if (SWIG_arg_fail(4)) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 (arg1
)->Move(arg2
,arg3
,arg4
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 Py_INCREF(Py_None
); resultobj
= Py_None
;
26482 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26485 wxSize
const &arg2_defvalue
= wxDefaultSize
;
26486 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "size", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26496 if (SWIG_arg_fail(1)) SWIG_fail
;
26500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 Py_INCREF(Py_None
); resultobj
= Py_None
;
26517 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxWindow
*arg1
= (wxWindow
*) 0 ;
26520 PyObject
* obj0
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26527 if (SWIG_arg_fail(1)) SWIG_fail
;
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 Py_INCREF(Py_None
); resultobj
= Py_None
;
26542 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
;
26544 wxWindow
*arg1
= (wxWindow
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxWindow
*arg1
= (wxWindow
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "size", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26580 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxWindow
*arg1
= (wxWindow
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 PyObject
* obj2
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "width",(char *) "height", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail
;
26615 arg2
= (int)(SWIG_As_int(obj1
));
26616 if (SWIG_arg_fail(2)) SWIG_fail
;
26619 arg3
= (int)(SWIG_As_int(obj2
));
26620 if (SWIG_arg_fail(3)) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 (arg1
)->SetClientSize(arg2
,arg3
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 Py_INCREF(Py_None
); resultobj
= Py_None
;
26636 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self",(char *) "rect", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26649 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 Py_INCREF(Py_None
); resultobj
= Py_None
;
26668 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxWindow
*arg1
= (wxWindow
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26679 if (SWIG_arg_fail(1)) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (arg1
)->GetPosition();
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 wxPoint
* resultptr
;
26689 resultptr
= new wxPoint((wxPoint
&)(result
));
26690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26698 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxWindow
*arg1
= (wxWindow
*) 0 ;
26701 int *arg2
= (int *) 0 ;
26702 int *arg3
= (int *) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self", NULL
26712 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26713 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26716 if (SWIG_arg_fail(1)) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 (arg1
)->GetPosition(arg2
,arg3
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26726 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26727 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26728 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26735 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= ((wxWindow
const *)arg1
)->GetSize();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 wxSize
* resultptr
;
26756 resultptr
= new wxSize((wxSize
&)(result
));
26757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26765 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxWindow
*arg1
= (wxWindow
*) 0 ;
26768 int *arg2
= (int *) 0 ;
26769 int *arg3
= (int *) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self", NULL
26779 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26780 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26792 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26793 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26794 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26795 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26802 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxWindow
*arg1
= (wxWindow
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 result
= ((wxWindow
const *)arg1
)->GetRect();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26822 wxRect
* resultptr
;
26823 resultptr
= new wxRect((wxRect
&)(result
));
26824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26832 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxWindow
*arg1
= (wxWindow
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26852 wxSize
* resultptr
;
26853 resultptr
= new wxSize((wxSize
&)(result
));
26854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26862 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxWindow
*arg1
= (wxWindow
*) 0 ;
26865 int *arg2
= (int *) 0 ;
26866 int *arg3
= (int *) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26877 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 Py_INCREF(Py_None
); resultobj
= Py_None
;
26889 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26890 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26891 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26892 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26899 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxWindow
*arg1
= (wxWindow
*) 0 ;
26903 PyObject
* obj0
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26919 wxPoint
* resultptr
;
26920 resultptr
= new wxPoint((wxPoint
&)(result
));
26921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26929 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
;
26931 wxWindow
*arg1
= (wxWindow
*) 0 ;
26933 PyObject
* obj0
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 wxRect
* resultptr
;
26950 resultptr
= new wxRect((wxRect
&)(result
));
26951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26959 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 wxSize
* resultptr
;
26980 resultptr
= new wxSize((wxSize
&)(result
));
26981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26989 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxWindow
*arg1
= (wxWindow
*) 0 ;
26992 int *arg2
= (int *) 0 ;
26993 int *arg3
= (int *) 0 ;
26998 PyObject
* obj0
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self", NULL
27003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
27006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27007 if (SWIG_arg_fail(1)) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 Py_INCREF(Py_None
); resultobj
= Py_None
;
27016 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27017 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27018 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27019 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27026 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxWindow
*arg1
= (wxWindow
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 (arg1
)->InvalidateBestSize();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 Py_INCREF(Py_None
); resultobj
= Py_None
;
27051 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxWindow
*arg1
= (wxWindow
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "size", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxWindow
*arg1
= (wxWindow
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 wxSize
* resultptr
;
27104 resultptr
= new wxSize((wxSize
&)(result
));
27105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27113 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
27123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 wxSize
* resultptr
;
27134 resultptr
= new wxSize((wxSize
&)(result
));
27135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27143 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxWindow
*arg1
= (wxWindow
*) 0 ;
27146 int arg2
= (int) wxBOTH
;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "self",(char *) "direction", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
27154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27155 if (SWIG_arg_fail(1)) SWIG_fail
;
27158 arg2
= (int)(SWIG_As_int(obj1
));
27159 if (SWIG_arg_fail(2)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->Center(arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27179 int arg2
= (int) wxBOTH
;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "dir", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 arg2
= (int)(SWIG_As_int(obj1
));
27192 if (SWIG_arg_fail(2)) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 (arg1
)->CenterOnScreen(arg2
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 Py_INCREF(Py_None
); resultobj
= Py_None
;
27209 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxWindow
*arg1
= (wxWindow
*) 0 ;
27212 int arg2
= (int) wxBOTH
;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "dir", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 arg2
= (int)(SWIG_As_int(obj1
));
27225 if (SWIG_arg_fail(2)) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->CenterOnParent(arg2
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 Py_INCREF(Py_None
); resultobj
= Py_None
;
27242 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxWindow
*arg1
= (wxWindow
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
27251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->FitInside();
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxWindow
*arg1
= (wxWindow
*) 0 ;
27297 int arg4
= (int) -1 ;
27298 int arg5
= (int) -1 ;
27299 int arg6
= (int) -1 ;
27300 int arg7
= (int) -1 ;
27301 PyObject
* obj0
= 0 ;
27302 PyObject
* obj1
= 0 ;
27303 PyObject
* obj2
= 0 ;
27304 PyObject
* obj3
= 0 ;
27305 PyObject
* obj4
= 0 ;
27306 PyObject
* obj5
= 0 ;
27307 PyObject
* obj6
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27314 if (SWIG_arg_fail(1)) SWIG_fail
;
27316 arg2
= (int)(SWIG_As_int(obj1
));
27317 if (SWIG_arg_fail(2)) SWIG_fail
;
27320 arg3
= (int)(SWIG_As_int(obj2
));
27321 if (SWIG_arg_fail(3)) SWIG_fail
;
27325 arg4
= (int)(SWIG_As_int(obj3
));
27326 if (SWIG_arg_fail(4)) SWIG_fail
;
27331 arg5
= (int)(SWIG_As_int(obj4
));
27332 if (SWIG_arg_fail(5)) SWIG_fail
;
27337 arg6
= (int)(SWIG_As_int(obj5
));
27338 if (SWIG_arg_fail(6)) SWIG_fail
;
27343 arg7
= (int)(SWIG_As_int(obj6
));
27344 if (SWIG_arg_fail(7)) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27361 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27366 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 PyObject
* obj2
= 0 ;
27375 PyObject
* obj3
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail
;
27385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27390 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27396 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxWindow
*arg1
= (wxWindow
*) 0 ;
27418 int arg4
= (int) -1 ;
27419 int arg5
= (int) -1 ;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 PyObject
* obj2
= 0 ;
27423 PyObject
* obj3
= 0 ;
27424 PyObject
* obj4
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27433 arg2
= (int)(SWIG_As_int(obj1
));
27434 if (SWIG_arg_fail(2)) SWIG_fail
;
27437 arg3
= (int)(SWIG_As_int(obj2
));
27438 if (SWIG_arg_fail(3)) SWIG_fail
;
27442 arg4
= (int)(SWIG_As_int(obj3
));
27443 if (SWIG_arg_fail(4)) SWIG_fail
;
27448 arg5
= (int)(SWIG_As_int(obj4
));
27449 if (SWIG_arg_fail(5)) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 Py_INCREF(Py_None
); resultobj
= Py_None
;
27466 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27471 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 PyObject
* obj2
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail
;
27486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxWindow
*arg1
= (wxWindow
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27519 if (SWIG_arg_fail(1)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 wxSize
* resultptr
;
27529 resultptr
= new wxSize((wxSize
&)(result
));
27530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27538 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxWindow
*arg1
= (wxWindow
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27549 if (SWIG_arg_fail(1)) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27558 wxSize
* resultptr
;
27559 resultptr
= new wxSize((wxSize
&)(result
));
27560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27568 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxWindow
*arg1
= (wxWindow
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self",(char *) "minSize", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail
;
27584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxWindow
*arg1
= (wxWindow
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "maxSize", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27613 if (SWIG_arg_fail(1)) SWIG_fail
;
27616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 Py_INCREF(Py_None
); resultobj
= Py_None
;
27632 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxWindow
*arg1
= (wxWindow
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_From_int((int)(result
));
27660 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxWindow
*arg1
= (wxWindow
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= SWIG_From_int((int)(result
));
27688 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxWindow
*arg1
= (wxWindow
*) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27699 if (SWIG_arg_fail(1)) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= SWIG_From_int((int)(result
));
27716 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxWindow
*arg1
= (wxWindow
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 char *kwnames
[] = {
27722 (char *) "self", NULL
27725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27727 if (SWIG_arg_fail(1)) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 resultobj
= SWIG_From_int((int)(result
));
27744 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxWindow
*arg1
= (wxWindow
*) 0 ;
27749 PyObject
* obj0
= 0 ;
27750 PyObject
* obj1
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "self",(char *) "size", NULL
27755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27757 if (SWIG_arg_fail(1)) SWIG_fail
;
27760 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 Py_INCREF(Py_None
); resultobj
= Py_None
;
27776 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
;
27778 wxWindow
*arg1
= (wxWindow
*) 0 ;
27781 PyObject
* obj0
= 0 ;
27782 PyObject
* obj1
= 0 ;
27783 PyObject
* obj2
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "w",(char *) "h", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27790 if (SWIG_arg_fail(1)) SWIG_fail
;
27792 arg2
= (int)(SWIG_As_int(obj1
));
27793 if (SWIG_arg_fail(2)) SWIG_fail
;
27796 arg3
= (int)(SWIG_As_int(obj2
));
27797 if (SWIG_arg_fail(3)) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->SetVirtualSize(arg2
,arg3
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27833 wxSize
* resultptr
;
27834 resultptr
= new wxSize((wxSize
&)(result
));
27835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27843 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxWindow
*arg1
= (wxWindow
*) 0 ;
27846 int *arg2
= (int *) 0 ;
27847 int *arg3
= (int *) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 char *kwnames
[] = {
27854 (char *) "self", NULL
27857 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27858 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27861 if (SWIG_arg_fail(1)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27871 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27872 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27873 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27880 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxWindow
*arg1
= (wxWindow
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27900 wxSize
* resultptr
;
27901 resultptr
= new wxSize((wxSize
&)(result
));
27902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27910 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxWindow
*arg1
= (wxWindow
*) 0 ;
27913 bool arg2
= (bool) true ;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "show", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27923 if (SWIG_arg_fail(1)) SWIG_fail
;
27926 arg2
= (bool)(SWIG_As_bool(obj1
));
27927 if (SWIG_arg_fail(2)) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 result
= (bool)(arg1
)->Show(arg2
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27946 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxWindow
*arg1
= (wxWindow
*) 0 ;
27950 PyObject
* obj0
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27957 if (SWIG_arg_fail(1)) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 result
= (bool)(arg1
)->Hide();
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27974 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxWindow
*arg1
= (wxWindow
*) 0 ;
27977 bool arg2
= (bool) true ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self",(char *) "enable", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 arg2
= (bool)(SWIG_As_bool(obj1
));
27991 if (SWIG_arg_fail(2)) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (bool)(arg1
)->Enable(arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28010 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxWindow
*arg1
= (wxWindow
*) 0 ;
28014 PyObject
* obj0
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
28020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28021 if (SWIG_arg_fail(1)) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (bool)(arg1
)->Disable();
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxWindow
*arg1
= (wxWindow
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
28048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28049 if (SWIG_arg_fail(1)) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28066 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxWindow
*arg1
= (wxWindow
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 char *kwnames
[] = {
28072 (char *) "self", NULL
28075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
28076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28077 if (SWIG_arg_fail(1)) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28094 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxWindow
*arg1
= (wxWindow
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 PyObject
* obj1
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self",(char *) "style", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28106 if (SWIG_arg_fail(1)) SWIG_fail
;
28108 arg2
= (long)(SWIG_As_long(obj1
));
28109 if (SWIG_arg_fail(2)) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 (arg1
)->SetWindowStyleFlag(arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 Py_INCREF(Py_None
); resultobj
= Py_None
;
28125 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxWindow
*arg1
= (wxWindow
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= SWIG_From_long((long)(result
));
28153 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxWindow
*arg1
= (wxWindow
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self",(char *) "flag", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28166 if (SWIG_arg_fail(1)) SWIG_fail
;
28168 arg2
= (int)(SWIG_As_int(obj1
));
28169 if (SWIG_arg_fail(2)) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28187 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxWindow
*arg1
= (wxWindow
*) 0 ;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
28197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28215 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxWindow
*arg1
= (wxWindow
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 PyObject
* obj1
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self",(char *) "exStyle", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
28226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28227 if (SWIG_arg_fail(1)) SWIG_fail
;
28229 arg2
= (long)(SWIG_As_long(obj1
));
28230 if (SWIG_arg_fail(2)) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 (arg1
)->SetExtraStyle(arg2
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 Py_INCREF(Py_None
); resultobj
= Py_None
;
28246 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxWindow
*arg1
= (wxWindow
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
28256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(1)) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_From_long((long)(result
));
28274 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxWindow
*arg1
= (wxWindow
*) 0 ;
28277 bool arg2
= (bool) true ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "modal", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
28285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28286 if (SWIG_arg_fail(1)) SWIG_fail
;
28289 arg2
= (bool)(SWIG_As_bool(obj1
));
28290 if (SWIG_arg_fail(2)) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 (arg1
)->MakeModal(arg2
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 Py_INCREF(Py_None
); resultobj
= Py_None
;
28307 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxWindow
*arg1
= (wxWindow
*) 0 ;
28311 PyObject
* obj0
= 0 ;
28312 PyObject
* obj1
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "self",(char *) "enableTheme", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28319 if (SWIG_arg_fail(1)) SWIG_fail
;
28321 arg2
= (bool)(SWIG_As_bool(obj1
));
28322 if (SWIG_arg_fail(2)) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 (arg1
)->SetThemeEnabled(arg2
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 Py_INCREF(Py_None
); resultobj
= Py_None
;
28338 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxWindow
*arg1
= (wxWindow
*) 0 ;
28342 PyObject
* obj0
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
28348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28349 if (SWIG_arg_fail(1)) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28366 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxWindow
*arg1
= (wxWindow
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
28375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28376 if (SWIG_arg_fail(1)) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 (arg1
)->SetFocus();
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 Py_INCREF(Py_None
); resultobj
= Py_None
;
28391 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxWindow
*arg1
= (wxWindow
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
28400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28401 if (SWIG_arg_fail(1)) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 (arg1
)->SetFocusFromKbd();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 Py_INCREF(Py_None
); resultobj
= Py_None
;
28416 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28419 char *kwnames
[] = {
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
28425 if (!wxPyCheckForApp()) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (wxWindow
*)wxWindow::FindFocus();
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= wxPyMake_wxObject(result
, 0);
28441 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxWindow
*arg1
= (wxWindow
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 char *kwnames
[] = {
28447 (char *) "self", NULL
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28452 if (SWIG_arg_fail(1)) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxWindow
*arg1
= (wxWindow
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28497 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28498 PyObject
*resultobj
;
28499 wxWindow
*arg1
= (wxWindow
*) 0 ;
28501 PyObject
* obj0
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= wxPyMake_wxObject(result
, 0);
28525 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 wxWindow
*arg2
= (wxWindow
*) 0 ;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "child", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28538 if (SWIG_arg_fail(1)) SWIG_fail
;
28539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= wxPyMake_wxObject(result
, 0);
28557 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxWindow
*arg1
= (wxWindow
*) 0 ;
28560 wxWindow
*arg2
= (wxWindow
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "win", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28569 if (SWIG_arg_fail(1)) SWIG_fail
;
28570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28571 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->SetTmpDefaultItem(arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 Py_INCREF(Py_None
); resultobj
= Py_None
;
28586 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxWindow
*arg1
= (wxWindow
*) 0 ;
28589 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self",(char *) "flags", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail
;
28602 arg2
= (int)(SWIG_As_int(obj1
));
28603 if (SWIG_arg_fail(2)) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (bool)(arg1
)->Navigate(arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28622 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxWindow
*arg1
= (wxWindow
*) 0 ;
28625 wxWindow
*arg2
= (wxWindow
*) 0 ;
28626 PyObject
* obj0
= 0 ;
28627 PyObject
* obj1
= 0 ;
28628 char *kwnames
[] = {
28629 (char *) "self",(char *) "win", NULL
28632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28634 if (SWIG_arg_fail(1)) SWIG_fail
;
28635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28636 if (SWIG_arg_fail(2)) SWIG_fail
;
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 (arg1
)->MoveAfterInTabOrder(arg2
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 Py_INCREF(Py_None
); resultobj
= Py_None
;
28651 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxWindow
*arg1
= (wxWindow
*) 0 ;
28654 wxWindow
*arg2
= (wxWindow
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 PyObject
* obj1
= 0 ;
28657 char *kwnames
[] = {
28658 (char *) "self",(char *) "win", NULL
28661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28663 if (SWIG_arg_fail(1)) SWIG_fail
;
28664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(2)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 (arg1
)->MoveBeforeInTabOrder(arg2
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 Py_INCREF(Py_None
); resultobj
= Py_None
;
28680 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxWindow
*arg1
= (wxWindow
*) 0 ;
28684 PyObject
* obj0
= 0 ;
28685 char *kwnames
[] = {
28686 (char *) "self", NULL
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28691 if (SWIG_arg_fail(1)) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= result
;
28706 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxWindow
*arg1
= (wxWindow
*) 0 ;
28710 PyObject
* obj0
= 0 ;
28711 char *kwnames
[] = {
28712 (char *) "self", NULL
28715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28717 if (SWIG_arg_fail(1)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= wxPyMake_wxObject(result
, 0);
28734 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxWindow
*arg1
= (wxWindow
*) 0 ;
28738 PyObject
* obj0
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "self", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= wxPyMake_wxObject(result
, 0);
28762 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxWindow
*arg1
= (wxWindow
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28773 if (SWIG_arg_fail(1)) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28790 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxWindow
*arg1
= (wxWindow
*) 0 ;
28793 wxWindow
*arg2
= (wxWindow
*) 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "newParent", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28805 if (SWIG_arg_fail(2)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (bool)(arg1
)->Reparent(arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28822 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxWindow
*arg1
= (wxWindow
*) 0 ;
28825 wxWindow
*arg2
= (wxWindow
*) 0 ;
28826 PyObject
* obj0
= 0 ;
28827 PyObject
* obj1
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self",(char *) "child", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28834 if (SWIG_arg_fail(1)) SWIG_fail
;
28835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28836 if (SWIG_arg_fail(2)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 (arg1
)->AddChild(arg2
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 Py_INCREF(Py_None
); resultobj
= Py_None
;
28851 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxWindow
*arg1
= (wxWindow
*) 0 ;
28854 wxWindow
*arg2
= (wxWindow
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self",(char *) "child", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail
;
28864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28865 if (SWIG_arg_fail(2)) SWIG_fail
;
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 (arg1
)->RemoveChild(arg2
);
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 Py_INCREF(Py_None
); resultobj
= Py_None
;
28880 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxWindow
*arg1
= (wxWindow
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self",(char *) "winid", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(1)) SWIG_fail
;
28895 arg2
= (long)(SWIG_As_long(obj1
));
28896 if (SWIG_arg_fail(2)) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= wxPyMake_wxObject(result
, 0);
28914 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
;
28916 wxWindow
*arg1
= (wxWindow
*) 0 ;
28917 wxString
*arg2
= 0 ;
28919 bool temp2
= false ;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 char *kwnames
[] = {
28923 (char *) "self",(char *) "name", NULL
28926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28928 if (SWIG_arg_fail(1)) SWIG_fail
;
28930 arg2
= wxString_in_helper(obj1
);
28931 if (arg2
== NULL
) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= wxPyMake_wxObject(result
, 0);
28958 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
;
28960 wxWindow
*arg1
= (wxWindow
*) 0 ;
28961 wxEvtHandler
*result
;
28962 PyObject
* obj0
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= wxPyMake_wxObject(result
, 0);
28986 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxWindow
*arg1
= (wxWindow
*) 0 ;
28989 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char *kwnames
[] = {
28993 (char *) "self",(char *) "handler", NULL
28996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28998 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29000 if (SWIG_arg_fail(2)) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 (arg1
)->SetEventHandler(arg2
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 Py_INCREF(Py_None
); resultobj
= Py_None
;
29015 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29016 PyObject
*resultobj
;
29017 wxWindow
*arg1
= (wxWindow
*) 0 ;
29018 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 char *kwnames
[] = {
29022 (char *) "self",(char *) "handler", NULL
29025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29027 if (SWIG_arg_fail(1)) SWIG_fail
;
29028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29029 if (SWIG_arg_fail(2)) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 (arg1
)->PushEventHandler(arg2
);
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 Py_INCREF(Py_None
); resultobj
= Py_None
;
29044 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxWindow
*arg1
= (wxWindow
*) 0 ;
29047 bool arg2
= (bool) false ;
29048 wxEvtHandler
*result
;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self",(char *) "deleteHandler", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29057 if (SWIG_arg_fail(1)) SWIG_fail
;
29060 arg2
= (bool)(SWIG_As_bool(obj1
));
29061 if (SWIG_arg_fail(2)) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= wxPyMake_wxObject(result
, 0);
29080 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxWindow
*arg1
= (wxWindow
*) 0 ;
29083 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "handler", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29093 if (SWIG_arg_fail(1)) SWIG_fail
;
29094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29095 if (SWIG_arg_fail(2)) SWIG_fail
;
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29112 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxWindow
*arg1
= (wxWindow
*) 0 ;
29115 wxValidator
*arg2
= 0 ;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 char *kwnames
[] = {
29119 (char *) "self",(char *) "validator", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
29123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29124 if (SWIG_arg_fail(1)) SWIG_fail
;
29126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29127 if (SWIG_arg_fail(2)) SWIG_fail
;
29128 if (arg2
== NULL
) {
29129 SWIG_null_ref("wxValidator");
29131 if (SWIG_arg_fail(2)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 Py_INCREF(Py_None
); resultobj
= Py_None
;
29147 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxWindow
*arg1
= (wxWindow
*) 0 ;
29150 wxValidator
*result
;
29151 PyObject
* obj0
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
29157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29158 if (SWIG_arg_fail(1)) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (wxValidator
*)(arg1
)->GetValidator();
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= wxPyMake_wxObject(result
, 0);
29175 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxWindow
*arg1
= (wxWindow
*) 0 ;
29179 PyObject
* obj0
= 0 ;
29180 char *kwnames
[] = {
29181 (char *) "self", NULL
29184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
29185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29186 if (SWIG_arg_fail(1)) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (bool)(arg1
)->Validate();
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29203 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxWindow
*arg1
= (wxWindow
*) 0 ;
29207 PyObject
* obj0
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29214 if (SWIG_arg_fail(1)) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (bool)(arg1
)->TransferDataToWindow();
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29231 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxWindow
*arg1
= (wxWindow
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 char *kwnames
[] = {
29237 (char *) "self", NULL
29240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29242 if (SWIG_arg_fail(1)) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= (bool)(arg1
)->TransferDataFromWindow();
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29259 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
;
29261 wxWindow
*arg1
= (wxWindow
*) 0 ;
29262 PyObject
* obj0
= 0 ;
29263 char *kwnames
[] = {
29264 (char *) "self", NULL
29267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
29268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29269 if (SWIG_arg_fail(1)) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 (arg1
)->InitDialog();
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 Py_INCREF(Py_None
); resultobj
= Py_None
;
29284 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
;
29286 wxWindow
*arg1
= (wxWindow
*) 0 ;
29287 wxAcceleratorTable
*arg2
= 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 char *kwnames
[] = {
29291 (char *) "self",(char *) "accel", NULL
29294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
29295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29296 if (SWIG_arg_fail(1)) SWIG_fail
;
29298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(2)) SWIG_fail
;
29300 if (arg2
== NULL
) {
29301 SWIG_null_ref("wxAcceleratorTable");
29303 if (SWIG_arg_fail(2)) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxWindow
*arg1
= (wxWindow
*) 0 ;
29322 wxAcceleratorTable
*result
;
29323 PyObject
* obj0
= 0 ;
29324 char *kwnames
[] = {
29325 (char *) "self", NULL
29328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
29329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29330 if (SWIG_arg_fail(1)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
29345 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxWindow
*arg1
= (wxWindow
*) 0 ;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 PyObject
* obj3
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29362 if (SWIG_arg_fail(1)) SWIG_fail
;
29364 arg2
= (int)(SWIG_As_int(obj1
));
29365 if (SWIG_arg_fail(2)) SWIG_fail
;
29368 arg3
= (int)(SWIG_As_int(obj2
));
29369 if (SWIG_arg_fail(3)) SWIG_fail
;
29372 arg4
= (int)(SWIG_As_int(obj3
));
29373 if (SWIG_arg_fail(4)) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29391 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxWindow
*arg1
= (wxWindow
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 char *kwnames
[] = {
29399 (char *) "self",(char *) "hotkeyId", NULL
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
29403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29404 if (SWIG_arg_fail(1)) SWIG_fail
;
29406 arg2
= (int)(SWIG_As_int(obj1
));
29407 if (SWIG_arg_fail(2)) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29425 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxWindow
*arg1
= (wxWindow
*) 0 ;
29428 wxPoint
*arg2
= 0 ;
29431 PyObject
* obj0
= 0 ;
29432 PyObject
* obj1
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self",(char *) "pt", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29439 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 wxPoint
* resultptr
;
29453 resultptr
= new wxPoint((wxPoint
&)(result
));
29454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29462 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
;
29464 wxWindow
*arg1
= (wxWindow
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "sz", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 wxSize
* resultptr
;
29490 resultptr
= new wxSize((wxSize
&)(result
));
29491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29499 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxWindow
*arg1
= (wxWindow
*) 0 ;
29502 wxPoint
*arg2
= 0 ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self",(char *) "pt", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29526 wxPoint
* resultptr
;
29527 resultptr
= new wxPoint((wxPoint
&)(result
));
29528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29536 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
;
29538 wxWindow
*arg1
= (wxWindow
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 char *kwnames
[] = {
29545 (char *) "self",(char *) "sz", NULL
29548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail
;
29553 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 wxSize
* resultptr
;
29564 resultptr
= new wxSize((wxSize
&)(result
));
29565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29573 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
;
29575 wxWindow
*arg1
= (wxWindow
*) 0 ;
29576 wxPoint
*arg2
= 0 ;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "pt", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29587 if (SWIG_arg_fail(1)) SWIG_fail
;
29590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29600 wxPoint
* resultptr
;
29601 resultptr
= new wxPoint((wxPoint
&)(result
));
29602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29610 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxWindow
*arg1
= (wxWindow
*) 0 ;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "sz", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail
;
29627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 wxSize
* resultptr
;
29638 resultptr
= new wxSize((wxSize
&)(result
));
29639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29647 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxWindow
*arg1
= (wxWindow
*) 0 ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 PyObject
* obj2
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "x",(char *) "y", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29663 arg2
= (int)(SWIG_As_int(obj1
));
29664 if (SWIG_arg_fail(2)) SWIG_fail
;
29667 arg3
= (int)(SWIG_As_int(obj2
));
29668 if (SWIG_arg_fail(3)) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 (arg1
)->WarpPointer(arg2
,arg3
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 Py_INCREF(Py_None
); resultobj
= Py_None
;
29684 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29686 wxWindow
*arg1
= (wxWindow
*) 0 ;
29687 PyObject
* obj0
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29694 if (SWIG_arg_fail(1)) SWIG_fail
;
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 (arg1
)->CaptureMouse();
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 Py_INCREF(Py_None
); resultobj
= Py_None
;
29709 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxWindow
*arg1
= (wxWindow
*) 0 ;
29712 PyObject
* obj0
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 (arg1
)->ReleaseMouse();
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29727 Py_INCREF(Py_None
); resultobj
= Py_None
;
29734 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
;
29737 char *kwnames
[] = {
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29743 if (!wxPyCheckForApp()) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (wxWindow
*)wxWindow::GetCapture();
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= wxPyMake_wxObject(result
, 0);
29759 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxWindow
*arg1
= (wxWindow
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29787 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
;
29789 wxWindow
*arg1
= (wxWindow
*) 0 ;
29790 bool arg2
= (bool) true ;
29791 wxRect
*arg3
= (wxRect
*) NULL
;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 PyObject
* obj2
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
29805 if (SWIG_arg_fail(2)) SWIG_fail
;
29809 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29810 if (SWIG_arg_fail(3)) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 Py_INCREF(Py_None
); resultobj
= Py_None
;
29826 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxWindow
*arg1
= (wxWindow
*) 0 ;
29830 bool arg3
= (bool) true ;
29832 PyObject
* obj0
= 0 ;
29833 PyObject
* obj1
= 0 ;
29834 PyObject
* obj2
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29841 if (SWIG_arg_fail(1)) SWIG_fail
;
29844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29848 arg3
= (bool)(SWIG_As_bool(obj2
));
29849 if (SWIG_arg_fail(3)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxWindow
*arg1
= (wxWindow
*) 0 ;
29869 PyObject
* obj0
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29876 if (SWIG_arg_fail(1)) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 Py_INCREF(Py_None
); resultobj
= Py_None
;
29891 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxWindow
*arg1
= (wxWindow
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 (arg1
)->ClearBackground();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 Py_INCREF(Py_None
); resultobj
= Py_None
;
29916 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
;
29918 wxWindow
*arg1
= (wxWindow
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29934 Py_INCREF(Py_None
); resultobj
= Py_None
;
29941 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxWindow
*arg1
= (wxWindow
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29951 if (SWIG_arg_fail(1)) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 Py_INCREF(Py_None
); resultobj
= Py_None
;
29966 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
;
29968 wxWindow
*arg1
= (wxWindow
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self",(char *) "dc", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29978 if (SWIG_arg_fail(1)) SWIG_fail
;
29980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(2)) SWIG_fail
;
29982 if (arg2
== NULL
) {
29983 SWIG_null_ref("wxDC");
29985 if (SWIG_arg_fail(2)) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->PrepareDC(*arg2
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 Py_INCREF(Py_None
); resultobj
= Py_None
;
30001 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxWindow
*arg1
= (wxWindow
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
30017 result
= (wxRegion
*) &_result_ref
;
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
30030 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxWindow
*arg1
= (wxWindow
*) 0 ;
30034 PyObject
* obj0
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
30040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30041 if (SWIG_arg_fail(1)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 wxRect
* resultptr
;
30051 resultptr
= new wxRect((wxRect
&)(result
));
30052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30060 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxWindow
*arg1
= (wxWindow
*) 0 ;
30065 int arg4
= (int) 1 ;
30066 int arg5
= (int) 1 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 PyObject
* obj2
= 0 ;
30071 PyObject
* obj3
= 0 ;
30072 PyObject
* obj4
= 0 ;
30073 char *kwnames
[] = {
30074 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30079 if (SWIG_arg_fail(1)) SWIG_fail
;
30081 arg2
= (int)(SWIG_As_int(obj1
));
30082 if (SWIG_arg_fail(2)) SWIG_fail
;
30085 arg3
= (int)(SWIG_As_int(obj2
));
30086 if (SWIG_arg_fail(3)) SWIG_fail
;
30090 arg4
= (int)(SWIG_As_int(obj3
));
30091 if (SWIG_arg_fail(4)) SWIG_fail
;
30096 arg5
= (int)(SWIG_As_int(obj4
));
30097 if (SWIG_arg_fail(5)) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30116 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
;
30118 wxWindow
*arg1
= (wxWindow
*) 0 ;
30119 wxPoint
*arg2
= 0 ;
30122 PyObject
* obj0
= 0 ;
30123 PyObject
* obj1
= 0 ;
30124 char *kwnames
[] = {
30125 (char *) "self",(char *) "pt", NULL
30128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30151 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
;
30153 wxWindow
*arg1
= (wxWindow
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self",(char *) "rect", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30165 if (SWIG_arg_fail(1)) SWIG_fail
;
30168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxWindow
*arg1
= (wxWindow
*) 0 ;
30189 wxVisualAttributes result
;
30190 PyObject
* obj0
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30197 if (SWIG_arg_fail(1)) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 wxVisualAttributes
* resultptr
;
30207 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30216 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
;
30218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30219 wxVisualAttributes result
;
30220 PyObject
* obj0
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "variant", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30228 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30229 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 if (!wxPyCheckForApp()) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30241 wxVisualAttributes
* resultptr
;
30242 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30251 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
;
30253 wxWindow
*arg1
= (wxWindow
*) 0 ;
30254 wxColour
*arg2
= 0 ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 char *kwnames
[] = {
30260 (char *) "self",(char *) "colour", NULL
30263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(1)) SWIG_fail
;
30268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30286 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
;
30288 wxWindow
*arg1
= (wxWindow
*) 0 ;
30289 wxColour
*arg2
= 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "colour", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 Py_INCREF(Py_None
); resultobj
= Py_None
;
30318 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
;
30320 wxWindow
*arg1
= (wxWindow
*) 0 ;
30321 wxColour
*arg2
= 0 ;
30324 PyObject
* obj0
= 0 ;
30325 PyObject
* obj1
= 0 ;
30326 char *kwnames
[] = {
30327 (char *) "self",(char *) "colour", NULL
30330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30332 if (SWIG_arg_fail(1)) SWIG_fail
;
30335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxWindow
*arg1
= (wxWindow
*) 0 ;
30356 wxColour
*arg2
= 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self",(char *) "colour", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30366 if (SWIG_arg_fail(1)) SWIG_fail
;
30369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 Py_INCREF(Py_None
); resultobj
= Py_None
;
30385 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxWindow
*arg1
= (wxWindow
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self", NULL
30394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
30395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30396 if (SWIG_arg_fail(1)) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 wxColour
* resultptr
;
30406 resultptr
= new wxColour((wxColour
&)(result
));
30407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30415 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxWindow
*arg1
= (wxWindow
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
30425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 wxColour
* resultptr
;
30436 resultptr
= new wxColour((wxColour
&)(result
));
30437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30445 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxWindow
*arg1
= (wxWindow
*) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 char *kwnames
[] = {
30451 (char *) "self", NULL
30454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
30455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30456 if (SWIG_arg_fail(1)) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxWindow
*arg1
= (wxWindow
*) 0 ;
30477 PyObject
* obj0
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
30483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30484 if (SWIG_arg_fail(1)) SWIG_fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30501 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxWindow
*arg1
= (wxWindow
*) 0 ;
30504 wxBackgroundStyle arg2
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "style", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30516 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30517 if (SWIG_arg_fail(2)) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30535 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxWindow
*arg1
= (wxWindow
*) 0 ;
30538 wxBackgroundStyle result
;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30546 if (SWIG_arg_fail(1)) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_From_int((result
));
30561 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxWindow
*arg1
= (wxWindow
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30572 if (SWIG_arg_fail(1)) SWIG_fail
;
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= (bool)(arg1
)->HasTransparentBackground();
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30589 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30591 wxWindow
*arg1
= (wxWindow
*) 0 ;
30592 wxCursor
*arg2
= 0 ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 char *kwnames
[] = {
30597 (char *) "self",(char *) "cursor", NULL
30600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30602 if (SWIG_arg_fail(1)) SWIG_fail
;
30604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 if (arg2
== NULL
) {
30607 SWIG_null_ref("wxCursor");
30609 if (SWIG_arg_fail(2)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30627 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 wxWindow
*arg1
= (wxWindow
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (arg1
)->GetCursor();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30647 wxCursor
* resultptr
;
30648 resultptr
= new wxCursor((wxCursor
&)(result
));
30649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30657 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxWindow
*arg1
= (wxWindow
*) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 char *kwnames
[] = {
30665 (char *) "self",(char *) "font", NULL
30668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30673 if (SWIG_arg_fail(2)) SWIG_fail
;
30674 if (arg2
== NULL
) {
30675 SWIG_null_ref("wxFont");
30677 if (SWIG_arg_fail(2)) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30695 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxWindow
*arg1
= (wxWindow
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "self",(char *) "font", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30707 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30710 if (SWIG_arg_fail(2)) SWIG_fail
;
30711 if (arg2
== NULL
) {
30712 SWIG_null_ref("wxFont");
30714 if (SWIG_arg_fail(2)) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 Py_INCREF(Py_None
); resultobj
= Py_None
;
30730 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxWindow
*arg1
= (wxWindow
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 char *kwnames
[] = {
30736 (char *) "self", NULL
30739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30741 if (SWIG_arg_fail(1)) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (arg1
)->GetFont();
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30750 wxFont
* resultptr
;
30751 resultptr
= new wxFont((wxFont
&)(result
));
30752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30760 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxWindow
*arg1
= (wxWindow
*) 0 ;
30763 wxCaret
*arg2
= (wxCaret
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "self",(char *) "caret", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30772 if (SWIG_arg_fail(1)) SWIG_fail
;
30773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 (arg1
)->SetCaret(arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 Py_INCREF(Py_None
); resultobj
= Py_None
;
30789 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxWindow
*arg1
= (wxWindow
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30815 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxWindow
*arg1
= (wxWindow
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30826 if (SWIG_arg_fail(1)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_From_int((int)(result
));
30843 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxWindow
*arg1
= (wxWindow
*) 0 ;
30847 PyObject
* obj0
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30854 if (SWIG_arg_fail(1)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= SWIG_From_int((int)(result
));
30871 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxWindow
*arg1
= (wxWindow
*) 0 ;
30874 wxString
*arg2
= 0 ;
30875 int *arg3
= (int *) 0 ;
30876 int *arg4
= (int *) 0 ;
30877 bool temp2
= false ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self",(char *) "string", NULL
30888 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30889 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30894 arg2
= wxString_in_helper(obj1
);
30895 if (arg2
== NULL
) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 Py_INCREF(Py_None
); resultobj
= Py_None
;
30906 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30907 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30908 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30909 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30924 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxWindow
*arg1
= (wxWindow
*) 0 ;
30927 wxString
*arg2
= 0 ;
30928 int *arg3
= (int *) 0 ;
30929 int *arg4
= (int *) 0 ;
30930 int *arg5
= (int *) 0 ;
30931 int *arg6
= (int *) 0 ;
30932 wxFont
*arg7
= (wxFont
*) NULL
;
30933 bool temp2
= false ;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 PyObject
* obj2
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self",(char *) "string",(char *) "font", NULL
30949 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30950 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30951 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30952 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30955 if (SWIG_arg_fail(1)) SWIG_fail
;
30957 arg2
= wxString_in_helper(obj1
);
30958 if (arg2
== NULL
) SWIG_fail
;
30962 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30963 if (SWIG_arg_fail(7)) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 Py_INCREF(Py_None
); resultobj
= Py_None
;
30973 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30974 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30975 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30976 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30977 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30978 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30979 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30980 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30995 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
;
30997 wxWindow
*arg1
= (wxWindow
*) 0 ;
30998 int *arg2
= (int *) 0 ;
30999 int *arg3
= (int *) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 PyObject
* obj2
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "self",(char *) "x",(char *) "y", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31013 if (SWIG_arg_fail(1)) SWIG_fail
;
31015 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31016 temp2
= SWIG_As_int(obj1
);
31017 if (SWIG_arg_fail(2)) SWIG_fail
;
31019 res2
= SWIG_NEWOBJ
;
31023 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31024 temp3
= SWIG_As_int(obj2
);
31025 if (SWIG_arg_fail(3)) SWIG_fail
;
31027 res3
= SWIG_NEWOBJ
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 Py_INCREF(Py_None
); resultobj
= Py_None
;
31038 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31039 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31040 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31041 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31048 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxWindow
*arg1
= (wxWindow
*) 0 ;
31051 int *arg2
= (int *) 0 ;
31052 int *arg3
= (int *) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 PyObject
* obj2
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "x",(char *) "y", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31069 temp2
= SWIG_As_int(obj1
);
31070 if (SWIG_arg_fail(2)) SWIG_fail
;
31072 res2
= SWIG_NEWOBJ
;
31076 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31077 temp3
= SWIG_As_int(obj2
);
31078 if (SWIG_arg_fail(3)) SWIG_fail
;
31080 res3
= SWIG_NEWOBJ
;
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 Py_INCREF(Py_None
); resultobj
= Py_None
;
31091 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31092 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31093 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31094 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31101 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
;
31103 wxWindow
*arg1
= (wxWindow
*) 0 ;
31104 wxPoint
*arg2
= 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "pt", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
31114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31115 if (SWIG_arg_fail(1)) SWIG_fail
;
31118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31128 wxPoint
* resultptr
;
31129 resultptr
= new wxPoint((wxPoint
&)(result
));
31130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31138 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
;
31140 wxWindow
*arg1
= (wxWindow
*) 0 ;
31141 wxPoint
*arg2
= 0 ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 char *kwnames
[] = {
31147 (char *) "self",(char *) "pt", NULL
31150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
31151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31152 if (SWIG_arg_fail(1)) SWIG_fail
;
31155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 wxPoint
* resultptr
;
31166 resultptr
= new wxPoint((wxPoint
&)(result
));
31167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31175 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxWindow
*arg1
= (wxWindow
*) 0 ;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 PyObject
* obj2
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "x",(char *) "y", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(1)) SWIG_fail
;
31192 arg2
= (int)(SWIG_As_int(obj1
));
31193 if (SWIG_arg_fail(2)) SWIG_fail
;
31196 arg3
= (int)(SWIG_As_int(obj2
));
31197 if (SWIG_arg_fail(3)) SWIG_fail
;
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_From_int((result
));
31213 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxWindow
*arg1
= (wxWindow
*) 0 ;
31216 wxPoint
*arg2
= 0 ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "pt", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail
;
31230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_From_int((result
));
31246 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
31247 PyObject
*resultobj
;
31248 wxWindow
*arg1
= (wxWindow
*) 0 ;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31254 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
31255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31256 if (SWIG_arg_fail(1)) SWIG_fail
;
31258 arg2
= (long)(SWIG_As_long(obj1
));
31259 if (SWIG_arg_fail(2)) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_From_int((result
));
31275 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
31276 PyObject
*resultobj
;
31277 wxWindow
*arg1
= (wxWindow
*) 0 ;
31279 PyObject
* obj0
= 0 ;
31281 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
31282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31283 if (SWIG_arg_fail(1)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31291 resultobj
= SWIG_From_int((result
));
31298 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
31303 argc
= PyObject_Length(args
);
31304 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
31305 argv
[ii
] = PyTuple_GetItem(args
,ii
);
31311 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31319 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
31326 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31334 _v
= SWIG_Check_long(argv
[1]);
31336 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
31341 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
31346 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxWindow
*arg1
= (wxWindow
*) 0 ;
31349 long arg2
= (long) wxUPDATE_UI_NONE
;
31350 PyObject
* obj0
= 0 ;
31351 PyObject
* obj1
= 0 ;
31352 char *kwnames
[] = {
31353 (char *) "self",(char *) "flags", NULL
31356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31358 if (SWIG_arg_fail(1)) SWIG_fail
;
31361 arg2
= (long)(SWIG_As_long(obj1
));
31362 if (SWIG_arg_fail(2)) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 (arg1
)->UpdateWindowUI(arg2
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31372 Py_INCREF(Py_None
); resultobj
= Py_None
;
31379 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
;
31381 wxWindow
*arg1
= (wxWindow
*) 0 ;
31382 wxMenu
*arg2
= (wxMenu
*) 0 ;
31383 int arg3
= (int) -1 ;
31384 int arg4
= (int) -1 ;
31386 PyObject
* obj0
= 0 ;
31387 PyObject
* obj1
= 0 ;
31388 PyObject
* obj2
= 0 ;
31389 PyObject
* obj3
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31396 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31398 if (SWIG_arg_fail(2)) SWIG_fail
;
31401 arg3
= (int)(SWIG_As_int(obj2
));
31402 if (SWIG_arg_fail(3)) SWIG_fail
;
31407 arg4
= (int)(SWIG_As_int(obj3
));
31408 if (SWIG_arg_fail(4)) SWIG_fail
;
31412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31427 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
;
31429 wxWindow
*arg1
= (wxWindow
*) 0 ;
31430 wxMenu
*arg2
= (wxMenu
*) 0 ;
31431 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31432 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self",(char *) "menu",(char *) "pos", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail
;
31445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(2)) SWIG_fail
;
31450 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31469 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
;
31471 wxWindow
*arg1
= (wxWindow
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 char *kwnames
[] = {
31475 (char *) "self", NULL
31478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
31479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31480 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (long)wxWindow_GetHandle(arg1
);
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= SWIG_From_long((long)(result
));
31497 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxWindow
*arg1
= (wxWindow
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "handle", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 arg2
= (long)(SWIG_As_long(obj1
));
31512 if (SWIG_arg_fail(2)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 wxWindow_AssociateHandle(arg1
,arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 Py_INCREF(Py_None
); resultobj
= Py_None
;
31528 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
;
31530 wxWindow
*arg1
= (wxWindow
*) 0 ;
31531 PyObject
* obj0
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->DissociateHandle();
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxWindow
*arg1
= (wxWindow
*) 0 ;
31556 wxPaintEvent
*arg2
= 0 ;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self",(char *) "event", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31568 if (SWIG_arg_fail(2)) SWIG_fail
;
31569 if (arg2
== NULL
) {
31570 SWIG_null_ref("wxPaintEvent");
31572 if (SWIG_arg_fail(2)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->OnPaint(*arg2
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 Py_INCREF(Py_None
); resultobj
= Py_None
;
31588 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxWindow
*arg1
= (wxWindow
*) 0 ;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self",(char *) "orient", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail
;
31603 arg2
= (int)(SWIG_As_int(obj1
));
31604 if (SWIG_arg_fail(2)) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31622 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxWindow
*arg1
= (wxWindow
*) 0 ;
31629 bool arg6
= (bool) true ;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 PyObject
* obj2
= 0 ;
31633 PyObject
* obj3
= 0 ;
31634 PyObject
* obj4
= 0 ;
31635 PyObject
* obj5
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail
;
31644 arg2
= (int)(SWIG_As_int(obj1
));
31645 if (SWIG_arg_fail(2)) SWIG_fail
;
31648 arg3
= (int)(SWIG_As_int(obj2
));
31649 if (SWIG_arg_fail(3)) SWIG_fail
;
31652 arg4
= (int)(SWIG_As_int(obj3
));
31653 if (SWIG_arg_fail(4)) SWIG_fail
;
31656 arg5
= (int)(SWIG_As_int(obj4
));
31657 if (SWIG_arg_fail(5)) SWIG_fail
;
31661 arg6
= (bool)(SWIG_As_bool(obj5
));
31662 if (SWIG_arg_fail(6)) SWIG_fail
;
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 Py_INCREF(Py_None
); resultobj
= Py_None
;
31679 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 wxWindow
*arg1
= (wxWindow
*) 0 ;
31684 bool arg4
= (bool) true ;
31685 PyObject
* obj0
= 0 ;
31686 PyObject
* obj1
= 0 ;
31687 PyObject
* obj2
= 0 ;
31688 PyObject
* obj3
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 arg2
= (int)(SWIG_As_int(obj1
));
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 arg3
= (int)(SWIG_As_int(obj2
));
31702 if (SWIG_arg_fail(3)) SWIG_fail
;
31706 arg4
= (bool)(SWIG_As_bool(obj3
));
31707 if (SWIG_arg_fail(4)) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 Py_INCREF(Py_None
); resultobj
= Py_None
;
31724 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxWindow
*arg1
= (wxWindow
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self",(char *) "orientation", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 arg2
= (int)(SWIG_As_int(obj1
));
31740 if (SWIG_arg_fail(2)) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= SWIG_From_int((int)(result
));
31758 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
;
31760 wxWindow
*arg1
= (wxWindow
*) 0 ;
31763 PyObject
* obj0
= 0 ;
31764 PyObject
* obj1
= 0 ;
31765 char *kwnames
[] = {
31766 (char *) "self",(char *) "orientation", NULL
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail
;
31773 arg2
= (int)(SWIG_As_int(obj1
));
31774 if (SWIG_arg_fail(2)) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_From_int((int)(result
));
31792 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
;
31794 wxWindow
*arg1
= (wxWindow
*) 0 ;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self",(char *) "orientation", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31805 if (SWIG_arg_fail(1)) SWIG_fail
;
31807 arg2
= (int)(SWIG_As_int(obj1
));
31808 if (SWIG_arg_fail(2)) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_From_int((int)(result
));
31826 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxWindow
*arg1
= (wxWindow
*) 0 ;
31831 wxRect
*arg4
= (wxRect
*) NULL
;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 PyObject
* obj2
= 0 ;
31835 PyObject
* obj3
= 0 ;
31836 char *kwnames
[] = {
31837 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31842 if (SWIG_arg_fail(1)) SWIG_fail
;
31844 arg2
= (int)(SWIG_As_int(obj1
));
31845 if (SWIG_arg_fail(2)) SWIG_fail
;
31848 arg3
= (int)(SWIG_As_int(obj2
));
31849 if (SWIG_arg_fail(3)) SWIG_fail
;
31852 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31853 if (SWIG_arg_fail(4)) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 Py_INCREF(Py_None
); resultobj
= Py_None
;
31869 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
;
31871 wxWindow
*arg1
= (wxWindow
*) 0 ;
31874 PyObject
* obj0
= 0 ;
31875 PyObject
* obj1
= 0 ;
31876 char *kwnames
[] = {
31877 (char *) "self",(char *) "lines", NULL
31880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail
;
31884 arg2
= (int)(SWIG_As_int(obj1
));
31885 if (SWIG_arg_fail(2)) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (bool)(arg1
)->ScrollLines(arg2
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31903 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxWindow
*arg1
= (wxWindow
*) 0 ;
31908 PyObject
* obj0
= 0 ;
31909 PyObject
* obj1
= 0 ;
31910 char *kwnames
[] = {
31911 (char *) "self",(char *) "pages", NULL
31914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31916 if (SWIG_arg_fail(1)) SWIG_fail
;
31918 arg2
= (int)(SWIG_As_int(obj1
));
31919 if (SWIG_arg_fail(2)) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= (bool)(arg1
)->ScrollPages(arg2
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31937 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxWindow
*arg1
= (wxWindow
*) 0 ;
31941 PyObject
* obj0
= 0 ;
31942 char *kwnames
[] = {
31943 (char *) "self", NULL
31946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31948 if (SWIG_arg_fail(1)) SWIG_fail
;
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= (bool)(arg1
)->LineUp();
31953 wxPyEndAllowThreads(__tstate
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31965 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxWindow
*arg1
= (wxWindow
*) 0 ;
31969 PyObject
* obj0
= 0 ;
31970 char *kwnames
[] = {
31971 (char *) "self", NULL
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31976 if (SWIG_arg_fail(1)) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (bool)(arg1
)->LineDown();
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31993 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
;
31995 wxWindow
*arg1
= (wxWindow
*) 0 ;
31997 PyObject
* obj0
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "self", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
32003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32004 if (SWIG_arg_fail(1)) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 result
= (bool)(arg1
)->PageUp();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32021 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
;
32023 wxWindow
*arg1
= (wxWindow
*) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 char *kwnames
[] = {
32027 (char *) "self", NULL
32030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
32031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 result
= (bool)(arg1
)->PageDown();
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32049 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
;
32051 wxWindow
*arg1
= (wxWindow
*) 0 ;
32052 wxString
*arg2
= 0 ;
32053 bool temp2
= false ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 char *kwnames
[] = {
32057 (char *) "self",(char *) "text", NULL
32060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
32061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32062 if (SWIG_arg_fail(1)) SWIG_fail
;
32064 arg2
= wxString_in_helper(obj1
);
32065 if (arg2
== NULL
) SWIG_fail
;
32069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32070 (arg1
)->SetHelpText((wxString
const &)*arg2
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32075 Py_INCREF(Py_None
); resultobj
= Py_None
;
32090 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxWindow
*arg1
= (wxWindow
*) 0 ;
32093 wxString
*arg2
= 0 ;
32094 bool temp2
= false ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "self",(char *) "text", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
32102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32103 if (SWIG_arg_fail(1)) SWIG_fail
;
32105 arg2
= wxString_in_helper(obj1
);
32106 if (arg2
== NULL
) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 Py_INCREF(Py_None
); resultobj
= Py_None
;
32131 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
;
32133 wxWindow
*arg1
= (wxWindow
*) 0 ;
32135 PyObject
* obj0
= 0 ;
32136 char *kwnames
[] = {
32137 (char *) "self", NULL
32140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
32141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32142 if (SWIG_arg_fail(1)) SWIG_fail
;
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= ((wxWindow
const *)arg1
)->GetHelpText();
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32163 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
;
32165 wxWindow
*arg1
= (wxWindow
*) 0 ;
32166 wxString
*arg2
= 0 ;
32167 bool temp2
= false ;
32168 PyObject
* obj0
= 0 ;
32169 PyObject
* obj1
= 0 ;
32170 char *kwnames
[] = {
32171 (char *) "self",(char *) "tip", NULL
32174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
32175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32176 if (SWIG_arg_fail(1)) SWIG_fail
;
32178 arg2
= wxString_in_helper(obj1
);
32179 if (arg2
== NULL
) SWIG_fail
;
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32189 Py_INCREF(Py_None
); resultobj
= Py_None
;
32204 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
;
32206 wxWindow
*arg1
= (wxWindow
*) 0 ;
32207 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "self",(char *) "tip", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
32215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32216 if (SWIG_arg_fail(1)) SWIG_fail
;
32217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
32218 if (SWIG_arg_fail(2)) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 (arg1
)->SetToolTip(arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 Py_INCREF(Py_None
); resultobj
= Py_None
;
32233 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxWindow
*arg1
= (wxWindow
*) 0 ;
32237 PyObject
* obj0
= 0 ;
32238 char *kwnames
[] = {
32239 (char *) "self", NULL
32242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
32243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32244 if (SWIG_arg_fail(1)) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= wxPyMake_wxObject(result
, 0);
32261 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxWindow
*arg1
= (wxWindow
*) 0 ;
32264 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
32265 PyObject
* obj0
= 0 ;
32266 PyObject
* obj1
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self",(char *) "dropTarget", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
32272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32273 if (SWIG_arg_fail(1)) SWIG_fail
;
32274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
32275 if (SWIG_arg_fail(2)) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 (arg1
)->SetDropTarget(arg2
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 Py_INCREF(Py_None
); resultobj
= Py_None
;
32290 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxWindow
*arg1
= (wxWindow
*) 0 ;
32293 wxPyDropTarget
*result
;
32294 PyObject
* obj0
= 0 ;
32295 char *kwnames
[] = {
32296 (char *) "self", NULL
32299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
32300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32301 if (SWIG_arg_fail(1)) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
32316 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32317 PyObject
*resultobj
;
32318 wxWindow
*arg1
= (wxWindow
*) 0 ;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 char *kwnames
[] = {
32323 (char *) "self",(char *) "accept", NULL
32326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
32327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32328 if (SWIG_arg_fail(1)) SWIG_fail
;
32330 arg2
= (bool)(SWIG_As_bool(obj1
));
32331 if (SWIG_arg_fail(2)) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 (arg1
)->DragAcceptFiles(arg2
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 Py_INCREF(Py_None
); resultobj
= Py_None
;
32347 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
;
32349 wxWindow
*arg1
= (wxWindow
*) 0 ;
32350 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 char *kwnames
[] = {
32354 (char *) "self",(char *) "constraints", NULL
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
32358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32359 if (SWIG_arg_fail(1)) SWIG_fail
;
32360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
32361 if (SWIG_arg_fail(2)) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->SetConstraints(arg2
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxWindow
*arg1
= (wxWindow
*) 0 ;
32379 wxLayoutConstraints
*result
;
32380 PyObject
* obj0
= 0 ;
32381 char *kwnames
[] = {
32382 (char *) "self", NULL
32385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
32386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32387 if (SWIG_arg_fail(1)) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
32402 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32403 PyObject
*resultobj
;
32404 wxWindow
*arg1
= (wxWindow
*) 0 ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 char *kwnames
[] = {
32409 (char *) "self",(char *) "autoLayout", NULL
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
32413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32414 if (SWIG_arg_fail(1)) SWIG_fail
;
32416 arg2
= (bool)(SWIG_As_bool(obj1
));
32417 if (SWIG_arg_fail(2)) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 (arg1
)->SetAutoLayout(arg2
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 Py_INCREF(Py_None
); resultobj
= Py_None
;
32433 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32434 PyObject
*resultobj
;
32435 wxWindow
*arg1
= (wxWindow
*) 0 ;
32437 PyObject
* obj0
= 0 ;
32438 char *kwnames
[] = {
32439 (char *) "self", NULL
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
32443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32444 if (SWIG_arg_fail(1)) SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32461 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxWindow
*arg1
= (wxWindow
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self", NULL
32470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
32471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32472 if (SWIG_arg_fail(1)) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (bool)(arg1
)->Layout();
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32489 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
;
32491 wxWindow
*arg1
= (wxWindow
*) 0 ;
32492 wxSizer
*arg2
= (wxSizer
*) 0 ;
32493 bool arg3
= (bool) true ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 PyObject
* obj2
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32503 if (SWIG_arg_fail(1)) SWIG_fail
;
32504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32505 if (SWIG_arg_fail(2)) SWIG_fail
;
32508 arg3
= (bool)(SWIG_As_bool(obj2
));
32509 if (SWIG_arg_fail(3)) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 (arg1
)->SetSizer(arg2
,arg3
);
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 Py_INCREF(Py_None
); resultobj
= Py_None
;
32526 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxWindow
*arg1
= (wxWindow
*) 0 ;
32529 wxSizer
*arg2
= (wxSizer
*) 0 ;
32530 bool arg3
= (bool) true ;
32531 PyObject
* obj0
= 0 ;
32532 PyObject
* obj1
= 0 ;
32533 PyObject
* obj2
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32540 if (SWIG_arg_fail(1)) SWIG_fail
;
32541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32542 if (SWIG_arg_fail(2)) SWIG_fail
;
32545 arg3
= (bool)(SWIG_As_bool(obj2
));
32546 if (SWIG_arg_fail(3)) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 Py_INCREF(Py_None
); resultobj
= Py_None
;
32563 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxWindow
*arg1
= (wxWindow
*) 0 ;
32567 PyObject
* obj0
= 0 ;
32568 char *kwnames
[] = {
32569 (char *) "self", NULL
32572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32574 if (SWIG_arg_fail(1)) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32583 resultobj
= wxPyMake_wxObject(result
, 0);
32591 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
;
32593 wxWindow
*arg1
= (wxWindow
*) 0 ;
32594 wxSizer
*arg2
= (wxSizer
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 PyObject
* obj1
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self",(char *) "sizer", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32603 if (SWIG_arg_fail(1)) SWIG_fail
;
32604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32605 if (SWIG_arg_fail(2)) SWIG_fail
;
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 (arg1
)->SetContainingSizer(arg2
);
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 Py_INCREF(Py_None
); resultobj
= Py_None
;
32620 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
;
32622 wxWindow
*arg1
= (wxWindow
*) 0 ;
32624 PyObject
* obj0
= 0 ;
32625 char *kwnames
[] = {
32626 (char *) "self", NULL
32629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32631 if (SWIG_arg_fail(1)) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32640 resultobj
= wxPyMake_wxObject(result
, 0);
32648 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
;
32650 wxWindow
*arg1
= (wxWindow
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32658 if (SWIG_arg_fail(1)) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 (arg1
)->InheritAttributes();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 Py_INCREF(Py_None
); resultobj
= Py_None
;
32673 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxWindow
*arg1
= (wxWindow
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 char *kwnames
[] = {
32679 (char *) "self", NULL
32682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32684 if (SWIG_arg_fail(1)) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32701 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32704 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32706 return Py_BuildValue((char *)"");
32708 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
;
32711 wxWindow
*arg2
= (wxWindow
*) NULL
;
32713 PyObject
* obj0
= 0 ;
32714 PyObject
* obj1
= 0 ;
32715 char *kwnames
[] = {
32716 (char *) "id",(char *) "parent", NULL
32719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32721 arg1
= (long)(SWIG_As_long(obj0
));
32722 if (SWIG_arg_fail(1)) SWIG_fail
;
32725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32726 if (SWIG_arg_fail(2)) SWIG_fail
;
32729 if (!wxPyCheckForApp()) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32737 resultobj
= wxPyMake_wxObject(result
, 0);
32745 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxString
*arg1
= 0 ;
32748 wxWindow
*arg2
= (wxWindow
*) NULL
;
32750 bool temp1
= false ;
32751 PyObject
* obj0
= 0 ;
32752 PyObject
* obj1
= 0 ;
32753 char *kwnames
[] = {
32754 (char *) "name",(char *) "parent", NULL
32757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32759 arg1
= wxString_in_helper(obj0
);
32760 if (arg1
== NULL
) SWIG_fail
;
32764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32765 if (SWIG_arg_fail(2)) SWIG_fail
;
32768 if (!wxPyCheckForApp()) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= wxPyMake_wxObject(result
, 0);
32792 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
;
32794 wxString
*arg1
= 0 ;
32795 wxWindow
*arg2
= (wxWindow
*) NULL
;
32797 bool temp1
= false ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "label",(char *) "parent", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32806 arg1
= wxString_in_helper(obj0
);
32807 if (arg1
== NULL
) SWIG_fail
;
32811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32812 if (SWIG_arg_fail(2)) SWIG_fail
;
32815 if (!wxPyCheckForApp()) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= wxPyMake_wxObject(result
, 0);
32839 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxWindow
*arg1
= (wxWindow
*) 0 ;
32842 unsigned long arg2
;
32844 PyObject
* obj0
= 0 ;
32845 PyObject
* obj1
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "parent",(char *) "_hWnd", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32852 if (SWIG_arg_fail(1)) SWIG_fail
;
32854 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32855 if (SWIG_arg_fail(2)) SWIG_fail
;
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= wxPyMake_wxObject(result
, 0);
32873 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32876 char *kwnames
[] = {
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (PyObject
*)GetTopLevelWindows();
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 resultobj
= result
;
32895 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
;
32897 wxValidator
*result
;
32898 char *kwnames
[] = {
32902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 result
= (wxValidator
*)new wxValidator();
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32917 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32918 PyObject
*resultobj
;
32919 wxValidator
*arg1
= (wxValidator
*) 0 ;
32920 wxValidator
*result
;
32921 PyObject
* obj0
= 0 ;
32922 char *kwnames
[] = {
32923 (char *) "self", NULL
32926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32928 if (SWIG_arg_fail(1)) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 result
= (wxValidator
*)(arg1
)->Clone();
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32937 resultobj
= wxPyMake_wxObject(result
, 0);
32945 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
;
32947 wxValidator
*arg1
= (wxValidator
*) 0 ;
32948 wxWindow
*arg2
= (wxWindow
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 char *kwnames
[] = {
32953 (char *) "self",(char *) "parent", NULL
32956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32958 if (SWIG_arg_fail(1)) SWIG_fail
;
32959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32960 if (SWIG_arg_fail(2)) SWIG_fail
;
32962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 result
= (bool)(arg1
)->Validate(arg2
);
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32977 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
;
32979 wxValidator
*arg1
= (wxValidator
*) 0 ;
32981 PyObject
* obj0
= 0 ;
32982 char *kwnames
[] = {
32983 (char *) "self", NULL
32986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32988 if (SWIG_arg_fail(1)) SWIG_fail
;
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 result
= (bool)(arg1
)->TransferToWindow();
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33005 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
;
33007 wxValidator
*arg1
= (wxValidator
*) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 char *kwnames
[] = {
33011 (char *) "self", NULL
33014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
33015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33016 if (SWIG_arg_fail(1)) SWIG_fail
;
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (bool)(arg1
)->TransferFromWindow();
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33033 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxValidator
*arg1
= (wxValidator
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 char *kwnames
[] = {
33039 (char *) "self", NULL
33042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
33043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33044 if (SWIG_arg_fail(1)) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (wxWindow
*)(arg1
)->GetWindow();
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= wxPyMake_wxObject(result
, 0);
33061 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxValidator
*arg1
= (wxValidator
*) 0 ;
33064 wxWindow
*arg2
= (wxWindow
*) 0 ;
33065 PyObject
* obj0
= 0 ;
33066 PyObject
* obj1
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self",(char *) "window", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33073 if (SWIG_arg_fail(1)) SWIG_fail
;
33074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33075 if (SWIG_arg_fail(2)) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->SetWindow(arg2
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33093 char *kwnames
[] = {
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= (bool)wxValidator::IsSilent();
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33114 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 int arg1
= (int) true ;
33117 PyObject
* obj0
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "doIt", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
33125 arg1
= (int)(SWIG_As_int(obj0
));
33126 if (SWIG_arg_fail(1)) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 wxValidator::SetBellOnError(arg1
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 Py_INCREF(Py_None
); resultobj
= Py_None
;
33143 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
33145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33146 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
33148 return Py_BuildValue((char *)"");
33150 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33152 wxPyValidator
*result
;
33153 char *kwnames
[] = {
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (wxPyValidator
*)new wxPyValidator();
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
33172 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
33175 PyObject
*arg2
= (PyObject
*) 0 ;
33176 PyObject
*arg3
= (PyObject
*) 0 ;
33177 int arg4
= (int) true ;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 PyObject
* obj2
= 0 ;
33181 PyObject
* obj3
= 0 ;
33182 char *kwnames
[] = {
33183 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail
;
33193 arg4
= (int)(SWIG_As_int(obj3
));
33194 if (SWIG_arg_fail(4)) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 Py_INCREF(Py_None
); resultobj
= Py_None
;
33211 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
33213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33214 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
33216 return Py_BuildValue((char *)"");
33218 static int _wrap_DefaultValidator_set(PyObject
*) {
33219 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
33224 static PyObject
*_wrap_DefaultValidator_get(void) {
33227 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
33232 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33233 PyObject
*resultobj
;
33234 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33235 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33236 long arg2
= (long) 0 ;
33238 bool temp1
= false ;
33239 PyObject
* obj0
= 0 ;
33240 PyObject
* obj1
= 0 ;
33241 char *kwnames
[] = {
33242 (char *) "title",(char *) "style", NULL
33245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
33248 arg1
= wxString_in_helper(obj0
);
33249 if (arg1
== NULL
) SWIG_fail
;
33255 arg2
= (long)(SWIG_As_long(obj1
));
33256 if (SWIG_arg_fail(2)) SWIG_fail
;
33260 if (!wxPyCheckForApp()) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
33282 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxMenu
*arg1
= (wxMenu
*) 0 ;
33286 wxString
*arg3
= 0 ;
33287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33289 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33290 wxMenuItem
*result
;
33291 bool temp3
= false ;
33292 bool temp4
= false ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 PyObject
* obj2
= 0 ;
33296 PyObject
* obj3
= 0 ;
33297 PyObject
* obj4
= 0 ;
33298 char *kwnames
[] = {
33299 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33304 if (SWIG_arg_fail(1)) SWIG_fail
;
33306 arg2
= (int)(SWIG_As_int(obj1
));
33307 if (SWIG_arg_fail(2)) SWIG_fail
;
33310 arg3
= wxString_in_helper(obj2
);
33311 if (arg3
== NULL
) SWIG_fail
;
33316 arg4
= wxString_in_helper(obj3
);
33317 if (arg4
== NULL
) SWIG_fail
;
33323 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33324 if (SWIG_arg_fail(5)) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= wxPyMake_wxObject(result
, 0);
33359 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxMenu
*arg1
= (wxMenu
*) 0 ;
33362 wxMenuItem
*result
;
33363 PyObject
* obj0
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
33369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33370 if (SWIG_arg_fail(1)) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= wxPyMake_wxObject(result
, 0);
33387 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxMenu
*arg1
= (wxMenu
*) 0 ;
33391 wxString
*arg3
= 0 ;
33392 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33393 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33394 wxMenuItem
*result
;
33395 bool temp3
= false ;
33396 bool temp4
= false ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 PyObject
* obj2
= 0 ;
33400 PyObject
* obj3
= 0 ;
33401 char *kwnames
[] = {
33402 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33407 if (SWIG_arg_fail(1)) SWIG_fail
;
33409 arg2
= (int)(SWIG_As_int(obj1
));
33410 if (SWIG_arg_fail(2)) SWIG_fail
;
33413 arg3
= wxString_in_helper(obj2
);
33414 if (arg3
== NULL
) SWIG_fail
;
33419 arg4
= wxString_in_helper(obj3
);
33420 if (arg4
== NULL
) SWIG_fail
;
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= wxPyMake_wxObject(result
, 0);
33456 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxMenu
*arg1
= (wxMenu
*) 0 ;
33460 wxString
*arg3
= 0 ;
33461 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33462 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33463 wxMenuItem
*result
;
33464 bool temp3
= false ;
33465 bool temp4
= false ;
33466 PyObject
* obj0
= 0 ;
33467 PyObject
* obj1
= 0 ;
33468 PyObject
* obj2
= 0 ;
33469 PyObject
* obj3
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33476 if (SWIG_arg_fail(1)) SWIG_fail
;
33478 arg2
= (int)(SWIG_As_int(obj1
));
33479 if (SWIG_arg_fail(2)) SWIG_fail
;
33482 arg3
= wxString_in_helper(obj2
);
33483 if (arg3
== NULL
) SWIG_fail
;
33488 arg4
= wxString_in_helper(obj3
);
33489 if (arg4
== NULL
) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33501 resultobj
= wxPyMake_wxObject(result
, 0);
33525 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
;
33527 wxMenu
*arg1
= (wxMenu
*) 0 ;
33529 wxString
*arg3
= 0 ;
33530 wxMenu
*arg4
= (wxMenu
*) 0 ;
33531 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33532 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33533 wxMenuItem
*result
;
33534 bool temp3
= false ;
33535 bool temp5
= false ;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 PyObject
* obj2
= 0 ;
33539 PyObject
* obj3
= 0 ;
33540 PyObject
* obj4
= 0 ;
33541 char *kwnames
[] = {
33542 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33547 if (SWIG_arg_fail(1)) SWIG_fail
;
33549 arg2
= (int)(SWIG_As_int(obj1
));
33550 if (SWIG_arg_fail(2)) SWIG_fail
;
33553 arg3
= wxString_in_helper(obj2
);
33554 if (arg3
== NULL
) SWIG_fail
;
33557 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33558 if (SWIG_arg_fail(4)) SWIG_fail
;
33561 arg5
= wxString_in_helper(obj4
);
33562 if (arg5
== NULL
) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33574 resultobj
= wxPyMake_wxObject(result
, 0);
33598 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33599 PyObject
*resultobj
;
33600 wxMenu
*arg1
= (wxMenu
*) 0 ;
33601 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33602 wxMenuItem
*result
;
33603 PyObject
* obj0
= 0 ;
33604 PyObject
* obj1
= 0 ;
33605 char *kwnames
[] = {
33606 (char *) "self",(char *) "item", NULL
33609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33611 if (SWIG_arg_fail(1)) SWIG_fail
;
33612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33613 if (SWIG_arg_fail(2)) SWIG_fail
;
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33618 wxPyEndAllowThreads(__tstate
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= wxPyMake_wxObject(result
, 0);
33630 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
;
33632 wxMenu
*arg1
= (wxMenu
*) 0 ;
33633 PyObject
* obj0
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33640 if (SWIG_arg_fail(1)) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 Py_INCREF(Py_None
); resultobj
= Py_None
;
33655 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxMenu
*arg1
= (wxMenu
*) 0 ;
33659 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33660 wxMenuItem
*result
;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 PyObject
* obj2
= 0 ;
33664 char *kwnames
[] = {
33665 (char *) "self",(char *) "pos",(char *) "item", NULL
33668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33670 if (SWIG_arg_fail(1)) SWIG_fail
;
33672 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33673 if (SWIG_arg_fail(2)) SWIG_fail
;
33675 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33676 if (SWIG_arg_fail(3)) SWIG_fail
;
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= wxPyMake_wxObject(result
, 0);
33693 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
;
33695 wxMenu
*arg1
= (wxMenu
*) 0 ;
33698 wxString
*arg4
= 0 ;
33699 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33700 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33701 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33702 wxMenuItem
*result
;
33703 bool temp4
= false ;
33704 bool temp5
= false ;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 PyObject
* obj2
= 0 ;
33708 PyObject
* obj3
= 0 ;
33709 PyObject
* obj4
= 0 ;
33710 PyObject
* obj5
= 0 ;
33711 char *kwnames
[] = {
33712 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33717 if (SWIG_arg_fail(1)) SWIG_fail
;
33719 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33720 if (SWIG_arg_fail(2)) SWIG_fail
;
33723 arg3
= (int)(SWIG_As_int(obj2
));
33724 if (SWIG_arg_fail(3)) SWIG_fail
;
33727 arg4
= wxString_in_helper(obj3
);
33728 if (arg4
== NULL
) SWIG_fail
;
33733 arg5
= wxString_in_helper(obj4
);
33734 if (arg5
== NULL
) SWIG_fail
;
33740 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33741 if (SWIG_arg_fail(6)) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= wxPyMake_wxObject(result
, 0);
33776 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxMenu
*arg1
= (wxMenu
*) 0 ;
33780 wxMenuItem
*result
;
33781 PyObject
* obj0
= 0 ;
33782 PyObject
* obj1
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "self",(char *) "pos", NULL
33787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33789 if (SWIG_arg_fail(1)) SWIG_fail
;
33791 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33792 if (SWIG_arg_fail(2)) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= wxPyMake_wxObject(result
, 0);
33810 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
;
33812 wxMenu
*arg1
= (wxMenu
*) 0 ;
33815 wxString
*arg4
= 0 ;
33816 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33817 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33818 wxMenuItem
*result
;
33819 bool temp4
= false ;
33820 bool temp5
= false ;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 PyObject
* obj2
= 0 ;
33824 PyObject
* obj3
= 0 ;
33825 PyObject
* obj4
= 0 ;
33826 char *kwnames
[] = {
33827 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33832 if (SWIG_arg_fail(1)) SWIG_fail
;
33834 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33835 if (SWIG_arg_fail(2)) SWIG_fail
;
33838 arg3
= (int)(SWIG_As_int(obj2
));
33839 if (SWIG_arg_fail(3)) SWIG_fail
;
33842 arg4
= wxString_in_helper(obj3
);
33843 if (arg4
== NULL
) SWIG_fail
;
33848 arg5
= wxString_in_helper(obj4
);
33849 if (arg5
== NULL
) SWIG_fail
;
33854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33855 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33857 wxPyEndAllowThreads(__tstate
);
33858 if (PyErr_Occurred()) SWIG_fail
;
33861 resultobj
= wxPyMake_wxObject(result
, 0);
33885 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxMenu
*arg1
= (wxMenu
*) 0 ;
33890 wxString
*arg4
= 0 ;
33891 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33892 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33893 wxMenuItem
*result
;
33894 bool temp4
= false ;
33895 bool temp5
= false ;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 PyObject
* obj2
= 0 ;
33899 PyObject
* obj3
= 0 ;
33900 PyObject
* obj4
= 0 ;
33901 char *kwnames
[] = {
33902 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33907 if (SWIG_arg_fail(1)) SWIG_fail
;
33909 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33910 if (SWIG_arg_fail(2)) SWIG_fail
;
33913 arg3
= (int)(SWIG_As_int(obj2
));
33914 if (SWIG_arg_fail(3)) SWIG_fail
;
33917 arg4
= wxString_in_helper(obj3
);
33918 if (arg4
== NULL
) SWIG_fail
;
33923 arg5
= wxString_in_helper(obj4
);
33924 if (arg5
== NULL
) SWIG_fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= wxPyMake_wxObject(result
, 0);
33960 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33961 PyObject
*resultobj
;
33962 wxMenu
*arg1
= (wxMenu
*) 0 ;
33965 wxString
*arg4
= 0 ;
33966 wxMenu
*arg5
= (wxMenu
*) 0 ;
33967 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33968 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33969 wxMenuItem
*result
;
33970 bool temp4
= false ;
33971 bool temp6
= false ;
33972 PyObject
* obj0
= 0 ;
33973 PyObject
* obj1
= 0 ;
33974 PyObject
* obj2
= 0 ;
33975 PyObject
* obj3
= 0 ;
33976 PyObject
* obj4
= 0 ;
33977 PyObject
* obj5
= 0 ;
33978 char *kwnames
[] = {
33979 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33984 if (SWIG_arg_fail(1)) SWIG_fail
;
33986 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33987 if (SWIG_arg_fail(2)) SWIG_fail
;
33990 arg3
= (int)(SWIG_As_int(obj2
));
33991 if (SWIG_arg_fail(3)) SWIG_fail
;
33994 arg4
= wxString_in_helper(obj3
);
33995 if (arg4
== NULL
) SWIG_fail
;
33998 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33999 if (SWIG_arg_fail(5)) SWIG_fail
;
34002 arg6
= wxString_in_helper(obj5
);
34003 if (arg6
== NULL
) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= wxPyMake_wxObject(result
, 0);
34039 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxMenu
*arg1
= (wxMenu
*) 0 ;
34042 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34043 wxMenuItem
*result
;
34044 PyObject
* obj0
= 0 ;
34045 PyObject
* obj1
= 0 ;
34046 char *kwnames
[] = {
34047 (char *) "self",(char *) "item", NULL
34050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(1)) SWIG_fail
;
34053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34054 if (SWIG_arg_fail(2)) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= wxPyMake_wxObject(result
, 0);
34071 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
;
34073 wxMenu
*arg1
= (wxMenu
*) 0 ;
34075 wxString
*arg3
= 0 ;
34076 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34077 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34078 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34079 wxMenuItem
*result
;
34080 bool temp3
= false ;
34081 bool temp4
= false ;
34082 PyObject
* obj0
= 0 ;
34083 PyObject
* obj1
= 0 ;
34084 PyObject
* obj2
= 0 ;
34085 PyObject
* obj3
= 0 ;
34086 PyObject
* obj4
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail
;
34095 arg2
= (int)(SWIG_As_int(obj1
));
34096 if (SWIG_arg_fail(2)) SWIG_fail
;
34099 arg3
= wxString_in_helper(obj2
);
34100 if (arg3
== NULL
) SWIG_fail
;
34105 arg4
= wxString_in_helper(obj3
);
34106 if (arg4
== NULL
) SWIG_fail
;
34112 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
34113 if (SWIG_arg_fail(5)) SWIG_fail
;
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34124 resultobj
= wxPyMake_wxObject(result
, 0);
34148 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
;
34150 wxMenu
*arg1
= (wxMenu
*) 0 ;
34151 wxMenuItem
*result
;
34152 PyObject
* obj0
= 0 ;
34153 char *kwnames
[] = {
34154 (char *) "self", NULL
34157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
34158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail
;
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34168 resultobj
= wxPyMake_wxObject(result
, 0);
34176 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34177 PyObject
*resultobj
;
34178 wxMenu
*arg1
= (wxMenu
*) 0 ;
34180 wxString
*arg3
= 0 ;
34181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34183 wxMenuItem
*result
;
34184 bool temp3
= false ;
34185 bool temp4
= false ;
34186 PyObject
* obj0
= 0 ;
34187 PyObject
* obj1
= 0 ;
34188 PyObject
* obj2
= 0 ;
34189 PyObject
* obj3
= 0 ;
34190 char *kwnames
[] = {
34191 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34196 if (SWIG_arg_fail(1)) SWIG_fail
;
34198 arg2
= (int)(SWIG_As_int(obj1
));
34199 if (SWIG_arg_fail(2)) SWIG_fail
;
34202 arg3
= wxString_in_helper(obj2
);
34203 if (arg3
== NULL
) SWIG_fail
;
34208 arg4
= wxString_in_helper(obj3
);
34209 if (arg4
== NULL
) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= wxPyMake_wxObject(result
, 0);
34245 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
;
34247 wxMenu
*arg1
= (wxMenu
*) 0 ;
34249 wxString
*arg3
= 0 ;
34250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34252 wxMenuItem
*result
;
34253 bool temp3
= false ;
34254 bool temp4
= false ;
34255 PyObject
* obj0
= 0 ;
34256 PyObject
* obj1
= 0 ;
34257 PyObject
* obj2
= 0 ;
34258 PyObject
* obj3
= 0 ;
34259 char *kwnames
[] = {
34260 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34265 if (SWIG_arg_fail(1)) SWIG_fail
;
34267 arg2
= (int)(SWIG_As_int(obj1
));
34268 if (SWIG_arg_fail(2)) SWIG_fail
;
34271 arg3
= wxString_in_helper(obj2
);
34272 if (arg3
== NULL
) SWIG_fail
;
34277 arg4
= wxString_in_helper(obj3
);
34278 if (arg4
== NULL
) SWIG_fail
;
34283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34284 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= wxPyMake_wxObject(result
, 0);
34314 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
;
34316 wxMenu
*arg1
= (wxMenu
*) 0 ;
34318 wxString
*arg3
= 0 ;
34319 wxMenu
*arg4
= (wxMenu
*) 0 ;
34320 wxString
const &arg5_defvalue
= wxPyEmptyString
;
34321 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
34322 wxMenuItem
*result
;
34323 bool temp3
= false ;
34324 bool temp5
= false ;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 PyObject
* obj2
= 0 ;
34328 PyObject
* obj3
= 0 ;
34329 PyObject
* obj4
= 0 ;
34330 char *kwnames
[] = {
34331 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
34334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34336 if (SWIG_arg_fail(1)) SWIG_fail
;
34338 arg2
= (int)(SWIG_As_int(obj1
));
34339 if (SWIG_arg_fail(2)) SWIG_fail
;
34342 arg3
= wxString_in_helper(obj2
);
34343 if (arg3
== NULL
) SWIG_fail
;
34346 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34347 if (SWIG_arg_fail(4)) SWIG_fail
;
34350 arg5
= wxString_in_helper(obj4
);
34351 if (arg5
== NULL
) SWIG_fail
;
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= wxPyMake_wxObject(result
, 0);
34387 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
;
34389 wxMenu
*arg1
= (wxMenu
*) 0 ;
34391 wxMenuItem
*result
;
34392 PyObject
* obj0
= 0 ;
34393 PyObject
* obj1
= 0 ;
34394 char *kwnames
[] = {
34395 (char *) "self",(char *) "id", NULL
34398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34400 if (SWIG_arg_fail(1)) SWIG_fail
;
34402 arg2
= (int)(SWIG_As_int(obj1
));
34403 if (SWIG_arg_fail(2)) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= wxPyMake_wxObject(result
, 0);
34421 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34422 PyObject
*resultobj
;
34423 wxMenu
*arg1
= (wxMenu
*) 0 ;
34424 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34425 wxMenuItem
*result
;
34426 PyObject
* obj0
= 0 ;
34427 PyObject
* obj1
= 0 ;
34428 char *kwnames
[] = {
34429 (char *) "self",(char *) "item", NULL
34432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34434 if (SWIG_arg_fail(1)) SWIG_fail
;
34435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34436 if (SWIG_arg_fail(2)) SWIG_fail
;
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34441 wxPyEndAllowThreads(__tstate
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= wxPyMake_wxObject(result
, 0);
34453 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
;
34455 wxMenu
*arg1
= (wxMenu
*) 0 ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 char *kwnames
[] = {
34461 (char *) "self",(char *) "id", NULL
34464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34466 if (SWIG_arg_fail(1)) SWIG_fail
;
34468 arg2
= (int)(SWIG_As_int(obj1
));
34469 if (SWIG_arg_fail(2)) SWIG_fail
;
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 result
= (bool)(arg1
)->Delete(arg2
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34487 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
;
34489 wxMenu
*arg1
= (wxMenu
*) 0 ;
34490 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34492 PyObject
* obj0
= 0 ;
34493 PyObject
* obj1
= 0 ;
34494 char *kwnames
[] = {
34495 (char *) "self",(char *) "item", NULL
34498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34500 if (SWIG_arg_fail(1)) SWIG_fail
;
34501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34502 if (SWIG_arg_fail(2)) SWIG_fail
;
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34505 result
= (bool)(arg1
)->Delete(arg2
);
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34519 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34520 PyObject
*resultobj
;
34521 wxMenu
*arg1
= (wxMenu
*) 0 ;
34522 PyObject
* obj0
= 0 ;
34523 char *kwnames
[] = {
34524 (char *) "self", NULL
34527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34529 if (SWIG_arg_fail(1)) SWIG_fail
;
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 wxMenu_Destroy(arg1
);
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34537 Py_INCREF(Py_None
); resultobj
= Py_None
;
34544 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
;
34546 wxMenu
*arg1
= (wxMenu
*) 0 ;
34549 PyObject
* obj0
= 0 ;
34550 PyObject
* obj1
= 0 ;
34551 char *kwnames
[] = {
34552 (char *) "self",(char *) "id", NULL
34555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34557 if (SWIG_arg_fail(1)) SWIG_fail
;
34559 arg2
= (int)(SWIG_As_int(obj1
));
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 result
= (bool)(arg1
)->Destroy(arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34578 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34580 wxMenu
*arg1
= (wxMenu
*) 0 ;
34581 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 PyObject
* obj1
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self",(char *) "item", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34591 if (SWIG_arg_fail(1)) SWIG_fail
;
34592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34593 if (SWIG_arg_fail(2)) SWIG_fail
;
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 result
= (bool)(arg1
)->Destroy(arg2
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34610 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxMenu
*arg1
= (wxMenu
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 char *kwnames
[] = {
34616 (char *) "self", NULL
34619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34638 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
;
34640 wxMenu
*arg1
= (wxMenu
*) 0 ;
34642 PyObject
* obj0
= 0 ;
34643 char *kwnames
[] = {
34644 (char *) "self", NULL
34647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34649 if (SWIG_arg_fail(1)) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 resultobj
= result
;
34664 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxMenu
*arg1
= (wxMenu
*) 0 ;
34667 wxString
*arg2
= 0 ;
34669 bool temp2
= false ;
34670 PyObject
* obj0
= 0 ;
34671 PyObject
* obj1
= 0 ;
34672 char *kwnames
[] = {
34673 (char *) "self",(char *) "item", NULL
34676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34678 if (SWIG_arg_fail(1)) SWIG_fail
;
34680 arg2
= wxString_in_helper(obj1
);
34681 if (arg2
== NULL
) SWIG_fail
;
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34692 resultobj
= SWIG_From_int((int)(result
));
34708 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
;
34710 wxMenu
*arg1
= (wxMenu
*) 0 ;
34712 wxMenuItem
*result
;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "id", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
34724 if (SWIG_arg_fail(2)) SWIG_fail
;
34727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34730 wxPyEndAllowThreads(__tstate
);
34731 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= wxPyMake_wxObject(result
, 0);
34742 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
;
34744 wxMenu
*arg1
= (wxMenu
*) 0 ;
34746 wxMenuItem
*result
;
34747 PyObject
* obj0
= 0 ;
34748 PyObject
* obj1
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self",(char *) "position", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34755 if (SWIG_arg_fail(1)) SWIG_fail
;
34757 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34758 if (SWIG_arg_fail(2)) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= wxPyMake_wxObject(result
, 0);
34776 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
;
34778 wxMenu
*arg1
= (wxMenu
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 PyObject
* obj2
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "id",(char *) "enable", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail
;
34792 arg2
= (int)(SWIG_As_int(obj1
));
34793 if (SWIG_arg_fail(2)) SWIG_fail
;
34796 arg3
= (bool)(SWIG_As_bool(obj2
));
34797 if (SWIG_arg_fail(3)) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->Enable(arg2
,arg3
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 Py_INCREF(Py_None
); resultobj
= Py_None
;
34813 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxMenu
*arg1
= (wxMenu
*) 0 ;
34818 PyObject
* obj0
= 0 ;
34819 PyObject
* obj1
= 0 ;
34820 char *kwnames
[] = {
34821 (char *) "self",(char *) "id", NULL
34824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34826 if (SWIG_arg_fail(1)) SWIG_fail
;
34828 arg2
= (int)(SWIG_As_int(obj1
));
34829 if (SWIG_arg_fail(2)) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34847 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34848 PyObject
*resultobj
;
34849 wxMenu
*arg1
= (wxMenu
*) 0 ;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 char *kwnames
[] = {
34856 (char *) "self",(char *) "id",(char *) "check", NULL
34859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34861 if (SWIG_arg_fail(1)) SWIG_fail
;
34863 arg2
= (int)(SWIG_As_int(obj1
));
34864 if (SWIG_arg_fail(2)) SWIG_fail
;
34867 arg3
= (bool)(SWIG_As_bool(obj2
));
34868 if (SWIG_arg_fail(3)) SWIG_fail
;
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 (arg1
)->Check(arg2
,arg3
);
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34877 Py_INCREF(Py_None
); resultobj
= Py_None
;
34884 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34885 PyObject
*resultobj
;
34886 wxMenu
*arg1
= (wxMenu
*) 0 ;
34889 PyObject
* obj0
= 0 ;
34890 PyObject
* obj1
= 0 ;
34891 char *kwnames
[] = {
34892 (char *) "self",(char *) "id", NULL
34895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34897 if (SWIG_arg_fail(1)) SWIG_fail
;
34899 arg2
= (int)(SWIG_As_int(obj1
));
34900 if (SWIG_arg_fail(2)) SWIG_fail
;
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34918 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
;
34920 wxMenu
*arg1
= (wxMenu
*) 0 ;
34922 wxString
*arg3
= 0 ;
34923 bool temp3
= false ;
34924 PyObject
* obj0
= 0 ;
34925 PyObject
* obj1
= 0 ;
34926 PyObject
* obj2
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self",(char *) "id",(char *) "label", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34933 if (SWIG_arg_fail(1)) SWIG_fail
;
34935 arg2
= (int)(SWIG_As_int(obj1
));
34936 if (SWIG_arg_fail(2)) SWIG_fail
;
34939 arg3
= wxString_in_helper(obj2
);
34940 if (arg3
== NULL
) SWIG_fail
;
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 Py_INCREF(Py_None
); resultobj
= Py_None
;
34965 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34966 PyObject
*resultobj
;
34967 wxMenu
*arg1
= (wxMenu
*) 0 ;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 char *kwnames
[] = {
34973 (char *) "self",(char *) "id", NULL
34976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34978 if (SWIG_arg_fail(1)) SWIG_fail
;
34980 arg2
= (int)(SWIG_As_int(obj1
));
34981 if (SWIG_arg_fail(2)) SWIG_fail
;
34984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34985 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35003 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35004 PyObject
*resultobj
;
35005 wxMenu
*arg1
= (wxMenu
*) 0 ;
35007 wxString
*arg3
= 0 ;
35008 bool temp3
= false ;
35009 PyObject
* obj0
= 0 ;
35010 PyObject
* obj1
= 0 ;
35011 PyObject
* obj2
= 0 ;
35012 char *kwnames
[] = {
35013 (char *) "self",(char *) "id",(char *) "helpString", NULL
35016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35018 if (SWIG_arg_fail(1)) SWIG_fail
;
35020 arg2
= (int)(SWIG_As_int(obj1
));
35021 if (SWIG_arg_fail(2)) SWIG_fail
;
35024 arg3
= wxString_in_helper(obj2
);
35025 if (arg3
== NULL
) SWIG_fail
;
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 Py_INCREF(Py_None
); resultobj
= Py_None
;
35050 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35051 PyObject
*resultobj
;
35052 wxMenu
*arg1
= (wxMenu
*) 0 ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 char *kwnames
[] = {
35058 (char *) "self",(char *) "id", NULL
35061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35063 if (SWIG_arg_fail(1)) SWIG_fail
;
35065 arg2
= (int)(SWIG_As_int(obj1
));
35066 if (SWIG_arg_fail(2)) SWIG_fail
;
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35088 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
;
35090 wxMenu
*arg1
= (wxMenu
*) 0 ;
35091 wxString
*arg2
= 0 ;
35092 bool temp2
= false ;
35093 PyObject
* obj0
= 0 ;
35094 PyObject
* obj1
= 0 ;
35095 char *kwnames
[] = {
35096 (char *) "self",(char *) "title", NULL
35099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
35100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35101 if (SWIG_arg_fail(1)) SWIG_fail
;
35103 arg2
= wxString_in_helper(obj1
);
35104 if (arg2
== NULL
) SWIG_fail
;
35108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35109 (arg1
)->SetTitle((wxString
const &)*arg2
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 Py_INCREF(Py_None
); resultobj
= Py_None
;
35129 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35130 PyObject
*resultobj
;
35131 wxMenu
*arg1
= (wxMenu
*) 0 ;
35133 PyObject
* obj0
= 0 ;
35134 char *kwnames
[] = {
35135 (char *) "self", NULL
35138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
35139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35140 if (SWIG_arg_fail(1)) SWIG_fail
;
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 result
= ((wxMenu
const *)arg1
)->GetTitle();
35145 wxPyEndAllowThreads(__tstate
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35161 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
;
35163 wxMenu
*arg1
= (wxMenu
*) 0 ;
35164 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj1
= 0 ;
35167 char *kwnames
[] = {
35168 (char *) "self",(char *) "handler", NULL
35171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
35172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35173 if (SWIG_arg_fail(1)) SWIG_fail
;
35174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35175 if (SWIG_arg_fail(2)) SWIG_fail
;
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 (arg1
)->SetEventHandler(arg2
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 Py_INCREF(Py_None
); resultobj
= Py_None
;
35190 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
;
35192 wxMenu
*arg1
= (wxMenu
*) 0 ;
35193 wxEvtHandler
*result
;
35194 PyObject
* obj0
= 0 ;
35195 char *kwnames
[] = {
35196 (char *) "self", NULL
35199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
35200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35201 if (SWIG_arg_fail(1)) SWIG_fail
;
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= wxPyMake_wxObject(result
, 0);
35218 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxMenu
*arg1
= (wxMenu
*) 0 ;
35221 wxWindow
*arg2
= (wxWindow
*) 0 ;
35222 PyObject
* obj0
= 0 ;
35223 PyObject
* obj1
= 0 ;
35224 char *kwnames
[] = {
35225 (char *) "self",(char *) "win", NULL
35228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35230 if (SWIG_arg_fail(1)) SWIG_fail
;
35231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35232 if (SWIG_arg_fail(2)) SWIG_fail
;
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 (arg1
)->SetInvokingWindow(arg2
);
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 Py_INCREF(Py_None
); resultobj
= Py_None
;
35247 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
;
35249 wxMenu
*arg1
= (wxMenu
*) 0 ;
35251 PyObject
* obj0
= 0 ;
35252 char *kwnames
[] = {
35253 (char *) "self", NULL
35256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
35257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35258 if (SWIG_arg_fail(1)) SWIG_fail
;
35260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35261 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35267 resultobj
= wxPyMake_wxObject(result
, 0);
35275 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35276 PyObject
*resultobj
;
35277 wxMenu
*arg1
= (wxMenu
*) 0 ;
35279 PyObject
* obj0
= 0 ;
35280 char *kwnames
[] = {
35281 (char *) "self", NULL
35284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
35285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35286 if (SWIG_arg_fail(1)) SWIG_fail
;
35288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35289 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
35291 wxPyEndAllowThreads(__tstate
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35295 resultobj
= SWIG_From_long((long)(result
));
35303 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxMenu
*arg1
= (wxMenu
*) 0 ;
35306 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 char *kwnames
[] = {
35310 (char *) "self",(char *) "source", NULL
35313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
35314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35315 if (SWIG_arg_fail(1)) SWIG_fail
;
35317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35318 if (SWIG_arg_fail(2)) SWIG_fail
;
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35322 (arg1
)->UpdateUI(arg2
);
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35327 Py_INCREF(Py_None
); resultobj
= Py_None
;
35334 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
;
35336 wxMenu
*arg1
= (wxMenu
*) 0 ;
35338 PyObject
* obj0
= 0 ;
35339 char *kwnames
[] = {
35340 (char *) "self", NULL
35343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
35344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35345 if (SWIG_arg_fail(1)) SWIG_fail
;
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= wxPyMake_wxObject(result
, 0);
35362 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
;
35364 wxMenu
*arg1
= (wxMenu
*) 0 ;
35365 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
35366 PyObject
* obj0
= 0 ;
35367 PyObject
* obj1
= 0 ;
35368 char *kwnames
[] = {
35369 (char *) "self",(char *) "menubar", NULL
35372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35374 if (SWIG_arg_fail(1)) SWIG_fail
;
35375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
35376 if (SWIG_arg_fail(2)) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 (arg1
)->Attach(arg2
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35384 Py_INCREF(Py_None
); resultobj
= Py_None
;
35391 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
;
35393 wxMenu
*arg1
= (wxMenu
*) 0 ;
35394 PyObject
* obj0
= 0 ;
35395 char *kwnames
[] = {
35396 (char *) "self", NULL
35399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
35400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35401 if (SWIG_arg_fail(1)) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35409 Py_INCREF(Py_None
); resultobj
= Py_None
;
35416 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
;
35418 wxMenu
*arg1
= (wxMenu
*) 0 ;
35420 PyObject
* obj0
= 0 ;
35421 char *kwnames
[] = {
35422 (char *) "self", NULL
35425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
35426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35427 if (SWIG_arg_fail(1)) SWIG_fail
;
35429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35430 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
35432 wxPyEndAllowThreads(__tstate
);
35433 if (PyErr_Occurred()) SWIG_fail
;
35436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35444 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35445 PyObject
*resultobj
;
35446 wxMenu
*arg1
= (wxMenu
*) 0 ;
35447 wxMenu
*arg2
= (wxMenu
*) 0 ;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 char *kwnames
[] = {
35451 (char *) "self",(char *) "parent", NULL
35454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
35455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35456 if (SWIG_arg_fail(1)) SWIG_fail
;
35457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35458 if (SWIG_arg_fail(2)) SWIG_fail
;
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 (arg1
)->SetParent(arg2
);
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35466 Py_INCREF(Py_None
); resultobj
= Py_None
;
35473 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
;
35475 wxMenu
*arg1
= (wxMenu
*) 0 ;
35477 PyObject
* obj0
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
35483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35484 if (SWIG_arg_fail(1)) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 resultobj
= wxPyMake_wxObject(result
, 0);
35501 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
35503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35504 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
35506 return Py_BuildValue((char *)"");
35508 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35509 PyObject
*resultobj
;
35510 long arg1
= (long) 0 ;
35512 PyObject
* obj0
= 0 ;
35513 char *kwnames
[] = {
35514 (char *) "style", NULL
35517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
35520 arg1
= (long)(SWIG_As_long(obj0
));
35521 if (SWIG_arg_fail(1)) SWIG_fail
;
35525 if (!wxPyCheckForApp()) SWIG_fail
;
35526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35527 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35529 wxPyEndAllowThreads(__tstate
);
35530 if (PyErr_Occurred()) SWIG_fail
;
35532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35539 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35540 PyObject
*resultobj
;
35541 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35542 wxMenu
*arg2
= (wxMenu
*) 0 ;
35543 wxString
*arg3
= 0 ;
35545 bool temp3
= false ;
35546 PyObject
* obj0
= 0 ;
35547 PyObject
* obj1
= 0 ;
35548 PyObject
* obj2
= 0 ;
35549 char *kwnames
[] = {
35550 (char *) "self",(char *) "menu",(char *) "title", NULL
35553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35555 if (SWIG_arg_fail(1)) SWIG_fail
;
35556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35557 if (SWIG_arg_fail(2)) SWIG_fail
;
35559 arg3
= wxString_in_helper(obj2
);
35560 if (arg3
== NULL
) SWIG_fail
;
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35587 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35591 wxMenu
*arg3
= (wxMenu
*) 0 ;
35592 wxString
*arg4
= 0 ;
35594 bool temp4
= false ;
35595 PyObject
* obj0
= 0 ;
35596 PyObject
* obj1
= 0 ;
35597 PyObject
* obj2
= 0 ;
35598 PyObject
* obj3
= 0 ;
35599 char *kwnames
[] = {
35600 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35605 if (SWIG_arg_fail(1)) SWIG_fail
;
35607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35608 if (SWIG_arg_fail(2)) SWIG_fail
;
35610 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35611 if (SWIG_arg_fail(3)) SWIG_fail
;
35613 arg4
= wxString_in_helper(obj3
);
35614 if (arg4
== NULL
) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35641 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35642 PyObject
*resultobj
;
35643 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35645 PyObject
* obj0
= 0 ;
35646 char *kwnames
[] = {
35647 (char *) "self", NULL
35650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35652 if (SWIG_arg_fail(1)) SWIG_fail
;
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35657 wxPyEndAllowThreads(__tstate
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35661 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35669 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
;
35671 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 char *kwnames
[] = {
35677 (char *) "self",(char *) "pos", NULL
35680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35682 if (SWIG_arg_fail(1)) SWIG_fail
;
35684 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35685 if (SWIG_arg_fail(2)) SWIG_fail
;
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= wxPyMake_wxObject(result
, 0);
35703 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35704 PyObject
*resultobj
;
35705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35707 wxMenu
*arg3
= (wxMenu
*) 0 ;
35708 wxString
*arg4
= 0 ;
35710 bool temp4
= false ;
35711 PyObject
* obj0
= 0 ;
35712 PyObject
* obj1
= 0 ;
35713 PyObject
* obj2
= 0 ;
35714 PyObject
* obj3
= 0 ;
35715 char *kwnames
[] = {
35716 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35721 if (SWIG_arg_fail(1)) SWIG_fail
;
35723 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35724 if (SWIG_arg_fail(2)) SWIG_fail
;
35726 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35727 if (SWIG_arg_fail(3)) SWIG_fail
;
35729 arg4
= wxString_in_helper(obj3
);
35730 if (arg4
== NULL
) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= wxPyMake_wxObject(result
, 0);
35757 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
;
35759 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 char *kwnames
[] = {
35765 (char *) "self",(char *) "pos", NULL
35768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35770 if (SWIG_arg_fail(1)) SWIG_fail
;
35772 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35773 if (SWIG_arg_fail(2)) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= wxPyMake_wxObject(result
, 0);
35791 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35792 PyObject
*resultobj
;
35793 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35796 PyObject
* obj0
= 0 ;
35797 PyObject
* obj1
= 0 ;
35798 PyObject
* obj2
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "self",(char *) "pos",(char *) "enable", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35805 if (SWIG_arg_fail(1)) SWIG_fail
;
35807 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35808 if (SWIG_arg_fail(2)) SWIG_fail
;
35811 arg3
= (bool)(SWIG_As_bool(obj2
));
35812 if (SWIG_arg_fail(3)) SWIG_fail
;
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 (arg1
)->EnableTop(arg2
,arg3
);
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35821 Py_INCREF(Py_None
); resultobj
= Py_None
;
35828 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
;
35830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35833 PyObject
* obj0
= 0 ;
35834 PyObject
* obj1
= 0 ;
35835 char *kwnames
[] = {
35836 (char *) "self",(char *) "pos", NULL
35839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35841 if (SWIG_arg_fail(1)) SWIG_fail
;
35843 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35844 if (SWIG_arg_fail(2)) SWIG_fail
;
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35862 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
;
35864 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35866 wxString
*arg3
= 0 ;
35867 bool temp3
= false ;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 PyObject
* obj2
= 0 ;
35871 char *kwnames
[] = {
35872 (char *) "self",(char *) "pos",(char *) "label", NULL
35875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35877 if (SWIG_arg_fail(1)) SWIG_fail
;
35879 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35880 if (SWIG_arg_fail(2)) SWIG_fail
;
35883 arg3
= wxString_in_helper(obj2
);
35884 if (arg3
== NULL
) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 Py_INCREF(Py_None
); resultobj
= Py_None
;
35909 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35910 PyObject
*resultobj
;
35911 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35914 PyObject
* obj0
= 0 ;
35915 PyObject
* obj1
= 0 ;
35916 char *kwnames
[] = {
35917 (char *) "self",(char *) "pos", NULL
35920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35922 if (SWIG_arg_fail(1)) SWIG_fail
;
35924 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35925 if (SWIG_arg_fail(2)) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35947 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
;
35949 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35950 wxString
*arg2
= 0 ;
35951 wxString
*arg3
= 0 ;
35953 bool temp2
= false ;
35954 bool temp3
= false ;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 PyObject
* obj2
= 0 ;
35958 char *kwnames
[] = {
35959 (char *) "self",(char *) "menu",(char *) "item", NULL
35962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35964 if (SWIG_arg_fail(1)) SWIG_fail
;
35966 arg2
= wxString_in_helper(obj1
);
35967 if (arg2
== NULL
) SWIG_fail
;
35971 arg3
= wxString_in_helper(obj2
);
35972 if (arg3
== NULL
) SWIG_fail
;
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35983 resultobj
= SWIG_From_int((int)(result
));
36007 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36008 PyObject
*resultobj
;
36009 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36011 wxMenuItem
*result
;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 char *kwnames
[] = {
36015 (char *) "self",(char *) "id", NULL
36018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
36019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36020 if (SWIG_arg_fail(1)) SWIG_fail
;
36022 arg2
= (int)(SWIG_As_int(obj1
));
36023 if (SWIG_arg_fail(2)) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36033 resultobj
= wxPyMake_wxObject(result
, 0);
36041 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36042 PyObject
*resultobj
;
36043 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36044 wxString
*arg2
= 0 ;
36046 bool temp2
= false ;
36047 PyObject
* obj0
= 0 ;
36048 PyObject
* obj1
= 0 ;
36049 char *kwnames
[] = {
36050 (char *) "self",(char *) "title", NULL
36053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36055 if (SWIG_arg_fail(1)) SWIG_fail
;
36057 arg2
= wxString_in_helper(obj1
);
36058 if (arg2
== NULL
) SWIG_fail
;
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36069 resultobj
= SWIG_From_int((int)(result
));
36085 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
;
36087 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36090 PyObject
* obj0
= 0 ;
36091 PyObject
* obj1
= 0 ;
36092 PyObject
* obj2
= 0 ;
36093 char *kwnames
[] = {
36094 (char *) "self",(char *) "id",(char *) "enable", NULL
36097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36099 if (SWIG_arg_fail(1)) SWIG_fail
;
36101 arg2
= (int)(SWIG_As_int(obj1
));
36102 if (SWIG_arg_fail(2)) SWIG_fail
;
36105 arg3
= (bool)(SWIG_As_bool(obj2
));
36106 if (SWIG_arg_fail(3)) SWIG_fail
;
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->Enable(arg2
,arg3
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 Py_INCREF(Py_None
); resultobj
= Py_None
;
36122 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
;
36124 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36127 PyObject
* obj0
= 0 ;
36128 PyObject
* obj1
= 0 ;
36129 PyObject
* obj2
= 0 ;
36130 char *kwnames
[] = {
36131 (char *) "self",(char *) "id",(char *) "check", NULL
36134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36136 if (SWIG_arg_fail(1)) SWIG_fail
;
36138 arg2
= (int)(SWIG_As_int(obj1
));
36139 if (SWIG_arg_fail(2)) SWIG_fail
;
36142 arg3
= (bool)(SWIG_As_bool(obj2
));
36143 if (SWIG_arg_fail(3)) SWIG_fail
;
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 (arg1
)->Check(arg2
,arg3
);
36149 wxPyEndAllowThreads(__tstate
);
36150 if (PyErr_Occurred()) SWIG_fail
;
36152 Py_INCREF(Py_None
); resultobj
= Py_None
;
36159 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36160 PyObject
*resultobj
;
36161 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36164 PyObject
* obj0
= 0 ;
36165 PyObject
* obj1
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self",(char *) "id", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
36171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36172 if (SWIG_arg_fail(1)) SWIG_fail
;
36174 arg2
= (int)(SWIG_As_int(obj1
));
36175 if (SWIG_arg_fail(2)) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36193 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
;
36195 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36198 PyObject
* obj0
= 0 ;
36199 PyObject
* obj1
= 0 ;
36200 char *kwnames
[] = {
36201 (char *) "self",(char *) "id", NULL
36204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
36205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36206 if (SWIG_arg_fail(1)) SWIG_fail
;
36208 arg2
= (int)(SWIG_As_int(obj1
));
36209 if (SWIG_arg_fail(2)) SWIG_fail
;
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36227 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36228 PyObject
*resultobj
;
36229 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36231 wxString
*arg3
= 0 ;
36232 bool temp3
= false ;
36233 PyObject
* obj0
= 0 ;
36234 PyObject
* obj1
= 0 ;
36235 PyObject
* obj2
= 0 ;
36236 char *kwnames
[] = {
36237 (char *) "self",(char *) "id",(char *) "label", NULL
36240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36242 if (SWIG_arg_fail(1)) SWIG_fail
;
36244 arg2
= (int)(SWIG_As_int(obj1
));
36245 if (SWIG_arg_fail(2)) SWIG_fail
;
36248 arg3
= wxString_in_helper(obj2
);
36249 if (arg3
== NULL
) SWIG_fail
;
36253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36254 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
36256 wxPyEndAllowThreads(__tstate
);
36257 if (PyErr_Occurred()) SWIG_fail
;
36259 Py_INCREF(Py_None
); resultobj
= Py_None
;
36274 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36279 PyObject
* obj0
= 0 ;
36280 PyObject
* obj1
= 0 ;
36281 char *kwnames
[] = {
36282 (char *) "self",(char *) "id", NULL
36285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36287 if (SWIG_arg_fail(1)) SWIG_fail
;
36289 arg2
= (int)(SWIG_As_int(obj1
));
36290 if (SWIG_arg_fail(2)) SWIG_fail
;
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
36296 wxPyEndAllowThreads(__tstate
);
36297 if (PyErr_Occurred()) SWIG_fail
;
36301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36312 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
;
36314 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36316 wxString
*arg3
= 0 ;
36317 bool temp3
= false ;
36318 PyObject
* obj0
= 0 ;
36319 PyObject
* obj1
= 0 ;
36320 PyObject
* obj2
= 0 ;
36321 char *kwnames
[] = {
36322 (char *) "self",(char *) "id",(char *) "helpString", NULL
36325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36327 if (SWIG_arg_fail(1)) SWIG_fail
;
36329 arg2
= (int)(SWIG_As_int(obj1
));
36330 if (SWIG_arg_fail(2)) SWIG_fail
;
36333 arg3
= wxString_in_helper(obj2
);
36334 if (arg3
== NULL
) SWIG_fail
;
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
36341 wxPyEndAllowThreads(__tstate
);
36342 if (PyErr_Occurred()) SWIG_fail
;
36344 Py_INCREF(Py_None
); resultobj
= Py_None
;
36359 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
;
36361 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36364 PyObject
* obj0
= 0 ;
36365 PyObject
* obj1
= 0 ;
36366 char *kwnames
[] = {
36367 (char *) "self",(char *) "id", NULL
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
36371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36372 if (SWIG_arg_fail(1)) SWIG_fail
;
36374 arg2
= (int)(SWIG_As_int(obj1
));
36375 if (SWIG_arg_fail(2)) SWIG_fail
;
36378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36379 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
36381 wxPyEndAllowThreads(__tstate
);
36382 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36397 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36398 PyObject
*resultobj
;
36399 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36401 PyObject
* obj0
= 0 ;
36402 char *kwnames
[] = {
36403 (char *) "self", NULL
36406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
36407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36408 if (SWIG_arg_fail(1)) SWIG_fail
;
36410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36411 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
36413 wxPyEndAllowThreads(__tstate
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36417 resultobj
= wxPyMake_wxObject(result
, 0);
36425 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
;
36427 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36429 PyObject
* obj0
= 0 ;
36430 char *kwnames
[] = {
36431 (char *) "self", NULL
36434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
36435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36436 if (SWIG_arg_fail(1)) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36453 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36456 wxFrame
*arg2
= (wxFrame
*) 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self",(char *) "frame", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
36464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36465 if (SWIG_arg_fail(1)) SWIG_fail
;
36466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
36467 if (SWIG_arg_fail(2)) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 (arg1
)->Attach(arg2
);
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36475 Py_INCREF(Py_None
); resultobj
= Py_None
;
36482 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36483 PyObject
*resultobj
;
36484 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36485 PyObject
* obj0
= 0 ;
36486 char *kwnames
[] = {
36487 (char *) "self", NULL
36490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
36491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36492 if (SWIG_arg_fail(1)) SWIG_fail
;
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 Py_INCREF(Py_None
); resultobj
= Py_None
;
36507 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
;
36510 PyObject
* obj0
= 0 ;
36511 char *kwnames
[] = {
36512 (char *) "enable", NULL
36515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
36517 arg1
= (bool)(SWIG_As_bool(obj0
));
36518 if (SWIG_arg_fail(1)) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 MenuBar_SetAutoWindowMenu(arg1
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 Py_INCREF(Py_None
); resultobj
= Py_None
;
36534 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36537 char *kwnames
[] = {
36541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 result
= (bool)MenuBar_GetAutoWindowMenu();
36546 wxPyEndAllowThreads(__tstate
);
36547 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36558 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36561 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36563 return Py_BuildValue((char *)"");
36565 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
;
36567 wxMenu
*arg1
= (wxMenu
*) NULL
;
36568 int arg2
= (int) wxID_ANY
;
36569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36573 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36574 wxMenu
*arg6
= (wxMenu
*) NULL
;
36575 wxMenuItem
*result
;
36576 bool temp3
= false ;
36577 bool temp4
= false ;
36578 PyObject
* obj0
= 0 ;
36579 PyObject
* obj1
= 0 ;
36580 PyObject
* obj2
= 0 ;
36581 PyObject
* obj3
= 0 ;
36582 PyObject
* obj4
= 0 ;
36583 PyObject
* obj5
= 0 ;
36584 char *kwnames
[] = {
36585 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36591 if (SWIG_arg_fail(1)) SWIG_fail
;
36595 arg2
= (int)(SWIG_As_int(obj1
));
36596 if (SWIG_arg_fail(2)) SWIG_fail
;
36601 arg3
= wxString_in_helper(obj2
);
36602 if (arg3
== NULL
) SWIG_fail
;
36608 arg4
= wxString_in_helper(obj3
);
36609 if (arg4
== NULL
) SWIG_fail
;
36615 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36616 if (SWIG_arg_fail(5)) SWIG_fail
;
36620 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36621 if (SWIG_arg_fail(6)) SWIG_fail
;
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= wxPyMake_wxObject(result
, 1);
36655 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36656 PyObject
*resultobj
;
36657 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36659 PyObject
* obj0
= 0 ;
36660 char *kwnames
[] = {
36661 (char *) "self", NULL
36664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36666 if (SWIG_arg_fail(1)) SWIG_fail
;
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36671 wxPyEndAllowThreads(__tstate
);
36672 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= wxPyMake_wxObject(result
, 0);
36683 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36686 wxMenu
*arg2
= (wxMenu
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 PyObject
* obj1
= 0 ;
36689 char *kwnames
[] = {
36690 (char *) "self",(char *) "menu", NULL
36693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36695 if (SWIG_arg_fail(1)) SWIG_fail
;
36696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36697 if (SWIG_arg_fail(2)) SWIG_fail
;
36699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36700 (arg1
)->SetMenu(arg2
);
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 Py_INCREF(Py_None
); resultobj
= Py_None
;
36712 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
;
36714 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36716 PyObject
* obj0
= 0 ;
36717 PyObject
* obj1
= 0 ;
36718 char *kwnames
[] = {
36719 (char *) "self",(char *) "id", NULL
36722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36724 if (SWIG_arg_fail(1)) SWIG_fail
;
36726 arg2
= (int)(SWIG_As_int(obj1
));
36727 if (SWIG_arg_fail(2)) SWIG_fail
;
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->SetId(arg2
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 Py_INCREF(Py_None
); resultobj
= Py_None
;
36743 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
;
36745 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36747 PyObject
* obj0
= 0 ;
36748 char *kwnames
[] = {
36749 (char *) "self", NULL
36752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36754 if (SWIG_arg_fail(1)) SWIG_fail
;
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36759 wxPyEndAllowThreads(__tstate
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36763 resultobj
= SWIG_From_int((int)(result
));
36771 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
;
36773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36775 PyObject
* obj0
= 0 ;
36776 char *kwnames
[] = {
36777 (char *) "self", NULL
36780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36782 if (SWIG_arg_fail(1)) SWIG_fail
;
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36799 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
;
36801 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36802 wxString
*arg2
= 0 ;
36803 bool temp2
= false ;
36804 PyObject
* obj0
= 0 ;
36805 PyObject
* obj1
= 0 ;
36806 char *kwnames
[] = {
36807 (char *) "self",(char *) "str", NULL
36810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36812 if (SWIG_arg_fail(1)) SWIG_fail
;
36814 arg2
= wxString_in_helper(obj1
);
36815 if (arg2
== NULL
) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 (arg1
)->SetText((wxString
const &)*arg2
);
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 Py_INCREF(Py_None
); resultobj
= Py_None
;
36840 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
;
36842 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36844 PyObject
* obj0
= 0 ;
36845 char *kwnames
[] = {
36846 (char *) "self", NULL
36849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36851 if (SWIG_arg_fail(1)) SWIG_fail
;
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36856 wxPyEndAllowThreads(__tstate
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36872 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
;
36874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36876 PyObject
* obj0
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "self", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36883 if (SWIG_arg_fail(1)) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36888 result
= (wxString
*) &_result_ref
;
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36896 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36898 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36907 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36908 PyObject
*resultobj
;
36909 wxString
*arg1
= 0 ;
36911 bool temp1
= false ;
36912 PyObject
* obj0
= 0 ;
36913 char *kwnames
[] = {
36914 (char *) "text", NULL
36917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36919 arg1
= wxString_in_helper(obj0
);
36920 if (arg1
== NULL
) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36951 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
;
36953 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36955 PyObject
* obj0
= 0 ;
36956 char *kwnames
[] = {
36957 (char *) "self", NULL
36960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36962 if (SWIG_arg_fail(1)) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_From_int((result
));
36977 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
;
36979 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "self",(char *) "kind", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36989 if (SWIG_arg_fail(1)) SWIG_fail
;
36991 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36992 if (SWIG_arg_fail(2)) SWIG_fail
;
36995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36996 (arg1
)->SetKind((wxItemKind
)arg2
);
36998 wxPyEndAllowThreads(__tstate
);
36999 if (PyErr_Occurred()) SWIG_fail
;
37001 Py_INCREF(Py_None
); resultobj
= Py_None
;
37008 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37009 PyObject
*resultobj
;
37010 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37014 char *kwnames
[] = {
37015 (char *) "self",(char *) "checkable", NULL
37018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
37019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37020 if (SWIG_arg_fail(1)) SWIG_fail
;
37022 arg2
= (bool)(SWIG_As_bool(obj1
));
37023 if (SWIG_arg_fail(2)) SWIG_fail
;
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->SetCheckable(arg2
);
37029 wxPyEndAllowThreads(__tstate
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37032 Py_INCREF(Py_None
); resultobj
= Py_None
;
37039 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37040 PyObject
*resultobj
;
37041 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37043 PyObject
* obj0
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "self", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
37049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37050 if (SWIG_arg_fail(1)) SWIG_fail
;
37052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37053 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37067 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37068 PyObject
*resultobj
;
37069 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37071 PyObject
* obj0
= 0 ;
37072 char *kwnames
[] = {
37073 (char *) "self", NULL
37076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
37077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37078 if (SWIG_arg_fail(1)) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37095 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
;
37097 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37098 wxMenu
*arg2
= (wxMenu
*) 0 ;
37099 PyObject
* obj0
= 0 ;
37100 PyObject
* obj1
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self",(char *) "menu", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
37106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37107 if (SWIG_arg_fail(1)) SWIG_fail
;
37108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
37109 if (SWIG_arg_fail(2)) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 (arg1
)->SetSubMenu(arg2
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 Py_INCREF(Py_None
); resultobj
= Py_None
;
37124 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
;
37126 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37128 PyObject
* obj0
= 0 ;
37129 char *kwnames
[] = {
37130 (char *) "self", NULL
37133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
37134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37135 if (SWIG_arg_fail(1)) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= wxPyMake_wxObject(result
, 0);
37152 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
;
37154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37155 bool arg2
= (bool) true ;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 char *kwnames
[] = {
37159 (char *) "self",(char *) "enable", NULL
37162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
37163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37164 if (SWIG_arg_fail(1)) SWIG_fail
;
37167 arg2
= (bool)(SWIG_As_bool(obj1
));
37168 if (SWIG_arg_fail(2)) SWIG_fail
;
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->Enable(arg2
);
37175 wxPyEndAllowThreads(__tstate
);
37176 if (PyErr_Occurred()) SWIG_fail
;
37178 Py_INCREF(Py_None
); resultobj
= Py_None
;
37185 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37186 PyObject
*resultobj
;
37187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37189 PyObject
* obj0
= 0 ;
37190 char *kwnames
[] = {
37191 (char *) "self", NULL
37194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
37195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37196 if (SWIG_arg_fail(1)) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37213 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37216 bool arg2
= (bool) true ;
37217 PyObject
* obj0
= 0 ;
37218 PyObject
* obj1
= 0 ;
37219 char *kwnames
[] = {
37220 (char *) "self",(char *) "check", NULL
37223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
37224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37225 if (SWIG_arg_fail(1)) SWIG_fail
;
37228 arg2
= (bool)(SWIG_As_bool(obj1
));
37229 if (SWIG_arg_fail(2)) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 (arg1
)->Check(arg2
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 Py_INCREF(Py_None
); resultobj
= Py_None
;
37246 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 char *kwnames
[] = {
37252 (char *) "self", NULL
37255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
37256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37257 if (SWIG_arg_fail(1)) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37274 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
;
37276 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37277 PyObject
* obj0
= 0 ;
37278 char *kwnames
[] = {
37279 (char *) "self", NULL
37282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
37283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37284 if (SWIG_arg_fail(1)) SWIG_fail
;
37286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37292 Py_INCREF(Py_None
); resultobj
= Py_None
;
37299 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
;
37301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37302 wxString
*arg2
= 0 ;
37303 bool temp2
= false ;
37304 PyObject
* obj0
= 0 ;
37305 PyObject
* obj1
= 0 ;
37306 char *kwnames
[] = {
37307 (char *) "self",(char *) "str", NULL
37310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
37311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37312 if (SWIG_arg_fail(1)) SWIG_fail
;
37314 arg2
= wxString_in_helper(obj1
);
37315 if (arg2
== NULL
) SWIG_fail
;
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 (arg1
)->SetHelp((wxString
const &)*arg2
);
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 Py_INCREF(Py_None
); resultobj
= Py_None
;
37340 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37344 PyObject
* obj0
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
37350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37355 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
37356 result
= (wxString
*) &_result_ref
;
37359 wxPyEndAllowThreads(__tstate
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37364 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
37366 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
37375 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37378 wxAcceleratorEntry
*result
;
37379 PyObject
* obj0
= 0 ;
37380 char *kwnames
[] = {
37381 (char *) "self", NULL
37384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
37385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37386 if (SWIG_arg_fail(1)) SWIG_fail
;
37388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37389 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
37391 wxPyEndAllowThreads(__tstate
);
37392 if (PyErr_Occurred()) SWIG_fail
;
37394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
37401 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37402 PyObject
*resultobj
;
37403 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37404 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 char *kwnames
[] = {
37408 (char *) "self",(char *) "accel", NULL
37411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
37412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37413 if (SWIG_arg_fail(1)) SWIG_fail
;
37414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
37415 if (SWIG_arg_fail(2)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 (arg1
)->SetAccel(arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 Py_INCREF(Py_None
); resultobj
= Py_None
;
37430 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
;
37432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37434 PyObject
* obj0
= 0 ;
37435 PyObject
* obj1
= 0 ;
37436 char *kwnames
[] = {
37437 (char *) "self",(char *) "font", NULL
37440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
37441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37442 if (SWIG_arg_fail(1)) SWIG_fail
;
37444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
37445 if (SWIG_arg_fail(2)) SWIG_fail
;
37446 if (arg2
== NULL
) {
37447 SWIG_null_ref("wxFont");
37449 if (SWIG_arg_fail(2)) SWIG_fail
;
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 (arg1
)->SetFont((wxFont
const &)*arg2
);
37455 wxPyEndAllowThreads(__tstate
);
37456 if (PyErr_Occurred()) SWIG_fail
;
37458 Py_INCREF(Py_None
); resultobj
= Py_None
;
37465 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
;
37467 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37469 PyObject
* obj0
= 0 ;
37470 char *kwnames
[] = {
37471 (char *) "self", NULL
37474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
37475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37476 if (SWIG_arg_fail(1)) SWIG_fail
;
37478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37479 result
= (arg1
)->GetFont();
37481 wxPyEndAllowThreads(__tstate
);
37482 if (PyErr_Occurred()) SWIG_fail
;
37485 wxFont
* resultptr
;
37486 resultptr
= new wxFont((wxFont
&)(result
));
37487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
37495 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37496 PyObject
*resultobj
;
37497 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37498 wxColour
*arg2
= 0 ;
37500 PyObject
* obj0
= 0 ;
37501 PyObject
* obj1
= 0 ;
37502 char *kwnames
[] = {
37503 (char *) "self",(char *) "colText", NULL
37506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37508 if (SWIG_arg_fail(1)) SWIG_fail
;
37511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37520 Py_INCREF(Py_None
); resultobj
= Py_None
;
37527 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
;
37529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37531 PyObject
* obj0
= 0 ;
37532 char *kwnames
[] = {
37533 (char *) "self", NULL
37536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37538 if (SWIG_arg_fail(1)) SWIG_fail
;
37540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37541 result
= (arg1
)->GetTextColour();
37543 wxPyEndAllowThreads(__tstate
);
37544 if (PyErr_Occurred()) SWIG_fail
;
37547 wxColour
* resultptr
;
37548 resultptr
= new wxColour((wxColour
&)(result
));
37549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37557 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37558 PyObject
*resultobj
;
37559 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37560 wxColour
*arg2
= 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "self",(char *) "colBack", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37570 if (SWIG_arg_fail(1)) SWIG_fail
;
37573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 Py_INCREF(Py_None
); resultobj
= Py_None
;
37589 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37590 PyObject
*resultobj
;
37591 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37593 PyObject
* obj0
= 0 ;
37594 char *kwnames
[] = {
37595 (char *) "self", NULL
37598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37600 if (SWIG_arg_fail(1)) SWIG_fail
;
37602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37603 result
= (arg1
)->GetBackgroundColour();
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37609 wxColour
* resultptr
;
37610 resultptr
= new wxColour((wxColour
&)(result
));
37611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37619 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
;
37621 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37622 wxBitmap
*arg2
= 0 ;
37623 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37624 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 PyObject
* obj2
= 0 ;
37628 char *kwnames
[] = {
37629 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37634 if (SWIG_arg_fail(1)) SWIG_fail
;
37636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37637 if (SWIG_arg_fail(2)) SWIG_fail
;
37638 if (arg2
== NULL
) {
37639 SWIG_null_ref("wxBitmap");
37641 if (SWIG_arg_fail(2)) SWIG_fail
;
37645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37646 if (SWIG_arg_fail(3)) SWIG_fail
;
37647 if (arg3
== NULL
) {
37648 SWIG_null_ref("wxBitmap");
37650 if (SWIG_arg_fail(3)) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37660 Py_INCREF(Py_None
); resultobj
= Py_None
;
37667 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37670 wxBitmap
*arg2
= 0 ;
37671 PyObject
* obj0
= 0 ;
37672 PyObject
* obj1
= 0 ;
37673 char *kwnames
[] = {
37674 (char *) "self",(char *) "bmpDisabled", NULL
37677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37679 if (SWIG_arg_fail(1)) SWIG_fail
;
37681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37682 if (SWIG_arg_fail(2)) SWIG_fail
;
37683 if (arg2
== NULL
) {
37684 SWIG_null_ref("wxBitmap");
37686 if (SWIG_arg_fail(2)) SWIG_fail
;
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 Py_INCREF(Py_None
); resultobj
= Py_None
;
37702 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37703 PyObject
*resultobj
;
37704 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37706 PyObject
* obj0
= 0 ;
37707 char *kwnames
[] = {
37708 (char *) "self", NULL
37711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37713 if (SWIG_arg_fail(1)) SWIG_fail
;
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37718 result
= (wxBitmap
*) &_result_ref
;
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 wxBitmap
* resultptr
= new wxBitmap(*result
);
37726 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37734 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37735 PyObject
*resultobj
;
37736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37738 PyObject
* obj0
= 0 ;
37739 PyObject
* obj1
= 0 ;
37740 char *kwnames
[] = {
37741 (char *) "self",(char *) "nWidth", NULL
37744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37746 if (SWIG_arg_fail(1)) SWIG_fail
;
37748 arg2
= (int)(SWIG_As_int(obj1
));
37749 if (SWIG_arg_fail(2)) SWIG_fail
;
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 (arg1
)->SetMarginWidth(arg2
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37758 Py_INCREF(Py_None
); resultobj
= Py_None
;
37765 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
;
37767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37769 PyObject
* obj0
= 0 ;
37770 char *kwnames
[] = {
37771 (char *) "self", NULL
37774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37776 if (SWIG_arg_fail(1)) SWIG_fail
;
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 result
= (int)(arg1
)->GetMarginWidth();
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37785 resultobj
= SWIG_From_int((int)(result
));
37793 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37796 char *kwnames
[] = {
37800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37805 wxPyEndAllowThreads(__tstate
);
37806 if (PyErr_Occurred()) SWIG_fail
;
37809 resultobj
= SWIG_From_int((int)(result
));
37817 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37818 PyObject
*resultobj
;
37819 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37821 PyObject
* obj0
= 0 ;
37822 char *kwnames
[] = {
37823 (char *) "self", NULL
37826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37828 if (SWIG_arg_fail(1)) SWIG_fail
;
37830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37831 result
= (bool)(arg1
)->IsOwnerDrawn();
37833 wxPyEndAllowThreads(__tstate
);
37834 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37845 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
;
37847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37848 bool arg2
= (bool) true ;
37849 PyObject
* obj0
= 0 ;
37850 PyObject
* obj1
= 0 ;
37851 char *kwnames
[] = {
37852 (char *) "self",(char *) "ownerDrawn", NULL
37855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37857 if (SWIG_arg_fail(1)) SWIG_fail
;
37860 arg2
= (bool)(SWIG_As_bool(obj1
));
37861 if (SWIG_arg_fail(2)) SWIG_fail
;
37865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37866 (arg1
)->SetOwnerDrawn(arg2
);
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37871 Py_INCREF(Py_None
); resultobj
= Py_None
;
37878 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37879 PyObject
*resultobj
;
37880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 char *kwnames
[] = {
37883 (char *) "self", NULL
37886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37888 if (SWIG_arg_fail(1)) SWIG_fail
;
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->ResetOwnerDrawn();
37893 wxPyEndAllowThreads(__tstate
);
37894 if (PyErr_Occurred()) SWIG_fail
;
37896 Py_INCREF(Py_None
); resultobj
= Py_None
;
37903 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37904 PyObject
*resultobj
;
37905 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37906 wxBitmap
*arg2
= 0 ;
37907 PyObject
* obj0
= 0 ;
37908 PyObject
* obj1
= 0 ;
37909 char *kwnames
[] = {
37910 (char *) "self",(char *) "bitmap", NULL
37913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37915 if (SWIG_arg_fail(1)) SWIG_fail
;
37917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37918 if (SWIG_arg_fail(2)) SWIG_fail
;
37919 if (arg2
== NULL
) {
37920 SWIG_null_ref("wxBitmap");
37922 if (SWIG_arg_fail(2)) SWIG_fail
;
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 Py_INCREF(Py_None
); resultobj
= Py_None
;
37938 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
;
37940 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37942 PyObject
* obj0
= 0 ;
37943 char *kwnames
[] = {
37944 (char *) "self", NULL
37947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37949 if (SWIG_arg_fail(1)) SWIG_fail
;
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37954 result
= (wxBitmap
*) &_result_ref
;
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37961 wxBitmap
* resultptr
= new wxBitmap(*result
);
37962 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37970 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37973 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37975 return Py_BuildValue((char *)"");
37977 static int _wrap_ControlNameStr_set(PyObject
*) {
37978 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37983 static PyObject
*_wrap_ControlNameStr_get(void) {
37988 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37990 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37997 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37998 PyObject
*resultobj
;
37999 wxWindow
*arg1
= (wxWindow
*) 0 ;
38000 int arg2
= (int) -1 ;
38001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38005 long arg5
= (long) 0 ;
38006 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38007 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38008 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38013 bool temp7
= false ;
38014 PyObject
* obj0
= 0 ;
38015 PyObject
* obj1
= 0 ;
38016 PyObject
* obj2
= 0 ;
38017 PyObject
* obj3
= 0 ;
38018 PyObject
* obj4
= 0 ;
38019 PyObject
* obj5
= 0 ;
38020 PyObject
* obj6
= 0 ;
38021 char *kwnames
[] = {
38022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38027 if (SWIG_arg_fail(1)) SWIG_fail
;
38030 arg2
= (int)(SWIG_As_int(obj1
));
38031 if (SWIG_arg_fail(2)) SWIG_fail
;
38037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38048 arg5
= (long)(SWIG_As_long(obj4
));
38049 if (SWIG_arg_fail(5)) SWIG_fail
;
38054 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38055 if (SWIG_arg_fail(6)) SWIG_fail
;
38056 if (arg6
== NULL
) {
38057 SWIG_null_ref("wxValidator");
38059 if (SWIG_arg_fail(6)) SWIG_fail
;
38064 arg7
= wxString_in_helper(obj6
);
38065 if (arg7
== NULL
) SWIG_fail
;
38070 if (!wxPyCheckForApp()) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38092 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38093 PyObject
*resultobj
;
38095 char *kwnames
[] = {
38099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
38101 if (!wxPyCheckForApp()) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 result
= (wxControl
*)new wxControl();
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38115 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38116 PyObject
*resultobj
;
38117 wxControl
*arg1
= (wxControl
*) 0 ;
38118 wxWindow
*arg2
= (wxWindow
*) 0 ;
38119 int arg3
= (int) -1 ;
38120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38124 long arg6
= (long) 0 ;
38125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
38126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
38127 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
38128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38132 bool temp8
= false ;
38133 PyObject
* obj0
= 0 ;
38134 PyObject
* obj1
= 0 ;
38135 PyObject
* obj2
= 0 ;
38136 PyObject
* obj3
= 0 ;
38137 PyObject
* obj4
= 0 ;
38138 PyObject
* obj5
= 0 ;
38139 PyObject
* obj6
= 0 ;
38140 PyObject
* obj7
= 0 ;
38141 char *kwnames
[] = {
38142 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
38146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38147 if (SWIG_arg_fail(1)) SWIG_fail
;
38148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38149 if (SWIG_arg_fail(2)) SWIG_fail
;
38152 arg3
= (int)(SWIG_As_int(obj2
));
38153 if (SWIG_arg_fail(3)) SWIG_fail
;
38159 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38165 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38170 arg6
= (long)(SWIG_As_long(obj5
));
38171 if (SWIG_arg_fail(6)) SWIG_fail
;
38176 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38177 if (SWIG_arg_fail(7)) SWIG_fail
;
38178 if (arg7
== NULL
) {
38179 SWIG_null_ref("wxValidator");
38181 if (SWIG_arg_fail(7)) SWIG_fail
;
38186 arg8
= wxString_in_helper(obj7
);
38187 if (arg8
== NULL
) SWIG_fail
;
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38215 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38216 PyObject
*resultobj
;
38217 wxControl
*arg1
= (wxControl
*) 0 ;
38218 wxCommandEvent
*arg2
= 0 ;
38219 PyObject
* obj0
= 0 ;
38220 PyObject
* obj1
= 0 ;
38221 char *kwnames
[] = {
38222 (char *) "self",(char *) "event", NULL
38225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
38226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38227 if (SWIG_arg_fail(1)) SWIG_fail
;
38229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
38230 if (SWIG_arg_fail(2)) SWIG_fail
;
38231 if (arg2
== NULL
) {
38232 SWIG_null_ref("wxCommandEvent");
38234 if (SWIG_arg_fail(2)) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 (arg1
)->Command(*arg2
);
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38243 Py_INCREF(Py_None
); resultobj
= Py_None
;
38250 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38251 PyObject
*resultobj
;
38252 wxControl
*arg1
= (wxControl
*) 0 ;
38254 PyObject
* obj0
= 0 ;
38255 char *kwnames
[] = {
38256 (char *) "self", NULL
38259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
38260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38261 if (SWIG_arg_fail(1)) SWIG_fail
;
38263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38264 result
= (arg1
)->GetLabel();
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38282 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38283 PyObject
*resultobj
;
38284 wxControl
*arg1
= (wxControl
*) 0 ;
38285 wxString
*arg2
= 0 ;
38286 bool temp2
= false ;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38289 char *kwnames
[] = {
38290 (char *) "self",(char *) "label", NULL
38293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
38294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38295 if (SWIG_arg_fail(1)) SWIG_fail
;
38297 arg2
= wxString_in_helper(obj1
);
38298 if (arg2
== NULL
) SWIG_fail
;
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 (arg1
)->SetLabel((wxString
const &)*arg2
);
38305 wxPyEndAllowThreads(__tstate
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38308 Py_INCREF(Py_None
); resultobj
= Py_None
;
38323 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38324 PyObject
*resultobj
;
38325 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38326 wxVisualAttributes result
;
38327 PyObject
* obj0
= 0 ;
38328 char *kwnames
[] = {
38329 (char *) "variant", NULL
38332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
38335 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
38336 if (SWIG_arg_fail(1)) SWIG_fail
;
38340 if (!wxPyCheckForApp()) SWIG_fail
;
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38348 wxVisualAttributes
* resultptr
;
38349 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
38350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
38358 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
38360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38361 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
38363 return Py_BuildValue((char *)"");
38365 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
;
38367 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38368 wxString
*arg2
= 0 ;
38369 PyObject
*arg3
= (PyObject
*) NULL
;
38371 bool temp2
= false ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 PyObject
* obj2
= 0 ;
38375 char *kwnames
[] = {
38376 (char *) "self",(char *) "item",(char *) "clientData", NULL
38379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38381 if (SWIG_arg_fail(1)) SWIG_fail
;
38383 arg2
= wxString_in_helper(obj1
);
38384 if (arg2
== NULL
) SWIG_fail
;
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38398 resultobj
= SWIG_From_int((int)(result
));
38414 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38415 PyObject
*resultobj
;
38416 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38417 wxArrayString
*arg2
= 0 ;
38418 bool temp2
= false ;
38419 PyObject
* obj0
= 0 ;
38420 PyObject
* obj1
= 0 ;
38421 char *kwnames
[] = {
38422 (char *) "self",(char *) "strings", NULL
38425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
38426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38427 if (SWIG_arg_fail(1)) SWIG_fail
;
38429 if (! PySequence_Check(obj1
)) {
38430 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38433 arg2
= new wxArrayString
;
38435 int i
, len
=PySequence_Length(obj1
);
38436 for (i
=0; i
<len
; i
++) {
38437 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38438 wxString
* s
= wxString_in_helper(item
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 (arg1
)->Append((wxArrayString
const &)*arg2
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 Py_INCREF(Py_None
); resultobj
= Py_None
;
38454 if (temp2
) delete arg2
;
38459 if (temp2
) delete arg2
;
38465 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38466 PyObject
*resultobj
;
38467 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38468 wxString
*arg2
= 0 ;
38470 PyObject
*arg4
= (PyObject
*) NULL
;
38472 bool temp2
= false ;
38473 PyObject
* obj0
= 0 ;
38474 PyObject
* obj1
= 0 ;
38475 PyObject
* obj2
= 0 ;
38476 PyObject
* obj3
= 0 ;
38477 char *kwnames
[] = {
38478 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
38481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38483 if (SWIG_arg_fail(1)) SWIG_fail
;
38485 arg2
= wxString_in_helper(obj1
);
38486 if (arg2
== NULL
) SWIG_fail
;
38490 arg3
= (int)(SWIG_As_int(obj2
));
38491 if (SWIG_arg_fail(3)) SWIG_fail
;
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38504 resultobj
= SWIG_From_int((int)(result
));
38520 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38523 PyObject
* obj0
= 0 ;
38524 char *kwnames
[] = {
38525 (char *) "self", NULL
38528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
38529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38530 if (SWIG_arg_fail(1)) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38538 Py_INCREF(Py_None
); resultobj
= Py_None
;
38545 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38546 PyObject
*resultobj
;
38547 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38549 PyObject
* obj0
= 0 ;
38550 PyObject
* obj1
= 0 ;
38551 char *kwnames
[] = {
38552 (char *) "self",(char *) "n", NULL
38555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38557 if (SWIG_arg_fail(1)) SWIG_fail
;
38559 arg2
= (int)(SWIG_As_int(obj1
));
38560 if (SWIG_arg_fail(2)) SWIG_fail
;
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 (arg1
)->Delete(arg2
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 Py_INCREF(Py_None
); resultobj
= Py_None
;
38576 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
;
38578 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38581 PyObject
* obj0
= 0 ;
38582 PyObject
* obj1
= 0 ;
38583 char *kwnames
[] = {
38584 (char *) "self",(char *) "n", NULL
38587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38589 if (SWIG_arg_fail(1)) SWIG_fail
;
38591 arg2
= (int)(SWIG_As_int(obj1
));
38592 if (SWIG_arg_fail(2)) SWIG_fail
;
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38598 wxPyEndAllowThreads(__tstate
);
38599 if (PyErr_Occurred()) SWIG_fail
;
38601 resultobj
= result
;
38608 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38609 PyObject
*resultobj
;
38610 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38612 PyObject
*arg3
= (PyObject
*) 0 ;
38613 PyObject
* obj0
= 0 ;
38614 PyObject
* obj1
= 0 ;
38615 PyObject
* obj2
= 0 ;
38616 char *kwnames
[] = {
38617 (char *) "self",(char *) "n",(char *) "clientData", NULL
38620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38622 if (SWIG_arg_fail(1)) SWIG_fail
;
38624 arg2
= (int)(SWIG_As_int(obj1
));
38625 if (SWIG_arg_fail(2)) SWIG_fail
;
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38635 Py_INCREF(Py_None
); resultobj
= Py_None
;
38642 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38643 PyObject
*resultobj
;
38644 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38646 PyObject
* obj0
= 0 ;
38647 char *kwnames
[] = {
38648 (char *) "self", NULL
38651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38653 if (SWIG_arg_fail(1)) SWIG_fail
;
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38658 wxPyEndAllowThreads(__tstate
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38662 resultobj
= SWIG_From_int((int)(result
));
38670 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
;
38672 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38674 PyObject
* obj0
= 0 ;
38675 char *kwnames
[] = {
38676 (char *) "self", NULL
38679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38681 if (SWIG_arg_fail(1)) SWIG_fail
;
38683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38684 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38686 wxPyEndAllowThreads(__tstate
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38698 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
;
38700 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38703 PyObject
* obj0
= 0 ;
38704 PyObject
* obj1
= 0 ;
38705 char *kwnames
[] = {
38706 (char *) "self",(char *) "n", NULL
38709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38711 if (SWIG_arg_fail(1)) SWIG_fail
;
38713 arg2
= (int)(SWIG_As_int(obj1
));
38714 if (SWIG_arg_fail(2)) SWIG_fail
;
38717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38718 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38720 wxPyEndAllowThreads(__tstate
);
38721 if (PyErr_Occurred()) SWIG_fail
;
38725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38736 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38737 PyObject
*resultobj
;
38738 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38739 wxArrayString result
;
38740 PyObject
* obj0
= 0 ;
38741 char *kwnames
[] = {
38742 (char *) "self", NULL
38745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38747 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38756 resultobj
= wxArrayString2PyList_helper(result
);
38764 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38765 PyObject
*resultobj
;
38766 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38768 wxString
*arg3
= 0 ;
38769 bool temp3
= false ;
38770 PyObject
* obj0
= 0 ;
38771 PyObject
* obj1
= 0 ;
38772 PyObject
* obj2
= 0 ;
38773 char *kwnames
[] = {
38774 (char *) "self",(char *) "n",(char *) "s", NULL
38777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38779 if (SWIG_arg_fail(1)) SWIG_fail
;
38781 arg2
= (int)(SWIG_As_int(obj1
));
38782 if (SWIG_arg_fail(2)) SWIG_fail
;
38785 arg3
= wxString_in_helper(obj2
);
38786 if (arg3
== NULL
) SWIG_fail
;
38790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38791 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38793 wxPyEndAllowThreads(__tstate
);
38794 if (PyErr_Occurred()) SWIG_fail
;
38796 Py_INCREF(Py_None
); resultobj
= Py_None
;
38811 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38812 PyObject
*resultobj
;
38813 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38814 wxString
*arg2
= 0 ;
38816 bool temp2
= false ;
38817 PyObject
* obj0
= 0 ;
38818 PyObject
* obj1
= 0 ;
38819 char *kwnames
[] = {
38820 (char *) "self",(char *) "s", NULL
38823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38825 if (SWIG_arg_fail(1)) SWIG_fail
;
38827 arg2
= wxString_in_helper(obj1
);
38828 if (arg2
== NULL
) SWIG_fail
;
38832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38833 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38835 wxPyEndAllowThreads(__tstate
);
38836 if (PyErr_Occurred()) SWIG_fail
;
38839 resultobj
= SWIG_From_int((int)(result
));
38855 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38856 PyObject
*resultobj
;
38857 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38859 PyObject
* obj0
= 0 ;
38860 PyObject
* obj1
= 0 ;
38861 char *kwnames
[] = {
38862 (char *) "self",(char *) "n", NULL
38865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38867 if (SWIG_arg_fail(1)) SWIG_fail
;
38869 arg2
= (int)(SWIG_As_int(obj1
));
38870 if (SWIG_arg_fail(2)) SWIG_fail
;
38873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38874 (arg1
)->SetSelection(arg2
);
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38879 Py_INCREF(Py_None
); resultobj
= Py_None
;
38886 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38887 PyObject
*resultobj
;
38888 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38890 PyObject
* obj0
= 0 ;
38891 char *kwnames
[] = {
38892 (char *) "self", NULL
38895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38897 if (SWIG_arg_fail(1)) SWIG_fail
;
38899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38900 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38902 wxPyEndAllowThreads(__tstate
);
38903 if (PyErr_Occurred()) SWIG_fail
;
38906 resultobj
= SWIG_From_int((int)(result
));
38914 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38915 PyObject
*resultobj
;
38916 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38917 wxString
*arg2
= 0 ;
38919 bool temp2
= false ;
38920 PyObject
* obj0
= 0 ;
38921 PyObject
* obj1
= 0 ;
38922 char *kwnames
[] = {
38923 (char *) "self",(char *) "s", NULL
38926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38928 if (SWIG_arg_fail(1)) SWIG_fail
;
38930 arg2
= wxString_in_helper(obj1
);
38931 if (arg2
== NULL
) SWIG_fail
;
38935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38936 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38958 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
;
38960 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38962 PyObject
* obj0
= 0 ;
38963 char *kwnames
[] = {
38964 (char *) "self", NULL
38967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38969 if (SWIG_arg_fail(1)) SWIG_fail
;
38971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38972 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38974 wxPyEndAllowThreads(__tstate
);
38975 if (PyErr_Occurred()) SWIG_fail
;
38979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38990 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38991 PyObject
*resultobj
;
38992 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38994 PyObject
* obj0
= 0 ;
38995 PyObject
* obj1
= 0 ;
38996 char *kwnames
[] = {
38997 (char *) "self",(char *) "n", NULL
39000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
39001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
39002 if (SWIG_arg_fail(1)) SWIG_fail
;
39004 arg2
= (int)(SWIG_As_int(obj1
));
39005 if (SWIG_arg_fail(2)) SWIG_fail
;
39008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39009 (arg1
)->Select(arg2
);
39011 wxPyEndAllowThreads(__tstate
);
39012 if (PyErr_Occurred()) SWIG_fail
;
39014 Py_INCREF(Py_None
); resultobj
= Py_None
;
39021 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
39023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39024 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
39026 return Py_BuildValue((char *)"");
39028 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
39030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39031 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
39033 return Py_BuildValue((char *)"");
39035 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39036 PyObject
*resultobj
;
39037 wxSizerItem
*result
;
39038 char *kwnames
[] = {
39042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 result
= (wxSizerItem
*)new wxSizerItem();
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39057 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
;
39059 wxWindow
*arg1
= (wxWindow
*) 0 ;
39063 PyObject
*arg5
= (PyObject
*) NULL
;
39064 wxSizerItem
*result
;
39065 PyObject
* obj0
= 0 ;
39066 PyObject
* obj1
= 0 ;
39067 PyObject
* obj2
= 0 ;
39068 PyObject
* obj3
= 0 ;
39069 PyObject
* obj4
= 0 ;
39070 char *kwnames
[] = {
39071 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39076 if (SWIG_arg_fail(1)) SWIG_fail
;
39078 arg2
= (int)(SWIG_As_int(obj1
));
39079 if (SWIG_arg_fail(2)) SWIG_fail
;
39082 arg3
= (int)(SWIG_As_int(obj2
));
39083 if (SWIG_arg_fail(3)) SWIG_fail
;
39086 arg4
= (int)(SWIG_As_int(obj3
));
39087 if (SWIG_arg_fail(4)) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39106 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39107 PyObject
*resultobj
;
39113 PyObject
*arg6
= (PyObject
*) NULL
;
39114 wxSizerItem
*result
;
39115 PyObject
* obj0
= 0 ;
39116 PyObject
* obj1
= 0 ;
39117 PyObject
* obj2
= 0 ;
39118 PyObject
* obj3
= 0 ;
39119 PyObject
* obj4
= 0 ;
39120 PyObject
* obj5
= 0 ;
39121 char *kwnames
[] = {
39122 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39127 arg1
= (int)(SWIG_As_int(obj0
));
39128 if (SWIG_arg_fail(1)) SWIG_fail
;
39131 arg2
= (int)(SWIG_As_int(obj1
));
39132 if (SWIG_arg_fail(2)) SWIG_fail
;
39135 arg3
= (int)(SWIG_As_int(obj2
));
39136 if (SWIG_arg_fail(3)) SWIG_fail
;
39139 arg4
= (int)(SWIG_As_int(obj3
));
39140 if (SWIG_arg_fail(4)) SWIG_fail
;
39143 arg5
= (int)(SWIG_As_int(obj4
));
39144 if (SWIG_arg_fail(5)) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39163 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxSizer
*arg1
= (wxSizer
*) 0 ;
39169 PyObject
*arg5
= (PyObject
*) NULL
;
39170 wxSizerItem
*result
;
39171 PyObject
* obj0
= 0 ;
39172 PyObject
* obj1
= 0 ;
39173 PyObject
* obj2
= 0 ;
39174 PyObject
* obj3
= 0 ;
39175 PyObject
* obj4
= 0 ;
39176 char *kwnames
[] = {
39177 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39182 if (SWIG_arg_fail(1)) SWIG_fail
;
39184 arg2
= (int)(SWIG_As_int(obj1
));
39185 if (SWIG_arg_fail(2)) SWIG_fail
;
39188 arg3
= (int)(SWIG_As_int(obj2
));
39189 if (SWIG_arg_fail(3)) SWIG_fail
;
39192 arg4
= (int)(SWIG_As_int(obj3
));
39193 if (SWIG_arg_fail(4)) SWIG_fail
;
39199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39200 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39202 wxPyEndAllowThreads(__tstate
);
39203 if (PyErr_Occurred()) SWIG_fail
;
39205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39212 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39213 PyObject
*resultobj
;
39214 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39215 PyObject
* obj0
= 0 ;
39216 char *kwnames
[] = {
39217 (char *) "self", NULL
39220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39222 if (SWIG_arg_fail(1)) SWIG_fail
;
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 (arg1
)->DeleteWindows();
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 Py_INCREF(Py_None
); resultobj
= Py_None
;
39237 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
;
39239 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39240 PyObject
* obj0
= 0 ;
39241 char *kwnames
[] = {
39242 (char *) "self", NULL
39245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
39246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39247 if (SWIG_arg_fail(1)) SWIG_fail
;
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 (arg1
)->DetachSizer();
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 Py_INCREF(Py_None
); resultobj
= Py_None
;
39262 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
;
39264 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39266 PyObject
* obj0
= 0 ;
39267 char *kwnames
[] = {
39268 (char *) "self", NULL
39271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
39272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39273 if (SWIG_arg_fail(1)) SWIG_fail
;
39275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39276 result
= (arg1
)->GetSize();
39278 wxPyEndAllowThreads(__tstate
);
39279 if (PyErr_Occurred()) SWIG_fail
;
39282 wxSize
* resultptr
;
39283 resultptr
= new wxSize((wxSize
&)(result
));
39284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39292 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39293 PyObject
*resultobj
;
39294 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39296 PyObject
* obj0
= 0 ;
39297 char *kwnames
[] = {
39298 (char *) "self", NULL
39301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
39302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39303 if (SWIG_arg_fail(1)) SWIG_fail
;
39305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39306 result
= (arg1
)->CalcMin();
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39312 wxSize
* resultptr
;
39313 resultptr
= new wxSize((wxSize
&)(result
));
39314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39322 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39323 PyObject
*resultobj
;
39324 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39327 PyObject
* obj0
= 0 ;
39328 PyObject
* obj1
= 0 ;
39329 PyObject
* obj2
= 0 ;
39330 char *kwnames
[] = {
39331 (char *) "self",(char *) "pos",(char *) "size", NULL
39334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39336 if (SWIG_arg_fail(1)) SWIG_fail
;
39339 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
39340 if (SWIG_arg_fail(2)) SWIG_fail
;
39341 if (argp
== NULL
) {
39342 SWIG_null_ref("wxPoint");
39344 if (SWIG_arg_fail(2)) SWIG_fail
;
39349 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
39350 if (SWIG_arg_fail(3)) SWIG_fail
;
39351 if (argp
== NULL
) {
39352 SWIG_null_ref("wxSize");
39354 if (SWIG_arg_fail(3)) SWIG_fail
;
39358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39359 (arg1
)->SetDimension(arg2
,arg3
);
39361 wxPyEndAllowThreads(__tstate
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39364 Py_INCREF(Py_None
); resultobj
= Py_None
;
39371 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39372 PyObject
*resultobj
;
39373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39375 PyObject
* obj0
= 0 ;
39376 char *kwnames
[] = {
39377 (char *) "self", NULL
39380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
39381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39382 if (SWIG_arg_fail(1)) SWIG_fail
;
39384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39385 result
= (arg1
)->GetMinSize();
39387 wxPyEndAllowThreads(__tstate
);
39388 if (PyErr_Occurred()) SWIG_fail
;
39391 wxSize
* resultptr
;
39392 resultptr
= new wxSize((wxSize
&)(result
));
39393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39401 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
;
39403 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39405 PyObject
* obj0
= 0 ;
39406 char *kwnames
[] = {
39407 (char *) "self", NULL
39410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
39411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39412 if (SWIG_arg_fail(1)) SWIG_fail
;
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
39417 wxPyEndAllowThreads(__tstate
);
39418 if (PyErr_Occurred()) SWIG_fail
;
39421 wxSize
* resultptr
;
39422 resultptr
= new wxSize((wxSize
&)(result
));
39423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39431 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
;
39433 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 PyObject
* obj2
= 0 ;
39439 char *kwnames
[] = {
39440 (char *) "self",(char *) "x",(char *) "y", NULL
39443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39445 if (SWIG_arg_fail(1)) SWIG_fail
;
39447 arg2
= (int)(SWIG_As_int(obj1
));
39448 if (SWIG_arg_fail(2)) SWIG_fail
;
39451 arg3
= (int)(SWIG_As_int(obj2
));
39452 if (SWIG_arg_fail(3)) SWIG_fail
;
39455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39456 (arg1
)->SetInitSize(arg2
,arg3
);
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39461 Py_INCREF(Py_None
); resultobj
= Py_None
;
39468 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39469 PyObject
*resultobj
;
39470 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39473 PyObject
* obj0
= 0 ;
39474 PyObject
* obj1
= 0 ;
39475 PyObject
* obj2
= 0 ;
39476 char *kwnames
[] = {
39477 (char *) "self",(char *) "width",(char *) "height", NULL
39480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39482 if (SWIG_arg_fail(1)) SWIG_fail
;
39484 arg2
= (int)(SWIG_As_int(obj1
));
39485 if (SWIG_arg_fail(2)) SWIG_fail
;
39488 arg3
= (int)(SWIG_As_int(obj2
));
39489 if (SWIG_arg_fail(3)) SWIG_fail
;
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 (arg1
)->SetRatio(arg2
,arg3
);
39495 wxPyEndAllowThreads(__tstate
);
39496 if (PyErr_Occurred()) SWIG_fail
;
39498 Py_INCREF(Py_None
); resultobj
= Py_None
;
39505 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
;
39507 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 PyObject
* obj1
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self",(char *) "size", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39518 if (SWIG_arg_fail(1)) SWIG_fail
;
39521 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39525 (arg1
)->SetRatio((wxSize
const &)*arg2
);
39527 wxPyEndAllowThreads(__tstate
);
39528 if (PyErr_Occurred()) SWIG_fail
;
39530 Py_INCREF(Py_None
); resultobj
= Py_None
;
39537 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39538 PyObject
*resultobj
;
39539 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39541 PyObject
* obj0
= 0 ;
39542 PyObject
* obj1
= 0 ;
39543 char *kwnames
[] = {
39544 (char *) "self",(char *) "ratio", NULL
39547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39549 if (SWIG_arg_fail(1)) SWIG_fail
;
39551 arg2
= (float)(SWIG_As_float(obj1
));
39552 if (SWIG_arg_fail(2)) SWIG_fail
;
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39556 (arg1
)->SetRatio(arg2
);
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39561 Py_INCREF(Py_None
); resultobj
= Py_None
;
39568 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39569 PyObject
*resultobj
;
39570 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39572 PyObject
* obj0
= 0 ;
39573 char *kwnames
[] = {
39574 (char *) "self", NULL
39577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39579 if (SWIG_arg_fail(1)) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 result
= (float)(arg1
)->GetRatio();
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39588 resultobj
= SWIG_From_float((float)(result
));
39596 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39600 PyObject
* obj0
= 0 ;
39601 char *kwnames
[] = {
39602 (char *) "self", NULL
39605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39607 if (SWIG_arg_fail(1)) SWIG_fail
;
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 result
= (arg1
)->GetRect();
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39616 wxRect
* resultptr
;
39617 resultptr
= new wxRect((wxRect
&)(result
));
39618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39626 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39627 PyObject
*resultobj
;
39628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39630 PyObject
* obj0
= 0 ;
39631 char *kwnames
[] = {
39632 (char *) "self", NULL
39635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39637 if (SWIG_arg_fail(1)) SWIG_fail
;
39639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39640 result
= (bool)(arg1
)->IsWindow();
39642 wxPyEndAllowThreads(__tstate
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39654 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39655 PyObject
*resultobj
;
39656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39658 PyObject
* obj0
= 0 ;
39659 char *kwnames
[] = {
39660 (char *) "self", NULL
39663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39665 if (SWIG_arg_fail(1)) SWIG_fail
;
39667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39668 result
= (bool)(arg1
)->IsSizer();
39670 wxPyEndAllowThreads(__tstate
);
39671 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39682 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39683 PyObject
*resultobj
;
39684 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39686 PyObject
* obj0
= 0 ;
39687 char *kwnames
[] = {
39688 (char *) "self", NULL
39691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39693 if (SWIG_arg_fail(1)) SWIG_fail
;
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 result
= (bool)(arg1
)->IsSpacer();
39698 wxPyEndAllowThreads(__tstate
);
39699 if (PyErr_Occurred()) SWIG_fail
;
39702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39710 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39711 PyObject
*resultobj
;
39712 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39714 PyObject
* obj0
= 0 ;
39715 PyObject
* obj1
= 0 ;
39716 char *kwnames
[] = {
39717 (char *) "self",(char *) "proportion", NULL
39720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39722 if (SWIG_arg_fail(1)) SWIG_fail
;
39724 arg2
= (int)(SWIG_As_int(obj1
));
39725 if (SWIG_arg_fail(2)) SWIG_fail
;
39728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39729 (arg1
)->SetProportion(arg2
);
39731 wxPyEndAllowThreads(__tstate
);
39732 if (PyErr_Occurred()) SWIG_fail
;
39734 Py_INCREF(Py_None
); resultobj
= Py_None
;
39741 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39742 PyObject
*resultobj
;
39743 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39745 PyObject
* obj0
= 0 ;
39746 char *kwnames
[] = {
39747 (char *) "self", NULL
39750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39752 if (SWIG_arg_fail(1)) SWIG_fail
;
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 result
= (int)(arg1
)->GetProportion();
39757 wxPyEndAllowThreads(__tstate
);
39758 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_From_int((int)(result
));
39769 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39770 PyObject
*resultobj
;
39771 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39773 PyObject
* obj0
= 0 ;
39774 PyObject
* obj1
= 0 ;
39775 char *kwnames
[] = {
39776 (char *) "self",(char *) "flag", NULL
39779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39781 if (SWIG_arg_fail(1)) SWIG_fail
;
39783 arg2
= (int)(SWIG_As_int(obj1
));
39784 if (SWIG_arg_fail(2)) SWIG_fail
;
39787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39788 (arg1
)->SetFlag(arg2
);
39790 wxPyEndAllowThreads(__tstate
);
39791 if (PyErr_Occurred()) SWIG_fail
;
39793 Py_INCREF(Py_None
); resultobj
= Py_None
;
39800 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39801 PyObject
*resultobj
;
39802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39804 PyObject
* obj0
= 0 ;
39805 char *kwnames
[] = {
39806 (char *) "self", NULL
39809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39811 if (SWIG_arg_fail(1)) SWIG_fail
;
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (int)(arg1
)->GetFlag();
39816 wxPyEndAllowThreads(__tstate
);
39817 if (PyErr_Occurred()) SWIG_fail
;
39820 resultobj
= SWIG_From_int((int)(result
));
39828 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
;
39830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39832 PyObject
* obj0
= 0 ;
39833 PyObject
* obj1
= 0 ;
39834 char *kwnames
[] = {
39835 (char *) "self",(char *) "border", NULL
39838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39840 if (SWIG_arg_fail(1)) SWIG_fail
;
39842 arg2
= (int)(SWIG_As_int(obj1
));
39843 if (SWIG_arg_fail(2)) SWIG_fail
;
39846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 (arg1
)->SetBorder(arg2
);
39849 wxPyEndAllowThreads(__tstate
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 Py_INCREF(Py_None
); resultobj
= Py_None
;
39859 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39863 PyObject
* obj0
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39870 if (SWIG_arg_fail(1)) SWIG_fail
;
39872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39873 result
= (int)(arg1
)->GetBorder();
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39879 resultobj
= SWIG_From_int((int)(result
));
39887 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39888 PyObject
*resultobj
;
39889 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39891 PyObject
* obj0
= 0 ;
39892 char *kwnames
[] = {
39893 (char *) "self", NULL
39896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39898 if (SWIG_arg_fail(1)) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 result
= (wxWindow
*)(arg1
)->GetWindow();
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39907 resultobj
= wxPyMake_wxObject(result
, 0);
39915 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39918 wxWindow
*arg2
= (wxWindow
*) 0 ;
39919 PyObject
* obj0
= 0 ;
39920 PyObject
* obj1
= 0 ;
39921 char *kwnames
[] = {
39922 (char *) "self",(char *) "window", NULL
39925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39927 if (SWIG_arg_fail(1)) SWIG_fail
;
39928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39929 if (SWIG_arg_fail(2)) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 (arg1
)->SetWindow(arg2
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39937 Py_INCREF(Py_None
); resultobj
= Py_None
;
39944 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39945 PyObject
*resultobj
;
39946 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39948 PyObject
* obj0
= 0 ;
39949 char *kwnames
[] = {
39950 (char *) "self", NULL
39953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39955 if (SWIG_arg_fail(1)) SWIG_fail
;
39957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39958 result
= (wxSizer
*)(arg1
)->GetSizer();
39960 wxPyEndAllowThreads(__tstate
);
39961 if (PyErr_Occurred()) SWIG_fail
;
39964 resultobj
= wxPyMake_wxObject(result
, 0);
39972 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39973 PyObject
*resultobj
;
39974 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39975 wxSizer
*arg2
= (wxSizer
*) 0 ;
39976 PyObject
* obj0
= 0 ;
39977 PyObject
* obj1
= 0 ;
39978 char *kwnames
[] = {
39979 (char *) "self",(char *) "sizer", NULL
39982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39984 if (SWIG_arg_fail(1)) SWIG_fail
;
39985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39986 if (SWIG_arg_fail(2)) SWIG_fail
;
39988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39989 (arg1
)->SetSizer(arg2
);
39991 wxPyEndAllowThreads(__tstate
);
39992 if (PyErr_Occurred()) SWIG_fail
;
39994 Py_INCREF(Py_None
); resultobj
= Py_None
;
40001 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40002 PyObject
*resultobj
;
40003 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40005 PyObject
* obj0
= 0 ;
40006 char *kwnames
[] = {
40007 (char *) "self", NULL
40010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
40011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40012 if (SWIG_arg_fail(1)) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40016 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
40017 result
= (wxSize
*) &_result_ref
;
40020 wxPyEndAllowThreads(__tstate
);
40021 if (PyErr_Occurred()) SWIG_fail
;
40023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
40030 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
;
40032 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40035 PyObject
* obj0
= 0 ;
40036 PyObject
* obj1
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self",(char *) "size", NULL
40041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
40042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40043 if (SWIG_arg_fail(1)) SWIG_fail
;
40046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40050 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
40052 wxPyEndAllowThreads(__tstate
);
40053 if (PyErr_Occurred()) SWIG_fail
;
40055 Py_INCREF(Py_None
); resultobj
= Py_None
;
40062 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40063 PyObject
*resultobj
;
40064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 char *kwnames
[] = {
40069 (char *) "self",(char *) "show", NULL
40072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
40073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40074 if (SWIG_arg_fail(1)) SWIG_fail
;
40076 arg2
= (bool)(SWIG_As_bool(obj1
));
40077 if (SWIG_arg_fail(2)) SWIG_fail
;
40080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40081 (arg1
)->Show(arg2
);
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40086 Py_INCREF(Py_None
); resultobj
= Py_None
;
40093 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 char *kwnames
[] = {
40099 (char *) "self", NULL
40102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
40103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40104 if (SWIG_arg_fail(1)) SWIG_fail
;
40106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40107 result
= (bool)(arg1
)->IsShown();
40109 wxPyEndAllowThreads(__tstate
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40121 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
;
40123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 char *kwnames
[] = {
40127 (char *) "self", NULL
40130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
40131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40132 if (SWIG_arg_fail(1)) SWIG_fail
;
40134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40135 result
= (arg1
)->GetPosition();
40137 wxPyEndAllowThreads(__tstate
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40141 wxPoint
* resultptr
;
40142 resultptr
= new wxPoint((wxPoint
&)(result
));
40143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40151 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40152 PyObject
*resultobj
;
40153 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40155 PyObject
* obj0
= 0 ;
40156 char *kwnames
[] = {
40157 (char *) "self", NULL
40160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
40161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40162 if (SWIG_arg_fail(1)) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40170 resultobj
= result
;
40177 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
40179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40180 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
40182 return Py_BuildValue((char *)"");
40184 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40185 PyObject
*resultobj
;
40186 wxSizer
*arg1
= (wxSizer
*) 0 ;
40187 PyObject
*arg2
= (PyObject
*) 0 ;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 char *kwnames
[] = {
40191 (char *) "self",(char *) "_self", NULL
40194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
40195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40196 if (SWIG_arg_fail(1)) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 wxSizer__setOORInfo(arg1
,arg2
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 Py_INCREF(Py_None
); resultobj
= Py_None
;
40212 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxSizer
*arg1
= (wxSizer
*) 0 ;
40215 PyObject
*arg2
= (PyObject
*) 0 ;
40216 int arg3
= (int) 0 ;
40217 int arg4
= (int) 0 ;
40218 int arg5
= (int) 0 ;
40219 PyObject
*arg6
= (PyObject
*) NULL
;
40220 wxSizerItem
*result
;
40221 PyObject
* obj0
= 0 ;
40222 PyObject
* obj1
= 0 ;
40223 PyObject
* obj2
= 0 ;
40224 PyObject
* obj3
= 0 ;
40225 PyObject
* obj4
= 0 ;
40226 PyObject
* obj5
= 0 ;
40227 char *kwnames
[] = {
40228 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40233 if (SWIG_arg_fail(1)) SWIG_fail
;
40237 arg3
= (int)(SWIG_As_int(obj2
));
40238 if (SWIG_arg_fail(3)) SWIG_fail
;
40243 arg4
= (int)(SWIG_As_int(obj3
));
40244 if (SWIG_arg_fail(4)) SWIG_fail
;
40249 arg5
= (int)(SWIG_As_int(obj4
));
40250 if (SWIG_arg_fail(5)) SWIG_fail
;
40257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40258 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40260 wxPyEndAllowThreads(__tstate
);
40261 if (PyErr_Occurred()) SWIG_fail
;
40263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40270 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40271 PyObject
*resultobj
;
40272 wxSizer
*arg1
= (wxSizer
*) 0 ;
40274 PyObject
*arg3
= (PyObject
*) 0 ;
40275 int arg4
= (int) 0 ;
40276 int arg5
= (int) 0 ;
40277 int arg6
= (int) 0 ;
40278 PyObject
*arg7
= (PyObject
*) NULL
;
40279 wxSizerItem
*result
;
40280 PyObject
* obj0
= 0 ;
40281 PyObject
* obj1
= 0 ;
40282 PyObject
* obj2
= 0 ;
40283 PyObject
* obj3
= 0 ;
40284 PyObject
* obj4
= 0 ;
40285 PyObject
* obj5
= 0 ;
40286 PyObject
* obj6
= 0 ;
40287 char *kwnames
[] = {
40288 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
40292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40293 if (SWIG_arg_fail(1)) SWIG_fail
;
40295 arg2
= (int)(SWIG_As_int(obj1
));
40296 if (SWIG_arg_fail(2)) SWIG_fail
;
40301 arg4
= (int)(SWIG_As_int(obj3
));
40302 if (SWIG_arg_fail(4)) SWIG_fail
;
40307 arg5
= (int)(SWIG_As_int(obj4
));
40308 if (SWIG_arg_fail(5)) SWIG_fail
;
40313 arg6
= (int)(SWIG_As_int(obj5
));
40314 if (SWIG_arg_fail(6)) SWIG_fail
;
40321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40322 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
40324 wxPyEndAllowThreads(__tstate
);
40325 if (PyErr_Occurred()) SWIG_fail
;
40327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40334 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40335 PyObject
*resultobj
;
40336 wxSizer
*arg1
= (wxSizer
*) 0 ;
40337 PyObject
*arg2
= (PyObject
*) 0 ;
40338 int arg3
= (int) 0 ;
40339 int arg4
= (int) 0 ;
40340 int arg5
= (int) 0 ;
40341 PyObject
*arg6
= (PyObject
*) NULL
;
40342 wxSizerItem
*result
;
40343 PyObject
* obj0
= 0 ;
40344 PyObject
* obj1
= 0 ;
40345 PyObject
* obj2
= 0 ;
40346 PyObject
* obj3
= 0 ;
40347 PyObject
* obj4
= 0 ;
40348 PyObject
* obj5
= 0 ;
40349 char *kwnames
[] = {
40350 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40355 if (SWIG_arg_fail(1)) SWIG_fail
;
40359 arg3
= (int)(SWIG_As_int(obj2
));
40360 if (SWIG_arg_fail(3)) SWIG_fail
;
40365 arg4
= (int)(SWIG_As_int(obj3
));
40366 if (SWIG_arg_fail(4)) SWIG_fail
;
40371 arg5
= (int)(SWIG_As_int(obj4
));
40372 if (SWIG_arg_fail(5)) SWIG_fail
;
40379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40380 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40382 wxPyEndAllowThreads(__tstate
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40392 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40393 PyObject
*resultobj
;
40394 wxSizer
*arg1
= (wxSizer
*) 0 ;
40395 PyObject
*arg2
= (PyObject
*) 0 ;
40397 PyObject
* obj0
= 0 ;
40398 PyObject
* obj1
= 0 ;
40399 char *kwnames
[] = {
40400 (char *) "self",(char *) "item", NULL
40403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
40404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40405 if (SWIG_arg_fail(1)) SWIG_fail
;
40408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40409 result
= (bool)wxSizer_Remove(arg1
,arg2
);
40411 wxPyEndAllowThreads(__tstate
);
40412 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40423 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40424 PyObject
*resultobj
;
40425 wxSizer
*arg1
= (wxSizer
*) 0 ;
40426 PyObject
*arg2
= (PyObject
*) 0 ;
40428 PyObject
* obj0
= 0 ;
40429 PyObject
* obj1
= 0 ;
40430 char *kwnames
[] = {
40431 (char *) "self",(char *) "item", NULL
40434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
40435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40436 if (SWIG_arg_fail(1)) SWIG_fail
;
40439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40440 result
= (bool)wxSizer_Detach(arg1
,arg2
);
40442 wxPyEndAllowThreads(__tstate
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40454 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40455 PyObject
*resultobj
;
40456 wxSizer
*arg1
= (wxSizer
*) 0 ;
40457 PyObject
*arg2
= (PyObject
*) 0 ;
40458 wxSizerItem
*result
;
40459 PyObject
* obj0
= 0 ;
40460 PyObject
* obj1
= 0 ;
40461 char *kwnames
[] = {
40462 (char *) "self",(char *) "item", NULL
40465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40467 if (SWIG_arg_fail(1)) SWIG_fail
;
40470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40471 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
40473 wxPyEndAllowThreads(__tstate
);
40474 if (PyErr_Occurred()) SWIG_fail
;
40476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40483 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40484 PyObject
*resultobj
;
40485 wxSizer
*arg1
= (wxSizer
*) 0 ;
40486 PyObject
*arg2
= (PyObject
*) 0 ;
40489 PyObject
* obj0
= 0 ;
40490 PyObject
* obj1
= 0 ;
40491 PyObject
* obj2
= 0 ;
40492 char *kwnames
[] = {
40493 (char *) "self",(char *) "item",(char *) "size", NULL
40496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40498 if (SWIG_arg_fail(1)) SWIG_fail
;
40502 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
40505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40506 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
40508 wxPyEndAllowThreads(__tstate
);
40509 if (PyErr_Occurred()) SWIG_fail
;
40511 Py_INCREF(Py_None
); resultobj
= Py_None
;
40518 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40519 PyObject
*resultobj
;
40520 wxSizer
*arg1
= (wxSizer
*) 0 ;
40521 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40522 wxSizerItem
*result
;
40523 PyObject
* obj0
= 0 ;
40524 PyObject
* obj1
= 0 ;
40525 char *kwnames
[] = {
40526 (char *) "self",(char *) "item", NULL
40529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40531 if (SWIG_arg_fail(1)) SWIG_fail
;
40532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40533 if (SWIG_arg_fail(2)) SWIG_fail
;
40535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40536 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40538 wxPyEndAllowThreads(__tstate
);
40539 if (PyErr_Occurred()) SWIG_fail
;
40541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40548 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40549 PyObject
*resultobj
;
40550 wxSizer
*arg1
= (wxSizer
*) 0 ;
40552 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40553 wxSizerItem
*result
;
40554 PyObject
* obj0
= 0 ;
40555 PyObject
* obj1
= 0 ;
40556 PyObject
* obj2
= 0 ;
40557 char *kwnames
[] = {
40558 (char *) "self",(char *) "index",(char *) "item", NULL
40561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40563 if (SWIG_arg_fail(1)) SWIG_fail
;
40565 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40566 if (SWIG_arg_fail(2)) SWIG_fail
;
40568 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40569 if (SWIG_arg_fail(3)) SWIG_fail
;
40571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40572 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40574 wxPyEndAllowThreads(__tstate
);
40575 if (PyErr_Occurred()) SWIG_fail
;
40577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40584 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
;
40586 wxSizer
*arg1
= (wxSizer
*) 0 ;
40587 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40588 wxSizerItem
*result
;
40589 PyObject
* obj0
= 0 ;
40590 PyObject
* obj1
= 0 ;
40591 char *kwnames
[] = {
40592 (char *) "self",(char *) "item", NULL
40595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40597 if (SWIG_arg_fail(1)) SWIG_fail
;
40598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40599 if (SWIG_arg_fail(2)) SWIG_fail
;
40601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40602 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40604 wxPyEndAllowThreads(__tstate
);
40605 if (PyErr_Occurred()) SWIG_fail
;
40607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40614 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40616 wxSizer
*arg1
= (wxSizer
*) 0 ;
40621 PyObject
* obj0
= 0 ;
40622 PyObject
* obj1
= 0 ;
40623 PyObject
* obj2
= 0 ;
40624 PyObject
* obj3
= 0 ;
40625 PyObject
* obj4
= 0 ;
40626 char *kwnames
[] = {
40627 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40632 if (SWIG_arg_fail(1)) SWIG_fail
;
40634 arg2
= (int)(SWIG_As_int(obj1
));
40635 if (SWIG_arg_fail(2)) SWIG_fail
;
40638 arg3
= (int)(SWIG_As_int(obj2
));
40639 if (SWIG_arg_fail(3)) SWIG_fail
;
40642 arg4
= (int)(SWIG_As_int(obj3
));
40643 if (SWIG_arg_fail(4)) SWIG_fail
;
40646 arg5
= (int)(SWIG_As_int(obj4
));
40647 if (SWIG_arg_fail(5)) SWIG_fail
;
40650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40651 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40653 wxPyEndAllowThreads(__tstate
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40656 Py_INCREF(Py_None
); resultobj
= Py_None
;
40663 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40664 PyObject
*resultobj
;
40665 wxSizer
*arg1
= (wxSizer
*) 0 ;
40668 PyObject
* obj0
= 0 ;
40669 PyObject
* obj1
= 0 ;
40670 char *kwnames
[] = {
40671 (char *) "self",(char *) "size", NULL
40674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40676 if (SWIG_arg_fail(1)) SWIG_fail
;
40679 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40683 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40688 Py_INCREF(Py_None
); resultobj
= Py_None
;
40695 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40696 PyObject
*resultobj
;
40697 wxSizer
*arg1
= (wxSizer
*) 0 ;
40699 PyObject
* obj0
= 0 ;
40700 char *kwnames
[] = {
40701 (char *) "self", NULL
40704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40706 if (SWIG_arg_fail(1)) SWIG_fail
;
40708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40709 result
= (arg1
)->GetSize();
40711 wxPyEndAllowThreads(__tstate
);
40712 if (PyErr_Occurred()) SWIG_fail
;
40715 wxSize
* resultptr
;
40716 resultptr
= new wxSize((wxSize
&)(result
));
40717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40725 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40726 PyObject
*resultobj
;
40727 wxSizer
*arg1
= (wxSizer
*) 0 ;
40729 PyObject
* obj0
= 0 ;
40730 char *kwnames
[] = {
40731 (char *) "self", NULL
40734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40736 if (SWIG_arg_fail(1)) SWIG_fail
;
40738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40739 result
= (arg1
)->GetPosition();
40741 wxPyEndAllowThreads(__tstate
);
40742 if (PyErr_Occurred()) SWIG_fail
;
40745 wxPoint
* resultptr
;
40746 resultptr
= new wxPoint((wxPoint
&)(result
));
40747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40755 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40756 PyObject
*resultobj
;
40757 wxSizer
*arg1
= (wxSizer
*) 0 ;
40759 PyObject
* obj0
= 0 ;
40760 char *kwnames
[] = {
40761 (char *) "self", NULL
40764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40766 if (SWIG_arg_fail(1)) SWIG_fail
;
40768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40769 result
= (arg1
)->GetMinSize();
40771 wxPyEndAllowThreads(__tstate
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40775 wxSize
* resultptr
;
40776 resultptr
= new wxSize((wxSize
&)(result
));
40777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40785 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40786 PyObject
*resultobj
;
40787 wxSizer
*arg1
= (wxSizer
*) 0 ;
40788 PyObject
* obj0
= 0 ;
40789 char *kwnames
[] = {
40790 (char *) "self", NULL
40793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40795 if (SWIG_arg_fail(1)) SWIG_fail
;
40797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40798 (arg1
)->RecalcSizes();
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 Py_INCREF(Py_None
); resultobj
= Py_None
;
40810 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
;
40812 wxSizer
*arg1
= (wxSizer
*) 0 ;
40814 PyObject
* obj0
= 0 ;
40815 char *kwnames
[] = {
40816 (char *) "self", NULL
40819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40821 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40824 result
= (arg1
)->CalcMin();
40826 wxPyEndAllowThreads(__tstate
);
40827 if (PyErr_Occurred()) SWIG_fail
;
40830 wxSize
* resultptr
;
40831 resultptr
= new wxSize((wxSize
&)(result
));
40832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40840 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
;
40842 wxSizer
*arg1
= (wxSizer
*) 0 ;
40843 PyObject
* obj0
= 0 ;
40844 char *kwnames
[] = {
40845 (char *) "self", NULL
40848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40850 if (SWIG_arg_fail(1)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40855 wxPyEndAllowThreads(__tstate
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40858 Py_INCREF(Py_None
); resultobj
= Py_None
;
40865 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40866 PyObject
*resultobj
;
40867 wxSizer
*arg1
= (wxSizer
*) 0 ;
40868 wxWindow
*arg2
= (wxWindow
*) 0 ;
40870 PyObject
* obj0
= 0 ;
40871 PyObject
* obj1
= 0 ;
40872 char *kwnames
[] = {
40873 (char *) "self",(char *) "window", NULL
40876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40878 if (SWIG_arg_fail(1)) SWIG_fail
;
40879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40880 if (SWIG_arg_fail(2)) SWIG_fail
;
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (arg1
)->Fit(arg2
);
40885 wxPyEndAllowThreads(__tstate
);
40886 if (PyErr_Occurred()) SWIG_fail
;
40889 wxSize
* resultptr
;
40890 resultptr
= new wxSize((wxSize
&)(result
));
40891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40899 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40900 PyObject
*resultobj
;
40901 wxSizer
*arg1
= (wxSizer
*) 0 ;
40902 wxWindow
*arg2
= (wxWindow
*) 0 ;
40903 PyObject
* obj0
= 0 ;
40904 PyObject
* obj1
= 0 ;
40905 char *kwnames
[] = {
40906 (char *) "self",(char *) "window", NULL
40909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40911 if (SWIG_arg_fail(1)) SWIG_fail
;
40912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40913 if (SWIG_arg_fail(2)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 (arg1
)->FitInside(arg2
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40921 Py_INCREF(Py_None
); resultobj
= Py_None
;
40928 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxSizer
*arg1
= (wxSizer
*) 0 ;
40931 wxWindow
*arg2
= (wxWindow
*) 0 ;
40932 PyObject
* obj0
= 0 ;
40933 PyObject
* obj1
= 0 ;
40934 char *kwnames
[] = {
40935 (char *) "self",(char *) "window", NULL
40938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40940 if (SWIG_arg_fail(1)) SWIG_fail
;
40941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40942 if (SWIG_arg_fail(2)) SWIG_fail
;
40944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40945 (arg1
)->SetSizeHints(arg2
);
40947 wxPyEndAllowThreads(__tstate
);
40948 if (PyErr_Occurred()) SWIG_fail
;
40950 Py_INCREF(Py_None
); resultobj
= Py_None
;
40957 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40958 PyObject
*resultobj
;
40959 wxSizer
*arg1
= (wxSizer
*) 0 ;
40960 wxWindow
*arg2
= (wxWindow
*) 0 ;
40961 PyObject
* obj0
= 0 ;
40962 PyObject
* obj1
= 0 ;
40963 char *kwnames
[] = {
40964 (char *) "self",(char *) "window", NULL
40967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40969 if (SWIG_arg_fail(1)) SWIG_fail
;
40970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40971 if (SWIG_arg_fail(2)) SWIG_fail
;
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 (arg1
)->SetVirtualSizeHints(arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 Py_INCREF(Py_None
); resultobj
= Py_None
;
40986 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
;
40988 wxSizer
*arg1
= (wxSizer
*) 0 ;
40989 bool arg2
= (bool) false ;
40990 PyObject
* obj0
= 0 ;
40991 PyObject
* obj1
= 0 ;
40992 char *kwnames
[] = {
40993 (char *) "self",(char *) "deleteWindows", NULL
40996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40998 if (SWIG_arg_fail(1)) SWIG_fail
;
41001 arg2
= (bool)(SWIG_As_bool(obj1
));
41002 if (SWIG_arg_fail(2)) SWIG_fail
;
41006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41007 (arg1
)->Clear(arg2
);
41009 wxPyEndAllowThreads(__tstate
);
41010 if (PyErr_Occurred()) SWIG_fail
;
41012 Py_INCREF(Py_None
); resultobj
= Py_None
;
41019 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41020 PyObject
*resultobj
;
41021 wxSizer
*arg1
= (wxSizer
*) 0 ;
41022 PyObject
* obj0
= 0 ;
41023 char *kwnames
[] = {
41024 (char *) "self", NULL
41027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
41028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41029 if (SWIG_arg_fail(1)) SWIG_fail
;
41031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41032 (arg1
)->DeleteWindows();
41034 wxPyEndAllowThreads(__tstate
);
41035 if (PyErr_Occurred()) SWIG_fail
;
41037 Py_INCREF(Py_None
); resultobj
= Py_None
;
41044 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41045 PyObject
*resultobj
;
41046 wxSizer
*arg1
= (wxSizer
*) 0 ;
41048 PyObject
* obj0
= 0 ;
41049 char *kwnames
[] = {
41050 (char *) "self", NULL
41053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
41054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41055 if (SWIG_arg_fail(1)) SWIG_fail
;
41057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41058 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
41060 wxPyEndAllowThreads(__tstate
);
41061 if (PyErr_Occurred()) SWIG_fail
;
41063 resultobj
= result
;
41070 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
;
41072 wxSizer
*arg1
= (wxSizer
*) 0 ;
41073 PyObject
*arg2
= (PyObject
*) 0 ;
41074 bool arg3
= (bool) true ;
41075 bool arg4
= (bool) false ;
41077 PyObject
* obj0
= 0 ;
41078 PyObject
* obj1
= 0 ;
41079 PyObject
* obj2
= 0 ;
41080 PyObject
* obj3
= 0 ;
41081 char *kwnames
[] = {
41082 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
41085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41091 arg3
= (bool)(SWIG_As_bool(obj2
));
41092 if (SWIG_arg_fail(3)) SWIG_fail
;
41097 arg4
= (bool)(SWIG_As_bool(obj3
));
41098 if (SWIG_arg_fail(4)) SWIG_fail
;
41102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41103 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
41105 wxPyEndAllowThreads(__tstate
);
41106 if (PyErr_Occurred()) SWIG_fail
;
41109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41117 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41118 PyObject
*resultobj
;
41119 wxSizer
*arg1
= (wxSizer
*) 0 ;
41120 PyObject
*arg2
= (PyObject
*) 0 ;
41122 PyObject
* obj0
= 0 ;
41123 PyObject
* obj1
= 0 ;
41124 char *kwnames
[] = {
41125 (char *) "self",(char *) "item", NULL
41128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
41129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41130 if (SWIG_arg_fail(1)) SWIG_fail
;
41133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41134 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
41136 wxPyEndAllowThreads(__tstate
);
41137 if (PyErr_Occurred()) SWIG_fail
;
41140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41148 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41149 PyObject
*resultobj
;
41150 wxSizer
*arg1
= (wxSizer
*) 0 ;
41152 PyObject
* obj0
= 0 ;
41153 PyObject
* obj1
= 0 ;
41154 char *kwnames
[] = {
41155 (char *) "self",(char *) "show", NULL
41158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
41159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41160 if (SWIG_arg_fail(1)) SWIG_fail
;
41162 arg2
= (bool)(SWIG_As_bool(obj1
));
41163 if (SWIG_arg_fail(2)) SWIG_fail
;
41166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41167 (arg1
)->ShowItems(arg2
);
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41172 Py_INCREF(Py_None
); resultobj
= Py_None
;
41179 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
41181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41182 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
41184 return Py_BuildValue((char *)"");
41186 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41187 PyObject
*resultobj
;
41189 char *kwnames
[] = {
41193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
41195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41196 result
= (wxPySizer
*)new wxPySizer();
41198 wxPyEndAllowThreads(__tstate
);
41199 if (PyErr_Occurred()) SWIG_fail
;
41201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
41208 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41209 PyObject
*resultobj
;
41210 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
41211 PyObject
*arg2
= (PyObject
*) 0 ;
41212 PyObject
*arg3
= (PyObject
*) 0 ;
41213 PyObject
* obj0
= 0 ;
41214 PyObject
* obj1
= 0 ;
41215 PyObject
* obj2
= 0 ;
41216 char *kwnames
[] = {
41217 (char *) "self",(char *) "self",(char *) "_class", NULL
41220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
41222 if (SWIG_arg_fail(1)) SWIG_fail
;
41226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
41229 wxPyEndAllowThreads(__tstate
);
41230 if (PyErr_Occurred()) SWIG_fail
;
41232 Py_INCREF(Py_None
); resultobj
= Py_None
;
41239 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
41241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41242 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
41244 return Py_BuildValue((char *)"");
41246 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41247 PyObject
*resultobj
;
41248 int arg1
= (int) wxHORIZONTAL
;
41249 wxBoxSizer
*result
;
41250 PyObject
* obj0
= 0 ;
41251 char *kwnames
[] = {
41252 (char *) "orient", NULL
41255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
41258 arg1
= (int)(SWIG_As_int(obj0
));
41259 if (SWIG_arg_fail(1)) SWIG_fail
;
41263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41264 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
41266 wxPyEndAllowThreads(__tstate
);
41267 if (PyErr_Occurred()) SWIG_fail
;
41269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
41276 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41277 PyObject
*resultobj
;
41278 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41280 PyObject
* obj0
= 0 ;
41281 char *kwnames
[] = {
41282 (char *) "self", NULL
41285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
41286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41287 if (SWIG_arg_fail(1)) SWIG_fail
;
41289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41290 result
= (int)(arg1
)->GetOrientation();
41292 wxPyEndAllowThreads(__tstate
);
41293 if (PyErr_Occurred()) SWIG_fail
;
41296 resultobj
= SWIG_From_int((int)(result
));
41304 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41305 PyObject
*resultobj
;
41306 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41308 PyObject
* obj0
= 0 ;
41309 PyObject
* obj1
= 0 ;
41310 char *kwnames
[] = {
41311 (char *) "self",(char *) "orient", NULL
41314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
41315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41316 if (SWIG_arg_fail(1)) SWIG_fail
;
41318 arg2
= (int)(SWIG_As_int(obj1
));
41319 if (SWIG_arg_fail(2)) SWIG_fail
;
41322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41323 (arg1
)->SetOrientation(arg2
);
41325 wxPyEndAllowThreads(__tstate
);
41326 if (PyErr_Occurred()) SWIG_fail
;
41328 Py_INCREF(Py_None
); resultobj
= Py_None
;
41335 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41338 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
41340 return Py_BuildValue((char *)"");
41342 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41343 PyObject
*resultobj
;
41344 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
41345 int arg2
= (int) wxHORIZONTAL
;
41346 wxStaticBoxSizer
*result
;
41347 PyObject
* obj0
= 0 ;
41348 PyObject
* obj1
= 0 ;
41349 char *kwnames
[] = {
41350 (char *) "box",(char *) "orient", NULL
41353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
41355 if (SWIG_arg_fail(1)) SWIG_fail
;
41358 arg2
= (int)(SWIG_As_int(obj1
));
41359 if (SWIG_arg_fail(2)) SWIG_fail
;
41363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41364 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
41366 wxPyEndAllowThreads(__tstate
);
41367 if (PyErr_Occurred()) SWIG_fail
;
41369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
41376 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41377 PyObject
*resultobj
;
41378 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
41379 wxStaticBox
*result
;
41380 PyObject
* obj0
= 0 ;
41381 char *kwnames
[] = {
41382 (char *) "self", NULL
41385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
41386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41387 if (SWIG_arg_fail(1)) SWIG_fail
;
41389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41390 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
41392 wxPyEndAllowThreads(__tstate
);
41393 if (PyErr_Occurred()) SWIG_fail
;
41396 resultobj
= wxPyMake_wxObject(result
, 0);
41404 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41407 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
41409 return Py_BuildValue((char *)"");
41411 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
;
41413 int arg1
= (int) 1 ;
41414 int arg2
= (int) 0 ;
41415 int arg3
= (int) 0 ;
41416 int arg4
= (int) 0 ;
41417 wxGridSizer
*result
;
41418 PyObject
* obj0
= 0 ;
41419 PyObject
* obj1
= 0 ;
41420 PyObject
* obj2
= 0 ;
41421 PyObject
* obj3
= 0 ;
41422 char *kwnames
[] = {
41423 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41429 arg1
= (int)(SWIG_As_int(obj0
));
41430 if (SWIG_arg_fail(1)) SWIG_fail
;
41435 arg2
= (int)(SWIG_As_int(obj1
));
41436 if (SWIG_arg_fail(2)) SWIG_fail
;
41441 arg3
= (int)(SWIG_As_int(obj2
));
41442 if (SWIG_arg_fail(3)) SWIG_fail
;
41447 arg4
= (int)(SWIG_As_int(obj3
));
41448 if (SWIG_arg_fail(4)) SWIG_fail
;
41452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41453 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
41455 wxPyEndAllowThreads(__tstate
);
41456 if (PyErr_Occurred()) SWIG_fail
;
41458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
41465 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41466 PyObject
*resultobj
;
41467 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41469 PyObject
* obj0
= 0 ;
41470 PyObject
* obj1
= 0 ;
41471 char *kwnames
[] = {
41472 (char *) "self",(char *) "cols", NULL
41475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
41476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41477 if (SWIG_arg_fail(1)) SWIG_fail
;
41479 arg2
= (int)(SWIG_As_int(obj1
));
41480 if (SWIG_arg_fail(2)) SWIG_fail
;
41483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41484 (arg1
)->SetCols(arg2
);
41486 wxPyEndAllowThreads(__tstate
);
41487 if (PyErr_Occurred()) SWIG_fail
;
41489 Py_INCREF(Py_None
); resultobj
= Py_None
;
41496 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41497 PyObject
*resultobj
;
41498 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41500 PyObject
* obj0
= 0 ;
41501 PyObject
* obj1
= 0 ;
41502 char *kwnames
[] = {
41503 (char *) "self",(char *) "rows", NULL
41506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
41507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41508 if (SWIG_arg_fail(1)) SWIG_fail
;
41510 arg2
= (int)(SWIG_As_int(obj1
));
41511 if (SWIG_arg_fail(2)) SWIG_fail
;
41514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41515 (arg1
)->SetRows(arg2
);
41517 wxPyEndAllowThreads(__tstate
);
41518 if (PyErr_Occurred()) SWIG_fail
;
41520 Py_INCREF(Py_None
); resultobj
= Py_None
;
41527 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41528 PyObject
*resultobj
;
41529 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41531 PyObject
* obj0
= 0 ;
41532 PyObject
* obj1
= 0 ;
41533 char *kwnames
[] = {
41534 (char *) "self",(char *) "gap", NULL
41537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41539 if (SWIG_arg_fail(1)) SWIG_fail
;
41541 arg2
= (int)(SWIG_As_int(obj1
));
41542 if (SWIG_arg_fail(2)) SWIG_fail
;
41545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41546 (arg1
)->SetVGap(arg2
);
41548 wxPyEndAllowThreads(__tstate
);
41549 if (PyErr_Occurred()) SWIG_fail
;
41551 Py_INCREF(Py_None
); resultobj
= Py_None
;
41558 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41559 PyObject
*resultobj
;
41560 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41562 PyObject
* obj0
= 0 ;
41563 PyObject
* obj1
= 0 ;
41564 char *kwnames
[] = {
41565 (char *) "self",(char *) "gap", NULL
41568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41570 if (SWIG_arg_fail(1)) SWIG_fail
;
41572 arg2
= (int)(SWIG_As_int(obj1
));
41573 if (SWIG_arg_fail(2)) SWIG_fail
;
41576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41577 (arg1
)->SetHGap(arg2
);
41579 wxPyEndAllowThreads(__tstate
);
41580 if (PyErr_Occurred()) SWIG_fail
;
41582 Py_INCREF(Py_None
); resultobj
= Py_None
;
41589 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41590 PyObject
*resultobj
;
41591 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41593 PyObject
* obj0
= 0 ;
41594 char *kwnames
[] = {
41595 (char *) "self", NULL
41598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41600 if (SWIG_arg_fail(1)) SWIG_fail
;
41602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41603 result
= (int)(arg1
)->GetCols();
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41609 resultobj
= SWIG_From_int((int)(result
));
41617 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41618 PyObject
*resultobj
;
41619 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41621 PyObject
* obj0
= 0 ;
41622 char *kwnames
[] = {
41623 (char *) "self", NULL
41626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(1)) SWIG_fail
;
41630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41631 result
= (int)(arg1
)->GetRows();
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41637 resultobj
= SWIG_From_int((int)(result
));
41645 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41646 PyObject
*resultobj
;
41647 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41649 PyObject
* obj0
= 0 ;
41650 char *kwnames
[] = {
41651 (char *) "self", NULL
41654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41656 if (SWIG_arg_fail(1)) SWIG_fail
;
41658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41659 result
= (int)(arg1
)->GetVGap();
41661 wxPyEndAllowThreads(__tstate
);
41662 if (PyErr_Occurred()) SWIG_fail
;
41665 resultobj
= SWIG_From_int((int)(result
));
41673 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41674 PyObject
*resultobj
;
41675 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41677 PyObject
* obj0
= 0 ;
41678 char *kwnames
[] = {
41679 (char *) "self", NULL
41682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41684 if (SWIG_arg_fail(1)) SWIG_fail
;
41686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41687 result
= (int)(arg1
)->GetHGap();
41689 wxPyEndAllowThreads(__tstate
);
41690 if (PyErr_Occurred()) SWIG_fail
;
41693 resultobj
= SWIG_From_int((int)(result
));
41701 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41704 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41706 return Py_BuildValue((char *)"");
41708 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41709 PyObject
*resultobj
;
41710 int arg1
= (int) 1 ;
41711 int arg2
= (int) 0 ;
41712 int arg3
= (int) 0 ;
41713 int arg4
= (int) 0 ;
41714 wxFlexGridSizer
*result
;
41715 PyObject
* obj0
= 0 ;
41716 PyObject
* obj1
= 0 ;
41717 PyObject
* obj2
= 0 ;
41718 PyObject
* obj3
= 0 ;
41719 char *kwnames
[] = {
41720 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41726 arg1
= (int)(SWIG_As_int(obj0
));
41727 if (SWIG_arg_fail(1)) SWIG_fail
;
41732 arg2
= (int)(SWIG_As_int(obj1
));
41733 if (SWIG_arg_fail(2)) SWIG_fail
;
41738 arg3
= (int)(SWIG_As_int(obj2
));
41739 if (SWIG_arg_fail(3)) SWIG_fail
;
41744 arg4
= (int)(SWIG_As_int(obj3
));
41745 if (SWIG_arg_fail(4)) SWIG_fail
;
41749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41750 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41752 wxPyEndAllowThreads(__tstate
);
41753 if (PyErr_Occurred()) SWIG_fail
;
41755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41762 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41763 PyObject
*resultobj
;
41764 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41766 int arg3
= (int) 0 ;
41767 PyObject
* obj0
= 0 ;
41768 PyObject
* obj1
= 0 ;
41769 PyObject
* obj2
= 0 ;
41770 char *kwnames
[] = {
41771 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41776 if (SWIG_arg_fail(1)) SWIG_fail
;
41778 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41779 if (SWIG_arg_fail(2)) SWIG_fail
;
41783 arg3
= (int)(SWIG_As_int(obj2
));
41784 if (SWIG_arg_fail(3)) SWIG_fail
;
41788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41789 (arg1
)->AddGrowableRow(arg2
,arg3
);
41791 wxPyEndAllowThreads(__tstate
);
41792 if (PyErr_Occurred()) SWIG_fail
;
41794 Py_INCREF(Py_None
); resultobj
= Py_None
;
41801 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41802 PyObject
*resultobj
;
41803 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41805 PyObject
* obj0
= 0 ;
41806 PyObject
* obj1
= 0 ;
41807 char *kwnames
[] = {
41808 (char *) "self",(char *) "idx", NULL
41811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41813 if (SWIG_arg_fail(1)) SWIG_fail
;
41815 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41816 if (SWIG_arg_fail(2)) SWIG_fail
;
41819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41820 (arg1
)->RemoveGrowableRow(arg2
);
41822 wxPyEndAllowThreads(__tstate
);
41823 if (PyErr_Occurred()) SWIG_fail
;
41825 Py_INCREF(Py_None
); resultobj
= Py_None
;
41832 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41833 PyObject
*resultobj
;
41834 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41836 int arg3
= (int) 0 ;
41837 PyObject
* obj0
= 0 ;
41838 PyObject
* obj1
= 0 ;
41839 PyObject
* obj2
= 0 ;
41840 char *kwnames
[] = {
41841 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41846 if (SWIG_arg_fail(1)) SWIG_fail
;
41848 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41849 if (SWIG_arg_fail(2)) SWIG_fail
;
41853 arg3
= (int)(SWIG_As_int(obj2
));
41854 if (SWIG_arg_fail(3)) SWIG_fail
;
41858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41859 (arg1
)->AddGrowableCol(arg2
,arg3
);
41861 wxPyEndAllowThreads(__tstate
);
41862 if (PyErr_Occurred()) SWIG_fail
;
41864 Py_INCREF(Py_None
); resultobj
= Py_None
;
41871 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41872 PyObject
*resultobj
;
41873 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41875 PyObject
* obj0
= 0 ;
41876 PyObject
* obj1
= 0 ;
41877 char *kwnames
[] = {
41878 (char *) "self",(char *) "idx", NULL
41881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41883 if (SWIG_arg_fail(1)) SWIG_fail
;
41885 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41886 if (SWIG_arg_fail(2)) SWIG_fail
;
41889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41890 (arg1
)->RemoveGrowableCol(arg2
);
41892 wxPyEndAllowThreads(__tstate
);
41893 if (PyErr_Occurred()) SWIG_fail
;
41895 Py_INCREF(Py_None
); resultobj
= Py_None
;
41902 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41903 PyObject
*resultobj
;
41904 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41906 PyObject
* obj0
= 0 ;
41907 PyObject
* obj1
= 0 ;
41908 char *kwnames
[] = {
41909 (char *) "self",(char *) "direction", NULL
41912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41914 if (SWIG_arg_fail(1)) SWIG_fail
;
41916 arg2
= (int)(SWIG_As_int(obj1
));
41917 if (SWIG_arg_fail(2)) SWIG_fail
;
41920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41921 (arg1
)->SetFlexibleDirection(arg2
);
41923 wxPyEndAllowThreads(__tstate
);
41924 if (PyErr_Occurred()) SWIG_fail
;
41926 Py_INCREF(Py_None
); resultobj
= Py_None
;
41933 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41934 PyObject
*resultobj
;
41935 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41937 PyObject
* obj0
= 0 ;
41938 char *kwnames
[] = {
41939 (char *) "self", NULL
41942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41944 if (SWIG_arg_fail(1)) SWIG_fail
;
41946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41947 result
= (int)(arg1
)->GetFlexibleDirection();
41949 wxPyEndAllowThreads(__tstate
);
41950 if (PyErr_Occurred()) SWIG_fail
;
41953 resultobj
= SWIG_From_int((int)(result
));
41961 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41962 PyObject
*resultobj
;
41963 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41964 wxFlexSizerGrowMode arg2
;
41965 PyObject
* obj0
= 0 ;
41966 PyObject
* obj1
= 0 ;
41967 char *kwnames
[] = {
41968 (char *) "self",(char *) "mode", NULL
41971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41973 if (SWIG_arg_fail(1)) SWIG_fail
;
41975 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41976 if (SWIG_arg_fail(2)) SWIG_fail
;
41979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41980 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41982 wxPyEndAllowThreads(__tstate
);
41983 if (PyErr_Occurred()) SWIG_fail
;
41985 Py_INCREF(Py_None
); resultobj
= Py_None
;
41992 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41993 PyObject
*resultobj
;
41994 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41995 wxFlexSizerGrowMode result
;
41996 PyObject
* obj0
= 0 ;
41997 char *kwnames
[] = {
41998 (char *) "self", NULL
42001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
42002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42003 if (SWIG_arg_fail(1)) SWIG_fail
;
42005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42006 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
42008 wxPyEndAllowThreads(__tstate
);
42009 if (PyErr_Occurred()) SWIG_fail
;
42011 resultobj
= SWIG_From_int((result
));
42018 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42019 PyObject
*resultobj
;
42020 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42021 wxArrayInt
*result
;
42022 PyObject
* obj0
= 0 ;
42023 char *kwnames
[] = {
42024 (char *) "self", NULL
42027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
42028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42029 if (SWIG_arg_fail(1)) SWIG_fail
;
42031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42033 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
42034 result
= (wxArrayInt
*) &_result_ref
;
42037 wxPyEndAllowThreads(__tstate
);
42038 if (PyErr_Occurred()) SWIG_fail
;
42041 resultobj
= PyList_New(0);
42043 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42044 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42045 PyList_Append(resultobj
, val
);
42055 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42056 PyObject
*resultobj
;
42057 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42058 wxArrayInt
*result
;
42059 PyObject
* obj0
= 0 ;
42060 char *kwnames
[] = {
42061 (char *) "self", NULL
42064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
42065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42066 if (SWIG_arg_fail(1)) SWIG_fail
;
42068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42070 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
42071 result
= (wxArrayInt
*) &_result_ref
;
42074 wxPyEndAllowThreads(__tstate
);
42075 if (PyErr_Occurred()) SWIG_fail
;
42078 resultobj
= PyList_New(0);
42080 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42081 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42082 PyList_Append(resultobj
, val
);
42092 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
42094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42095 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
42097 return Py_BuildValue((char *)"");
42099 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42100 PyObject
*resultobj
;
42101 wxStdDialogButtonSizer
*result
;
42102 char *kwnames
[] = {
42106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
42111 wxPyEndAllowThreads(__tstate
);
42112 if (PyErr_Occurred()) SWIG_fail
;
42114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
42121 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42122 PyObject
*resultobj
;
42123 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42124 wxButton
*arg2
= (wxButton
*) 0 ;
42125 PyObject
* obj0
= 0 ;
42126 PyObject
* obj1
= 0 ;
42127 char *kwnames
[] = {
42128 (char *) "self",(char *) "button", NULL
42131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42133 if (SWIG_arg_fail(1)) SWIG_fail
;
42134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42135 if (SWIG_arg_fail(2)) SWIG_fail
;
42137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42138 (arg1
)->AddButton(arg2
);
42140 wxPyEndAllowThreads(__tstate
);
42141 if (PyErr_Occurred()) SWIG_fail
;
42143 Py_INCREF(Py_None
); resultobj
= Py_None
;
42150 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42151 PyObject
*resultobj
;
42152 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42153 PyObject
* obj0
= 0 ;
42154 char *kwnames
[] = {
42155 (char *) "self", NULL
42158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
42159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42160 if (SWIG_arg_fail(1)) SWIG_fail
;
42162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42165 wxPyEndAllowThreads(__tstate
);
42166 if (PyErr_Occurred()) SWIG_fail
;
42168 Py_INCREF(Py_None
); resultobj
= Py_None
;
42175 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42176 PyObject
*resultobj
;
42177 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42178 wxButton
*arg2
= (wxButton
*) 0 ;
42179 PyObject
* obj0
= 0 ;
42180 PyObject
* obj1
= 0 ;
42181 char *kwnames
[] = {
42182 (char *) "self",(char *) "button", NULL
42185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42187 if (SWIG_arg_fail(1)) SWIG_fail
;
42188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42189 if (SWIG_arg_fail(2)) SWIG_fail
;
42191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42192 (arg1
)->SetAffirmativeButton(arg2
);
42194 wxPyEndAllowThreads(__tstate
);
42195 if (PyErr_Occurred()) SWIG_fail
;
42197 Py_INCREF(Py_None
); resultobj
= Py_None
;
42204 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42205 PyObject
*resultobj
;
42206 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42207 wxButton
*arg2
= (wxButton
*) 0 ;
42208 PyObject
* obj0
= 0 ;
42209 PyObject
* obj1
= 0 ;
42210 char *kwnames
[] = {
42211 (char *) "self",(char *) "button", NULL
42214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42216 if (SWIG_arg_fail(1)) SWIG_fail
;
42217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42218 if (SWIG_arg_fail(2)) SWIG_fail
;
42220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42221 (arg1
)->SetNegativeButton(arg2
);
42223 wxPyEndAllowThreads(__tstate
);
42224 if (PyErr_Occurred()) SWIG_fail
;
42226 Py_INCREF(Py_None
); resultobj
= Py_None
;
42233 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42234 PyObject
*resultobj
;
42235 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42236 wxButton
*arg2
= (wxButton
*) 0 ;
42237 PyObject
* obj0
= 0 ;
42238 PyObject
* obj1
= 0 ;
42239 char *kwnames
[] = {
42240 (char *) "self",(char *) "button", NULL
42243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42245 if (SWIG_arg_fail(1)) SWIG_fail
;
42246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42247 if (SWIG_arg_fail(2)) SWIG_fail
;
42249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42250 (arg1
)->SetCancelButton(arg2
);
42252 wxPyEndAllowThreads(__tstate
);
42253 if (PyErr_Occurred()) SWIG_fail
;
42255 Py_INCREF(Py_None
); resultobj
= Py_None
;
42262 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42263 PyObject
*resultobj
;
42264 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42266 PyObject
* obj0
= 0 ;
42267 char *kwnames
[] = {
42268 (char *) "self", NULL
42271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
42272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42273 if (SWIG_arg_fail(1)) SWIG_fail
;
42275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42276 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
42278 wxPyEndAllowThreads(__tstate
);
42279 if (PyErr_Occurred()) SWIG_fail
;
42282 resultobj
= wxPyMake_wxObject(result
, 0);
42290 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42291 PyObject
*resultobj
;
42292 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42294 PyObject
* obj0
= 0 ;
42295 char *kwnames
[] = {
42296 (char *) "self", NULL
42299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
42300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42301 if (SWIG_arg_fail(1)) SWIG_fail
;
42303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42304 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
42306 wxPyEndAllowThreads(__tstate
);
42307 if (PyErr_Occurred()) SWIG_fail
;
42310 resultobj
= wxPyMake_wxObject(result
, 0);
42318 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42319 PyObject
*resultobj
;
42320 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42322 PyObject
* obj0
= 0 ;
42323 char *kwnames
[] = {
42324 (char *) "self", NULL
42327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
42328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42329 if (SWIG_arg_fail(1)) SWIG_fail
;
42331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42332 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
42334 wxPyEndAllowThreads(__tstate
);
42335 if (PyErr_Occurred()) SWIG_fail
;
42338 resultobj
= wxPyMake_wxObject(result
, 0);
42346 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42347 PyObject
*resultobj
;
42348 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42350 PyObject
* obj0
= 0 ;
42351 char *kwnames
[] = {
42352 (char *) "self", NULL
42355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
42356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42357 if (SWIG_arg_fail(1)) SWIG_fail
;
42359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42360 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
42362 wxPyEndAllowThreads(__tstate
);
42363 if (PyErr_Occurred()) SWIG_fail
;
42366 resultobj
= wxPyMake_wxObject(result
, 0);
42374 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42375 PyObject
*resultobj
;
42376 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42378 PyObject
* obj0
= 0 ;
42379 char *kwnames
[] = {
42380 (char *) "self", NULL
42383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
42384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42385 if (SWIG_arg_fail(1)) SWIG_fail
;
42387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42388 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
42390 wxPyEndAllowThreads(__tstate
);
42391 if (PyErr_Occurred()) SWIG_fail
;
42394 resultobj
= wxPyMake_wxObject(result
, 0);
42402 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
42404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42405 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
42407 return Py_BuildValue((char *)"");
42409 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42410 PyObject
*resultobj
;
42411 int arg1
= (int) 0 ;
42412 int arg2
= (int) 0 ;
42413 wxGBPosition
*result
;
42414 PyObject
* obj0
= 0 ;
42415 PyObject
* obj1
= 0 ;
42416 char *kwnames
[] = {
42417 (char *) "row",(char *) "col", NULL
42420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42423 arg1
= (int)(SWIG_As_int(obj0
));
42424 if (SWIG_arg_fail(1)) SWIG_fail
;
42429 arg2
= (int)(SWIG_As_int(obj1
));
42430 if (SWIG_arg_fail(2)) SWIG_fail
;
42434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42435 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
42437 wxPyEndAllowThreads(__tstate
);
42438 if (PyErr_Occurred()) SWIG_fail
;
42440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
42447 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42448 PyObject
*resultobj
;
42449 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42451 PyObject
* obj0
= 0 ;
42452 char *kwnames
[] = {
42453 (char *) "self", NULL
42456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
42457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42458 if (SWIG_arg_fail(1)) SWIG_fail
;
42460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42461 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
42463 wxPyEndAllowThreads(__tstate
);
42464 if (PyErr_Occurred()) SWIG_fail
;
42467 resultobj
= SWIG_From_int((int)(result
));
42475 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42476 PyObject
*resultobj
;
42477 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42479 PyObject
* obj0
= 0 ;
42480 char *kwnames
[] = {
42481 (char *) "self", NULL
42484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
42485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42486 if (SWIG_arg_fail(1)) SWIG_fail
;
42488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42489 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
42491 wxPyEndAllowThreads(__tstate
);
42492 if (PyErr_Occurred()) SWIG_fail
;
42495 resultobj
= SWIG_From_int((int)(result
));
42503 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42504 PyObject
*resultobj
;
42505 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42507 PyObject
* obj0
= 0 ;
42508 PyObject
* obj1
= 0 ;
42509 char *kwnames
[] = {
42510 (char *) "self",(char *) "row", NULL
42513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
42514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42515 if (SWIG_arg_fail(1)) SWIG_fail
;
42517 arg2
= (int)(SWIG_As_int(obj1
));
42518 if (SWIG_arg_fail(2)) SWIG_fail
;
42521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42522 (arg1
)->SetRow(arg2
);
42524 wxPyEndAllowThreads(__tstate
);
42525 if (PyErr_Occurred()) SWIG_fail
;
42527 Py_INCREF(Py_None
); resultobj
= Py_None
;
42534 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42535 PyObject
*resultobj
;
42536 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42538 PyObject
* obj0
= 0 ;
42539 PyObject
* obj1
= 0 ;
42540 char *kwnames
[] = {
42541 (char *) "self",(char *) "col", NULL
42544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42546 if (SWIG_arg_fail(1)) SWIG_fail
;
42548 arg2
= (int)(SWIG_As_int(obj1
));
42549 if (SWIG_arg_fail(2)) SWIG_fail
;
42552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42553 (arg1
)->SetCol(arg2
);
42555 wxPyEndAllowThreads(__tstate
);
42556 if (PyErr_Occurred()) SWIG_fail
;
42558 Py_INCREF(Py_None
); resultobj
= Py_None
;
42565 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42566 PyObject
*resultobj
;
42567 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42568 wxGBPosition
*arg2
= 0 ;
42570 wxGBPosition temp2
;
42571 PyObject
* obj0
= 0 ;
42572 PyObject
* obj1
= 0 ;
42573 char *kwnames
[] = {
42574 (char *) "self",(char *) "other", NULL
42577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42579 if (SWIG_arg_fail(1)) SWIG_fail
;
42582 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42586 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42588 wxPyEndAllowThreads(__tstate
);
42589 if (PyErr_Occurred()) SWIG_fail
;
42592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42600 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42601 PyObject
*resultobj
;
42602 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42603 wxGBPosition
*arg2
= 0 ;
42605 wxGBPosition temp2
;
42606 PyObject
* obj0
= 0 ;
42607 PyObject
* obj1
= 0 ;
42608 char *kwnames
[] = {
42609 (char *) "self",(char *) "other", NULL
42612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42614 if (SWIG_arg_fail(1)) SWIG_fail
;
42617 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42621 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42623 wxPyEndAllowThreads(__tstate
);
42624 if (PyErr_Occurred()) SWIG_fail
;
42627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42635 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42636 PyObject
*resultobj
;
42637 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42638 int arg2
= (int) 0 ;
42639 int arg3
= (int) 0 ;
42640 PyObject
* obj0
= 0 ;
42641 PyObject
* obj1
= 0 ;
42642 PyObject
* obj2
= 0 ;
42643 char *kwnames
[] = {
42644 (char *) "self",(char *) "row",(char *) "col", NULL
42647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42649 if (SWIG_arg_fail(1)) SWIG_fail
;
42652 arg2
= (int)(SWIG_As_int(obj1
));
42653 if (SWIG_arg_fail(2)) SWIG_fail
;
42658 arg3
= (int)(SWIG_As_int(obj2
));
42659 if (SWIG_arg_fail(3)) SWIG_fail
;
42663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42664 wxGBPosition_Set(arg1
,arg2
,arg3
);
42666 wxPyEndAllowThreads(__tstate
);
42667 if (PyErr_Occurred()) SWIG_fail
;
42669 Py_INCREF(Py_None
); resultobj
= Py_None
;
42676 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42677 PyObject
*resultobj
;
42678 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42680 PyObject
* obj0
= 0 ;
42681 char *kwnames
[] = {
42682 (char *) "self", NULL
42685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42687 if (SWIG_arg_fail(1)) SWIG_fail
;
42689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42690 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42692 wxPyEndAllowThreads(__tstate
);
42693 if (PyErr_Occurred()) SWIG_fail
;
42695 resultobj
= result
;
42702 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42705 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42707 return Py_BuildValue((char *)"");
42709 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42710 PyObject
*resultobj
;
42711 int arg1
= (int) 1 ;
42712 int arg2
= (int) 1 ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 char *kwnames
[] = {
42717 (char *) "rowspan",(char *) "colspan", NULL
42720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42723 arg1
= (int)(SWIG_As_int(obj0
));
42724 if (SWIG_arg_fail(1)) SWIG_fail
;
42729 arg2
= (int)(SWIG_As_int(obj1
));
42730 if (SWIG_arg_fail(2)) SWIG_fail
;
42734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42735 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42737 wxPyEndAllowThreads(__tstate
);
42738 if (PyErr_Occurred()) SWIG_fail
;
42740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42747 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42748 PyObject
*resultobj
;
42749 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42751 PyObject
* obj0
= 0 ;
42752 char *kwnames
[] = {
42753 (char *) "self", NULL
42756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42758 if (SWIG_arg_fail(1)) SWIG_fail
;
42760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42761 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42763 wxPyEndAllowThreads(__tstate
);
42764 if (PyErr_Occurred()) SWIG_fail
;
42767 resultobj
= SWIG_From_int((int)(result
));
42775 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42776 PyObject
*resultobj
;
42777 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42779 PyObject
* obj0
= 0 ;
42780 char *kwnames
[] = {
42781 (char *) "self", NULL
42784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42786 if (SWIG_arg_fail(1)) SWIG_fail
;
42788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42789 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42791 wxPyEndAllowThreads(__tstate
);
42792 if (PyErr_Occurred()) SWIG_fail
;
42795 resultobj
= SWIG_From_int((int)(result
));
42803 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42804 PyObject
*resultobj
;
42805 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42807 PyObject
* obj0
= 0 ;
42808 PyObject
* obj1
= 0 ;
42809 char *kwnames
[] = {
42810 (char *) "self",(char *) "rowspan", NULL
42813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42815 if (SWIG_arg_fail(1)) SWIG_fail
;
42817 arg2
= (int)(SWIG_As_int(obj1
));
42818 if (SWIG_arg_fail(2)) SWIG_fail
;
42821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42822 (arg1
)->SetRowspan(arg2
);
42824 wxPyEndAllowThreads(__tstate
);
42825 if (PyErr_Occurred()) SWIG_fail
;
42827 Py_INCREF(Py_None
); resultobj
= Py_None
;
42834 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42835 PyObject
*resultobj
;
42836 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42838 PyObject
* obj0
= 0 ;
42839 PyObject
* obj1
= 0 ;
42840 char *kwnames
[] = {
42841 (char *) "self",(char *) "colspan", NULL
42844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42846 if (SWIG_arg_fail(1)) SWIG_fail
;
42848 arg2
= (int)(SWIG_As_int(obj1
));
42849 if (SWIG_arg_fail(2)) SWIG_fail
;
42852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42853 (arg1
)->SetColspan(arg2
);
42855 wxPyEndAllowThreads(__tstate
);
42856 if (PyErr_Occurred()) SWIG_fail
;
42858 Py_INCREF(Py_None
); resultobj
= Py_None
;
42865 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42866 PyObject
*resultobj
;
42867 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42868 wxGBSpan
*arg2
= 0 ;
42871 PyObject
* obj0
= 0 ;
42872 PyObject
* obj1
= 0 ;
42873 char *kwnames
[] = {
42874 (char *) "self",(char *) "other", NULL
42877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42879 if (SWIG_arg_fail(1)) SWIG_fail
;
42882 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42886 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42888 wxPyEndAllowThreads(__tstate
);
42889 if (PyErr_Occurred()) SWIG_fail
;
42892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42900 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42901 PyObject
*resultobj
;
42902 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42903 wxGBSpan
*arg2
= 0 ;
42906 PyObject
* obj0
= 0 ;
42907 PyObject
* obj1
= 0 ;
42908 char *kwnames
[] = {
42909 (char *) "self",(char *) "other", NULL
42912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42914 if (SWIG_arg_fail(1)) SWIG_fail
;
42917 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42921 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42923 wxPyEndAllowThreads(__tstate
);
42924 if (PyErr_Occurred()) SWIG_fail
;
42927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42935 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42936 PyObject
*resultobj
;
42937 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42938 int arg2
= (int) 1 ;
42939 int arg3
= (int) 1 ;
42940 PyObject
* obj0
= 0 ;
42941 PyObject
* obj1
= 0 ;
42942 PyObject
* obj2
= 0 ;
42943 char *kwnames
[] = {
42944 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42949 if (SWIG_arg_fail(1)) SWIG_fail
;
42952 arg2
= (int)(SWIG_As_int(obj1
));
42953 if (SWIG_arg_fail(2)) SWIG_fail
;
42958 arg3
= (int)(SWIG_As_int(obj2
));
42959 if (SWIG_arg_fail(3)) SWIG_fail
;
42963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42964 wxGBSpan_Set(arg1
,arg2
,arg3
);
42966 wxPyEndAllowThreads(__tstate
);
42967 if (PyErr_Occurred()) SWIG_fail
;
42969 Py_INCREF(Py_None
); resultobj
= Py_None
;
42976 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42977 PyObject
*resultobj
;
42978 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42980 PyObject
* obj0
= 0 ;
42981 char *kwnames
[] = {
42982 (char *) "self", NULL
42985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42987 if (SWIG_arg_fail(1)) SWIG_fail
;
42989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42990 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42992 wxPyEndAllowThreads(__tstate
);
42993 if (PyErr_Occurred()) SWIG_fail
;
42995 resultobj
= result
;
43002 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
43004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43005 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
43007 return Py_BuildValue((char *)"");
43009 static int _wrap_DefaultSpan_set(PyObject
*) {
43010 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
43015 static PyObject
*_wrap_DefaultSpan_get(void) {
43018 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
43023 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43024 PyObject
*resultobj
;
43025 wxGBSizerItem
*result
;
43026 char *kwnames
[] = {
43030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43033 result
= (wxGBSizerItem
*)new wxGBSizerItem();
43035 wxPyEndAllowThreads(__tstate
);
43036 if (PyErr_Occurred()) SWIG_fail
;
43038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43045 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43046 PyObject
*resultobj
;
43047 wxWindow
*arg1
= (wxWindow
*) 0 ;
43048 wxGBPosition
*arg2
= 0 ;
43049 wxGBSpan
*arg3
= 0 ;
43052 PyObject
*arg6
= (PyObject
*) NULL
;
43053 wxGBSizerItem
*result
;
43054 wxGBPosition temp2
;
43056 PyObject
* obj0
= 0 ;
43057 PyObject
* obj1
= 0 ;
43058 PyObject
* obj2
= 0 ;
43059 PyObject
* obj3
= 0 ;
43060 PyObject
* obj4
= 0 ;
43061 PyObject
* obj5
= 0 ;
43062 char *kwnames
[] = {
43063 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43068 if (SWIG_arg_fail(1)) SWIG_fail
;
43071 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43075 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43078 arg4
= (int)(SWIG_As_int(obj3
));
43079 if (SWIG_arg_fail(4)) SWIG_fail
;
43082 arg5
= (int)(SWIG_As_int(obj4
));
43083 if (SWIG_arg_fail(5)) SWIG_fail
;
43089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43090 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43092 wxPyEndAllowThreads(__tstate
);
43093 if (PyErr_Occurred()) SWIG_fail
;
43095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43102 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43103 PyObject
*resultobj
;
43104 wxSizer
*arg1
= (wxSizer
*) 0 ;
43105 wxGBPosition
*arg2
= 0 ;
43106 wxGBSpan
*arg3
= 0 ;
43109 PyObject
*arg6
= (PyObject
*) NULL
;
43110 wxGBSizerItem
*result
;
43111 wxGBPosition temp2
;
43113 PyObject
* obj0
= 0 ;
43114 PyObject
* obj1
= 0 ;
43115 PyObject
* obj2
= 0 ;
43116 PyObject
* obj3
= 0 ;
43117 PyObject
* obj4
= 0 ;
43118 PyObject
* obj5
= 0 ;
43119 char *kwnames
[] = {
43120 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43125 if (SWIG_arg_fail(1)) SWIG_fail
;
43128 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43132 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43135 arg4
= (int)(SWIG_As_int(obj3
));
43136 if (SWIG_arg_fail(4)) SWIG_fail
;
43139 arg5
= (int)(SWIG_As_int(obj4
));
43140 if (SWIG_arg_fail(5)) SWIG_fail
;
43146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43147 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43149 wxPyEndAllowThreads(__tstate
);
43150 if (PyErr_Occurred()) SWIG_fail
;
43152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43159 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43160 PyObject
*resultobj
;
43163 wxGBPosition
*arg3
= 0 ;
43164 wxGBSpan
*arg4
= 0 ;
43167 PyObject
*arg7
= (PyObject
*) NULL
;
43168 wxGBSizerItem
*result
;
43169 wxGBPosition temp3
;
43171 PyObject
* obj0
= 0 ;
43172 PyObject
* obj1
= 0 ;
43173 PyObject
* obj2
= 0 ;
43174 PyObject
* obj3
= 0 ;
43175 PyObject
* obj4
= 0 ;
43176 PyObject
* obj5
= 0 ;
43177 PyObject
* obj6
= 0 ;
43178 char *kwnames
[] = {
43179 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43184 arg1
= (int)(SWIG_As_int(obj0
));
43185 if (SWIG_arg_fail(1)) SWIG_fail
;
43188 arg2
= (int)(SWIG_As_int(obj1
));
43189 if (SWIG_arg_fail(2)) SWIG_fail
;
43193 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43197 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43200 arg5
= (int)(SWIG_As_int(obj4
));
43201 if (SWIG_arg_fail(5)) SWIG_fail
;
43204 arg6
= (int)(SWIG_As_int(obj5
));
43205 if (SWIG_arg_fail(6)) SWIG_fail
;
43211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43212 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43214 wxPyEndAllowThreads(__tstate
);
43215 if (PyErr_Occurred()) SWIG_fail
;
43217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43224 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43225 PyObject
*resultobj
;
43226 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43227 wxGBPosition result
;
43228 PyObject
* obj0
= 0 ;
43229 char *kwnames
[] = {
43230 (char *) "self", NULL
43233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
43234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43235 if (SWIG_arg_fail(1)) SWIG_fail
;
43237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43238 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
43240 wxPyEndAllowThreads(__tstate
);
43241 if (PyErr_Occurred()) SWIG_fail
;
43244 wxGBPosition
* resultptr
;
43245 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43254 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43255 PyObject
*resultobj
;
43256 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43258 PyObject
* obj0
= 0 ;
43259 char *kwnames
[] = {
43260 (char *) "self", NULL
43263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
43264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43265 if (SWIG_arg_fail(1)) SWIG_fail
;
43267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43268 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
43270 wxPyEndAllowThreads(__tstate
);
43271 if (PyErr_Occurred()) SWIG_fail
;
43274 wxGBSpan
* resultptr
;
43275 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43284 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43285 PyObject
*resultobj
;
43286 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43287 wxGBPosition
*arg2
= 0 ;
43289 wxGBPosition temp2
;
43290 PyObject
* obj0
= 0 ;
43291 PyObject
* obj1
= 0 ;
43292 char *kwnames
[] = {
43293 (char *) "self",(char *) "pos", NULL
43296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
43297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43298 if (SWIG_arg_fail(1)) SWIG_fail
;
43301 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
43307 wxPyEndAllowThreads(__tstate
);
43308 if (PyErr_Occurred()) SWIG_fail
;
43311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43319 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43320 PyObject
*resultobj
;
43321 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43322 wxGBSpan
*arg2
= 0 ;
43325 PyObject
* obj0
= 0 ;
43326 PyObject
* obj1
= 0 ;
43327 char *kwnames
[] = {
43328 (char *) "self",(char *) "span", NULL
43331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
43332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43333 if (SWIG_arg_fail(1)) SWIG_fail
;
43336 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
43339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43340 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
43342 wxPyEndAllowThreads(__tstate
);
43343 if (PyErr_Occurred()) SWIG_fail
;
43346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43354 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43355 PyObject
*resultobj
;
43356 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43357 wxGBSizerItem
*arg2
= 0 ;
43359 PyObject
* obj0
= 0 ;
43360 PyObject
* obj1
= 0 ;
43361 char *kwnames
[] = {
43362 (char *) "self",(char *) "other", NULL
43365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
43366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43367 if (SWIG_arg_fail(1)) SWIG_fail
;
43369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43370 if (SWIG_arg_fail(2)) SWIG_fail
;
43371 if (arg2
== NULL
) {
43372 SWIG_null_ref("wxGBSizerItem");
43374 if (SWIG_arg_fail(2)) SWIG_fail
;
43377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43378 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
43380 wxPyEndAllowThreads(__tstate
);
43381 if (PyErr_Occurred()) SWIG_fail
;
43384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43392 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43393 PyObject
*resultobj
;
43394 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43395 wxGBPosition
*arg2
= 0 ;
43396 wxGBSpan
*arg3
= 0 ;
43398 wxGBPosition temp2
;
43400 PyObject
* obj0
= 0 ;
43401 PyObject
* obj1
= 0 ;
43402 PyObject
* obj2
= 0 ;
43403 char *kwnames
[] = {
43404 (char *) "self",(char *) "pos",(char *) "span", NULL
43407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43409 if (SWIG_arg_fail(1)) SWIG_fail
;
43412 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43416 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43420 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
43422 wxPyEndAllowThreads(__tstate
);
43423 if (PyErr_Occurred()) SWIG_fail
;
43426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43434 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43435 PyObject
*resultobj
;
43436 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43437 wxGBPosition result
;
43438 PyObject
* obj0
= 0 ;
43439 char *kwnames
[] = {
43440 (char *) "self", NULL
43443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
43444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43445 if (SWIG_arg_fail(1)) SWIG_fail
;
43447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43448 result
= wxGBSizerItem_GetEndPos(arg1
);
43450 wxPyEndAllowThreads(__tstate
);
43451 if (PyErr_Occurred()) SWIG_fail
;
43454 wxGBPosition
* resultptr
;
43455 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43464 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43465 PyObject
*resultobj
;
43466 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43467 wxGridBagSizer
*result
;
43468 PyObject
* obj0
= 0 ;
43469 char *kwnames
[] = {
43470 (char *) "self", NULL
43473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
43474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43475 if (SWIG_arg_fail(1)) SWIG_fail
;
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43478 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
43480 wxPyEndAllowThreads(__tstate
);
43481 if (PyErr_Occurred()) SWIG_fail
;
43483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
43490 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43491 PyObject
*resultobj
;
43492 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43493 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
43494 PyObject
* obj0
= 0 ;
43495 PyObject
* obj1
= 0 ;
43496 char *kwnames
[] = {
43497 (char *) "self",(char *) "sizer", NULL
43500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43502 if (SWIG_arg_fail(1)) SWIG_fail
;
43503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43504 if (SWIG_arg_fail(2)) SWIG_fail
;
43506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43507 (arg1
)->SetGBSizer(arg2
);
43509 wxPyEndAllowThreads(__tstate
);
43510 if (PyErr_Occurred()) SWIG_fail
;
43512 Py_INCREF(Py_None
); resultobj
= Py_None
;
43519 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
43521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43522 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
43524 return Py_BuildValue((char *)"");
43526 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43527 PyObject
*resultobj
;
43528 int arg1
= (int) 0 ;
43529 int arg2
= (int) 0 ;
43530 wxGridBagSizer
*result
;
43531 PyObject
* obj0
= 0 ;
43532 PyObject
* obj1
= 0 ;
43533 char *kwnames
[] = {
43534 (char *) "vgap",(char *) "hgap", NULL
43537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43540 arg1
= (int)(SWIG_As_int(obj0
));
43541 if (SWIG_arg_fail(1)) SWIG_fail
;
43546 arg2
= (int)(SWIG_As_int(obj1
));
43547 if (SWIG_arg_fail(2)) SWIG_fail
;
43551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43552 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43554 wxPyEndAllowThreads(__tstate
);
43555 if (PyErr_Occurred()) SWIG_fail
;
43557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43564 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43565 PyObject
*resultobj
;
43566 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43567 PyObject
*arg2
= (PyObject
*) 0 ;
43568 wxGBPosition
*arg3
= 0 ;
43569 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43570 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43571 int arg5
= (int) 0 ;
43572 int arg6
= (int) 0 ;
43573 PyObject
*arg7
= (PyObject
*) NULL
;
43574 wxGBSizerItem
*result
;
43575 wxGBPosition temp3
;
43577 PyObject
* obj0
= 0 ;
43578 PyObject
* obj1
= 0 ;
43579 PyObject
* obj2
= 0 ;
43580 PyObject
* obj3
= 0 ;
43581 PyObject
* obj4
= 0 ;
43582 PyObject
* obj5
= 0 ;
43583 PyObject
* obj6
= 0 ;
43584 char *kwnames
[] = {
43585 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43590 if (SWIG_arg_fail(1)) SWIG_fail
;
43594 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43599 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43604 arg5
= (int)(SWIG_As_int(obj4
));
43605 if (SWIG_arg_fail(5)) SWIG_fail
;
43610 arg6
= (int)(SWIG_As_int(obj5
));
43611 if (SWIG_arg_fail(6)) SWIG_fail
;
43618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43619 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43621 wxPyEndAllowThreads(__tstate
);
43622 if (PyErr_Occurred()) SWIG_fail
;
43624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43631 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43632 PyObject
*resultobj
;
43633 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43634 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43635 wxGBSizerItem
*result
;
43636 PyObject
* obj0
= 0 ;
43637 PyObject
* obj1
= 0 ;
43638 char *kwnames
[] = {
43639 (char *) "self",(char *) "item", NULL
43642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43644 if (SWIG_arg_fail(1)) SWIG_fail
;
43645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43646 if (SWIG_arg_fail(2)) SWIG_fail
;
43648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43649 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43651 wxPyEndAllowThreads(__tstate
);
43652 if (PyErr_Occurred()) SWIG_fail
;
43654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43661 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43662 PyObject
*resultobj
;
43663 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43667 PyObject
* obj0
= 0 ;
43668 PyObject
* obj1
= 0 ;
43669 PyObject
* obj2
= 0 ;
43670 char *kwnames
[] = {
43671 (char *) "self",(char *) "row",(char *) "col", NULL
43674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43676 if (SWIG_arg_fail(1)) SWIG_fail
;
43678 arg2
= (int)(SWIG_As_int(obj1
));
43679 if (SWIG_arg_fail(2)) SWIG_fail
;
43682 arg3
= (int)(SWIG_As_int(obj2
));
43683 if (SWIG_arg_fail(3)) SWIG_fail
;
43686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43687 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43693 wxSize
* resultptr
;
43694 resultptr
= new wxSize((wxSize
&)(result
));
43695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43703 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43704 PyObject
*resultobj
;
43705 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43707 PyObject
* obj0
= 0 ;
43708 char *kwnames
[] = {
43709 (char *) "self", NULL
43712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43714 if (SWIG_arg_fail(1)) SWIG_fail
;
43716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43717 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43719 wxPyEndAllowThreads(__tstate
);
43720 if (PyErr_Occurred()) SWIG_fail
;
43723 wxSize
* resultptr
;
43724 resultptr
= new wxSize((wxSize
&)(result
));
43725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43733 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43734 PyObject
*resultobj
;
43735 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43738 PyObject
* obj0
= 0 ;
43739 PyObject
* obj1
= 0 ;
43740 char *kwnames
[] = {
43741 (char *) "self",(char *) "sz", NULL
43744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43746 if (SWIG_arg_fail(1)) SWIG_fail
;
43749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43753 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43755 wxPyEndAllowThreads(__tstate
);
43756 if (PyErr_Occurred()) SWIG_fail
;
43758 Py_INCREF(Py_None
); resultobj
= Py_None
;
43765 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43766 PyObject
*resultobj
;
43767 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43768 wxWindow
*arg2
= (wxWindow
*) 0 ;
43769 wxGBPosition result
;
43770 PyObject
* obj0
= 0 ;
43771 PyObject
* obj1
= 0 ;
43773 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43775 if (SWIG_arg_fail(1)) SWIG_fail
;
43776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43777 if (SWIG_arg_fail(2)) SWIG_fail
;
43779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43780 result
= (arg1
)->GetItemPosition(arg2
);
43782 wxPyEndAllowThreads(__tstate
);
43783 if (PyErr_Occurred()) SWIG_fail
;
43786 wxGBPosition
* resultptr
;
43787 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43796 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43797 PyObject
*resultobj
;
43798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43799 wxSizer
*arg2
= (wxSizer
*) 0 ;
43800 wxGBPosition result
;
43801 PyObject
* obj0
= 0 ;
43802 PyObject
* obj1
= 0 ;
43804 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43806 if (SWIG_arg_fail(1)) SWIG_fail
;
43807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43808 if (SWIG_arg_fail(2)) SWIG_fail
;
43810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43811 result
= (arg1
)->GetItemPosition(arg2
);
43813 wxPyEndAllowThreads(__tstate
);
43814 if (PyErr_Occurred()) SWIG_fail
;
43817 wxGBPosition
* resultptr
;
43818 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43827 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43828 PyObject
*resultobj
;
43829 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43831 wxGBPosition result
;
43832 PyObject
* obj0
= 0 ;
43833 PyObject
* obj1
= 0 ;
43835 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43837 if (SWIG_arg_fail(1)) SWIG_fail
;
43839 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43840 if (SWIG_arg_fail(2)) SWIG_fail
;
43843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43844 result
= (arg1
)->GetItemPosition(arg2
);
43846 wxPyEndAllowThreads(__tstate
);
43847 if (PyErr_Occurred()) SWIG_fail
;
43850 wxGBPosition
* resultptr
;
43851 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43860 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43865 argc
= PyObject_Length(args
);
43866 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43867 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43873 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43883 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43891 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43899 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43909 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43917 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43933 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43935 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43940 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43945 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43946 PyObject
*resultobj
;
43947 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43948 wxWindow
*arg2
= (wxWindow
*) 0 ;
43949 wxGBPosition
*arg3
= 0 ;
43951 wxGBPosition temp3
;
43952 PyObject
* obj0
= 0 ;
43953 PyObject
* obj1
= 0 ;
43954 PyObject
* obj2
= 0 ;
43956 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43958 if (SWIG_arg_fail(1)) SWIG_fail
;
43959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43960 if (SWIG_arg_fail(2)) SWIG_fail
;
43963 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43969 wxPyEndAllowThreads(__tstate
);
43970 if (PyErr_Occurred()) SWIG_fail
;
43973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43981 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43982 PyObject
*resultobj
;
43983 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43984 wxSizer
*arg2
= (wxSizer
*) 0 ;
43985 wxGBPosition
*arg3
= 0 ;
43987 wxGBPosition temp3
;
43988 PyObject
* obj0
= 0 ;
43989 PyObject
* obj1
= 0 ;
43990 PyObject
* obj2
= 0 ;
43992 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43994 if (SWIG_arg_fail(1)) SWIG_fail
;
43995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43996 if (SWIG_arg_fail(2)) SWIG_fail
;
43999 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44003 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44005 wxPyEndAllowThreads(__tstate
);
44006 if (PyErr_Occurred()) SWIG_fail
;
44009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44017 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
44018 PyObject
*resultobj
;
44019 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44021 wxGBPosition
*arg3
= 0 ;
44023 wxGBPosition temp3
;
44024 PyObject
* obj0
= 0 ;
44025 PyObject
* obj1
= 0 ;
44026 PyObject
* obj2
= 0 ;
44028 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
44029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44030 if (SWIG_arg_fail(1)) SWIG_fail
;
44032 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44033 if (SWIG_arg_fail(2)) SWIG_fail
;
44037 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44041 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44043 wxPyEndAllowThreads(__tstate
);
44044 if (PyErr_Occurred()) SWIG_fail
;
44047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44055 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
44060 argc
= PyObject_Length(args
);
44061 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44062 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44087 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44090 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
44099 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44109 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44118 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44121 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
44130 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44138 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44141 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44144 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
44150 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
44155 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44156 PyObject
*resultobj
;
44157 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44158 wxWindow
*arg2
= (wxWindow
*) 0 ;
44160 PyObject
* obj0
= 0 ;
44161 PyObject
* obj1
= 0 ;
44163 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44165 if (SWIG_arg_fail(1)) SWIG_fail
;
44166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44167 if (SWIG_arg_fail(2)) SWIG_fail
;
44169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44170 result
= (arg1
)->GetItemSpan(arg2
);
44172 wxPyEndAllowThreads(__tstate
);
44173 if (PyErr_Occurred()) SWIG_fail
;
44176 wxGBSpan
* resultptr
;
44177 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44186 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44187 PyObject
*resultobj
;
44188 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44189 wxSizer
*arg2
= (wxSizer
*) 0 ;
44191 PyObject
* obj0
= 0 ;
44192 PyObject
* obj1
= 0 ;
44194 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44196 if (SWIG_arg_fail(1)) SWIG_fail
;
44197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44198 if (SWIG_arg_fail(2)) SWIG_fail
;
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 result
= (arg1
)->GetItemSpan(arg2
);
44203 wxPyEndAllowThreads(__tstate
);
44204 if (PyErr_Occurred()) SWIG_fail
;
44207 wxGBSpan
* resultptr
;
44208 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44217 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44218 PyObject
*resultobj
;
44219 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44222 PyObject
* obj0
= 0 ;
44223 PyObject
* obj1
= 0 ;
44225 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44227 if (SWIG_arg_fail(1)) SWIG_fail
;
44229 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44230 if (SWIG_arg_fail(2)) SWIG_fail
;
44233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44234 result
= (arg1
)->GetItemSpan(arg2
);
44236 wxPyEndAllowThreads(__tstate
);
44237 if (PyErr_Occurred()) SWIG_fail
;
44240 wxGBSpan
* resultptr
;
44241 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44250 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
44255 argc
= PyObject_Length(args
);
44256 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44257 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44263 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44273 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44281 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
44289 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44299 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44307 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
44315 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44323 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44325 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
44330 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
44335 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44336 PyObject
*resultobj
;
44337 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44338 wxWindow
*arg2
= (wxWindow
*) 0 ;
44339 wxGBSpan
*arg3
= 0 ;
44342 PyObject
* obj0
= 0 ;
44343 PyObject
* obj1
= 0 ;
44344 PyObject
* obj2
= 0 ;
44346 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44348 if (SWIG_arg_fail(1)) SWIG_fail
;
44349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44350 if (SWIG_arg_fail(2)) SWIG_fail
;
44353 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44357 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44359 wxPyEndAllowThreads(__tstate
);
44360 if (PyErr_Occurred()) SWIG_fail
;
44363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44371 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44372 PyObject
*resultobj
;
44373 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44374 wxSizer
*arg2
= (wxSizer
*) 0 ;
44375 wxGBSpan
*arg3
= 0 ;
44378 PyObject
* obj0
= 0 ;
44379 PyObject
* obj1
= 0 ;
44380 PyObject
* obj2
= 0 ;
44382 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44384 if (SWIG_arg_fail(1)) SWIG_fail
;
44385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44386 if (SWIG_arg_fail(2)) SWIG_fail
;
44389 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44393 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44395 wxPyEndAllowThreads(__tstate
);
44396 if (PyErr_Occurred()) SWIG_fail
;
44399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44407 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44408 PyObject
*resultobj
;
44409 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44411 wxGBSpan
*arg3
= 0 ;
44414 PyObject
* obj0
= 0 ;
44415 PyObject
* obj1
= 0 ;
44416 PyObject
* obj2
= 0 ;
44418 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44420 if (SWIG_arg_fail(1)) SWIG_fail
;
44422 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44423 if (SWIG_arg_fail(2)) SWIG_fail
;
44427 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44431 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44433 wxPyEndAllowThreads(__tstate
);
44434 if (PyErr_Occurred()) SWIG_fail
;
44437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44445 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
44450 argc
= PyObject_Length(args
);
44451 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44452 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44458 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44468 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44477 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44480 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
44489 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44499 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44508 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44511 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
44520 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44528 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44531 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44534 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44540 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44545 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44546 PyObject
*resultobj
;
44547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44548 wxWindow
*arg2
= (wxWindow
*) 0 ;
44549 wxGBSizerItem
*result
;
44550 PyObject
* obj0
= 0 ;
44551 PyObject
* obj1
= 0 ;
44553 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44555 if (SWIG_arg_fail(1)) SWIG_fail
;
44556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44557 if (SWIG_arg_fail(2)) SWIG_fail
;
44559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44560 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44562 wxPyEndAllowThreads(__tstate
);
44563 if (PyErr_Occurred()) SWIG_fail
;
44565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44572 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44573 PyObject
*resultobj
;
44574 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44575 wxSizer
*arg2
= (wxSizer
*) 0 ;
44576 wxGBSizerItem
*result
;
44577 PyObject
* obj0
= 0 ;
44578 PyObject
* obj1
= 0 ;
44580 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44582 if (SWIG_arg_fail(1)) SWIG_fail
;
44583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44584 if (SWIG_arg_fail(2)) SWIG_fail
;
44586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44587 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44589 wxPyEndAllowThreads(__tstate
);
44590 if (PyErr_Occurred()) SWIG_fail
;
44592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44599 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44604 argc
= PyObject_Length(args
);
44605 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44606 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44622 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44630 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44638 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44648 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44656 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44661 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44666 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44667 PyObject
*resultobj
;
44668 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44669 wxGBPosition
*arg2
= 0 ;
44670 wxGBSizerItem
*result
;
44671 wxGBPosition temp2
;
44672 PyObject
* obj0
= 0 ;
44673 PyObject
* obj1
= 0 ;
44674 char *kwnames
[] = {
44675 (char *) "self",(char *) "pos", NULL
44678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44680 if (SWIG_arg_fail(1)) SWIG_fail
;
44683 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44687 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44689 wxPyEndAllowThreads(__tstate
);
44690 if (PyErr_Occurred()) SWIG_fail
;
44692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44699 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44700 PyObject
*resultobj
;
44701 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44702 wxPoint
*arg2
= 0 ;
44703 wxGBSizerItem
*result
;
44705 PyObject
* obj0
= 0 ;
44706 PyObject
* obj1
= 0 ;
44707 char *kwnames
[] = {
44708 (char *) "self",(char *) "pt", NULL
44711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44713 if (SWIG_arg_fail(1)) SWIG_fail
;
44716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44720 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44722 wxPyEndAllowThreads(__tstate
);
44723 if (PyErr_Occurred()) SWIG_fail
;
44725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44732 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44733 PyObject
*resultobj
;
44734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44735 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44736 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44738 PyObject
* obj0
= 0 ;
44739 PyObject
* obj1
= 0 ;
44740 PyObject
* obj2
= 0 ;
44741 char *kwnames
[] = {
44742 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44747 if (SWIG_arg_fail(1)) SWIG_fail
;
44748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44749 if (SWIG_arg_fail(2)) SWIG_fail
;
44751 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44752 if (SWIG_arg_fail(3)) SWIG_fail
;
44755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44756 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44758 wxPyEndAllowThreads(__tstate
);
44759 if (PyErr_Occurred()) SWIG_fail
;
44762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44770 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44771 PyObject
*resultobj
;
44772 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44773 wxGBPosition
*arg2
= 0 ;
44774 wxGBSpan
*arg3
= 0 ;
44775 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44777 wxGBPosition temp2
;
44779 PyObject
* obj0
= 0 ;
44780 PyObject
* obj1
= 0 ;
44781 PyObject
* obj2
= 0 ;
44782 PyObject
* obj3
= 0 ;
44783 char *kwnames
[] = {
44784 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44789 if (SWIG_arg_fail(1)) SWIG_fail
;
44792 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44796 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44799 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44800 if (SWIG_arg_fail(4)) SWIG_fail
;
44803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44804 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44806 wxPyEndAllowThreads(__tstate
);
44807 if (PyErr_Occurred()) SWIG_fail
;
44810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44818 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44821 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44823 return Py_BuildValue((char *)"");
44825 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44826 PyObject
*resultobj
;
44827 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44828 wxRelationship arg2
;
44829 wxWindow
*arg3
= (wxWindow
*) 0 ;
44831 int arg5
= (int) 0 ;
44832 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44833 PyObject
* obj0
= 0 ;
44834 PyObject
* obj1
= 0 ;
44835 PyObject
* obj2
= 0 ;
44836 PyObject
* obj3
= 0 ;
44837 PyObject
* obj4
= 0 ;
44838 PyObject
* obj5
= 0 ;
44839 char *kwnames
[] = {
44840 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44845 if (SWIG_arg_fail(1)) SWIG_fail
;
44847 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44848 if (SWIG_arg_fail(2)) SWIG_fail
;
44850 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44851 if (SWIG_arg_fail(3)) SWIG_fail
;
44853 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44854 if (SWIG_arg_fail(4)) SWIG_fail
;
44858 arg5
= (int)(SWIG_As_int(obj4
));
44859 if (SWIG_arg_fail(5)) SWIG_fail
;
44864 arg6
= (int)(SWIG_As_int(obj5
));
44865 if (SWIG_arg_fail(6)) SWIG_fail
;
44869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44870 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44872 wxPyEndAllowThreads(__tstate
);
44873 if (PyErr_Occurred()) SWIG_fail
;
44875 Py_INCREF(Py_None
); resultobj
= Py_None
;
44882 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44883 PyObject
*resultobj
;
44884 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44885 wxWindow
*arg2
= (wxWindow
*) 0 ;
44886 int arg3
= (int) 0 ;
44887 PyObject
* obj0
= 0 ;
44888 PyObject
* obj1
= 0 ;
44889 PyObject
* obj2
= 0 ;
44890 char *kwnames
[] = {
44891 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44896 if (SWIG_arg_fail(1)) SWIG_fail
;
44897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44898 if (SWIG_arg_fail(2)) SWIG_fail
;
44901 arg3
= (int)(SWIG_As_int(obj2
));
44902 if (SWIG_arg_fail(3)) SWIG_fail
;
44906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44907 (arg1
)->LeftOf(arg2
,arg3
);
44909 wxPyEndAllowThreads(__tstate
);
44910 if (PyErr_Occurred()) SWIG_fail
;
44912 Py_INCREF(Py_None
); resultobj
= Py_None
;
44919 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44920 PyObject
*resultobj
;
44921 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44922 wxWindow
*arg2
= (wxWindow
*) 0 ;
44923 int arg3
= (int) 0 ;
44924 PyObject
* obj0
= 0 ;
44925 PyObject
* obj1
= 0 ;
44926 PyObject
* obj2
= 0 ;
44927 char *kwnames
[] = {
44928 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44933 if (SWIG_arg_fail(1)) SWIG_fail
;
44934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44935 if (SWIG_arg_fail(2)) SWIG_fail
;
44938 arg3
= (int)(SWIG_As_int(obj2
));
44939 if (SWIG_arg_fail(3)) SWIG_fail
;
44943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44944 (arg1
)->RightOf(arg2
,arg3
);
44946 wxPyEndAllowThreads(__tstate
);
44947 if (PyErr_Occurred()) SWIG_fail
;
44949 Py_INCREF(Py_None
); resultobj
= Py_None
;
44956 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44957 PyObject
*resultobj
;
44958 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44959 wxWindow
*arg2
= (wxWindow
*) 0 ;
44960 int arg3
= (int) 0 ;
44961 PyObject
* obj0
= 0 ;
44962 PyObject
* obj1
= 0 ;
44963 PyObject
* obj2
= 0 ;
44964 char *kwnames
[] = {
44965 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44970 if (SWIG_arg_fail(1)) SWIG_fail
;
44971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44972 if (SWIG_arg_fail(2)) SWIG_fail
;
44975 arg3
= (int)(SWIG_As_int(obj2
));
44976 if (SWIG_arg_fail(3)) SWIG_fail
;
44980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44981 (arg1
)->Above(arg2
,arg3
);
44983 wxPyEndAllowThreads(__tstate
);
44984 if (PyErr_Occurred()) SWIG_fail
;
44986 Py_INCREF(Py_None
); resultobj
= Py_None
;
44993 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44994 PyObject
*resultobj
;
44995 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44996 wxWindow
*arg2
= (wxWindow
*) 0 ;
44997 int arg3
= (int) 0 ;
44998 PyObject
* obj0
= 0 ;
44999 PyObject
* obj1
= 0 ;
45000 PyObject
* obj2
= 0 ;
45001 char *kwnames
[] = {
45002 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45007 if (SWIG_arg_fail(1)) SWIG_fail
;
45008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45009 if (SWIG_arg_fail(2)) SWIG_fail
;
45012 arg3
= (int)(SWIG_As_int(obj2
));
45013 if (SWIG_arg_fail(3)) SWIG_fail
;
45017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45018 (arg1
)->Below(arg2
,arg3
);
45020 wxPyEndAllowThreads(__tstate
);
45021 if (PyErr_Occurred()) SWIG_fail
;
45023 Py_INCREF(Py_None
); resultobj
= Py_None
;
45030 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45031 PyObject
*resultobj
;
45032 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45033 wxWindow
*arg2
= (wxWindow
*) 0 ;
45035 int arg4
= (int) 0 ;
45036 PyObject
* obj0
= 0 ;
45037 PyObject
* obj1
= 0 ;
45038 PyObject
* obj2
= 0 ;
45039 PyObject
* obj3
= 0 ;
45040 char *kwnames
[] = {
45041 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
45044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45046 if (SWIG_arg_fail(1)) SWIG_fail
;
45047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45048 if (SWIG_arg_fail(2)) SWIG_fail
;
45050 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45051 if (SWIG_arg_fail(3)) SWIG_fail
;
45055 arg4
= (int)(SWIG_As_int(obj3
));
45056 if (SWIG_arg_fail(4)) SWIG_fail
;
45060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45061 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
45063 wxPyEndAllowThreads(__tstate
);
45064 if (PyErr_Occurred()) SWIG_fail
;
45066 Py_INCREF(Py_None
); resultobj
= Py_None
;
45073 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45074 PyObject
*resultobj
;
45075 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45076 wxWindow
*arg2
= (wxWindow
*) 0 ;
45079 PyObject
* obj0
= 0 ;
45080 PyObject
* obj1
= 0 ;
45081 PyObject
* obj2
= 0 ;
45082 PyObject
* obj3
= 0 ;
45083 char *kwnames
[] = {
45084 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
45087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45089 if (SWIG_arg_fail(1)) SWIG_fail
;
45090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45091 if (SWIG_arg_fail(2)) SWIG_fail
;
45093 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45094 if (SWIG_arg_fail(3)) SWIG_fail
;
45097 arg4
= (int)(SWIG_As_int(obj3
));
45098 if (SWIG_arg_fail(4)) SWIG_fail
;
45101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45102 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
45104 wxPyEndAllowThreads(__tstate
);
45105 if (PyErr_Occurred()) SWIG_fail
;
45107 Py_INCREF(Py_None
); resultobj
= Py_None
;
45114 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45115 PyObject
*resultobj
;
45116 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45118 PyObject
* obj0
= 0 ;
45119 PyObject
* obj1
= 0 ;
45120 char *kwnames
[] = {
45121 (char *) "self",(char *) "val", NULL
45124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
45125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45126 if (SWIG_arg_fail(1)) SWIG_fail
;
45128 arg2
= (int)(SWIG_As_int(obj1
));
45129 if (SWIG_arg_fail(2)) SWIG_fail
;
45132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45133 (arg1
)->Absolute(arg2
);
45135 wxPyEndAllowThreads(__tstate
);
45136 if (PyErr_Occurred()) SWIG_fail
;
45138 Py_INCREF(Py_None
); resultobj
= Py_None
;
45145 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45146 PyObject
*resultobj
;
45147 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45148 PyObject
* obj0
= 0 ;
45149 char *kwnames
[] = {
45150 (char *) "self", NULL
45153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
45154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45155 if (SWIG_arg_fail(1)) SWIG_fail
;
45157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45158 (arg1
)->Unconstrained();
45160 wxPyEndAllowThreads(__tstate
);
45161 if (PyErr_Occurred()) SWIG_fail
;
45163 Py_INCREF(Py_None
); resultobj
= Py_None
;
45170 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45171 PyObject
*resultobj
;
45172 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45173 PyObject
* obj0
= 0 ;
45174 char *kwnames
[] = {
45175 (char *) "self", NULL
45178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
45179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45180 if (SWIG_arg_fail(1)) SWIG_fail
;
45182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45185 wxPyEndAllowThreads(__tstate
);
45186 if (PyErr_Occurred()) SWIG_fail
;
45188 Py_INCREF(Py_None
); resultobj
= Py_None
;
45195 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45196 PyObject
*resultobj
;
45197 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45199 PyObject
* obj0
= 0 ;
45200 char *kwnames
[] = {
45201 (char *) "self", NULL
45204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
45205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45206 if (SWIG_arg_fail(1)) SWIG_fail
;
45208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45209 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
45211 wxPyEndAllowThreads(__tstate
);
45212 if (PyErr_Occurred()) SWIG_fail
;
45215 resultobj
= wxPyMake_wxObject(result
, 0);
45223 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45224 PyObject
*resultobj
;
45225 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45227 PyObject
* obj0
= 0 ;
45228 char *kwnames
[] = {
45229 (char *) "self", NULL
45232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
45233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45234 if (SWIG_arg_fail(1)) SWIG_fail
;
45236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45237 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
45239 wxPyEndAllowThreads(__tstate
);
45240 if (PyErr_Occurred()) SWIG_fail
;
45242 resultobj
= SWIG_From_int((result
));
45249 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45250 PyObject
*resultobj
;
45251 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45253 PyObject
* obj0
= 0 ;
45254 PyObject
* obj1
= 0 ;
45255 char *kwnames
[] = {
45256 (char *) "self",(char *) "which", NULL
45259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
45260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45261 if (SWIG_arg_fail(1)) SWIG_fail
;
45263 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45264 if (SWIG_arg_fail(2)) SWIG_fail
;
45267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45268 (arg1
)->SetEdge((wxEdge
)arg2
);
45270 wxPyEndAllowThreads(__tstate
);
45271 if (PyErr_Occurred()) SWIG_fail
;
45273 Py_INCREF(Py_None
); resultobj
= Py_None
;
45280 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45281 PyObject
*resultobj
;
45282 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45284 PyObject
* obj0
= 0 ;
45285 PyObject
* obj1
= 0 ;
45286 char *kwnames
[] = {
45287 (char *) "self",(char *) "v", NULL
45290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
45291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45292 if (SWIG_arg_fail(1)) SWIG_fail
;
45294 arg2
= (int)(SWIG_As_int(obj1
));
45295 if (SWIG_arg_fail(2)) SWIG_fail
;
45298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45299 (arg1
)->SetValue(arg2
);
45301 wxPyEndAllowThreads(__tstate
);
45302 if (PyErr_Occurred()) SWIG_fail
;
45304 Py_INCREF(Py_None
); resultobj
= Py_None
;
45311 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45312 PyObject
*resultobj
;
45313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45315 PyObject
* obj0
= 0 ;
45316 char *kwnames
[] = {
45317 (char *) "self", NULL
45320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
45321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45322 if (SWIG_arg_fail(1)) SWIG_fail
;
45324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45325 result
= (int)(arg1
)->GetMargin();
45327 wxPyEndAllowThreads(__tstate
);
45328 if (PyErr_Occurred()) SWIG_fail
;
45331 resultobj
= SWIG_From_int((int)(result
));
45339 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45340 PyObject
*resultobj
;
45341 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45343 PyObject
* obj0
= 0 ;
45344 PyObject
* obj1
= 0 ;
45345 char *kwnames
[] = {
45346 (char *) "self",(char *) "m", NULL
45349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
45350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45351 if (SWIG_arg_fail(1)) SWIG_fail
;
45353 arg2
= (int)(SWIG_As_int(obj1
));
45354 if (SWIG_arg_fail(2)) SWIG_fail
;
45357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45358 (arg1
)->SetMargin(arg2
);
45360 wxPyEndAllowThreads(__tstate
);
45361 if (PyErr_Occurred()) SWIG_fail
;
45363 Py_INCREF(Py_None
); resultobj
= Py_None
;
45370 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45371 PyObject
*resultobj
;
45372 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45374 PyObject
* obj0
= 0 ;
45375 char *kwnames
[] = {
45376 (char *) "self", NULL
45379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
45380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45381 if (SWIG_arg_fail(1)) SWIG_fail
;
45383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45384 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
45386 wxPyEndAllowThreads(__tstate
);
45387 if (PyErr_Occurred()) SWIG_fail
;
45390 resultobj
= SWIG_From_int((int)(result
));
45398 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45399 PyObject
*resultobj
;
45400 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45402 PyObject
* obj0
= 0 ;
45403 char *kwnames
[] = {
45404 (char *) "self", NULL
45407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
45408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45409 if (SWIG_arg_fail(1)) SWIG_fail
;
45411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45412 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
45414 wxPyEndAllowThreads(__tstate
);
45415 if (PyErr_Occurred()) SWIG_fail
;
45418 resultobj
= SWIG_From_int((int)(result
));
45426 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45427 PyObject
*resultobj
;
45428 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45430 PyObject
* obj0
= 0 ;
45431 char *kwnames
[] = {
45432 (char *) "self", NULL
45435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
45436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45437 if (SWIG_arg_fail(1)) SWIG_fail
;
45439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45440 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
45442 wxPyEndAllowThreads(__tstate
);
45443 if (PyErr_Occurred()) SWIG_fail
;
45446 resultobj
= SWIG_From_int((int)(result
));
45454 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45455 PyObject
*resultobj
;
45456 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45458 PyObject
* obj0
= 0 ;
45459 char *kwnames
[] = {
45460 (char *) "self", NULL
45463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
45464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45465 if (SWIG_arg_fail(1)) SWIG_fail
;
45467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45468 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
45470 wxPyEndAllowThreads(__tstate
);
45471 if (PyErr_Occurred()) SWIG_fail
;
45474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45482 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45483 PyObject
*resultobj
;
45484 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45486 PyObject
* obj0
= 0 ;
45487 PyObject
* obj1
= 0 ;
45488 char *kwnames
[] = {
45489 (char *) "self",(char *) "d", NULL
45492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
45493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45494 if (SWIG_arg_fail(1)) SWIG_fail
;
45496 arg2
= (bool)(SWIG_As_bool(obj1
));
45497 if (SWIG_arg_fail(2)) SWIG_fail
;
45500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45501 (arg1
)->SetDone(arg2
);
45503 wxPyEndAllowThreads(__tstate
);
45504 if (PyErr_Occurred()) SWIG_fail
;
45506 Py_INCREF(Py_None
); resultobj
= Py_None
;
45513 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45514 PyObject
*resultobj
;
45515 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45516 wxRelationship result
;
45517 PyObject
* obj0
= 0 ;
45518 char *kwnames
[] = {
45519 (char *) "self", NULL
45522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
45523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45524 if (SWIG_arg_fail(1)) SWIG_fail
;
45526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45527 result
= (wxRelationship
)(arg1
)->GetRelationship();
45529 wxPyEndAllowThreads(__tstate
);
45530 if (PyErr_Occurred()) SWIG_fail
;
45532 resultobj
= SWIG_From_int((result
));
45539 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45540 PyObject
*resultobj
;
45541 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45542 wxRelationship arg2
;
45543 PyObject
* obj0
= 0 ;
45544 PyObject
* obj1
= 0 ;
45545 char *kwnames
[] = {
45546 (char *) "self",(char *) "r", NULL
45549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45551 if (SWIG_arg_fail(1)) SWIG_fail
;
45553 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45554 if (SWIG_arg_fail(2)) SWIG_fail
;
45557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45558 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45560 wxPyEndAllowThreads(__tstate
);
45561 if (PyErr_Occurred()) SWIG_fail
;
45563 Py_INCREF(Py_None
); resultobj
= Py_None
;
45570 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45571 PyObject
*resultobj
;
45572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45573 wxWindow
*arg2
= (wxWindow
*) 0 ;
45575 PyObject
* obj0
= 0 ;
45576 PyObject
* obj1
= 0 ;
45577 char *kwnames
[] = {
45578 (char *) "self",(char *) "otherW", NULL
45581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45583 if (SWIG_arg_fail(1)) SWIG_fail
;
45584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45585 if (SWIG_arg_fail(2)) SWIG_fail
;
45587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45588 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45590 wxPyEndAllowThreads(__tstate
);
45591 if (PyErr_Occurred()) SWIG_fail
;
45594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45602 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45603 PyObject
*resultobj
;
45604 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45605 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45606 wxWindow
*arg3
= (wxWindow
*) 0 ;
45608 PyObject
* obj0
= 0 ;
45609 PyObject
* obj1
= 0 ;
45610 PyObject
* obj2
= 0 ;
45611 char *kwnames
[] = {
45612 (char *) "self",(char *) "constraints",(char *) "win", NULL
45615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45617 if (SWIG_arg_fail(1)) SWIG_fail
;
45618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45619 if (SWIG_arg_fail(2)) SWIG_fail
;
45620 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45621 if (SWIG_arg_fail(3)) SWIG_fail
;
45623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45624 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45626 wxPyEndAllowThreads(__tstate
);
45627 if (PyErr_Occurred()) SWIG_fail
;
45630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45638 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45639 PyObject
*resultobj
;
45640 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45642 wxWindow
*arg3
= (wxWindow
*) 0 ;
45643 wxWindow
*arg4
= (wxWindow
*) 0 ;
45645 PyObject
* obj0
= 0 ;
45646 PyObject
* obj1
= 0 ;
45647 PyObject
* obj2
= 0 ;
45648 PyObject
* obj3
= 0 ;
45649 char *kwnames
[] = {
45650 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45655 if (SWIG_arg_fail(1)) SWIG_fail
;
45657 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45658 if (SWIG_arg_fail(2)) SWIG_fail
;
45660 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45661 if (SWIG_arg_fail(3)) SWIG_fail
;
45662 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45663 if (SWIG_arg_fail(4)) SWIG_fail
;
45665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45666 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45668 wxPyEndAllowThreads(__tstate
);
45669 if (PyErr_Occurred()) SWIG_fail
;
45672 resultobj
= SWIG_From_int((int)(result
));
45680 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45683 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45685 return Py_BuildValue((char *)"");
45687 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45688 PyObject
*resultobj
;
45689 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45690 wxIndividualLayoutConstraint
*result
;
45691 PyObject
* obj0
= 0 ;
45692 char *kwnames
[] = {
45693 (char *) "self", NULL
45696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45698 if (SWIG_arg_fail(1)) SWIG_fail
;
45699 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45708 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45709 PyObject
*resultobj
;
45710 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45711 wxIndividualLayoutConstraint
*result
;
45712 PyObject
* obj0
= 0 ;
45713 char *kwnames
[] = {
45714 (char *) "self", NULL
45717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45719 if (SWIG_arg_fail(1)) SWIG_fail
;
45720 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45729 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45730 PyObject
*resultobj
;
45731 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45732 wxIndividualLayoutConstraint
*result
;
45733 PyObject
* obj0
= 0 ;
45734 char *kwnames
[] = {
45735 (char *) "self", NULL
45738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45740 if (SWIG_arg_fail(1)) SWIG_fail
;
45741 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45750 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45751 PyObject
*resultobj
;
45752 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45753 wxIndividualLayoutConstraint
*result
;
45754 PyObject
* obj0
= 0 ;
45755 char *kwnames
[] = {
45756 (char *) "self", NULL
45759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45761 if (SWIG_arg_fail(1)) SWIG_fail
;
45762 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45771 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45772 PyObject
*resultobj
;
45773 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45774 wxIndividualLayoutConstraint
*result
;
45775 PyObject
* obj0
= 0 ;
45776 char *kwnames
[] = {
45777 (char *) "self", NULL
45780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45782 if (SWIG_arg_fail(1)) SWIG_fail
;
45783 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45792 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45793 PyObject
*resultobj
;
45794 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45795 wxIndividualLayoutConstraint
*result
;
45796 PyObject
* obj0
= 0 ;
45797 char *kwnames
[] = {
45798 (char *) "self", NULL
45801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45803 if (SWIG_arg_fail(1)) SWIG_fail
;
45804 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45813 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45814 PyObject
*resultobj
;
45815 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45816 wxIndividualLayoutConstraint
*result
;
45817 PyObject
* obj0
= 0 ;
45818 char *kwnames
[] = {
45819 (char *) "self", NULL
45822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45824 if (SWIG_arg_fail(1)) SWIG_fail
;
45825 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45834 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45835 PyObject
*resultobj
;
45836 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45837 wxIndividualLayoutConstraint
*result
;
45838 PyObject
* obj0
= 0 ;
45839 char *kwnames
[] = {
45840 (char *) "self", NULL
45843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45845 if (SWIG_arg_fail(1)) SWIG_fail
;
45846 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45855 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45856 PyObject
*resultobj
;
45857 wxLayoutConstraints
*result
;
45858 char *kwnames
[] = {
45862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45865 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45867 wxPyEndAllowThreads(__tstate
);
45868 if (PyErr_Occurred()) SWIG_fail
;
45870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45877 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45878 PyObject
*resultobj
;
45879 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45880 wxWindow
*arg2
= (wxWindow
*) 0 ;
45881 int *arg3
= (int *) 0 ;
45885 PyObject
* obj0
= 0 ;
45886 PyObject
* obj1
= 0 ;
45887 char *kwnames
[] = {
45888 (char *) "self",(char *) "win", NULL
45891 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45894 if (SWIG_arg_fail(1)) SWIG_fail
;
45895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45896 if (SWIG_arg_fail(2)) SWIG_fail
;
45898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45899 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45901 wxPyEndAllowThreads(__tstate
);
45902 if (PyErr_Occurred()) SWIG_fail
;
45905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45907 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45908 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45915 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45916 PyObject
*resultobj
;
45917 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45919 PyObject
* obj0
= 0 ;
45920 char *kwnames
[] = {
45921 (char *) "self", NULL
45924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45926 if (SWIG_arg_fail(1)) SWIG_fail
;
45928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45929 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45931 wxPyEndAllowThreads(__tstate
);
45932 if (PyErr_Occurred()) SWIG_fail
;
45935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45943 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45946 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45948 return Py_BuildValue((char *)"");
45950 static PyMethodDef SwigMethods
[] = {
45951 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45952 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45953 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45977 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45990 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
46005 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
46059 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
46087 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
46106 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
46108 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
46116 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46117 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46129 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
46141 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
46145 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
46151 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
46161 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
46171 { (char *)"new_PyImageHandler", (PyCFunction
) _wrap_new_PyImageHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
46174 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
46181 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Image_RGBValue_red_set", (PyCFunction
) _wrap_Image_RGBValue_red_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Image_RGBValue_red_get", (PyCFunction
) _wrap_Image_RGBValue_red_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Image_RGBValue_green_set", (PyCFunction
) _wrap_Image_RGBValue_green_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Image_RGBValue_green_get", (PyCFunction
) _wrap_Image_RGBValue_green_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Image_RGBValue_blue_set", (PyCFunction
) _wrap_Image_RGBValue_blue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Image_RGBValue_blue_get", (PyCFunction
) _wrap_Image_RGBValue_blue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
46189 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Image_HSVValue_hue_set", (PyCFunction
) _wrap_Image_HSVValue_hue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Image_HSVValue_hue_get", (PyCFunction
) _wrap_Image_HSVValue_hue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Image_HSVValue_saturation_set", (PyCFunction
) _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
) _wrap_Image_HSVValue_saturation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Image_HSVValue_value_set", (PyCFunction
) _wrap_Image_HSVValue_value_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Image_HSVValue_value_get", (PyCFunction
) _wrap_Image_HSVValue_value_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
46197 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
46280 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
46282 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
46284 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
46286 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
46288 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
46290 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
46292 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
46296 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
46298 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
46300 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
46302 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
46304 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
46318 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
46336 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
46339 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
46342 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
46354 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
46359 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
46365 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
46434 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
46441 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
46477 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
46487 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
46493 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
46495 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
46497 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
46500 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
46504 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
46507 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
46510 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
46512 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
46517 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
46525 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
46529 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
46532 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
46534 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
46538 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
46555 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46557 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46560 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46562 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46566 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46570 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46581 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46584 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46587 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46591 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46598 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46603 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46608 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46612 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46657 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46677 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46684 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46688 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46698 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46869 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46911 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46926 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46929 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46984 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
47013 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
47057 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
47065 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
47084 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
47085 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
47122 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
47152 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
47155 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
47159 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
47162 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
47172 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
47184 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
47196 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
47206 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
47216 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
47230 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
47237 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
47238 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
47239 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
47240 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
47241 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
47246 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
47273 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
47285 { NULL
, NULL
, 0, NULL
}
47289 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47291 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
47292 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
47294 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
47295 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
47297 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
47298 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47300 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
47301 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47303 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
47304 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47306 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
47307 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
47309 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
47310 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47312 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
47313 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
47315 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
47316 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47318 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
47319 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47321 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47324 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47325 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47327 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47328 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47330 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47331 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47333 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47334 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47336 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47337 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47339 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47340 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47342 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47345 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47346 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47348 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47351 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47352 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47354 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47357 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47358 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47360 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47361 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47363 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47364 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47366 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47367 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47369 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47370 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47372 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47373 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47375 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47378 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47379 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47381 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47382 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47384 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47387 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47388 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47390 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47391 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47393 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47394 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47396 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47397 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47399 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47400 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47402 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47403 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47405 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47408 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47409 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47411 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47412 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47414 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47417 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47420 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47421 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47423 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47424 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47426 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47427 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47429 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
47430 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47432 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
47433 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47435 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
47436 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47438 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47439 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47441 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47442 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47444 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47447 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47448 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47450 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47453 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47454 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47456 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47457 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47459 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47460 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47462 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47463 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47465 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47466 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47468 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
47469 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
47471 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
47472 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
47474 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
47475 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
47477 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
47478 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
47480 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
47481 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
47483 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
47484 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47486 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
47487 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
47489 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
47490 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
47492 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
47493 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
47495 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
47496 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47498 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
47499 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47501 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
47502 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
47504 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
47505 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
47507 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
47508 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
47510 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
47511 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
47513 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
47514 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
47516 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
47517 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
47519 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
47520 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
47522 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
47523 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
47525 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47526 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
47528 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47529 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
47531 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47532 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
47534 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47535 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47537 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47538 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47540 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47541 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47543 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47546 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47547 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47549 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47550 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47552 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47553 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47555 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47556 return (void *)((wxObject
*) ((wxSizer
*) x
));
47558 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47559 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47561 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47564 static void *_p_wxEventTo_p_wxObject(void *x
) {
47565 return (void *)((wxObject
*) ((wxEvent
*) x
));
47567 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47568 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47570 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47571 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47573 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47574 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47576 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47577 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47579 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47580 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47582 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47583 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47585 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47586 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47588 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47589 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47591 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47592 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47594 static void *_p_wxControlTo_p_wxObject(void *x
) {
47595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47597 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47598 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47600 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47601 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47603 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47604 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47606 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47607 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47609 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47612 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47613 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47615 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47618 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47621 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47624 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47627 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47630 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47633 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47636 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47639 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47642 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47645 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47648 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47651 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47654 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47657 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47660 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47663 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47666 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47669 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47672 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47675 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47678 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47681 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47684 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47687 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47690 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47693 static void *_p_wxImageTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) ((wxImage
*) x
));
47696 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47699 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47702 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47705 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47708 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47711 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47714 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47717 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47720 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47723 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47726 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47729 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47732 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47735 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47738 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47741 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47744 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47747 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47750 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47753 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47756 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47759 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47762 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47763 return (void *)((wxWindow
*) ((wxControl
*) x
));
47765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47766 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47768 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47769 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47771 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47772 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47774 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47775 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47777 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47778 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47780 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47781 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47783 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47784 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47786 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47787 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47789 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47790 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47792 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47793 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47795 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47796 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47798 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47799 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47801 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}};
47802 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}};
47803 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}};
47804 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}};
47805 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}};
47806 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}};
47807 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}};
47808 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}};
47809 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}};
47810 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}};
47811 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}};
47812 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}};
47813 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}};
47814 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}};
47815 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}};
47816 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}};
47817 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}};
47818 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}};
47819 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}};
47820 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}};
47821 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}};
47822 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}};
47823 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}};
47824 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}};
47825 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}};
47826 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}};
47827 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}};
47828 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}};
47829 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}};
47830 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}};
47831 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}};
47832 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}};
47833 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}};
47834 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}};
47835 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}};
47836 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}};
47837 static swig_type_info _swigt__p_wxImage_HSVValue
[] = {{"_p_wxImage_HSVValue", 0, "wxImage_HSVValue *", 0, 0, 0, 0},{"_p_wxImage_HSVValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47838 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}};
47839 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}};
47840 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}};
47841 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}};
47842 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}};
47843 static swig_type_info _swigt__p_wxImage_RGBValue
[] = {{"_p_wxImage_RGBValue", 0, "wxImage_RGBValue *", 0, 0, 0, 0},{"_p_wxImage_RGBValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47844 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}};
47845 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}};
47846 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}};
47847 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}};
47848 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}};
47849 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}};
47850 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}};
47851 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}};
47852 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}};
47853 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}};
47854 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}};
47855 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}};
47856 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}};
47857 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}};
47858 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}};
47859 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}};
47860 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}};
47861 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}};
47862 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}};
47863 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}};
47864 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}};
47865 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}};
47866 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}};
47867 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}};
47868 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}};
47869 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}};
47870 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}};
47871 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}};
47872 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}};
47873 static swig_type_info _swigt__p_wxPyImageHandler
[] = {{"_p_wxPyImageHandler", 0, "wxPyImageHandler *", 0, 0, 0, 0},{"_p_wxPyImageHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47874 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}};
47875 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}};
47876 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}};
47877 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}};
47878 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}};
47879 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}};
47880 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}};
47881 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}};
47882 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxImageHandler
, 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}};
47883 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}};
47884 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}};
47885 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}};
47886 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}};
47887 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}};
47888 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}};
47889 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}};
47890 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}};
47891 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}};
47892 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}};
47893 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}};
47894 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}};
47895 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}};
47896 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}};
47897 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}};
47898 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}};
47899 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_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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}};
47900 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}};
47901 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}};
47902 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}};
47903 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}};
47904 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}};
47905 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}};
47906 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}};
47907 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}};
47908 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}};
47909 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}};
47910 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}};
47911 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}};
47912 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}};
47913 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}};
47914 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}};
47915 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}};
47916 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47917 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}};
47918 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}};
47919 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}};
47920 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}};
47921 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}};
47922 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}};
47923 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}};
47924 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}};
47925 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}};
47926 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}};
47927 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}};
47928 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}};
47929 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}};
47930 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}};
47931 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}};
47933 static swig_type_info
*swig_types_initial
[] = {
47934 _swigt__p_wxLayoutConstraints
,
47935 _swigt__p_wxRealPoint
,
47936 _swigt__p_wxSizerItem
,
47937 _swigt__p_wxGBSizerItem
,
47938 _swigt__p_wxScrollEvent
,
47939 _swigt__p_wxEventLoop
,
47940 _swigt__p_wxIndividualLayoutConstraint
,
47942 _swigt__p_wxBoxSizer
,
47943 _swigt__p_wxStaticBoxSizer
,
47944 _swigt__p_wxGridBagSizer
,
47945 _swigt__p_wxAcceleratorEntry
,
47946 _swigt__p_wxUpdateUIEvent
,
47950 _swigt__p_wxGridSizer
,
47951 _swigt__p_wxFlexGridSizer
,
47952 _swigt__p_wxInitDialogEvent
,
47953 _swigt__p_wxItemContainer
,
47954 _swigt__p_wxPaintEvent
,
47955 _swigt__p_wxNcPaintEvent
,
47956 _swigt__p_wxSysColourChangedEvent
,
47957 _swigt__p_wxMouseCaptureChangedEvent
,
47958 _swigt__p_wxDisplayChangedEvent
,
47959 _swigt__p_wxPaletteChangedEvent
,
47960 _swigt__p_wxControl
,
47962 _swigt__p_wxMenuBarBase
,
47963 _swigt__p_wxSetCursorEvent
,
47964 _swigt__p_wxFSFile
,
47967 _swigt__std__ptrdiff_t
,
47968 _swigt__p_wxRegion
,
47969 _swigt__p_wxPoint2D
,
47970 _swigt__p_wxImage_HSVValue
,
47974 _swigt__p_wxPySizer
,
47975 _swigt__p_wxVisualAttributes
,
47976 _swigt__p_wxImage_RGBValue
,
47977 _swigt__p_wxNotifyEvent
,
47978 _swigt__p_wxPyEvent
,
47979 _swigt__p_wxPropagationDisabler
,
47980 _swigt__p_form_ops_t
,
47981 _swigt__p_wxAppTraits
,
47982 _swigt__p_wxArrayString
,
47983 _swigt__p_wxShowEvent
,
47984 _swigt__p_wxToolTip
,
47985 _swigt__p_wxMoveEvent
,
47986 _swigt__p_wxSizeEvent
,
47987 _swigt__p_wxActivateEvent
,
47988 _swigt__p_wxIconizeEvent
,
47989 _swigt__p_wxMaximizeEvent
,
47990 _swigt__p_wxQueryNewPaletteEvent
,
47991 _swigt__p_wxWindowCreateEvent
,
47992 _swigt__p_wxIdleEvent
,
47993 _swigt__p_wxDateEvent
,
47994 _swigt__p_wxMenuItem
,
47995 _swigt__p_wxStaticBox
,
47997 _swigt__p_wxDuplexMode
,
47998 _swigt__p_wxTIFFHandler
,
47999 _swigt__p_wxXPMHandler
,
48000 _swigt__p_wxPNMHandler
,
48001 _swigt__p_wxJPEGHandler
,
48002 _swigt__p_wxPCXHandler
,
48003 _swigt__p_wxGIFHandler
,
48004 _swigt__p_wxPNGHandler
,
48005 _swigt__p_wxANIHandler
,
48006 _swigt__p_wxPyImageHandler
,
48007 _swigt__p_wxMemoryFSHandler
,
48008 _swigt__p_wxZipFSHandler
,
48009 _swigt__p_wxInternetFSHandler
,
48010 _swigt__p_wxPyFileSystemHandler
,
48011 _swigt__p_wxEvtHandler
,
48012 _swigt__p_wxCURHandler
,
48013 _swigt__p_wxICOHandler
,
48014 _swigt__p_wxBMPHandler
,
48015 _swigt__p_wxImageHandler
,
48016 _swigt__p_wxFileSystemHandler
,
48018 _swigt__p_wxButton
,
48019 _swigt__p_wxGBSpan
,
48020 _swigt__p_wxPropagateOnce
,
48021 _swigt__p_wxAcceleratorTable
,
48022 _swigt__p_wxStdDialogButtonSizer
,
48024 _swigt__p_wxGBPosition
,
48027 _swigt__p_wxScrollWinEvent
,
48028 _swigt__p_wxPaperSize
,
48029 _swigt__p_wxImageHistogram
,
48031 _swigt__p_wxCursor
,
48032 _swigt__p_wxObject
,
48033 _swigt__p_wxInputStream
,
48034 _swigt__p_wxOutputStream
,
48035 _swigt__p_wxPyInputStream
,
48036 _swigt__p_wxDateTime
,
48037 _swigt__p_wxKeyEvent
,
48038 _swigt__p_wxNavigationKeyEvent
,
48039 _swigt__p_wxWindowDestroyEvent
,
48040 _swigt__p_unsigned_long
,
48041 _swigt__p_wxWindow
,
48042 _swigt__p_wxMenuBar
,
48043 _swigt__p_wxFileSystem
,
48044 _swigt__p_wxBitmap
,
48045 _swigt__unsigned_int
,
48046 _swigt__p_unsigned_int
,
48047 _swigt__p_wxMenuEvent
,
48048 _swigt__p_wxContextMenuEvent
,
48049 _swigt__p_unsigned_char
,
48050 _swigt__p_wxMouseEvent
,
48051 _swigt__p_wxEraseEvent
,
48052 _swigt__p_wxCloseEvent
,
48054 _swigt__p_wxCommandEvent
,
48055 _swigt__p_wxPyCommandEvent
,
48056 _swigt__p_wxPyDropTarget
,
48057 _swigt__p_wxQuantize
,
48058 _swigt__p_wxFocusEvent
,
48059 _swigt__p_wxChildFocusEvent
,
48060 _swigt__p_wxDropFilesEvent
,
48061 _swigt__p_wxControlWithItems
,
48062 _swigt__p_wxColour
,
48063 _swigt__p_wxValidator
,
48064 _swigt__p_wxPyValidator
,
48069 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48071 static swig_const_info swig_const_table
[] = {
48072 {0, 0, 0, 0.0, 0, 0}};
48083 /* Python-specific SWIG API */
48084 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48085 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48086 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48088 /* -----------------------------------------------------------------------------
48089 * global variable support code.
48090 * ----------------------------------------------------------------------------- */
48092 typedef struct swig_globalvar
{
48093 char *name
; /* Name of global variable */
48094 PyObject
*(*get_attr
)(); /* Return the current value */
48095 int (*set_attr
)(PyObject
*); /* Set the value */
48096 struct swig_globalvar
*next
;
48099 typedef struct swig_varlinkobject
{
48101 swig_globalvar
*vars
;
48102 } swig_varlinkobject
;
48105 swig_varlink_repr(swig_varlinkobject
*v
) {
48107 return PyString_FromString("<Swig global variables>");
48111 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
48112 swig_globalvar
*var
;
48114 fprintf(fp
,"Swig global variables { ");
48115 for (var
= v
->vars
; var
; var
=var
->next
) {
48116 fprintf(fp
,"%s", var
->name
);
48117 if (var
->next
) fprintf(fp
,", ");
48119 fprintf(fp
," }\n");
48124 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48125 swig_globalvar
*var
= v
->vars
;
48127 if (strcmp(var
->name
,n
) == 0) {
48128 return (*var
->get_attr
)();
48132 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48137 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48138 swig_globalvar
*var
= v
->vars
;
48140 if (strcmp(var
->name
,n
) == 0) {
48141 return (*var
->set_attr
)(p
);
48145 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48149 static PyTypeObject varlinktype
= {
48150 PyObject_HEAD_INIT(0)
48151 0, /* Number of items in variable part (ob_size) */
48152 (char *)"swigvarlink", /* Type name (tp_name) */
48153 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48154 0, /* Itemsize (tp_itemsize) */
48155 0, /* Deallocator (tp_dealloc) */
48156 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48157 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48158 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48159 0, /* tp_compare */
48160 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48161 0, /* tp_as_number */
48162 0, /* tp_as_sequence */
48163 0, /* tp_as_mapping */
48167 0, /* tp_getattro */
48168 0, /* tp_setattro */
48169 0, /* tp_as_buffer */
48172 #if PY_VERSION_HEX >= 0x02000000
48173 0, /* tp_traverse */
48176 #if PY_VERSION_HEX >= 0x02010000
48177 0, /* tp_richcompare */
48178 0, /* tp_weaklistoffset */
48180 #if PY_VERSION_HEX >= 0x02020000
48181 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48183 #if PY_VERSION_HEX >= 0x02030000
48186 #ifdef COUNT_ALLOCS
48187 0,0,0,0 /* tp_alloc -> tp_next */
48191 /* Create a variable linking object for use later */
48193 SWIG_Python_newvarlink(void) {
48194 swig_varlinkobject
*result
= 0;
48195 result
= PyMem_NEW(swig_varlinkobject
,1);
48196 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
48197 result
->ob_type
= &varlinktype
;
48199 result
->ob_refcnt
= 0;
48200 Py_XINCREF((PyObject
*) result
);
48201 return ((PyObject
*) result
);
48205 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48206 swig_varlinkobject
*v
;
48207 swig_globalvar
*gv
;
48208 v
= (swig_varlinkobject
*) p
;
48209 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48210 gv
->name
= (char *) malloc(strlen(name
)+1);
48211 strcpy(gv
->name
,name
);
48212 gv
->get_attr
= get_attr
;
48213 gv
->set_attr
= set_attr
;
48214 gv
->next
= v
->vars
;
48218 /* -----------------------------------------------------------------------------
48219 * constants/methods manipulation
48220 * ----------------------------------------------------------------------------- */
48222 /* Install Constants */
48224 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48227 for (i
= 0; constants
[i
].type
; i
++) {
48228 switch(constants
[i
].type
) {
48230 obj
= PyInt_FromLong(constants
[i
].lvalue
);
48232 case SWIG_PY_FLOAT
:
48233 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
48235 case SWIG_PY_STRING
:
48236 if (constants
[i
].pvalue
) {
48237 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
48239 Py_INCREF(Py_None
);
48243 case SWIG_PY_POINTER
:
48244 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48246 case SWIG_PY_BINARY
:
48247 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48254 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
48260 /* -----------------------------------------------------------------------------*/
48261 /* Fix SwigMethods to carry the callback ptrs when needed */
48262 /* -----------------------------------------------------------------------------*/
48265 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48266 swig_const_info
*const_table
,
48267 swig_type_info
**types
,
48268 swig_type_info
**types_initial
) {
48270 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48271 char *c
= methods
[i
].ml_doc
;
48272 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48274 swig_const_info
*ci
= 0;
48275 char *name
= c
+ 10;
48276 for (j
= 0; const_table
[j
].type
; j
++) {
48277 if (strncmp(const_table
[j
].name
, name
,
48278 strlen(const_table
[j
].name
)) == 0) {
48279 ci
= &(const_table
[j
]);
48284 size_t shift
= (ci
->ptype
) - types
;
48285 swig_type_info
*ty
= types_initial
[shift
];
48286 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48287 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48288 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48290 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
48291 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48293 strncpy(buff
, "swig_ptr: ", 10);
48295 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48296 methods
[i
].ml_doc
= ndoc
;
48302 /* -----------------------------------------------------------------------------*
48303 * Initialize type list
48304 * -----------------------------------------------------------------------------*/
48306 #if PY_MAJOR_VERSION < 2
48307 /* PyModule_AddObject function was introduced in Python 2.0. The following function
48308 is copied out of Python/modsupport.c in python version 2.3.4 */
48310 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
48313 if (!PyModule_Check(m
)) {
48314 PyErr_SetString(PyExc_TypeError
,
48315 "PyModule_AddObject() needs module as first arg");
48319 PyErr_SetString(PyExc_TypeError
,
48320 "PyModule_AddObject() needs non-NULL value");
48324 dict
= PyModule_GetDict(m
);
48325 if (dict
== NULL
) {
48326 /* Internal error -- modules must have a dict! */
48327 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
48328 PyModule_GetName(m
));
48331 if (PyDict_SetItemString(dict
, name
, o
))
48338 static swig_type_info
**
48339 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
48340 static PyMethodDef swig_empty_runtime_method_table
[] = {
48342 NULL
, NULL
, 0, NULL
48346 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
48347 swig_empty_runtime_method_table
);
48348 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
48349 if (pointer
&& module) {
48350 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
48352 return type_list_handle
;
48355 static swig_type_info
**
48356 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
48357 swig_type_info
**type_pointer
;
48359 /* first check if module already created */
48360 type_pointer
= SWIG_Python_GetTypeListHandle();
48361 if (type_pointer
) {
48362 return type_pointer
;
48364 /* create a new module and variable */
48365 return SWIG_Python_SetTypeListHandle(type_list_handle
);
48373 /* -----------------------------------------------------------------------------*
48374 * Partial Init method
48375 * -----------------------------------------------------------------------------*/
48377 #ifdef SWIG_LINK_RUNTIME
48381 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
48387 SWIGEXPORT(void) SWIG_init(void) {
48388 static PyObject
*SWIG_globals
= 0;
48389 static int typeinit
= 0;
48392 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
48394 /* Fix SwigMethods to carry the callback ptrs when needed */
48395 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
48397 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48398 d
= PyModule_GetDict(m
);
48401 #ifdef SWIG_LINK_RUNTIME
48402 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
48404 # ifndef SWIG_STATIC_RUNTIME
48405 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
48408 for (i
= 0; swig_types_initial
[i
]; i
++) {
48409 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
48413 SWIG_InstallConstants(d
,swig_const_table
);
48416 #ifndef wxPyUSE_EXPORT
48417 // Make our API structure a CObject so other modules can import it
48418 // from this module.
48419 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
48420 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
48425 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
48428 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
48431 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
48434 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
48437 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
48440 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
48443 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
48446 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
48449 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
48452 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
48455 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
48458 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
48461 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
48464 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
48467 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
48470 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
48473 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
48476 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
48479 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
48482 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
48485 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
48488 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
48491 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
48494 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
48497 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
48500 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
48503 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
48506 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
48509 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
48512 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
48515 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
48518 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
48521 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
48524 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
48527 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
48530 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
48533 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
48536 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
48539 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
48542 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
48545 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
48548 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
48551 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
48554 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
48557 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
48560 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
48563 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
48566 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
48569 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48572 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48575 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48578 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48581 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48584 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48587 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48590 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48593 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48596 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48599 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48602 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48605 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48608 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48611 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48614 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48617 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48620 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48623 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48626 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48629 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48632 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48635 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48638 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48641 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48644 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48647 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48650 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48653 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48656 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48659 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48662 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48665 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48668 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48671 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48674 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48677 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48680 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48683 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48686 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48689 PyDict_SetItemString(d
,"SIZE_FORCE", SWIG_From_int((int)(wxSIZE_FORCE
)));
48692 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48695 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48698 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48701 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48704 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48707 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48710 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48713 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48716 PyDict_SetItemString(d
,"ID_NONE", SWIG_From_int((int)(wxID_NONE
)));
48719 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48722 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48725 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48728 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48731 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48734 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48737 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48740 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48743 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48746 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48749 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48752 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48755 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48758 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48761 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48764 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48767 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48770 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48773 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48776 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48779 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48782 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48785 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48788 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48791 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48794 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48797 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48800 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48803 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48806 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48809 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48812 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48815 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48818 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48821 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48824 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48827 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48830 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48833 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48836 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48839 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48842 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48845 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48848 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48851 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48854 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48857 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48860 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48863 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48866 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48869 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48872 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48875 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48878 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48881 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48884 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48887 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48890 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48893 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48896 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48899 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48902 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48905 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48908 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48911 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48914 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48917 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48920 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48923 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48926 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48929 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48932 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48935 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48938 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48941 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48944 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48947 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48950 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48953 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48956 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48959 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48962 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48965 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48968 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48971 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48974 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48977 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48980 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48983 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48986 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48989 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48992 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48995 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48998 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
49001 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
49004 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
49007 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
49010 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
49013 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
49016 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
49019 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
49022 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
49025 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
49028 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
49031 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
49034 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
49037 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
49040 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
49043 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
49046 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
49049 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
49052 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
49055 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
49058 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
49061 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
49064 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
49067 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
49070 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
49073 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
49076 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
49079 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
49082 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
49085 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
49088 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
49091 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
49094 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
49097 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
49100 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
49103 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
49106 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
49109 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
49112 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
49115 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
49118 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
49121 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
49124 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
49127 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
49130 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
49133 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
49136 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
49139 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
49142 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
49145 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
49148 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
49151 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
49154 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
49157 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
49160 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
49163 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
49166 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
49169 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
49172 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
49175 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
49178 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
49181 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
49184 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
49187 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
49190 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
49193 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
49196 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
49199 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
49202 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
49205 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
49208 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
49211 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
49214 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
49217 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
49220 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
49223 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
49226 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
49229 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
49232 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
49235 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
49238 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
49241 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
49244 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
49247 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
49250 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
49253 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
49256 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
49259 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
49262 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
49265 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
49268 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
49271 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
49274 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
49277 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
49280 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
49283 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
49286 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
49289 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
49292 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
49295 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
49298 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
49301 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
49304 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
49307 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
49310 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
49313 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
49316 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
49319 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
49322 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
49325 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
49328 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
49331 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
49334 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
49337 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
49340 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
49343 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
49346 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
49349 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
49352 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
49355 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
49358 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
49361 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
49364 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
49367 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
49370 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
49373 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
49376 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
49379 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
49382 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
49385 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
49388 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
49391 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
49394 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
49397 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
49400 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
49403 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
49406 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
49409 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
49412 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
49415 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
49418 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
49421 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
49424 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
49427 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
49430 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
49433 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
49436 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
49439 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
49442 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
49445 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
49448 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
49451 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
49454 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
49457 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
49460 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
49463 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
49466 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
49469 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
49472 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
49475 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
49478 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
49481 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
49484 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
49487 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
49490 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
49493 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
49496 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
49499 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
49502 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
49505 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
49508 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
49511 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
49514 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
49517 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
49520 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
49523 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
49526 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
49529 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
49532 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
49535 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
49538 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
49541 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
49544 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
49547 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
49550 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
49553 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
49556 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
49559 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
49562 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
49565 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
49568 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
49571 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
49574 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49577 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49580 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49583 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49586 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49589 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49592 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49595 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49598 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49601 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49604 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49607 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49610 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49613 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49616 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49619 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49622 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49625 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49628 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49631 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49634 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49637 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49640 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49643 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49646 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49649 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49652 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49655 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49658 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49661 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49664 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49667 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49670 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49673 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49676 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49679 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49682 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49685 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49688 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49691 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49694 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49697 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49700 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49703 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49706 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49709 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49712 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49715 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49718 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49721 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49724 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49727 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49730 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49733 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49736 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49739 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49742 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49745 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49748 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49751 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49754 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49757 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49760 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49763 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49766 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49769 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49772 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49775 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49778 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49781 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49784 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49787 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49790 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49793 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49796 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49799 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49802 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49805 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49808 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49811 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49814 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49817 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49820 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49823 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49826 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49829 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49832 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49835 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49838 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49841 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49844 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49847 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49850 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49853 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49856 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49859 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49862 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49865 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49868 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49871 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49874 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49877 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49880 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49883 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49886 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49889 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49892 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49895 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49898 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49901 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49904 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49907 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49910 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49913 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49916 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49919 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49922 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49925 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49928 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49931 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49934 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49937 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49940 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49943 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49946 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49949 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49952 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49955 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49958 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49961 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49964 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49967 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49970 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49973 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49976 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49979 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49982 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49985 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49988 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49991 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49994 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49997 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
50000 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
50003 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
50006 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
50009 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
50012 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
50015 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
50018 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
50021 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
50024 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
50027 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
50030 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
50033 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
50036 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
50039 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
50042 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
50045 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
50048 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
50051 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
50054 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
50057 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
50060 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
50063 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
50066 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
50069 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
50072 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
50075 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
50078 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
50081 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
50084 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
50087 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
50090 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
50093 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
50096 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
50099 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
50102 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
50105 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
50108 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
50111 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
50114 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
50117 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
50120 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
50123 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
50126 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
50129 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
50132 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
50135 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
50138 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
50141 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
50144 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
50147 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
50150 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
50153 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
50156 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
50159 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
50162 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
50165 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
50168 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
50171 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
50174 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
50177 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
50180 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
50183 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
50186 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
50189 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
50192 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
50195 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
50198 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
50201 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
50204 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
50207 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
50210 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
50213 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
50216 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
50219 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
50222 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
50225 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
50228 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
50231 PyDict_SetItemString(d
,"MOD_ALTGR", SWIG_From_int((int)(wxMOD_ALTGR
)));
50234 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
50237 PyDict_SetItemString(d
,"MOD_META", SWIG_From_int((int)(wxMOD_META
)));
50240 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
50243 PyDict_SetItemString(d
,"MOD_CMD", SWIG_From_int((int)(wxMOD_CMD
)));
50246 PyDict_SetItemString(d
,"MOD_ALL", SWIG_From_int((int)(wxMOD_ALL
)));
50249 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
50252 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
50255 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
50257 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
50258 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
50260 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
50263 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
50266 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
50269 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
50272 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
50275 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
50278 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
50281 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
50284 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
50287 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
50290 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
50293 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
50296 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
50299 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
50302 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
50305 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
50308 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
50311 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
50314 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
50317 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
50320 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
50323 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
50326 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
50329 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
50332 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
50335 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
50338 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
50341 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
50344 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
50347 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
50350 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
50353 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
50356 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
50359 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
50362 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
50365 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
50368 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
50371 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
50374 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
50377 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
50380 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
50383 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
50386 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
50389 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
50392 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
50395 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
50398 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
50401 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
50404 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
50407 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
50410 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
50412 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
50413 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
50415 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
50418 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
50421 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
50424 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
50427 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
50430 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
50433 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
50436 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
50438 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
50439 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
50440 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
50441 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
50442 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
50443 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
50444 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
50445 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
50446 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
50447 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
50449 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
50452 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
50454 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
50455 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
50456 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
50457 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
50458 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
50459 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
50461 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
50464 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
50467 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
50470 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
50473 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
50476 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
50479 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
50482 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
50485 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
50488 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
50491 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
50494 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
50497 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
50500 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
50503 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
50506 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
50508 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
50509 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
50510 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
50511 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
50512 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
50513 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
50514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
50515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
50516 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
50517 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
50518 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
50519 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
50520 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
50521 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
50522 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
50523 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
50524 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
50525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
50526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
50527 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
50528 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
50529 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
50530 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
50531 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
50532 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
50533 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
50534 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
50535 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
50536 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
50537 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
50538 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
50539 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
50540 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
50541 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
50542 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
50543 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
50544 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
50545 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
50546 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
50547 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
50548 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
50549 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
50550 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
50551 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
50552 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
50553 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
50554 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
50555 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
50556 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
50557 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
50558 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
50559 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
50560 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
50561 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
50562 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
50563 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
50564 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
50565 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
50566 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
50567 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
50568 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
50569 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
50570 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
50571 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
50572 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
50573 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
50574 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
50575 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
50576 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
50577 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
50578 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
50579 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
50580 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
50581 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
50582 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
50583 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
50584 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
50585 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
50586 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
50587 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50588 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50589 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50590 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50591 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50592 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50593 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50594 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50595 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50596 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50597 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50598 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50599 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50600 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50601 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50602 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50603 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50604 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50605 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50606 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50607 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50608 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50609 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50610 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50611 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50612 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50613 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50614 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50615 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50616 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50617 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50618 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50619 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50620 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50621 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50622 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50624 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50627 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50630 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50633 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50636 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50639 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50642 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50645 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50648 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50651 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50654 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50657 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50660 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50662 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50664 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50667 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50670 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50673 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50676 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50679 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50681 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50682 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50684 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50687 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50690 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50693 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50696 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50698 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50699 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50701 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50704 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50707 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50709 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50711 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50714 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50717 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50720 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50723 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50726 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50729 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50732 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50735 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50738 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50741 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50744 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50747 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50750 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50753 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50756 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50759 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50762 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50765 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50768 // Initialize threading, some globals and such
50772 // Although these are defined in __version__ they need to be here too so
50773 // that an assert can be done to ensure that the wxPython and the wxWindows
50775 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50776 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50777 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));