1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 PyObject
* list
= PyList_New(count
);
2618 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2622 for (int i
=0; i
<count
; i
++) {
2623 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2629 static wxPyApp
*new_wxPyApp(){
2630 wxPythonApp
= new wxPyApp();
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 PyObject
* GetTopLevelWindows() {
2770 return wxPy_ConvertList(&wxTopLevelWindows
);
2774 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2775 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2778 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2780 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2781 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2782 wxMenuItemList
& list
= self
->GetMenuItems();
2783 return wxPy_ConvertList(&list
);
2785 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2786 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 return self
->Append(item
, data
);
2791 return self
->Append(item
);
2793 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2795 wxPyClientData
* data
= new wxPyClientData(clientData
);
2796 return self
->Insert(item
, pos
, data
);
2798 return self
->Insert(item
, pos
);
2800 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2801 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2803 Py_INCREF(data
->m_obj
);
2810 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2811 wxPyClientData
* data
= new wxPyClientData(clientData
);
2812 self
->SetClientObject(n
, data
);
2816 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2817 wxPyUserData
* data
= NULL
;
2819 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2820 data
= new wxPyUserData(userData
);
2821 wxPyEndBlockThreads(blocked
);
2823 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2825 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2826 wxPyUserData
* data
= NULL
;
2828 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2829 data
= new wxPyUserData(userData
);
2830 wxPyEndBlockThreads(blocked
);
2832 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2834 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2835 wxPyUserData
* data
= NULL
;
2837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2838 data
= new wxPyUserData(userData
);
2839 wxPyEndBlockThreads(blocked
);
2841 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2846 SWIG_CheckDoubleInRange(double value
, double min_value
,
2847 double max_value
, const char* errmsg
)
2849 if (value
< min_value
) {
2851 PyErr_Format(PyExc_OverflowError
,
2852 "value %g is less than %s minimum %g",
2853 value
, errmsg
, min_value
);
2856 } else if (value
> max_value
) {
2858 PyErr_Format(PyExc_OverflowError
,
2859 "value %g is greater than %s maximum %g",
2860 value
, errmsg
, max_value
);
2869 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2871 const char* errmsg
= val
? "float" : (char*)0;
2873 if (SWIG_AsVal_double(obj
, &v
)) {
2874 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2875 if (val
) *val
= (float)(v
);
2884 SWIG_type_error(errmsg
, obj
);
2890 SWIGINTERNSHORT
float
2891 SWIG_As_float(PyObject
* obj
)
2894 if (!SWIG_AsVal_float(obj
, &v
)) {
2896 this is needed to make valgrind/purify happier.
2898 memset((void*)&v
, 0, sizeof(float));
2905 SWIG_Check_float(PyObject
* obj
)
2907 return SWIG_AsVal_float(obj
, (float*)0);
2911 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2912 #define SWIG_From_float PyFloat_FromDouble
2915 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2916 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2918 Py_INCREF(data
->m_obj
);
2926 // Figure out the type of the sizer item
2928 struct wxPySizerItemInfo
{
2930 : window(NULL
), sizer(NULL
), gotSize(false),
2931 size(wxDefaultSize
), gotPos(false), pos(-1)
2942 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2944 wxPySizerItemInfo info
;
2946 wxSize
* sizePtr
= &size
;
2948 // Find out what the type of the item is
2950 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2955 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2959 // try wxSize or (w,h)
2960 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2961 info
.size
= *sizePtr
;
2962 info
.gotSize
= true;
2966 if (checkIdx
&& PyInt_Check(item
)) {
2967 info
.pos
= PyInt_AsLong(item
);
2973 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2974 // no expected type, figure out what kind of error message to generate
2975 if ( !checkSize
&& !checkIdx
)
2976 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2977 else if ( checkSize
&& !checkIdx
)
2978 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2979 else if ( !checkSize
&& checkIdx
)
2980 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2982 // can this one happen?
2983 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2989 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2990 if (!self
->GetClientObject())
2991 self
->SetClientObject(new wxPyOORClientData(_self
));
2993 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2995 wxPyUserData
* data
= NULL
;
2996 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2997 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2998 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2999 data
= new wxPyUserData(userData
);
3000 wxPyEndBlockThreads(blocked
);
3002 // Now call the real Add method if a valid item type was found
3004 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3005 else if ( info
.sizer
)
3006 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3007 else if (info
.gotSize
)
3008 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3009 proportion
, flag
, border
, data
);
3013 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3015 wxPyUserData
* data
= NULL
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3018 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3019 data
= new wxPyUserData(userData
);
3020 wxPyEndBlockThreads(blocked
);
3022 // Now call the real Insert method if a valid item type was found
3024 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3025 else if ( info
.sizer
)
3026 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3027 else if (info
.gotSize
)
3028 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3029 proportion
, flag
, border
, data
);
3033 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3035 wxPyUserData
* data
= NULL
;
3036 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3037 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3038 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3039 data
= new wxPyUserData(userData
);
3040 wxPyEndBlockThreads(blocked
);
3042 // Now call the real Prepend method if a valid item type was found
3044 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3045 else if ( info
.sizer
)
3046 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3047 else if (info
.gotSize
)
3048 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3049 proportion
, flag
, border
, data
);
3053 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3056 wxPyEndBlockThreads(blocked
);
3058 return self
->Remove(info
.window
);
3059 else if ( info
.sizer
)
3060 return self
->Remove(info
.sizer
);
3061 else if ( info
.gotPos
)
3062 return self
->Remove(info
.pos
);
3066 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3067 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3068 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3069 wxPyEndBlockThreads(blocked
);
3071 return self
->Detach(info
.window
);
3072 else if ( info
.sizer
)
3073 return self
->Detach(info
.sizer
);
3074 else if ( info
.gotPos
)
3075 return self
->Detach(info
.pos
);
3079 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3080 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3081 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3082 wxPyEndBlockThreads(blocked
);
3084 return self
->GetItem(info
.window
);
3085 else if ( info
.sizer
)
3086 return self
->GetItem(info
.sizer
);
3087 else if ( info
.gotPos
)
3088 return self
->GetItem(info
.pos
);
3092 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3094 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3095 wxPyEndBlockThreads(blocked
);
3097 self
->SetItemMinSize(info
.window
, size
);
3098 else if ( info
.sizer
)
3099 self
->SetItemMinSize(info
.sizer
, size
);
3100 else if ( info
.gotPos
)
3101 self
->SetItemMinSize(info
.pos
, size
);
3103 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3104 wxSizerItemList
& list
= self
->GetChildren();
3105 return wxPy_ConvertList(&list
);
3107 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3108 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3109 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3110 wxPyEndBlockThreads(blocked
);
3112 return self
->Show(info
.window
, show
, recursive
);
3113 else if ( info
.sizer
)
3114 return self
->Show(info
.sizer
, show
, recursive
);
3115 else if ( info
.gotPos
)
3116 return self
->Show(info
.pos
, show
);
3120 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3121 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3122 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3123 wxPyEndBlockThreads(blocked
);
3125 return self
->IsShown(info
.window
);
3126 else if ( info
.sizer
)
3127 return self
->IsShown(info
.sizer
);
3128 else if ( info
.gotPos
)
3129 return self
->IsShown(info
.pos
);
3135 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3136 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3137 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3142 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3144 if (source
== Py_None
) {
3145 **obj
= wxGBPosition(-1,-1);
3148 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3151 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3153 if (source
== Py_None
) {
3154 **obj
= wxGBSpan(-1,-1);
3157 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3161 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3165 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3167 PyObject
* tup
= PyTuple_New(2);
3168 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3169 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3170 wxPyEndBlockThreads(blocked
);
3173 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3174 self
->SetRowspan(rowspan
);
3175 self
->SetColspan(colspan
);
3177 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 PyObject
* tup
= PyTuple_New(2);
3180 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3181 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3182 wxPyEndBlockThreads(blocked
);
3185 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3186 wxPyUserData
* data
= NULL
;
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 data
= new wxPyUserData(userData
);
3190 wxPyEndBlockThreads(blocked
);
3192 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3194 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3195 wxPyUserData
* data
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 data
= new wxPyUserData(userData
);
3199 wxPyEndBlockThreads(blocked
);
3201 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3203 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3204 wxPyUserData
* data
= NULL
;
3206 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3207 data
= new wxPyUserData(userData
);
3208 wxPyEndBlockThreads(blocked
);
3210 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3212 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3214 self
->GetEndPos(row
, col
);
3215 return wxGBPosition(row
, col
);
3217 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3219 wxPyUserData
* data
= NULL
;
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3222 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3223 data
= new wxPyUserData(userData
);
3224 wxPyEndBlockThreads(blocked
);
3226 // Now call the real Add method if a valid item type was found
3228 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3229 else if ( info
.sizer
)
3230 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3231 else if (info
.gotSize
)
3232 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3233 pos
, span
, flag
, border
, data
);
3241 static int _wrap_EmptyString_set(PyObject
*) {
3242 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3247 static PyObject
*_wrap_EmptyString_get(void) {
3252 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3254 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3261 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxObject
*arg1
= (wxObject
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "self", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3272 if (SWIG_arg_fail(1)) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= wxObject_GetClassName(arg1
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3293 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxObject
*arg1
= (wxObject
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3298 (char *) "self", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxObject_Destroy(arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3321 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3323 return Py_BuildValue((char *)"");
3325 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxSize
*arg1
= (wxSize
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 (char *) "self",(char *) "x", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 arg2
= (int)(SWIG_As_int(obj1
));
3340 if (SWIG_arg_fail(2)) SWIG_fail
;
3342 if (arg1
) (arg1
)->x
= arg2
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxSize
*arg1
= (wxSize
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3363 result
= (int) ((arg1
)->x
);
3366 resultobj
= SWIG_From_int((int)(result
));
3374 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxSize
*arg1
= (wxSize
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "y", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail
;
3388 arg2
= (int)(SWIG_As_int(obj1
));
3389 if (SWIG_arg_fail(2)) SWIG_fail
;
3391 if (arg1
) (arg1
)->y
= arg2
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxSize
*arg1
= (wxSize
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3406 (char *) "self", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail
;
3412 result
= (int) ((arg1
)->y
);
3415 resultobj
= SWIG_From_int((int)(result
));
3423 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 int arg1
= (int) 0 ;
3426 int arg2
= (int) 0 ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3431 (char *) "w",(char *) "h", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3437 arg1
= (int)(SWIG_As_int(obj0
));
3438 if (SWIG_arg_fail(1)) SWIG_fail
;
3443 arg2
= (int)(SWIG_As_int(obj1
));
3444 if (SWIG_arg_fail(2)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3461 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxSize
*arg1
= (wxSize
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3471 if (SWIG_arg_fail(1)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxSize
*arg1
= (wxSize
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "sz", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3500 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3521 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxSize
*arg1
= (wxSize
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3530 (char *) "self",(char *) "sz", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3535 if (SWIG_arg_fail(1)) SWIG_fail
;
3538 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxSize
*arg1
= (wxSize
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "sz", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail
;
3573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3584 resultptr
= new wxSize((wxSize
&)(result
));
3585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3593 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxSize
*arg1
= (wxSize
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "sz", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3607 if (SWIG_arg_fail(1)) SWIG_fail
;
3610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3621 resultptr
= new wxSize((wxSize
&)(result
));
3622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3630 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxSize
*arg1
= (wxSize
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3636 PyObject
* obj1
= 0 ;
3638 (char *) "self",(char *) "sz", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail
;
3646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 (arg1
)->IncTo((wxSize
const &)*arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxSize
*arg1
= (wxSize
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "self",(char *) "sz", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3675 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->DecTo((wxSize
const &)*arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxSize
*arg1
= (wxSize
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "w",(char *) "h", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3710 arg2
= (int)(SWIG_As_int(obj1
));
3711 if (SWIG_arg_fail(2)) SWIG_fail
;
3714 arg3
= (int)(SWIG_As_int(obj2
));
3715 if (SWIG_arg_fail(3)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 (arg1
)->Set(arg2
,arg3
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3731 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxSize
*arg1
= (wxSize
*) 0 ;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3738 (char *) "self",(char *) "w", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3743 if (SWIG_arg_fail(1)) SWIG_fail
;
3745 arg2
= (int)(SWIG_As_int(obj1
));
3746 if (SWIG_arg_fail(2)) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetWidth(arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxSize
*arg1
= (wxSize
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "h", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3774 if (SWIG_arg_fail(1)) SWIG_fail
;
3776 arg2
= (int)(SWIG_As_int(obj1
));
3777 if (SWIG_arg_fail(2)) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 (arg1
)->SetHeight(arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxSize
*arg1
= (wxSize
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "self", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3804 if (SWIG_arg_fail(1)) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_From_int((int)(result
));
3821 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxSize
*arg1
= (wxSize
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3827 (char *) "self", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(1)) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= SWIG_From_int((int)(result
));
3849 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxSize
*arg1
= (wxSize
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3877 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxSize
*arg1
= (wxSize
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj1
= 0 ;
3885 (char *) "self",(char *) "size", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3890 if (SWIG_arg_fail(1)) SWIG_fail
;
3893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxSize
*arg1
= (wxSize
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (PyObject
*)wxSize_Get(arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3935 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3938 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3940 return Py_BuildValue((char *)"");
3942 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "x", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 arg2
= (double)(SWIG_As_double(obj1
));
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3959 if (arg1
) (arg1
)->x
= arg2
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3968 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 result
= (double) ((arg1
)->x
);
3983 resultobj
= SWIG_From_double((double)(result
));
3991 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 (char *) "self",(char *) "y", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4003 if (SWIG_arg_fail(1)) SWIG_fail
;
4005 arg2
= (double)(SWIG_As_double(obj1
));
4006 if (SWIG_arg_fail(2)) SWIG_fail
;
4008 if (arg1
) (arg1
)->y
= arg2
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4023 (char *) "self", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail
;
4029 result
= (double) ((arg1
)->y
);
4032 resultobj
= SWIG_From_double((double)(result
));
4040 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 double arg1
= (double) 0.0 ;
4043 double arg2
= (double) 0.0 ;
4044 wxRealPoint
*result
;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4048 (char *) "x",(char *) "y", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4054 arg1
= (double)(SWIG_As_double(obj0
));
4055 if (SWIG_arg_fail(1)) SWIG_fail
;
4060 arg2
= (double)(SWIG_As_double(obj1
));
4061 if (SWIG_arg_fail(2)) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4078 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 Py_INCREF(Py_None
); resultobj
= Py_None
;
4103 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4106 wxRealPoint
*arg2
= 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "pt", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4117 if (SWIG_arg_fail(1)) SWIG_fail
;
4120 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4138 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4141 wxRealPoint
*arg2
= 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "pt", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4173 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4176 wxRealPoint
*arg2
= 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "pt", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4187 if (SWIG_arg_fail(1)) SWIG_fail
;
4190 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 wxRealPoint
* resultptr
;
4201 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4210 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4213 wxRealPoint
*arg2
= 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "pt", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4224 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 wxRealPoint
* resultptr
;
4238 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4247 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4254 PyObject
* obj2
= 0 ;
4256 (char *) "self",(char *) "x",(char *) "y", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail
;
4263 arg2
= (double)(SWIG_As_double(obj1
));
4264 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 arg3
= (double)(SWIG_As_double(obj2
));
4268 if (SWIG_arg_fail(3)) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 wxRealPoint_Set(arg1
,arg2
,arg3
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4310 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4313 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4315 return Py_BuildValue((char *)"");
4317 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxPoint
*arg1
= (wxPoint
*) 0 ;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4324 (char *) "self",(char *) "x", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4329 if (SWIG_arg_fail(1)) SWIG_fail
;
4331 arg2
= (int)(SWIG_As_int(obj1
));
4332 if (SWIG_arg_fail(2)) SWIG_fail
;
4334 if (arg1
) (arg1
)->x
= arg2
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxPoint
*arg1
= (wxPoint
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4349 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4355 result
= (int) ((arg1
)->x
);
4358 resultobj
= SWIG_From_int((int)(result
));
4366 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxPoint
*arg1
= (wxPoint
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "y", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail
;
4380 arg2
= (int)(SWIG_As_int(obj1
));
4381 if (SWIG_arg_fail(2)) SWIG_fail
;
4383 if (arg1
) (arg1
)->y
= arg2
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxPoint
*arg1
= (wxPoint
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4398 (char *) "self", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4403 if (SWIG_arg_fail(1)) SWIG_fail
;
4404 result
= (int) ((arg1
)->y
);
4407 resultobj
= SWIG_From_int((int)(result
));
4415 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 int arg1
= (int) 0 ;
4418 int arg2
= (int) 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "x",(char *) "y", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 arg1
= (int)(SWIG_As_int(obj0
));
4430 if (SWIG_arg_fail(1)) SWIG_fail
;
4435 arg2
= (int)(SWIG_As_int(obj1
));
4436 if (SWIG_arg_fail(2)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4453 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxPoint
*arg1
= (wxPoint
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(1)) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxPoint
*arg1
= (wxPoint
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4487 (char *) "self",(char *) "pt", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4492 if (SWIG_arg_fail(1)) SWIG_fail
;
4495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxPoint
*arg1
= (wxPoint
*) 0 ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4522 (char *) "self",(char *) "pt", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4527 if (SWIG_arg_fail(1)) SWIG_fail
;
4530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxPoint
*arg1
= (wxPoint
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4557 (char *) "self",(char *) "pt", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail
;
4565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4575 wxPoint
* resultptr
;
4576 resultptr
= new wxPoint((wxPoint
&)(result
));
4577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4585 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxPoint
*arg1
= (wxPoint
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4594 (char *) "self",(char *) "pt", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(1)) SWIG_fail
;
4602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4612 wxPoint
* resultptr
;
4613 resultptr
= new wxPoint((wxPoint
&)(result
));
4614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4622 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxPoint
*arg1
= (wxPoint
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "pt", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4636 if (SWIG_arg_fail(1)) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4645 result
= (wxPoint
*) &_result_ref
;
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4658 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxPoint
*arg1
= (wxPoint
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "pt", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4672 if (SWIG_arg_fail(1)) SWIG_fail
;
4675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4681 result
= (wxPoint
*) &_result_ref
;
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4694 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPoint
*arg1
= (wxPoint
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4703 (char *) "self",(char *) "x",(char *) "y", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(1)) SWIG_fail
;
4710 arg2
= (long)(SWIG_As_long(obj1
));
4711 if (SWIG_arg_fail(2)) SWIG_fail
;
4714 arg3
= (long)(SWIG_As_long(obj2
));
4715 if (SWIG_arg_fail(3)) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxPoint_Set(arg1
,arg2
,arg3
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxPoint
*arg1
= (wxPoint
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4742 if (SWIG_arg_fail(1)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (PyObject
*)wxPoint_Get(arg1
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4757 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4760 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4762 return Py_BuildValue((char *)"");
4764 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 int arg1
= (int) 0 ;
4767 int arg2
= (int) 0 ;
4768 int arg3
= (int) 0 ;
4769 int arg4
= (int) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4776 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4782 arg1
= (int)(SWIG_As_int(obj0
));
4783 if (SWIG_arg_fail(1)) SWIG_fail
;
4788 arg2
= (int)(SWIG_As_int(obj1
));
4789 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 arg3
= (int)(SWIG_As_int(obj2
));
4795 if (SWIG_arg_fail(3)) SWIG_fail
;
4800 arg4
= (int)(SWIG_As_int(obj3
));
4801 if (SWIG_arg_fail(4)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4818 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "topLeft",(char *) "bottomRight", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4854 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "pos",(char *) "size", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4890 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "size", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4903 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4919 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRect
*arg1
= (wxRect
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4924 (char *) "self", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxRect
*arg1
= (wxRect
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (int)((wxRect
const *)arg1
)->GetX();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_From_int((int)(result
));
4972 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxRect
*arg1
= (wxRect
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4979 (char *) "self",(char *) "x", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4984 if (SWIG_arg_fail(1)) SWIG_fail
;
4986 arg2
= (int)(SWIG_As_int(obj1
));
4987 if (SWIG_arg_fail(2)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 Py_INCREF(Py_None
); resultobj
= Py_None
;
5003 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxRect
*arg1
= (wxRect
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (int)(arg1
)->GetY();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_From_int((int)(result
));
5031 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "y", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail
;
5045 arg2
= (int)(SWIG_As_int(obj1
));
5046 if (SWIG_arg_fail(2)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRect
*arg1
= (wxRect
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_From_int((int)(result
));
5090 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxRect
*arg1
= (wxRect
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5097 (char *) "self",(char *) "w", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 arg2
= (int)(SWIG_As_int(obj1
));
5105 if (SWIG_arg_fail(2)) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->SetWidth(arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxRect
*arg1
= (wxRect
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int((int)(result
));
5149 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxRect
*arg1
= (wxRect
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "h", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail
;
5163 arg2
= (int)(SWIG_As_int(obj1
));
5164 if (SWIG_arg_fail(2)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->SetHeight(arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5180 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxRect
*arg1
= (wxRect
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(1)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= ((wxRect
const *)arg1
)->GetPosition();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 wxPoint
* resultptr
;
5201 resultptr
= new wxPoint((wxPoint
&)(result
));
5202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5210 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxRect
*arg1
= (wxRect
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5216 PyObject
* obj1
= 0 ;
5218 (char *) "self",(char *) "p", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5223 if (SWIG_arg_fail(1)) SWIG_fail
;
5226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxRect
*arg1
= (wxRect
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= ((wxRect
const *)arg1
)->GetSize();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5263 resultptr
= new wxSize((wxSize
&)(result
));
5264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5272 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxRect
*arg1
= (wxRect
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5280 (char *) "self",(char *) "s", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->SetSize((wxSize
const &)*arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxRect
*arg1
= (wxRect
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5332 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRect
*arg1
= (wxRect
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 wxPoint
* resultptr
;
5353 resultptr
= new wxPoint((wxPoint
&)(result
));
5354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5362 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxRect
*arg1
= (wxRect
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "p", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxRect
*arg1
= (wxRect
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 wxPoint
* resultptr
;
5415 resultptr
= new wxPoint((wxPoint
&)(result
));
5416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5424 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxRect
*arg1
= (wxRect
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "p", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 Py_INCREF(Py_None
); resultobj
= Py_None
;
5456 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxRect
*arg1
= (wxRect
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5462 (char *) "self", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_From_int((int)(result
));
5484 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxRect
*arg1
= (wxRect
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "self", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(1)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)((wxRect
const *)arg1
)->GetTop();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_From_int((int)(result
));
5512 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxRect
*arg1
= (wxRect
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5518 (char *) "self", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= SWIG_From_int((int)(result
));
5540 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxRect
*arg1
= (wxRect
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (int)((wxRect
const *)arg1
)->GetRight();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_From_int((int)(result
));
5568 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxRect
*arg1
= (wxRect
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "left", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 arg2
= (int)(SWIG_As_int(obj1
));
5583 if (SWIG_arg_fail(2)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetLeft(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxRect
*arg1
= (wxRect
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "right", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 arg2
= (int)(SWIG_As_int(obj1
));
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetRight(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRect
*arg1
= (wxRect
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5637 (char *) "self",(char *) "top", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 arg2
= (int)(SWIG_As_int(obj1
));
5645 if (SWIG_arg_fail(2)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 (arg1
)->SetTop(arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxRect
*arg1
= (wxRect
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5668 (char *) "self",(char *) "bottom", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail
;
5675 arg2
= (int)(SWIG_As_int(obj1
));
5676 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetBottom(arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxRect
*arg1
= (wxRect
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5702 (char *) "self",(char *) "dx",(char *) "dy", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 arg2
= (int)(SWIG_As_int(obj1
));
5710 if (SWIG_arg_fail(2)) SWIG_fail
;
5713 arg3
= (int)(SWIG_As_int(obj2
));
5714 if (SWIG_arg_fail(3)) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5720 result
= (wxRect
*) &_result_ref
;
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5733 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxRect
*arg1
= (wxRect
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5741 PyObject
* obj2
= 0 ;
5743 (char *) "self",(char *) "dx",(char *) "dy", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 arg2
= (int)(SWIG_As_int(obj1
));
5751 if (SWIG_arg_fail(2)) SWIG_fail
;
5754 arg3
= (int)(SWIG_As_int(obj2
));
5755 if (SWIG_arg_fail(3)) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5761 result
= (wxRect
*) &_result_ref
;
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5774 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxRect
*arg1
= (wxRect
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 PyObject
* obj2
= 0 ;
5783 (char *) "self",(char *) "dx",(char *) "dy", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 arg2
= (int)(SWIG_As_int(obj1
));
5791 if (SWIG_arg_fail(2)) SWIG_fail
;
5794 arg3
= (int)(SWIG_As_int(obj2
));
5795 if (SWIG_arg_fail(3)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->Offset(arg2
,arg3
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxRect
*arg1
= (wxRect
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5819 (char *) "self",(char *) "pt", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5824 if (SWIG_arg_fail(1)) SWIG_fail
;
5827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 (arg1
)->Offset((wxPoint
const &)*arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxRect
*arg1
= (wxRect
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5852 (char *) "self",(char *) "rect", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5871 resultptr
= new wxRect((wxRect
&)(result
));
5872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5880 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxRect
*arg1
= (wxRect
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5889 (char *) "self",(char *) "rect", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail
;
5897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5908 resultptr
= new wxRect((wxRect
&)(result
));
5909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5917 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxRect
*arg1
= (wxRect
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5926 (char *) "self",(char *) "rect", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5931 if (SWIG_arg_fail(1)) SWIG_fail
;
5934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5945 resultptr
= new wxRect((wxRect
&)(result
));
5946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5954 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxRect
*arg1
= (wxRect
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5963 (char *) "self",(char *) "rect", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5968 if (SWIG_arg_fail(1)) SWIG_fail
;
5971 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5977 result
= (wxRect
*) &_result_ref
;
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5990 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxRect
*arg1
= (wxRect
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "rect", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxRect
*arg1
= (wxRect
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6034 (char *) "self",(char *) "rect", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6039 if (SWIG_arg_fail(1)) SWIG_fail
;
6042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxRect
*arg1
= (wxRect
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 PyObject
* obj2
= 0 ;
6070 (char *) "self",(char *) "x",(char *) "y", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6075 if (SWIG_arg_fail(1)) SWIG_fail
;
6077 arg2
= (int)(SWIG_As_int(obj1
));
6078 if (SWIG_arg_fail(2)) SWIG_fail
;
6081 arg3
= (int)(SWIG_As_int(obj2
));
6082 if (SWIG_arg_fail(3)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxRect
*arg1
= (wxRect
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "pt", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6135 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6144 (char *) "self",(char *) "rect", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6149 if (SWIG_arg_fail(1)) SWIG_fail
;
6152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6170 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxRect
*arg1
= (wxRect
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6177 (char *) "self",(char *) "x", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6184 arg2
= (int)(SWIG_As_int(obj1
));
6185 if (SWIG_arg_fail(2)) SWIG_fail
;
6187 if (arg1
) (arg1
)->x
= arg2
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxRect
*arg1
= (wxRect
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "self", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail
;
6208 result
= (int) ((arg1
)->x
);
6211 resultobj
= SWIG_From_int((int)(result
));
6219 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxRect
*arg1
= (wxRect
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6226 (char *) "self",(char *) "y", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6231 if (SWIG_arg_fail(1)) SWIG_fail
;
6233 arg2
= (int)(SWIG_As_int(obj1
));
6234 if (SWIG_arg_fail(2)) SWIG_fail
;
6236 if (arg1
) (arg1
)->y
= arg2
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxRect
*arg1
= (wxRect
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6256 if (SWIG_arg_fail(1)) SWIG_fail
;
6257 result
= (int) ((arg1
)->y
);
6260 resultobj
= SWIG_From_int((int)(result
));
6268 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxRect
*arg1
= (wxRect
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "width", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 arg2
= (int)(SWIG_As_int(obj1
));
6283 if (SWIG_arg_fail(2)) SWIG_fail
;
6285 if (arg1
) (arg1
)->width
= arg2
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxRect
*arg1
= (wxRect
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail
;
6306 result
= (int) ((arg1
)->width
);
6309 resultobj
= SWIG_From_int((int)(result
));
6317 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxRect
*arg1
= (wxRect
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6324 (char *) "self",(char *) "height", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6329 if (SWIG_arg_fail(1)) SWIG_fail
;
6331 arg2
= (int)(SWIG_As_int(obj1
));
6332 if (SWIG_arg_fail(2)) SWIG_fail
;
6334 if (arg1
) (arg1
)->height
= arg2
;
6336 Py_INCREF(Py_None
); resultobj
= Py_None
;
6343 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxRect
*arg1
= (wxRect
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6355 result
= (int) ((arg1
)->height
);
6358 resultobj
= SWIG_From_int((int)(result
));
6366 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxRect
*arg1
= (wxRect
*) 0 ;
6369 int arg2
= (int) 0 ;
6370 int arg3
= (int) 0 ;
6371 int arg4
= (int) 0 ;
6372 int arg5
= (int) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 PyObject
* obj2
= 0 ;
6376 PyObject
* obj3
= 0 ;
6377 PyObject
* obj4
= 0 ;
6379 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 arg2
= (int)(SWIG_As_int(obj1
));
6388 if (SWIG_arg_fail(2)) SWIG_fail
;
6393 arg3
= (int)(SWIG_As_int(obj2
));
6394 if (SWIG_arg_fail(3)) SWIG_fail
;
6399 arg4
= (int)(SWIG_As_int(obj3
));
6400 if (SWIG_arg_fail(4)) SWIG_fail
;
6405 arg5
= (int)(SWIG_As_int(obj4
));
6406 if (SWIG_arg_fail(5)) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxRect
*arg1
= (wxRect
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (PyObject
*)wxRect_Get(arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6449 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxRect
*arg1
= (wxRect
*) 0 ;
6459 wxRect
*arg2
= (wxRect
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "r1",(char *) "r2", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail
;
6470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6473 if (!wxPyCheckForApp()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6487 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 double arg1
= (double) 0.0 ;
6490 double arg2
= (double) 0.0 ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6495 (char *) "x",(char *) "y", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 arg1
= (double)(SWIG_As_double(obj0
));
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6507 arg2
= (double)(SWIG_As_double(obj1
));
6508 if (SWIG_arg_fail(2)) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6525 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPoint2D
*arg1
= 0 ;
6530 PyObject
* obj0
= 0 ;
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6538 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6554 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6559 PyObject
* obj0
= 0 ;
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6567 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6583 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6586 int *arg2
= (int *) 0 ;
6587 int *arg3
= (int *) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6598 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6611 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6612 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6620 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6623 int *arg2
= (int *) 0 ;
6624 int *arg3
= (int *) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6635 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6648 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6649 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6650 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6657 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_From_double((double)(result
));
6685 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6696 if (SWIG_arg_fail(1)) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_From_double((double)(result
));
6713 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "length", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 arg2
= (double)(SWIG_As_double(obj1
));
6728 if (SWIG_arg_fail(2)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->SetVectorLength(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "self",(char *) "degrees", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= (double)(SWIG_As_double(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetVectorAngle(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6778 wxPoint2D
*arg2
= 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "pt", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_From_double((double)(result
));
6810 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6813 wxPoint2D
*arg2
= 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "pt", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_double((double)(result
));
6845 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6848 wxPoint2D
*arg2
= 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "vec", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_From_double((double)(result
));
6880 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6883 wxPoint2D
*arg2
= 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "vec", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_From_double((double)(result
));
6915 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (arg1
)->operator -();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 wxPoint2D
* resultptr
;
6936 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6945 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6948 wxPoint2D
*arg2
= 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "pt", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6962 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6968 result
= (wxPoint2D
*) &_result_ref
;
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6981 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6984 wxPoint2D
*arg2
= 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 (char *) "self",(char *) "pt", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6995 if (SWIG_arg_fail(1)) SWIG_fail
;
6998 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7004 result
= (wxPoint2D
*) &_result_ref
;
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7017 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7020 wxPoint2D
*arg2
= 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "pt", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7034 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7040 result
= (wxPoint2D
*) &_result_ref
;
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7053 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7056 wxPoint2D
*arg2
= 0 ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7062 (char *) "self",(char *) "pt", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7070 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7076 result
= (wxPoint2D
*) &_result_ref
;
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7089 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7092 wxPoint2D
*arg2
= 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "pt", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7124 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7127 wxPoint2D
*arg2
= 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "pt", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7138 if (SWIG_arg_fail(1)) SWIG_fail
;
7141 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "m_x", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 arg2
= (double)(SWIG_As_double(obj1
));
7174 if (SWIG_arg_fail(2)) SWIG_fail
;
7176 if (arg1
) (arg1
)->m_x
= arg2
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "self", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7196 if (SWIG_arg_fail(1)) SWIG_fail
;
7197 result
= (double) ((arg1
)->m_x
);
7200 resultobj
= SWIG_From_double((double)(result
));
7208 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7215 (char *) "self",(char *) "m_y", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7222 arg2
= (double)(SWIG_As_double(obj1
));
7223 if (SWIG_arg_fail(2)) SWIG_fail
;
7225 if (arg1
) (arg1
)->m_y
= arg2
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "self", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail
;
7246 result
= (double) ((arg1
)->m_y
);
7249 resultobj
= SWIG_From_double((double)(result
));
7257 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7260 double arg2
= (double) 0 ;
7261 double arg3
= (double) 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7264 PyObject
* obj2
= 0 ;
7266 (char *) "self",(char *) "x",(char *) "y", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 arg2
= (double)(SWIG_As_double(obj1
));
7275 if (SWIG_arg_fail(2)) SWIG_fail
;
7280 arg3
= (double)(SWIG_As_double(obj2
));
7281 if (SWIG_arg_fail(3)) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 wxPoint2D_Set(arg1
,arg2
,arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7324 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7327 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7329 return Py_BuildValue((char *)"");
7331 static int _wrap_DefaultPosition_set(PyObject
*) {
7332 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7337 static PyObject
*_wrap_DefaultPosition_get(void) {
7340 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7345 static int _wrap_DefaultSize_set(PyObject
*) {
7346 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7351 static PyObject
*_wrap_DefaultSize_get(void) {
7354 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7359 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 PyObject
*arg1
= (PyObject
*) 0 ;
7362 wxPyInputStream
*result
;
7363 PyObject
* obj0
= 0 ;
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7384 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 Py_INCREF(Py_None
); resultobj
= Py_None
;
7409 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7439 (char *) "self", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7444 if (SWIG_arg_fail(1)) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "self", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->eof();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7490 int arg2
= (int) -1 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "size", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(1)) SWIG_fail
;
7503 arg2
= (int)(SWIG_As_int(obj1
));
7504 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (PyObject
*)(arg1
)->read(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7521 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7524 int arg2
= (int) -1 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "size", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 arg2
= (int)(SWIG_As_int(obj1
));
7538 if (SWIG_arg_fail(2)) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (PyObject
*)(arg1
)->readline(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7555 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7558 int arg2
= (int) -1 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7563 (char *) "self",(char *) "sizehint", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7571 arg2
= (int)(SWIG_As_int(obj1
));
7572 if (SWIG_arg_fail(2)) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7589 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7593 int arg3
= (int) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 PyObject
* obj2
= 0 ;
7598 (char *) "self",(char *) "offset",(char *) "whence", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 arg2
= (int)(SWIG_As_int(obj1
));
7606 if (SWIG_arg_fail(2)) SWIG_fail
;
7610 arg3
= (int)(SWIG_As_int(obj2
));
7611 if (SWIG_arg_fail(3)) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 (arg1
)->seek(arg2
,arg3
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 Py_INCREF(Py_None
); resultobj
= Py_None
;
7628 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7634 (char *) "self", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (int)(arg1
)->tell();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_From_int((int)(result
));
7656 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (char)(arg1
)->Peek();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_From_char((char)(result
));
7684 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(1)) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (char)(arg1
)->GetC();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_From_char((char)(result
));
7712 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (size_t)(arg1
)->LastRead();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7740 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7746 (char *) "self", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7751 if (SWIG_arg_fail(1)) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)(arg1
)->CanRead();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7768 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7774 (char *) "self", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (bool)(arg1
)->Eof();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7796 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "c", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 arg2
= (char)(SWIG_As_char(obj1
));
7812 if (SWIG_arg_fail(2)) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (bool)(arg1
)->Ungetch(arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7830 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7834 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 PyObject
* obj2
= 0 ;
7840 (char *) "self",(char *) "pos",(char *) "mode", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 arg2
= (long)(SWIG_As_long(obj1
));
7848 if (SWIG_arg_fail(2)) SWIG_fail
;
7852 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7853 if (SWIG_arg_fail(3)) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_long((long)(result
));
7872 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (long)(arg1
)->TellI();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_From_long((long)(result
));
7900 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7905 return Py_BuildValue((char *)"");
7907 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7910 PyObject
*arg2
= (PyObject
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7914 (char *) "self",(char *) "obj", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 wxOutputStream_write(arg1
,arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7938 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7940 return Py_BuildValue((char *)"");
7942 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7945 wxString
*arg2
= 0 ;
7946 wxString
*arg3
= 0 ;
7947 wxString
*arg4
= 0 ;
7950 wxPyInputStream
*temp1
;
7951 bool temp2
= false ;
7952 bool temp3
= false ;
7953 bool temp4
= false ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 PyObject
* obj3
= 0 ;
7958 PyObject
* obj4
= 0 ;
7960 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7965 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7966 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7968 PyErr_Clear(); // clear the failure of the wxPyConvert above
7969 arg1
= wxPyCBInputStream_create(obj0
, true);
7971 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7977 arg2
= wxString_in_helper(obj1
);
7978 if (arg2
== NULL
) SWIG_fail
;
7982 arg3
= wxString_in_helper(obj2
);
7983 if (arg3
== NULL
) SWIG_fail
;
7987 arg4
= wxString_in_helper(obj3
);
7988 if (arg4
== NULL
) SWIG_fail
;
7993 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7994 if (SWIG_arg_fail(5)) SWIG_fail
;
7996 SWIG_null_ref("wxDateTime");
7998 if (SWIG_arg_fail(5)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= wxPyMake_wxObject(result
, 1);
8041 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8069 wxInputStream
*result
;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (wxInputStream
*)(arg1
)->GetStream();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8086 wxPyInputStream
* _ptr
= NULL
;
8089 _ptr
= new wxPyInputStream(result
);
8091 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8099 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8110 if (SWIG_arg_fail(1)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8115 result
= (wxString
*) &_result_ref
;
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8134 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "self", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8145 if (SWIG_arg_fail(1)) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 wxString
const &_result_ref
= (arg1
)->GetLocation();
8150 result
= (wxString
*) &_result_ref
;
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8169 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8185 result
= (wxString
*) &_result_ref
;
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8204 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (arg1
)->GetModificationTime();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 wxDateTime
* resultptr
;
8225 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8234 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8237 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8239 return Py_BuildValue((char *)"");
8241 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8244 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8246 return Py_BuildValue((char *)"");
8248 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyFileSystemHandler
*result
;
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8270 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8273 PyObject
*arg2
= (PyObject
*) 0 ;
8274 PyObject
*arg3
= (PyObject
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8277 PyObject
* obj2
= 0 ;
8279 (char *) "self",(char *) "self",(char *) "_class", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8284 if (SWIG_arg_fail(1)) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8304 wxString
*arg2
= 0 ;
8306 bool temp2
= false ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8310 (char *) "self",(char *) "location", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(1)) SWIG_fail
;
8317 arg2
= wxString_in_helper(obj1
);
8318 if (arg2
== NULL
) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8345 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8348 wxFileSystem
*arg2
= 0 ;
8349 wxString
*arg3
= 0 ;
8351 bool temp3
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8356 (char *) "self",(char *) "fs",(char *) "location", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(1)) SWIG_fail
;
8363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(2)) SWIG_fail
;
8366 SWIG_null_ref("wxFileSystem");
8368 if (SWIG_arg_fail(2)) SWIG_fail
;
8371 arg3
= wxString_in_helper(obj2
);
8372 if (arg3
== NULL
) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= wxPyMake_wxObject(result
, 1);
8399 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8402 wxString
*arg2
= 0 ;
8403 int arg3
= (int) 0 ;
8405 bool temp2
= false ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8410 (char *) "self",(char *) "spec",(char *) "flags", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8423 arg3
= (int)(SWIG_As_int(obj2
));
8424 if (SWIG_arg_fail(3)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8455 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8466 if (SWIG_arg_fail(1)) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (arg1
)->FindNext();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8487 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8490 wxString
*arg2
= 0 ;
8492 bool temp2
= false ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "location", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail
;
8503 arg2
= wxString_in_helper(obj1
);
8504 if (arg2
== NULL
) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8535 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8538 wxString
*arg2
= 0 ;
8540 bool temp2
= false ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "location", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8549 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 arg2
= wxString_in_helper(obj1
);
8552 if (arg2
== NULL
) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8583 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8586 wxString
*arg2
= 0 ;
8588 bool temp2
= false ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "self",(char *) "location", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8597 if (SWIG_arg_fail(1)) SWIG_fail
;
8599 arg2
= wxString_in_helper(obj1
);
8600 if (arg2
== NULL
) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8631 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8634 wxString
*arg2
= 0 ;
8636 bool temp2
= false ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "location", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 arg2
= wxString_in_helper(obj1
);
8648 if (arg2
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8679 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8682 wxString
*arg2
= 0 ;
8684 bool temp2
= false ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "location", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 arg2
= wxString_in_helper(obj1
);
8696 if (arg2
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8727 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8730 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8732 return Py_BuildValue((char *)"");
8734 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxFileSystem
*result
;
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (wxFileSystem
*)new wxFileSystem();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= wxPyMake_wxObject(result
, 1);
8758 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8786 wxString
*arg2
= 0 ;
8787 bool arg3
= (bool) false ;
8788 bool temp2
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8793 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 arg2
= wxString_in_helper(obj1
);
8801 if (arg2
== NULL
) SWIG_fail
;
8806 arg3
= (bool)(SWIG_As_bool(obj2
));
8807 if (SWIG_arg_fail(3)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (arg1
)->GetPath();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8864 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8867 wxString
*arg2
= 0 ;
8869 bool temp2
= false ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8873 (char *) "self",(char *) "location", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8878 if (SWIG_arg_fail(1)) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= wxPyMake_wxObject(result
, 1);
8908 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8911 wxString
*arg2
= 0 ;
8912 int arg3
= (int) 0 ;
8914 bool temp2
= false ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8919 (char *) "self",(char *) "spec",(char *) "flags", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 arg2
= wxString_in_helper(obj1
);
8927 if (arg2
== NULL
) SWIG_fail
;
8932 arg3
= (int)(SWIG_As_int(obj2
));
8933 if (SWIG_arg_fail(3)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8964 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (arg1
)->FindNext();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8996 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "handler", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxFileSystem::AddHandler(arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxFileSystem::CleanUpHandlers();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxString
*arg1
= 0 ;
9046 bool temp1
= false ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "filename", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9054 arg1
= wxString_in_helper(obj0
);
9055 if (arg1
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9086 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxString
*arg1
= 0 ;
9090 bool temp1
= false ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "url", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9098 arg1
= wxString_in_helper(obj0
);
9099 if (arg1
== NULL
) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9130 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9133 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9135 return Py_BuildValue((char *)"");
9137 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxInternetFSHandler
*result
;
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9159 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9162 wxString
*arg2
= 0 ;
9164 bool temp2
= false ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9168 (char *) "self",(char *) "location", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9173 if (SWIG_arg_fail(1)) SWIG_fail
;
9175 arg2
= wxString_in_helper(obj1
);
9176 if (arg2
== NULL
) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9206 wxFileSystem
*arg2
= 0 ;
9207 wxString
*arg3
= 0 ;
9209 bool temp3
= false ;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9212 PyObject
* obj2
= 0 ;
9214 (char *) "self",(char *) "fs",(char *) "location", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(2)) SWIG_fail
;
9224 SWIG_null_ref("wxFileSystem");
9226 if (SWIG_arg_fail(2)) SWIG_fail
;
9229 arg3
= wxString_in_helper(obj2
);
9230 if (arg3
== NULL
) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= wxPyMake_wxObject(result
, 1);
9257 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9260 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9262 return Py_BuildValue((char *)"");
9264 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxZipFSHandler
*result
;
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9286 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9289 wxString
*arg2
= 0 ;
9291 bool temp2
= false ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "location", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9333 wxFileSystem
*arg2
= 0 ;
9334 wxString
*arg3
= 0 ;
9336 bool temp3
= false ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 PyObject
* obj2
= 0 ;
9341 (char *) "self",(char *) "fs",(char *) "location", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9346 if (SWIG_arg_fail(1)) SWIG_fail
;
9348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(2)) SWIG_fail
;
9351 SWIG_null_ref("wxFileSystem");
9353 if (SWIG_arg_fail(2)) SWIG_fail
;
9356 arg3
= wxString_in_helper(obj2
);
9357 if (arg3
== NULL
) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= wxPyMake_wxObject(result
, 1);
9384 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9387 wxString
*arg2
= 0 ;
9388 int arg3
= (int) 0 ;
9390 bool temp2
= false ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "spec",(char *) "flags", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 arg2
= wxString_in_helper(obj1
);
9403 if (arg2
== NULL
) SWIG_fail
;
9408 arg3
= (int)(SWIG_As_int(obj2
));
9409 if (SWIG_arg_fail(3)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9440 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (arg1
)->FindNext();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9472 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9475 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9477 return Py_BuildValue((char *)"");
9479 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxString
*arg1
= 0 ;
9484 bool temp1
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9489 (char *) "filename",(char *) "image",(char *) "type", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9494 arg1
= wxString_in_helper(obj0
);
9495 if (arg1
== NULL
) SWIG_fail
;
9499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(2)) SWIG_fail
;
9502 SWIG_null_ref("wxImage");
9504 if (SWIG_arg_fail(2)) SWIG_fail
;
9507 arg3
= (long)(SWIG_As_long(obj2
));
9508 if (SWIG_arg_fail(3)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 Py_INCREF(Py_None
); resultobj
= Py_None
;
9532 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxString
*arg1
= 0 ;
9535 wxBitmap
*arg2
= 0 ;
9537 bool temp1
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9542 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9547 arg1
= wxString_in_helper(obj0
);
9548 if (arg1
== NULL
) SWIG_fail
;
9552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9553 if (SWIG_arg_fail(2)) SWIG_fail
;
9555 SWIG_null_ref("wxBitmap");
9557 if (SWIG_arg_fail(2)) SWIG_fail
;
9560 arg3
= (long)(SWIG_As_long(obj2
));
9561 if (SWIG_arg_fail(3)) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxString
*arg1
= 0 ;
9588 PyObject
*arg2
= (PyObject
*) 0 ;
9589 bool temp1
= false ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9593 (char *) "filename",(char *) "data", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9598 arg1
= wxString_in_helper(obj0
);
9599 if (arg1
== NULL
) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxMemoryFSHandler
*result
;
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9647 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxString
*arg1
= 0 ;
9650 bool temp1
= false ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "filename", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9658 arg1
= wxString_in_helper(obj0
);
9659 if (arg1
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9687 wxString
*arg2
= 0 ;
9689 bool temp2
= false ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "location", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9731 wxFileSystem
*arg2
= 0 ;
9732 wxString
*arg3
= 0 ;
9734 bool temp3
= false ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9737 PyObject
* obj2
= 0 ;
9739 (char *) "self",(char *) "fs",(char *) "location", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(2)) SWIG_fail
;
9749 SWIG_null_ref("wxFileSystem");
9751 if (SWIG_arg_fail(2)) SWIG_fail
;
9754 arg3
= wxString_in_helper(obj2
);
9755 if (arg3
== NULL
) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= wxPyMake_wxObject(result
, 1);
9782 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9785 wxString
*arg2
= 0 ;
9786 int arg3
= (int) 0 ;
9788 bool temp2
= false ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 PyObject
* obj2
= 0 ;
9793 (char *) "self",(char *) "spec",(char *) "flags", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 arg2
= wxString_in_helper(obj1
);
9801 if (arg2
== NULL
) SWIG_fail
;
9806 arg3
= (int)(SWIG_As_int(obj2
));
9807 if (SWIG_arg_fail(3)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9838 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (arg1
)->FindNext();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9870 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9875 return Py_BuildValue((char *)"");
9877 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (arg1
)->GetName();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9909 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9920 if (SWIG_arg_fail(1)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (arg1
)->GetExtension();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9941 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "self", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (long)(arg1
)->GetType();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_From_long((long)(result
));
9969 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (arg1
)->GetMimeType();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10001 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10004 wxString
*arg2
= 0 ;
10006 bool temp2
= false ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "name", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10015 if (SWIG_arg_fail(1)) SWIG_fail
;
10017 arg2
= wxString_in_helper(obj1
);
10018 if (arg2
== NULL
) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10045 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10048 wxString
*arg2
= 0 ;
10049 bool temp2
= false ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "name", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 arg2
= wxString_in_helper(obj1
);
10061 if (arg2
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->SetName((wxString
const &)*arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10089 wxString
*arg2
= 0 ;
10090 bool temp2
= false ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "extension", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail
;
10101 arg2
= wxString_in_helper(obj1
);
10102 if (arg2
== NULL
) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetExtension((wxString
const &)*arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "type", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 arg2
= (long)(SWIG_As_long(obj1
));
10142 if (SWIG_arg_fail(2)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetType(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10161 wxString
*arg2
= 0 ;
10162 bool temp2
= false ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "mimetype", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10171 if (SWIG_arg_fail(1)) SWIG_fail
;
10173 arg2
= wxString_in_helper(obj1
);
10174 if (arg2
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10202 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10204 return Py_BuildValue((char *)"");
10206 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxImageHistogram
*result
;
10209 char *kwnames
[] = {
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (wxImageHistogram
*)new wxImageHistogram();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10228 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10233 unsigned long result
;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 PyObject
* obj2
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "r",(char *) "g",(char *) "b", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10243 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10244 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10248 if (SWIG_arg_fail(2)) SWIG_fail
;
10251 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10252 if (SWIG_arg_fail(3)) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10270 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10273 byte
*arg2
= (byte
*) 0 ;
10274 byte
*arg3
= (byte
*) 0 ;
10275 byte
*arg4
= (byte
*) 0 ;
10276 byte arg5
= (byte
) 1 ;
10277 byte arg6
= (byte
) 0 ;
10278 byte arg7
= (byte
) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 PyObject
* obj3
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10294 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10295 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10296 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10302 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10303 if (SWIG_arg_fail(5)) SWIG_fail
;
10308 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10309 if (SWIG_arg_fail(6)) SWIG_fail
;
10314 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10315 if (SWIG_arg_fail(7)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10328 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10329 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10330 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10331 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10332 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10333 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10340 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10343 unsigned long arg2
;
10344 unsigned long result
;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "key", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10353 if (SWIG_arg_fail(1)) SWIG_fail
;
10355 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10356 if (SWIG_arg_fail(2)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10374 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10380 unsigned long result
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 PyObject
* obj3
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail
;
10393 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10394 if (SWIG_arg_fail(2)) SWIG_fail
;
10397 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10398 if (SWIG_arg_fail(3)) SWIG_fail
;
10401 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10402 if (SWIG_arg_fail(4)) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10420 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10423 wxColour
*arg2
= 0 ;
10424 unsigned long result
;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "colour", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10455 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10458 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10460 return Py_BuildValue((char *)"");
10462 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxString
*arg1
= 0 ;
10465 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10466 int arg3
= (int) -1 ;
10468 bool temp1
= false ;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 PyObject
* obj2
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "name",(char *) "type",(char *) "index", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10478 arg1
= wxString_in_helper(obj0
);
10479 if (arg1
== NULL
) SWIG_fail
;
10484 arg2
= (long)(SWIG_As_long(obj1
));
10485 if (SWIG_arg_fail(2)) SWIG_fail
;
10490 arg3
= (int)(SWIG_As_int(obj2
));
10491 if (SWIG_arg_fail(3)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10516 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxImage
*arg1
= (wxImage
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10526 if (SWIG_arg_fail(1)) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxString
*arg1
= 0 ;
10544 wxString
*arg2
= 0 ;
10545 int arg3
= (int) -1 ;
10547 bool temp1
= false ;
10548 bool temp2
= false ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 PyObject
* obj2
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10558 arg1
= wxString_in_helper(obj0
);
10559 if (arg1
== NULL
) SWIG_fail
;
10563 arg2
= wxString_in_helper(obj1
);
10564 if (arg2
== NULL
) SWIG_fail
;
10569 arg3
= (int)(SWIG_As_int(obj2
));
10570 if (SWIG_arg_fail(3)) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10603 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxInputStream
*arg1
= 0 ;
10606 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10607 int arg3
= (int) -1 ;
10609 wxPyInputStream
*temp1
;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "stream",(char *) "type",(char *) "index", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10620 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10621 arg1
= temp1
->m_wxis
;
10624 PyErr_Clear(); // clear the failure of the wxPyConvert above
10625 arg1
= wxPyCBInputStream_create(obj0
, false);
10626 if (arg1
== NULL
) {
10627 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10635 arg2
= (long)(SWIG_As_long(obj1
));
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10641 arg3
= (int)(SWIG_As_int(obj2
));
10642 if (SWIG_arg_fail(3)) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10654 if (created1
) delete arg1
;
10659 if (created1
) delete arg1
;
10665 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxInputStream
*arg1
= 0 ;
10668 wxString
*arg2
= 0 ;
10669 int arg3
= (int) -1 ;
10671 wxPyInputStream
*temp1
;
10673 bool temp2
= false ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10683 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10684 arg1
= temp1
->m_wxis
;
10687 PyErr_Clear(); // clear the failure of the wxPyConvert above
10688 arg1
= wxPyCBInputStream_create(obj0
, false);
10689 if (arg1
== NULL
) {
10690 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10697 arg2
= wxString_in_helper(obj1
);
10698 if (arg2
== NULL
) SWIG_fail
;
10703 arg3
= (int)(SWIG_As_int(obj2
));
10704 if (SWIG_arg_fail(3)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10716 if (created1
) delete arg1
;
10725 if (created1
) delete arg1
;
10735 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 int arg1
= (int) 0 ;
10738 int arg2
= (int) 0 ;
10739 bool arg3
= (bool) true ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "width",(char *) "height",(char *) "clear", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10751 arg1
= (int)(SWIG_As_int(obj0
));
10752 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (int)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10763 arg3
= (bool)(SWIG_As_bool(obj2
));
10764 if (SWIG_arg_fail(3)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10781 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxBitmap
*arg1
= 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "bitmap", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 if (arg1
== NULL
) {
10795 SWIG_null_ref("wxBitmap");
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10800 if (!wxPyCheckForApp()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10814 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "width",(char *) "height",(char *) "data", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 arg1
= (int)(SWIG_As_int(obj0
));
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= (int)(SWIG_As_int(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10838 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10854 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 PyObject
* obj3
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10873 arg1
= (int)(SWIG_As_int(obj0
));
10874 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 arg2
= (int)(SWIG_As_int(obj1
));
10878 if (SWIG_arg_fail(2)) SWIG_fail
;
10881 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10884 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10900 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxImage
*arg1
= (wxImage
*) 0 ;
10905 bool arg4
= (bool) true ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 PyObject
* obj3
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10916 if (SWIG_arg_fail(1)) SWIG_fail
;
10918 arg2
= (int)(SWIG_As_int(obj1
));
10919 if (SWIG_arg_fail(2)) SWIG_fail
;
10922 arg3
= (int)(SWIG_As_int(obj2
));
10923 if (SWIG_arg_fail(3)) SWIG_fail
;
10927 arg4
= (bool)(SWIG_As_bool(obj3
));
10928 if (SWIG_arg_fail(4)) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 (arg1
)->Create(arg2
,arg3
,arg4
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxImage
*arg1
= (wxImage
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10975 SwigValueWrapper
<wxImage
> result
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 PyObject
* obj2
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "width",(char *) "height", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 arg2
= (int)(SWIG_As_int(obj1
));
10988 if (SWIG_arg_fail(2)) SWIG_fail
;
10991 arg3
= (int)(SWIG_As_int(obj2
));
10992 if (SWIG_arg_fail(3)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (arg1
)->Scale(arg2
,arg3
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 wxImage
* resultptr
;
11003 resultptr
= new wxImage((wxImage
&)(result
));
11004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11012 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11017 SwigValueWrapper
<wxImage
> result
;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 arg2
= (int)(SWIG_As_int(obj1
));
11030 if (SWIG_arg_fail(2)) SWIG_fail
;
11033 arg3
= (int)(SWIG_As_int(obj2
));
11034 if (SWIG_arg_fail(3)) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 wxImage
* resultptr
;
11045 resultptr
= new wxImage((wxImage
&)(result
));
11046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11054 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxImage
*arg1
= (wxImage
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 PyObject
* obj2
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "width",(char *) "height", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11071 arg2
= (int)(SWIG_As_int(obj1
));
11072 if (SWIG_arg_fail(2)) SWIG_fail
;
11075 arg3
= (int)(SWIG_As_int(obj2
));
11076 if (SWIG_arg_fail(3)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11082 result
= (wxImage
*) &_result_ref
;
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11095 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxImage
*arg1
= (wxImage
*) 0 ;
11099 wxPoint
*arg3
= 0 ;
11100 int arg4
= (int) -1 ;
11101 int arg5
= (int) -1 ;
11102 int arg6
= (int) -1 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 PyObject
* obj2
= 0 ;
11109 PyObject
* obj3
= 0 ;
11110 PyObject
* obj4
= 0 ;
11111 PyObject
* obj5
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail
;
11121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11125 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11129 arg4
= (int)(SWIG_As_int(obj3
));
11130 if (SWIG_arg_fail(4)) SWIG_fail
;
11135 arg5
= (int)(SWIG_As_int(obj4
));
11136 if (SWIG_arg_fail(5)) SWIG_fail
;
11141 arg6
= (int)(SWIG_As_int(obj5
));
11142 if (SWIG_arg_fail(6)) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11149 result
= (wxImage
*) &_result_ref
;
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11162 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxImage
*arg1
= (wxImage
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 PyObject
* obj3
= 0 ;
11174 PyObject
* obj4
= 0 ;
11175 PyObject
* obj5
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 arg2
= (int)(SWIG_As_int(obj1
));
11185 if (SWIG_arg_fail(2)) SWIG_fail
;
11188 arg3
= (int)(SWIG_As_int(obj2
));
11189 if (SWIG_arg_fail(3)) SWIG_fail
;
11192 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11193 if (SWIG_arg_fail(4)) SWIG_fail
;
11196 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11197 if (SWIG_arg_fail(5)) SWIG_fail
;
11200 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11201 if (SWIG_arg_fail(6)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxImage
*arg1
= (wxImage
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 PyObject
* obj3
= 0 ;
11229 PyObject
* obj4
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11239 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11242 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11243 if (SWIG_arg_fail(3)) SWIG_fail
;
11246 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11247 if (SWIG_arg_fail(4)) SWIG_fail
;
11250 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11251 if (SWIG_arg_fail(5)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 Py_INCREF(Py_None
); resultobj
= Py_None
;
11267 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxImage
*arg1
= (wxImage
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "x",(char *) "y", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail
;
11284 arg2
= (int)(SWIG_As_int(obj1
));
11285 if (SWIG_arg_fail(2)) SWIG_fail
;
11288 arg3
= (int)(SWIG_As_int(obj2
));
11289 if (SWIG_arg_fail(3)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11307 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxImage
*arg1
= (wxImage
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 PyObject
* obj2
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self",(char *) "x",(char *) "y", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11322 if (SWIG_arg_fail(1)) SWIG_fail
;
11324 arg2
= (int)(SWIG_As_int(obj1
));
11325 if (SWIG_arg_fail(2)) SWIG_fail
;
11328 arg3
= (int)(SWIG_As_int(obj2
));
11329 if (SWIG_arg_fail(3)) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11347 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxImage
*arg1
= (wxImage
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "x",(char *) "y", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 arg2
= (int)(SWIG_As_int(obj1
));
11365 if (SWIG_arg_fail(2)) SWIG_fail
;
11368 arg3
= (int)(SWIG_As_int(obj2
));
11369 if (SWIG_arg_fail(3)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11387 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxImage
*arg1
= (wxImage
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 PyObject
* obj2
= 0 ;
11396 PyObject
* obj3
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11403 if (SWIG_arg_fail(1)) SWIG_fail
;
11405 arg2
= (int)(SWIG_As_int(obj1
));
11406 if (SWIG_arg_fail(2)) SWIG_fail
;
11409 arg3
= (int)(SWIG_As_int(obj2
));
11410 if (SWIG_arg_fail(3)) SWIG_fail
;
11413 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11414 if (SWIG_arg_fail(4)) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxImage
*arg1
= (wxImage
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj2
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "x",(char *) "y", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
11448 if (SWIG_arg_fail(2)) SWIG_fail
;
11451 arg3
= (int)(SWIG_As_int(obj2
));
11452 if (SWIG_arg_fail(3)) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11470 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxImage
*arg1
= (wxImage
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (bool)(arg1
)->HasAlpha();
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11498 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxImage
*arg1
= (wxImage
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11508 if (SWIG_arg_fail(1)) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->InitAlpha();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxImage
*arg1
= (wxImage
*) 0 ;
11528 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 PyObject
* obj3
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11540 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 arg2
= (int)(SWIG_As_int(obj1
));
11543 if (SWIG_arg_fail(2)) SWIG_fail
;
11546 arg3
= (int)(SWIG_As_int(obj2
));
11547 if (SWIG_arg_fail(3)) SWIG_fail
;
11551 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11552 if (SWIG_arg_fail(4)) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxImage
*arg1
= (wxImage
*) 0 ;
11574 byte
*arg2
= (byte
*) 0 ;
11575 byte
*arg3
= (byte
*) 0 ;
11576 byte
*arg4
= (byte
*) 0 ;
11577 byte arg5
= (byte
) 0 ;
11578 byte arg6
= (byte
) 0 ;
11579 byte arg7
= (byte
) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 PyObject
* obj3
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11595 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11596 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11597 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11604 if (SWIG_arg_fail(5)) SWIG_fail
;
11609 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11610 if (SWIG_arg_fail(6)) SWIG_fail
;
11615 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11616 if (SWIG_arg_fail(7)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11630 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11632 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11633 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11634 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11641 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxImage
*arg1
= (wxImage
*) 0 ;
11644 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self",(char *) "threshold", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11654 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11658 if (SWIG_arg_fail(2)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11677 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxImage
*arg1
= (wxImage
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11697 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11701 if (SWIG_arg_fail(3)) SWIG_fail
;
11704 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11705 if (SWIG_arg_fail(4)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11723 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxImage
*arg1
= (wxImage
*) 0 ;
11726 wxImage
*arg2
= 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 PyObject
* obj3
= 0 ;
11735 PyObject
* obj4
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11742 if (SWIG_arg_fail(1)) SWIG_fail
;
11744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11745 if (SWIG_arg_fail(2)) SWIG_fail
;
11746 if (arg2
== NULL
) {
11747 SWIG_null_ref("wxImage");
11749 if (SWIG_arg_fail(2)) SWIG_fail
;
11752 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11753 if (SWIG_arg_fail(3)) SWIG_fail
;
11756 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11757 if (SWIG_arg_fail(4)) SWIG_fail
;
11760 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11761 if (SWIG_arg_fail(5)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11779 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxString
*arg1
= 0 ;
11783 bool temp1
= false ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "filename", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11791 arg1
= wxString_in_helper(obj0
);
11792 if (arg1
== NULL
) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxString
*arg1
= 0 ;
11822 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11824 bool temp1
= false ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "filename",(char *) "type", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11833 arg1
= wxString_in_helper(obj0
);
11834 if (arg1
== NULL
) SWIG_fail
;
11839 arg2
= (long)(SWIG_As_long(obj1
));
11840 if (SWIG_arg_fail(2)) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_From_int((int)(result
));
11867 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxImage
*arg1
= (wxImage
*) 0 ;
11870 wxString
*arg2
= 0 ;
11871 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11872 int arg4
= (int) -1 ;
11874 bool temp2
= false ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 PyObject
* obj2
= 0 ;
11878 PyObject
* obj3
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail
;
11887 arg2
= wxString_in_helper(obj1
);
11888 if (arg2
== NULL
) SWIG_fail
;
11893 arg3
= (long)(SWIG_As_long(obj2
));
11894 if (SWIG_arg_fail(3)) SWIG_fail
;
11899 arg4
= (int)(SWIG_As_int(obj3
));
11900 if (SWIG_arg_fail(4)) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11927 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxImage
*arg1
= (wxImage
*) 0 ;
11930 wxString
*arg2
= 0 ;
11931 wxString
*arg3
= 0 ;
11932 int arg4
= (int) -1 ;
11934 bool temp2
= false ;
11935 bool temp3
= false ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 PyObject
* obj2
= 0 ;
11939 PyObject
* obj3
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail
;
11948 arg2
= wxString_in_helper(obj1
);
11949 if (arg2
== NULL
) SWIG_fail
;
11953 arg3
= wxString_in_helper(obj2
);
11954 if (arg3
== NULL
) SWIG_fail
;
11959 arg4
= (int)(SWIG_As_int(obj3
));
11960 if (SWIG_arg_fail(4)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxImage
*arg1
= (wxImage
*) 0 ;
11998 wxString
*arg2
= 0 ;
12001 bool temp2
= false ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 PyObject
* obj2
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self",(char *) "name",(char *) "type", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12011 if (SWIG_arg_fail(1)) SWIG_fail
;
12013 arg2
= wxString_in_helper(obj1
);
12014 if (arg2
== NULL
) SWIG_fail
;
12018 arg3
= (int)(SWIG_As_int(obj2
));
12019 if (SWIG_arg_fail(3)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxImage
*arg1
= (wxImage
*) 0 ;
12048 wxString
*arg2
= 0 ;
12049 wxString
*arg3
= 0 ;
12051 bool temp2
= false ;
12052 bool temp3
= false ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 PyObject
* obj2
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12062 if (SWIG_arg_fail(1)) SWIG_fail
;
12064 arg2
= wxString_in_helper(obj1
);
12065 if (arg2
== NULL
) SWIG_fail
;
12069 arg3
= wxString_in_helper(obj2
);
12070 if (arg3
== NULL
) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12105 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxInputStream
*arg1
= 0 ;
12109 wxPyInputStream
*temp1
;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "stream", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12118 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12119 arg1
= temp1
->m_wxis
;
12122 PyErr_Clear(); // clear the failure of the wxPyConvert above
12123 arg1
= wxPyCBInputStream_create(obj0
, false);
12124 if (arg1
== NULL
) {
12125 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)wxImage::CanRead(*arg1
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12142 if (created1
) delete arg1
;
12147 if (created1
) delete arg1
;
12153 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxImage
*arg1
= (wxImage
*) 0 ;
12156 wxInputStream
*arg2
= 0 ;
12157 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12158 int arg4
= (int) -1 ;
12160 wxPyInputStream
*temp2
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 PyObject
* obj3
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12175 arg2
= temp2
->m_wxis
;
12178 PyErr_Clear(); // clear the failure of the wxPyConvert above
12179 arg2
= wxPyCBInputStream_create(obj1
, false);
12180 if (arg2
== NULL
) {
12181 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12189 arg3
= (long)(SWIG_As_long(obj2
));
12190 if (SWIG_arg_fail(3)) SWIG_fail
;
12195 arg4
= (int)(SWIG_As_int(obj3
));
12196 if (SWIG_arg_fail(4)) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12210 if (created2
) delete arg2
;
12215 if (created2
) delete arg2
;
12221 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxImage
*arg1
= (wxImage
*) 0 ;
12224 wxInputStream
*arg2
= 0 ;
12225 wxString
*arg3
= 0 ;
12226 int arg4
= (int) -1 ;
12228 wxPyInputStream
*temp2
;
12230 bool temp3
= false ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 PyObject
* obj2
= 0 ;
12234 PyObject
* obj3
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail
;
12243 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12244 arg2
= temp2
->m_wxis
;
12247 PyErr_Clear(); // clear the failure of the wxPyConvert above
12248 arg2
= wxPyCBInputStream_create(obj1
, false);
12249 if (arg2
== NULL
) {
12250 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12257 arg3
= wxString_in_helper(obj2
);
12258 if (arg3
== NULL
) SWIG_fail
;
12263 arg4
= (int)(SWIG_As_int(obj3
));
12264 if (SWIG_arg_fail(4)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12278 if (created2
) delete arg2
;
12287 if (created2
) delete arg2
;
12297 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxImage
*arg1
= (wxImage
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12308 if (SWIG_arg_fail(1)) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (bool)(arg1
)->Ok();
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12325 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxImage
*arg1
= (wxImage
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)(arg1
)->GetWidth();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_From_int((int)(result
));
12353 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxImage
*arg1
= (wxImage
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (int)(arg1
)->GetHeight();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_From_int((int)(result
));
12381 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxImage
*arg1
= (wxImage
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= wxImage_GetSize(arg1
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 wxSize
* resultptr
;
12402 resultptr
= new wxSize((wxSize
&)(result
));
12403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12411 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxImage
*arg1
= (wxImage
*) 0 ;
12415 SwigValueWrapper
<wxImage
> result
;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "rect", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12428 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 wxImage
* resultptr
;
12439 resultptr
= new wxImage((wxImage
&)(result
));
12440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12448 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxImage
*arg1
= (wxImage
*) 0 ;
12452 wxPoint
*arg3
= 0 ;
12453 int arg4
= (int) -1 ;
12454 int arg5
= (int) -1 ;
12455 int arg6
= (int) -1 ;
12456 SwigValueWrapper
<wxImage
> result
;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 PyObject
* obj2
= 0 ;
12462 PyObject
* obj3
= 0 ;
12463 PyObject
* obj4
= 0 ;
12464 PyObject
* obj5
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12478 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12482 arg4
= (int)(SWIG_As_int(obj3
));
12483 if (SWIG_arg_fail(4)) SWIG_fail
;
12488 arg5
= (int)(SWIG_As_int(obj4
));
12489 if (SWIG_arg_fail(5)) SWIG_fail
;
12494 arg6
= (int)(SWIG_As_int(obj5
));
12495 if (SWIG_arg_fail(6)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 wxImage
* resultptr
;
12507 resultptr
= new wxImage((wxImage
&)(result
));
12508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12516 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxImage
*arg1
= (wxImage
*) 0 ;
12519 SwigValueWrapper
<wxImage
> result
;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (arg1
)->Copy();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 wxImage
* resultptr
;
12537 resultptr
= new wxImage((wxImage
&)(result
));
12538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12546 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxImage
*arg1
= (wxImage
*) 0 ;
12549 wxImage
*arg2
= 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 PyObject
* obj3
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(2)) SWIG_fail
;
12566 if (arg2
== NULL
) {
12567 SWIG_null_ref("wxImage");
12569 if (SWIG_arg_fail(2)) SWIG_fail
;
12572 arg3
= (int)(SWIG_As_int(obj2
));
12573 if (SWIG_arg_fail(3)) SWIG_fail
;
12576 arg4
= (int)(SWIG_As_int(obj3
));
12577 if (SWIG_arg_fail(4)) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 Py_INCREF(Py_None
); resultobj
= Py_None
;
12593 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxImage
*arg1
= (wxImage
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12604 if (SWIG_arg_fail(1)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (PyObject
*)wxImage_GetData(arg1
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
;
12619 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxImage
*arg1
= (wxImage
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "data", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail
;
12634 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 wxImage_SetData(arg1
,arg2
,arg3
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxImage
*arg1
= (wxImage
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12661 if (SWIG_arg_fail(1)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
;
12676 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxImage
*arg1
= (wxImage
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "data", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxImage
*arg1
= (wxImage
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
;
12733 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxImage
*arg1
= (wxImage
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "alpha", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxImage
*arg1
= (wxImage
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
;
12790 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxImage
*arg1
= (wxImage
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self",(char *) "alpha", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12805 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 Py_INCREF(Py_None
); resultobj
= Py_None
;
12821 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxImage
*arg1
= (wxImage
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 PyObject
* obj3
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12837 if (SWIG_arg_fail(1)) SWIG_fail
;
12839 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12840 if (SWIG_arg_fail(2)) SWIG_fail
;
12843 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12844 if (SWIG_arg_fail(3)) SWIG_fail
;
12847 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12848 if (SWIG_arg_fail(4)) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 Py_INCREF(Py_None
); resultobj
= Py_None
;
12864 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxImage
*arg1
= (wxImage
*) 0 ;
12867 byte
*arg2
= (byte
*) 0 ;
12868 byte
*arg3
= (byte
*) 0 ;
12869 byte
*arg4
= (byte
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self", NULL
12881 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12882 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12883 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12886 if (SWIG_arg_fail(1)) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12896 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12897 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12898 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12899 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12900 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12907 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxImage
*arg1
= (wxImage
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (byte
)(arg1
)->GetMaskRed();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12935 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxImage
*arg1
= (wxImage
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (byte
)(arg1
)->GetMaskGreen();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12963 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxImage
*arg1
= (wxImage
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(1)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (byte
)(arg1
)->GetMaskBlue();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12991 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxImage
*arg1
= (wxImage
*) 0 ;
12994 bool arg2
= (bool) true ;
12995 PyObject
* obj0
= 0 ;
12996 PyObject
* obj1
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self",(char *) "mask", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13003 if (SWIG_arg_fail(1)) SWIG_fail
;
13006 arg2
= (bool)(SWIG_As_bool(obj1
));
13007 if (SWIG_arg_fail(2)) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetMask(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxImage
*arg1
= (wxImage
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13035 if (SWIG_arg_fail(1)) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (bool)(arg1
)->HasMask();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxImage
*arg1
= (wxImage
*) 0 ;
13056 wxPoint
*arg3
= 0 ;
13057 bool arg4
= (bool) true ;
13058 wxPoint
*arg5
= (wxPoint
*) NULL
;
13059 SwigValueWrapper
<wxImage
> result
;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 PyObject
* obj2
= 0 ;
13064 PyObject
* obj3
= 0 ;
13065 PyObject
* obj4
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13072 if (SWIG_arg_fail(1)) SWIG_fail
;
13074 arg2
= (double)(SWIG_As_double(obj1
));
13075 if (SWIG_arg_fail(2)) SWIG_fail
;
13079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13083 arg4
= (bool)(SWIG_As_bool(obj3
));
13084 if (SWIG_arg_fail(4)) SWIG_fail
;
13088 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(5)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 wxImage
* resultptr
;
13100 resultptr
= new wxImage((wxImage
&)(result
));
13101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13109 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxImage
*arg1
= (wxImage
*) 0 ;
13112 bool arg2
= (bool) true ;
13113 SwigValueWrapper
<wxImage
> result
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "clockwise", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",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
;
13125 arg2
= (bool)(SWIG_As_bool(obj1
));
13126 if (SWIG_arg_fail(2)) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (arg1
)->Rotate90(arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 wxImage
* resultptr
;
13138 resultptr
= new wxImage((wxImage
&)(result
));
13139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13147 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxImage
*arg1
= (wxImage
*) 0 ;
13150 bool arg2
= (bool) true ;
13151 SwigValueWrapper
<wxImage
> result
;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "horizontally", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 arg2
= (bool)(SWIG_As_bool(obj1
));
13164 if (SWIG_arg_fail(2)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (arg1
)->Mirror(arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 wxImage
* resultptr
;
13176 resultptr
= new wxImage((wxImage
&)(result
));
13177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13185 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxImage
*arg1
= (wxImage
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 PyObject
* obj2
= 0 ;
13197 PyObject
* obj3
= 0 ;
13198 PyObject
* obj4
= 0 ;
13199 PyObject
* obj5
= 0 ;
13200 PyObject
* obj6
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13207 if (SWIG_arg_fail(1)) SWIG_fail
;
13209 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13210 if (SWIG_arg_fail(2)) SWIG_fail
;
13213 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13214 if (SWIG_arg_fail(3)) SWIG_fail
;
13217 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13218 if (SWIG_arg_fail(4)) SWIG_fail
;
13221 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13222 if (SWIG_arg_fail(5)) SWIG_fail
;
13225 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13226 if (SWIG_arg_fail(6)) SWIG_fail
;
13229 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13230 if (SWIG_arg_fail(7)) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxImage
*arg1
= (wxImage
*) 0 ;
13252 SwigValueWrapper
<wxImage
> result
;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 PyObject
* obj3
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13265 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13266 if (SWIG_arg_fail(2)) SWIG_fail
;
13269 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13270 if (SWIG_arg_fail(3)) SWIG_fail
;
13273 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13274 if (SWIG_arg_fail(4)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 wxImage
* resultptr
;
13285 resultptr
= new wxImage((wxImage
&)(result
));
13286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13294 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxImage
*arg1
= (wxImage
*) 0 ;
13297 wxString
*arg2
= 0 ;
13298 wxString
*arg3
= 0 ;
13299 bool temp2
= false ;
13300 bool temp3
= false ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 PyObject
* obj2
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "name",(char *) "value", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail
;
13312 arg2
= wxString_in_helper(obj1
);
13313 if (arg2
== NULL
) SWIG_fail
;
13317 arg3
= wxString_in_helper(obj2
);
13318 if (arg3
== NULL
) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxImage
*arg1
= (wxImage
*) 0 ;
13354 wxString
*arg2
= 0 ;
13356 bool temp2
= false ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 PyObject
* obj2
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "name",(char *) "value", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13373 arg3
= (int)(SWIG_As_int(obj2
));
13374 if (SWIG_arg_fail(3)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13398 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxImage
*arg1
= (wxImage
*) 0 ;
13401 wxString
*arg2
= 0 ;
13403 bool temp2
= false ;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self",(char *) "name", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13412 if (SWIG_arg_fail(1)) SWIG_fail
;
13414 arg2
= wxString_in_helper(obj1
);
13415 if (arg2
== NULL
) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13446 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxImage
*arg1
= (wxImage
*) 0 ;
13449 wxString
*arg2
= 0 ;
13451 bool temp2
= false ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "name", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13460 if (SWIG_arg_fail(1)) SWIG_fail
;
13462 arg2
= wxString_in_helper(obj1
);
13463 if (arg2
== NULL
) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_From_int((int)(result
));
13490 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxImage
*arg1
= (wxImage
*) 0 ;
13493 wxString
*arg2
= 0 ;
13495 bool temp2
= false ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self",(char *) "name", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail
;
13506 arg2
= wxString_in_helper(obj1
);
13507 if (arg2
== NULL
) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxImage
*arg1
= (wxImage
*) 0 ;
13537 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13538 unsigned long result
;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "stopafter", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail
;
13550 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13551 if (SWIG_arg_fail(2)) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13570 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxImage
*arg1
= (wxImage
*) 0 ;
13573 wxImageHistogram
*arg2
= 0 ;
13574 unsigned long result
;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self",(char *) "h", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13583 if (SWIG_arg_fail(1)) SWIG_fail
;
13585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(2)) SWIG_fail
;
13587 if (arg2
== NULL
) {
13588 SWIG_null_ref("wxImageHistogram");
13590 if (SWIG_arg_fail(2)) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13608 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "handler", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13618 if (SWIG_arg_fail(1)) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxImage::AddHandler(arg1
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 Py_INCREF(Py_None
); resultobj
= Py_None
;
13633 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "handler", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 wxImage::InsertHandler(arg1
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxString
*arg1
= 0 ;
13662 bool temp1
= false ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "name", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13670 arg1
= wxString_in_helper(obj0
);
13671 if (arg1
== NULL
) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13698 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13701 char *kwnames
[] = {
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= wxImage::GetImageExtWildcard();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13726 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxImage
*arg1
= (wxImage
*) 0 ;
13729 int arg2
= (int) -1 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self",(char *) "depth", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13739 if (SWIG_arg_fail(1)) SWIG_fail
;
13742 arg2
= (int)(SWIG_As_int(obj1
));
13743 if (SWIG_arg_fail(2)) SWIG_fail
;
13747 if (!wxPyCheckForApp()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 wxBitmap
* resultptr
;
13756 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13765 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxImage
*arg1
= (wxImage
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail
;
13784 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13785 if (SWIG_arg_fail(2)) SWIG_fail
;
13788 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13789 if (SWIG_arg_fail(3)) SWIG_fail
;
13792 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13793 if (SWIG_arg_fail(4)) SWIG_fail
;
13796 if (!wxPyCheckForApp()) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 wxBitmap
* resultptr
;
13805 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13814 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13817 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13819 return Py_BuildValue((char *)"");
13821 static int _wrap_NullImage_set(PyObject
*) {
13822 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13827 static PyObject
*_wrap_NullImage_get(void) {
13830 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13835 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13836 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13841 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13846 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13848 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13855 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13861 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13875 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13881 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13895 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13901 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13915 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13921 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13935 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13941 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13955 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13961 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13975 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13981 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13995 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14001 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14015 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14021 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14035 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14041 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14055 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14061 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14075 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14081 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14095 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14101 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14115 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14121 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14135 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxBMPHandler
*result
;
14138 char *kwnames
[] = {
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (wxBMPHandler
*)new wxBMPHandler();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14157 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14160 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14162 return Py_BuildValue((char *)"");
14164 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxICOHandler
*result
;
14167 char *kwnames
[] = {
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (wxICOHandler
*)new wxICOHandler();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14186 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14189 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14191 return Py_BuildValue((char *)"");
14193 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxCURHandler
*result
;
14196 char *kwnames
[] = {
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (wxCURHandler
*)new wxCURHandler();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14215 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14218 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14220 return Py_BuildValue((char *)"");
14222 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxANIHandler
*result
;
14225 char *kwnames
[] = {
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (wxANIHandler
*)new wxANIHandler();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14244 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14247 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14249 return Py_BuildValue((char *)"");
14251 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxPNGHandler
*result
;
14254 char *kwnames
[] = {
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (wxPNGHandler
*)new wxPNGHandler();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14273 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14276 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14278 return Py_BuildValue((char *)"");
14280 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxGIFHandler
*result
;
14283 char *kwnames
[] = {
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (wxGIFHandler
*)new wxGIFHandler();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14302 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14305 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14307 return Py_BuildValue((char *)"");
14309 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxPCXHandler
*result
;
14312 char *kwnames
[] = {
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxPCXHandler
*)new wxPCXHandler();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14331 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14334 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14336 return Py_BuildValue((char *)"");
14338 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxJPEGHandler
*result
;
14341 char *kwnames
[] = {
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14360 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14363 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14365 return Py_BuildValue((char *)"");
14367 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxPNMHandler
*result
;
14370 char *kwnames
[] = {
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (wxPNMHandler
*)new wxPNMHandler();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14389 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14392 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14394 return Py_BuildValue((char *)"");
14396 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxXPMHandler
*result
;
14399 char *kwnames
[] = {
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (wxXPMHandler
*)new wxXPMHandler();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14418 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14421 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14423 return Py_BuildValue((char *)"");
14425 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxTIFFHandler
*result
;
14428 char *kwnames
[] = {
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14447 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14450 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14452 return Py_BuildValue((char *)"");
14454 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxImage
*arg1
= 0 ;
14457 wxImage
*arg2
= 0 ;
14458 int arg3
= (int) 236 ;
14459 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 PyObject
* obj3
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14472 if (SWIG_arg_fail(1)) SWIG_fail
;
14473 if (arg1
== NULL
) {
14474 SWIG_null_ref("wxImage");
14476 if (SWIG_arg_fail(1)) SWIG_fail
;
14479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14480 if (SWIG_arg_fail(2)) SWIG_fail
;
14481 if (arg2
== NULL
) {
14482 SWIG_null_ref("wxImage");
14484 if (SWIG_arg_fail(2)) SWIG_fail
;
14488 arg3
= (int)(SWIG_As_int(obj2
));
14489 if (SWIG_arg_fail(3)) SWIG_fail
;
14494 arg4
= (int)(SWIG_As_int(obj3
));
14495 if (SWIG_arg_fail(4)) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14514 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14517 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14519 return Py_BuildValue((char *)"");
14521 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxEvtHandler
*result
;
14524 char *kwnames
[] = {
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (wxEvtHandler
*)new wxEvtHandler();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14543 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14546 wxEvtHandler
*result
;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14554 if (SWIG_arg_fail(1)) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= wxPyMake_wxObject(result
, 0);
14571 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14574 wxEvtHandler
*result
;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14582 if (SWIG_arg_fail(1)) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= wxPyMake_wxObject(result
, 0);
14599 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14602 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self",(char *) "handler", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail
;
14612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14613 if (SWIG_arg_fail(2)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 (arg1
)->SetNextHandler(arg2
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 Py_INCREF(Py_None
); resultobj
= Py_None
;
14628 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14631 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "handler", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14640 if (SWIG_arg_fail(1)) SWIG_fail
;
14641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14642 if (SWIG_arg_fail(2)) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 (arg1
)->SetPreviousHandler(arg2
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14685 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "enabled", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14697 if (SWIG_arg_fail(1)) SWIG_fail
;
14699 arg2
= (bool)(SWIG_As_bool(obj1
));
14700 if (SWIG_arg_fail(2)) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->SetEvtHandlerEnabled(arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14716 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14719 wxEvent
*arg2
= 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "event", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail
;
14731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14732 if (SWIG_arg_fail(2)) SWIG_fail
;
14733 if (arg2
== NULL
) {
14734 SWIG_null_ref("wxEvent");
14736 if (SWIG_arg_fail(2)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14754 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14757 wxEvent
*arg2
= 0 ;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self",(char *) "event", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14766 if (SWIG_arg_fail(1)) SWIG_fail
;
14768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14769 if (SWIG_arg_fail(2)) SWIG_fail
;
14770 if (arg2
== NULL
) {
14771 SWIG_null_ref("wxEvent");
14773 if (SWIG_arg_fail(2)) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->AddPendingEvent(*arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 (arg1
)->ProcessPendingEvents();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14820 PyObject
*arg5
= (PyObject
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 PyObject
* obj2
= 0 ;
14824 PyObject
* obj3
= 0 ;
14825 PyObject
* obj4
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14832 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 arg2
= (int)(SWIG_As_int(obj1
));
14835 if (SWIG_arg_fail(2)) SWIG_fail
;
14838 arg3
= (int)(SWIG_As_int(obj2
));
14839 if (SWIG_arg_fail(3)) SWIG_fail
;
14842 arg4
= (int)(SWIG_As_int(obj3
));
14843 if (SWIG_arg_fail(4)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 Py_INCREF(Py_None
); resultobj
= Py_None
;
14860 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14864 int arg3
= (int) -1 ;
14865 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 PyObject
* obj2
= 0 ;
14870 PyObject
* obj3
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14877 if (SWIG_arg_fail(1)) SWIG_fail
;
14879 arg2
= (int)(SWIG_As_int(obj1
));
14880 if (SWIG_arg_fail(2)) SWIG_fail
;
14884 arg3
= (int)(SWIG_As_int(obj2
));
14885 if (SWIG_arg_fail(3)) SWIG_fail
;
14890 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14891 if (SWIG_arg_fail(4)) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14910 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14913 PyObject
*arg2
= (PyObject
*) 0 ;
14914 bool arg3
= (bool) true ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "_self",(char *) "incref", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14924 if (SWIG_arg_fail(1)) SWIG_fail
;
14928 arg3
= (bool)(SWIG_As_bool(obj2
));
14929 if (SWIG_arg_fail(3)) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 Py_INCREF(Py_None
); resultobj
= Py_None
;
14946 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxEventType result
;
14956 char *kwnames
[] = {
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (wxEventType
)wxNewEventType();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_From_int((int)(result
));
14977 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxEvent
*arg1
= (wxEvent
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14987 if (SWIG_arg_fail(1)) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxEvent
*arg1
= (wxEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self",(char *) "typ", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15014 if (SWIG_arg_fail(1)) SWIG_fail
;
15016 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15017 if (SWIG_arg_fail(2)) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 (arg1
)->SetEventType(arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 Py_INCREF(Py_None
); resultobj
= Py_None
;
15033 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxEvent
*arg1
= (wxEvent
*) 0 ;
15036 wxEventType result
;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_From_int((int)(result
));
15061 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxEvent
*arg1
= (wxEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= wxPyMake_wxObject(result
, 0);
15089 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxEvent
*arg1
= (wxEvent
*) 0 ;
15092 wxObject
*arg2
= (wxObject
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "obj", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15103 if (SWIG_arg_fail(2)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetEventObject(arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxEvent
*arg1
= (wxEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_long((long)(result
));
15146 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxEvent
*arg1
= (wxEvent
*) 0 ;
15149 long arg2
= (long) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "ts", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (long)(SWIG_As_long(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetTimestamp(arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxEvent
*arg1
= (wxEvent
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (int)((wxEvent
const *)arg1
)->GetId();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_From_int((int)(result
));
15207 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxEvent
*arg1
= (wxEvent
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "Id", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15219 if (SWIG_arg_fail(1)) SWIG_fail
;
15221 arg2
= (int)(SWIG_As_int(obj1
));
15222 if (SWIG_arg_fail(2)) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 (arg1
)->SetId(arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxEvent
*arg1
= (wxEvent
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15266 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxEvent
*arg1
= (wxEvent
*) 0 ;
15269 bool arg2
= (bool) true ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "skip", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15281 arg2
= (bool)(SWIG_As_bool(obj1
));
15282 if (SWIG_arg_fail(2)) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->Skip(arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxEvent
*arg1
= (wxEvent
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15310 if (SWIG_arg_fail(1)) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15327 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxEvent
*arg1
= (wxEvent
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxEvent
*arg1
= (wxEvent
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (int)(arg1
)->StopPropagation();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_From_int((int)(result
));
15383 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxEvent
*arg1
= (wxEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "propagationLevel", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 arg2
= (int)(SWIG_As_int(obj1
));
15398 if (SWIG_arg_fail(2)) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->ResumePropagation(arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxEvent
*arg1
= (wxEvent
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15425 if (SWIG_arg_fail(1)) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (wxEvent
*)(arg1
)->Clone();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15440 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15443 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15445 return Py_BuildValue((char *)"");
15447 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxEvent
*arg1
= 0 ;
15450 wxPropagationDisabler
*result
;
15451 PyObject
* obj0
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "event", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15460 if (arg1
== NULL
) {
15461 SWIG_null_ref("wxEvent");
15463 if (SWIG_arg_fail(1)) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15479 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 Py_INCREF(Py_None
); resultobj
= Py_None
;
15504 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15507 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15509 return Py_BuildValue((char *)"");
15511 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxEvent
*arg1
= 0 ;
15514 wxPropagateOnce
*result
;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "event", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15523 if (SWIG_arg_fail(1)) SWIG_fail
;
15524 if (arg1
== NULL
) {
15525 SWIG_null_ref("wxEvent");
15527 if (SWIG_arg_fail(1)) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15543 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 Py_INCREF(Py_None
); resultobj
= Py_None
;
15568 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15571 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15573 return Py_BuildValue((char *)"");
15575 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15578 int arg2
= (int) 0 ;
15579 wxCommandEvent
*result
;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "commandType",(char *) "winid", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15589 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15590 if (SWIG_arg_fail(1)) SWIG_fail
;
15595 arg2
= (int)(SWIG_As_int(obj1
));
15596 if (SWIG_arg_fail(2)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15613 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15624 if (SWIG_arg_fail(1)) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_From_int((int)(result
));
15641 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15644 wxString
*arg2
= 0 ;
15645 bool temp2
= false ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "s", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15656 arg2
= wxString_in_helper(obj1
);
15657 if (arg2
== NULL
) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SetString((wxString
const &)*arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 Py_INCREF(Py_None
); resultobj
= Py_None
;
15682 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15714 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15725 if (SWIG_arg_fail(1)) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15742 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15770 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "extraLong", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15782 if (SWIG_arg_fail(1)) SWIG_fail
;
15784 arg2
= (long)(SWIG_As_long(obj1
));
15785 if (SWIG_arg_fail(2)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetExtraLong(arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15812 if (SWIG_arg_fail(1)) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_From_long((long)(result
));
15829 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self",(char *) "i", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 arg2
= (int)(SWIG_As_int(obj1
));
15844 if (SWIG_arg_fail(2)) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->SetInt(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15871 if (SWIG_arg_fail(1)) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_From_long((long)(result
));
15888 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15899 if (SWIG_arg_fail(1)) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15914 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15917 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15919 return Py_BuildValue((char *)"");
15921 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15924 int arg2
= (int) 0 ;
15925 wxNotifyEvent
*result
;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "commandType",(char *) "winid", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15935 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15936 if (SWIG_arg_fail(1)) SWIG_fail
;
15941 arg2
= (int)(SWIG_As_int(obj1
));
15942 if (SWIG_arg_fail(2)) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15959 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15969 if (SWIG_arg_fail(1)) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 Py_INCREF(Py_None
); resultobj
= Py_None
;
15984 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16020 if (SWIG_arg_fail(1)) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)(arg1
)->IsAllowed();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16037 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16040 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16042 return Py_BuildValue((char *)"");
16044 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16047 int arg2
= (int) 0 ;
16048 int arg3
= (int) 0 ;
16049 int arg4
= (int) 0 ;
16050 wxScrollEvent
*result
;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 PyObject
* obj3
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16062 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 arg2
= (int)(SWIG_As_int(obj1
));
16069 if (SWIG_arg_fail(2)) SWIG_fail
;
16074 arg3
= (int)(SWIG_As_int(obj2
));
16075 if (SWIG_arg_fail(3)) SWIG_fail
;
16080 arg4
= (int)(SWIG_As_int(obj3
));
16081 if (SWIG_arg_fail(4)) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16098 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16109 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_From_int((int)(result
));
16126 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16137 if (SWIG_arg_fail(1)) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_From_int((int)(result
));
16154 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "orient", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16166 if (SWIG_arg_fail(1)) SWIG_fail
;
16168 arg2
= (int)(SWIG_As_int(obj1
));
16169 if (SWIG_arg_fail(2)) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 (arg1
)->SetOrientation(arg2
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "pos", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16197 if (SWIG_arg_fail(1)) SWIG_fail
;
16199 arg2
= (int)(SWIG_As_int(obj1
));
16200 if (SWIG_arg_fail(2)) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 (arg1
)->SetPosition(arg2
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16219 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16221 return Py_BuildValue((char *)"");
16223 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16226 int arg2
= (int) 0 ;
16227 int arg3
= (int) 0 ;
16228 wxScrollWinEvent
*result
;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16239 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16240 if (SWIG_arg_fail(1)) SWIG_fail
;
16245 arg2
= (int)(SWIG_As_int(obj1
));
16246 if (SWIG_arg_fail(2)) SWIG_fail
;
16251 arg3
= (int)(SWIG_As_int(obj2
));
16252 if (SWIG_arg_fail(3)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16269 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= SWIG_From_int((int)(result
));
16297 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_From_int((int)(result
));
16325 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self",(char *) "orient", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16337 if (SWIG_arg_fail(1)) SWIG_fail
;
16339 arg2
= (int)(SWIG_As_int(obj1
));
16340 if (SWIG_arg_fail(2)) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 (arg1
)->SetOrientation(arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "pos", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16368 if (SWIG_arg_fail(1)) SWIG_fail
;
16370 arg2
= (int)(SWIG_As_int(obj1
));
16371 if (SWIG_arg_fail(2)) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 (arg1
)->SetPosition(arg2
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16390 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16392 return Py_BuildValue((char *)"");
16394 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16397 wxMouseEvent
*result
;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "mouseType", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16406 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16407 if (SWIG_arg_fail(1)) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= wxPyMake_wxObject(result
, 1);
16426 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16437 if (SWIG_arg_fail(1)) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16454 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16457 int arg2
= (int) wxMOUSE_BTN_ANY
;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "but", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail
;
16470 arg2
= (int)(SWIG_As_int(obj1
));
16471 if (SWIG_arg_fail(2)) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16493 int arg2
= (int) wxMOUSE_BTN_ANY
;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "but", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16503 if (SWIG_arg_fail(1)) SWIG_fail
;
16506 arg2
= (int)(SWIG_As_int(obj1
));
16507 if (SWIG_arg_fail(2)) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16526 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16529 int arg2
= (int) wxMOUSE_BTN_ANY
;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "but", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail
;
16542 arg2
= (int)(SWIG_As_int(obj1
));
16543 if (SWIG_arg_fail(2)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16562 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self",(char *) "button", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16575 if (SWIG_arg_fail(1)) SWIG_fail
;
16577 arg2
= (int)(SWIG_As_int(obj1
));
16578 if (SWIG_arg_fail(2)) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "but", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16609 if (SWIG_arg_fail(1)) SWIG_fail
;
16611 arg2
= (int)(SWIG_As_int(obj1
));
16612 if (SWIG_arg_fail(2)) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16630 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= SWIG_From_int((int)(result
));
16658 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16686 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16697 if (SWIG_arg_fail(1)) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16714 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16742 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16753 if (SWIG_arg_fail(1)) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16770 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16781 if (SWIG_arg_fail(1)) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16798 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16809 if (SWIG_arg_fail(1)) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16826 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16837 if (SWIG_arg_fail(1)) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16854 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16865 if (SWIG_arg_fail(1)) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16882 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16893 if (SWIG_arg_fail(1)) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16910 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16921 if (SWIG_arg_fail(1)) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16938 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16966 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16977 if (SWIG_arg_fail(1)) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16994 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17022 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17050 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)(arg1
)->LeftIsDown();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17078 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17089 if (SWIG_arg_fail(1)) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (bool)(arg1
)->MiddleIsDown();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17106 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (bool)(arg1
)->RightIsDown();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17134 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17162 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "self", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17173 if (SWIG_arg_fail(1)) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17190 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17218 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17246 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17250 PyObject
* obj0
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (arg1
)->GetPosition();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 wxPoint
* resultptr
;
17267 resultptr
= new wxPoint((wxPoint
&)(result
));
17268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17276 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17279 long *arg2
= (long *) 0 ;
17280 long *arg3
= (long *) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17291 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17304 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17305 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17306 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17313 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "dc", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail
;
17328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(2)) SWIG_fail
;
17330 if (arg2
== NULL
) {
17331 SWIG_null_ref("wxDC");
17333 if (SWIG_arg_fail(2)) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 wxPoint
* resultptr
;
17344 resultptr
= new wxPoint((wxPoint
&)(result
));
17345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17353 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17364 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_From_int((int)(result
));
17381 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17392 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_From_int((int)(result
));
17409 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17420 if (SWIG_arg_fail(1)) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_From_int((int)(result
));
17437 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_From_int((int)(result
));
17465 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_From_int((int)(result
));
17493 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17504 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17521 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "m_x", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail
;
17535 arg2
= (int)(SWIG_As_int(obj1
));
17536 if (SWIG_arg_fail(2)) SWIG_fail
;
17538 if (arg1
) (arg1
)->m_x
= arg2
;
17540 Py_INCREF(Py_None
); resultobj
= Py_None
;
17547 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17558 if (SWIG_arg_fail(1)) SWIG_fail
;
17559 result
= (int) ((arg1
)->m_x
);
17562 resultobj
= SWIG_From_int((int)(result
));
17570 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "m_y", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17582 if (SWIG_arg_fail(1)) SWIG_fail
;
17584 arg2
= (int)(SWIG_As_int(obj1
));
17585 if (SWIG_arg_fail(2)) SWIG_fail
;
17587 if (arg1
) (arg1
)->m_y
= arg2
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17607 if (SWIG_arg_fail(1)) SWIG_fail
;
17608 result
= (int) ((arg1
)->m_y
);
17611 resultobj
= SWIG_From_int((int)(result
));
17619 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "m_leftDown", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail
;
17633 arg2
= (bool)(SWIG_As_bool(obj1
));
17634 if (SWIG_arg_fail(2)) SWIG_fail
;
17636 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17638 Py_INCREF(Py_None
); resultobj
= Py_None
;
17645 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17656 if (SWIG_arg_fail(1)) SWIG_fail
;
17657 result
= (bool) ((arg1
)->m_leftDown
);
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "m_middleDown", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(1)) SWIG_fail
;
17682 arg2
= (bool)(SWIG_As_bool(obj1
));
17683 if (SWIG_arg_fail(2)) SWIG_fail
;
17685 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17687 Py_INCREF(Py_None
); resultobj
= Py_None
;
17694 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17705 if (SWIG_arg_fail(1)) SWIG_fail
;
17706 result
= (bool) ((arg1
)->m_middleDown
);
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17717 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self",(char *) "m_rightDown", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail
;
17731 arg2
= (bool)(SWIG_As_bool(obj1
));
17732 if (SWIG_arg_fail(2)) SWIG_fail
;
17734 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17736 Py_INCREF(Py_None
); resultobj
= Py_None
;
17743 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17754 if (SWIG_arg_fail(1)) SWIG_fail
;
17755 result
= (bool) ((arg1
)->m_rightDown
);
17758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17766 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "m_controlDown", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17780 arg2
= (bool)(SWIG_As_bool(obj1
));
17781 if (SWIG_arg_fail(2)) SWIG_fail
;
17783 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17785 Py_INCREF(Py_None
); resultobj
= Py_None
;
17792 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17803 if (SWIG_arg_fail(1)) SWIG_fail
;
17804 result
= (bool) ((arg1
)->m_controlDown
);
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "m_shiftDown", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17827 if (SWIG_arg_fail(1)) SWIG_fail
;
17829 arg2
= (bool)(SWIG_As_bool(obj1
));
17830 if (SWIG_arg_fail(2)) SWIG_fail
;
17832 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17834 Py_INCREF(Py_None
); resultobj
= Py_None
;
17841 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17852 if (SWIG_arg_fail(1)) SWIG_fail
;
17853 result
= (bool) ((arg1
)->m_shiftDown
);
17856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17864 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "m_altDown", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17876 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 arg2
= (bool)(SWIG_As_bool(obj1
));
17879 if (SWIG_arg_fail(2)) SWIG_fail
;
17881 if (arg1
) (arg1
)->m_altDown
= arg2
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail
;
17902 result
= (bool) ((arg1
)->m_altDown
);
17905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17913 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "m_metaDown", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17925 if (SWIG_arg_fail(1)) SWIG_fail
;
17927 arg2
= (bool)(SWIG_As_bool(obj1
));
17928 if (SWIG_arg_fail(2)) SWIG_fail
;
17930 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17932 Py_INCREF(Py_None
); resultobj
= Py_None
;
17939 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17951 result
= (bool) ((arg1
)->m_metaDown
);
17954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17962 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "m_wheelRotation", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17974 if (SWIG_arg_fail(1)) SWIG_fail
;
17976 arg2
= (int)(SWIG_As_int(obj1
));
17977 if (SWIG_arg_fail(2)) SWIG_fail
;
17979 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17981 Py_INCREF(Py_None
); resultobj
= Py_None
;
17988 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17999 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 result
= (int) ((arg1
)->m_wheelRotation
);
18003 resultobj
= SWIG_From_int((int)(result
));
18011 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "m_wheelDelta", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18023 if (SWIG_arg_fail(1)) SWIG_fail
;
18025 arg2
= (int)(SWIG_As_int(obj1
));
18026 if (SWIG_arg_fail(2)) SWIG_fail
;
18028 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18030 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18048 if (SWIG_arg_fail(1)) SWIG_fail
;
18049 result
= (int) ((arg1
)->m_wheelDelta
);
18052 resultobj
= SWIG_From_int((int)(result
));
18060 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "m_linesPerAction", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18074 arg2
= (int)(SWIG_As_int(obj1
));
18075 if (SWIG_arg_fail(2)) SWIG_fail
;
18077 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18079 Py_INCREF(Py_None
); resultobj
= Py_None
;
18086 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 result
= (int) ((arg1
)->m_linesPerAction
);
18101 resultobj
= SWIG_From_int((int)(result
));
18109 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18112 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18114 return Py_BuildValue((char *)"");
18116 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 int arg1
= (int) 0 ;
18119 int arg2
= (int) 0 ;
18120 wxSetCursorEvent
*result
;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "x",(char *) "y", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18130 arg1
= (int)(SWIG_As_int(obj0
));
18131 if (SWIG_arg_fail(1)) SWIG_fail
;
18136 arg2
= (int)(SWIG_As_int(obj1
));
18137 if (SWIG_arg_fail(2)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18154 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18165 if (SWIG_arg_fail(1)) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_From_int((int)(result
));
18182 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_From_int((int)(result
));
18210 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18213 wxCursor
*arg2
= 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "cursor", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail
;
18224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(2)) SWIG_fail
;
18226 if (arg2
== NULL
) {
18227 SWIG_null_ref("wxCursor");
18229 if (SWIG_arg_fail(2)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18261 result
= (wxCursor
*) &_result_ref
;
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18268 wxCursor
* resultptr
= new wxCursor(*result
);
18269 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18277 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18308 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18310 return Py_BuildValue((char *)"");
18312 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18315 wxKeyEvent
*result
;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "keyType", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18324 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18325 if (SWIG_arg_fail(1)) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18342 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18398 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18426 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18454 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18482 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= SWIG_From_int((int)(result
));
18538 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_From_int((int)(result
));
18566 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18569 unsigned int result
;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18594 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18597 unsigned int result
;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18622 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (arg1
)->GetPosition();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 wxPoint
* resultptr
;
18643 resultptr
= new wxPoint((wxPoint
&)(result
));
18644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18652 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
;
18654 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18655 long *arg2
= (long *) 0 ;
18656 long *arg3
= (long *) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18667 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18670 if (SWIG_arg_fail(1)) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 (arg1
)->GetPosition(arg2
,arg3
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 Py_INCREF(Py_None
); resultobj
= Py_None
;
18679 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18680 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18681 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18682 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18689 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18700 if (SWIG_arg_fail(1)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_From_int((int)(result
));
18717 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18728 if (SWIG_arg_fail(1)) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_From_int((int)(result
));
18745 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "m_x", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18757 if (SWIG_arg_fail(1)) SWIG_fail
;
18759 arg2
= (int)(SWIG_As_int(obj1
));
18760 if (SWIG_arg_fail(2)) SWIG_fail
;
18762 if (arg1
) (arg1
)->m_x
= arg2
;
18764 Py_INCREF(Py_None
); resultobj
= Py_None
;
18771 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "self", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18782 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 result
= (int) ((arg1
)->m_x
);
18786 resultobj
= SWIG_From_int((int)(result
));
18794 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "m_y", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 arg2
= (int)(SWIG_As_int(obj1
));
18809 if (SWIG_arg_fail(2)) SWIG_fail
;
18811 if (arg1
) (arg1
)->m_y
= arg2
;
18813 Py_INCREF(Py_None
); resultobj
= Py_None
;
18820 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18831 if (SWIG_arg_fail(1)) SWIG_fail
;
18832 result
= (int) ((arg1
)->m_y
);
18835 resultobj
= SWIG_From_int((int)(result
));
18843 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self",(char *) "m_keyCode", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail
;
18857 arg2
= (long)(SWIG_As_long(obj1
));
18858 if (SWIG_arg_fail(2)) SWIG_fail
;
18860 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(1)) SWIG_fail
;
18881 result
= (long) ((arg1
)->m_keyCode
);
18884 resultobj
= SWIG_From_long((long)(result
));
18892 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "m_controlDown", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 arg2
= (bool)(SWIG_As_bool(obj1
));
18907 if (SWIG_arg_fail(2)) SWIG_fail
;
18909 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(1)) SWIG_fail
;
18930 result
= (bool) ((arg1
)->m_controlDown
);
18933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18941 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "m_shiftDown", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18953 if (SWIG_arg_fail(1)) SWIG_fail
;
18955 arg2
= (bool)(SWIG_As_bool(obj1
));
18956 if (SWIG_arg_fail(2)) SWIG_fail
;
18958 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(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_m_shiftDown_get",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
;
18979 result
= (bool) ((arg1
)->m_shiftDown
);
18982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18990 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self",(char *) "m_altDown", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail
;
19004 arg2
= (bool)(SWIG_As_bool(obj1
));
19005 if (SWIG_arg_fail(2)) SWIG_fail
;
19007 if (arg1
) (arg1
)->m_altDown
= arg2
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19027 if (SWIG_arg_fail(1)) SWIG_fail
;
19028 result
= (bool) ((arg1
)->m_altDown
);
19031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19039 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "m_metaDown", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19051 if (SWIG_arg_fail(1)) SWIG_fail
;
19053 arg2
= (bool)(SWIG_As_bool(obj1
));
19054 if (SWIG_arg_fail(2)) SWIG_fail
;
19056 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19058 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19076 if (SWIG_arg_fail(1)) SWIG_fail
;
19077 result
= (bool) ((arg1
)->m_metaDown
);
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "m_scanCode", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19100 if (SWIG_arg_fail(1)) SWIG_fail
;
19102 arg2
= (bool)(SWIG_As_bool(obj1
));
19103 if (SWIG_arg_fail(2)) SWIG_fail
;
19105 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail
;
19126 result
= (bool) ((arg1
)->m_scanCode
);
19129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19137 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19140 unsigned int arg2
;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "m_rawCode", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19152 if (SWIG_arg_fail(2)) SWIG_fail
;
19154 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_KeyEvent_m_rawCode_get(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_m_rawCode_get",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
;
19175 result
= (unsigned int) ((arg1
)->m_rawCode
);
19178 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19186 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19189 unsigned int arg2
;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "m_rawFlags", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19198 if (SWIG_arg_fail(1)) SWIG_fail
;
19200 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19201 if (SWIG_arg_fail(2)) SWIG_fail
;
19203 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19215 unsigned int result
;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19223 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19227 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19235 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19238 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19240 return Py_BuildValue((char *)"");
19242 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19245 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19246 int arg2
= (int) 0 ;
19247 wxSizeEvent
*result
;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "sz",(char *) "winid", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19259 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19264 arg2
= (int)(SWIG_As_int(obj1
));
19265 if (SWIG_arg_fail(2)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19282 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 wxSize
* resultptr
;
19303 resultptr
= new wxSize((wxSize
&)(result
));
19304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19312 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 wxRect
* resultptr
;
19333 resultptr
= new wxRect((wxRect
&)(result
));
19334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19342 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "rect", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19354 if (SWIG_arg_fail(1)) SWIG_fail
;
19357 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19358 if (SWIG_arg_fail(2)) SWIG_fail
;
19359 if (argp
== NULL
) {
19360 SWIG_null_ref("wxRect");
19362 if (SWIG_arg_fail(2)) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetRect(arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "size", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19391 if (SWIG_arg_fail(1)) SWIG_fail
;
19394 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19395 if (SWIG_arg_fail(2)) SWIG_fail
;
19396 if (argp
== NULL
) {
19397 SWIG_null_ref("wxSize");
19399 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 wxSizeEvent_SetSize(arg1
,arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19419 wxSize
*arg2
= (wxSize
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "m_size", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19428 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(2)) SWIG_fail
;
19431 if (arg1
) (arg1
)->m_size
= *arg2
;
19433 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19451 if (SWIG_arg_fail(1)) SWIG_fail
;
19452 result
= (wxSize
*)& ((arg1
)->m_size
);
19454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19461 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19464 wxRect
*arg2
= (wxRect
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "m_rect", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19473 if (SWIG_arg_fail(1)) SWIG_fail
;
19474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(2)) SWIG_fail
;
19476 if (arg1
) (arg1
)->m_rect
= *arg2
;
19478 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "self", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(1)) SWIG_fail
;
19497 result
= (wxRect
*)& ((arg1
)->m_rect
);
19499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19506 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19509 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19511 return Py_BuildValue((char *)"");
19513 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19516 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19517 int arg2
= (int) 0 ;
19518 wxMoveEvent
*result
;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "pos",(char *) "winid", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19530 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19535 arg2
= (int)(SWIG_As_int(obj1
));
19536 if (SWIG_arg_fail(2)) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19553 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19564 if (SWIG_arg_fail(1)) SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 wxPoint
* resultptr
;
19574 resultptr
= new wxPoint((wxPoint
&)(result
));
19575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19583 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19594 if (SWIG_arg_fail(1)) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19603 wxRect
* resultptr
;
19604 resultptr
= new wxRect((wxRect
&)(result
));
19605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19613 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "rect", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19626 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 (arg1
)->SetRect((wxRect
const &)*arg2
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 Py_INCREF(Py_None
); resultobj
= Py_None
;
19645 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19648 wxPoint
*arg2
= 0 ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "pos", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19680 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19682 return Py_BuildValue((char *)"");
19684 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 int arg1
= (int) 0 ;
19687 wxPaintEvent
*result
;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "Id", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19696 arg1
= (int)(SWIG_As_int(obj0
));
19697 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19714 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19717 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19719 return Py_BuildValue((char *)"");
19721 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 int arg1
= (int) 0 ;
19724 wxNcPaintEvent
*result
;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "winid", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19733 arg1
= (int)(SWIG_As_int(obj0
));
19734 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19751 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19754 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19756 return Py_BuildValue((char *)"");
19758 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 int arg1
= (int) 0 ;
19761 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19762 wxEraseEvent
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "Id",(char *) "dc", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 arg1
= (int)(SWIG_As_int(obj0
));
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19794 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= wxPyMake_wxObject(result
, 0);
19822 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19825 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19827 return Py_BuildValue((char *)"");
19829 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19832 int arg2
= (int) 0 ;
19833 wxFocusEvent
*result
;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "type",(char *) "winid", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19844 if (SWIG_arg_fail(1)) SWIG_fail
;
19849 arg2
= (int)(SWIG_As_int(obj1
));
19850 if (SWIG_arg_fail(2)) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19867 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 char *kwnames
[] = {
19873 (char *) "self", NULL
19876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= wxPyMake_wxObject(result
, 0);
19895 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19898 wxWindow
*arg2
= (wxWindow
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self",(char *) "win", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19907 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(2)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 (arg1
)->SetWindow(arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 Py_INCREF(Py_None
); resultobj
= Py_None
;
19924 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19927 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19929 return Py_BuildValue((char *)"");
19931 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxWindow
*arg1
= (wxWindow
*) NULL
;
19934 wxChildFocusEvent
*result
;
19935 PyObject
* obj0
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "win", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19959 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19970 if (SWIG_arg_fail(1)) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= wxPyMake_wxObject(result
, 0);
19987 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19990 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19992 return Py_BuildValue((char *)"");
19994 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19997 bool arg2
= (bool) true ;
19998 int arg3
= (int) 0 ;
19999 wxActivateEvent
*result
;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 PyObject
* obj2
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "type",(char *) "active",(char *) "Id", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20010 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20011 if (SWIG_arg_fail(1)) SWIG_fail
;
20016 arg2
= (bool)(SWIG_As_bool(obj1
));
20017 if (SWIG_arg_fail(2)) SWIG_fail
;
20022 arg3
= (int)(SWIG_As_int(obj2
));
20023 if (SWIG_arg_fail(3)) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20040 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20051 if (SWIG_arg_fail(1)) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20071 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20073 return Py_BuildValue((char *)"");
20075 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 int arg1
= (int) 0 ;
20078 wxInitDialogEvent
*result
;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "Id", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20087 arg1
= (int)(SWIG_As_int(obj0
));
20088 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20105 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20108 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20110 return Py_BuildValue((char *)"");
20112 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20115 int arg2
= (int) 0 ;
20116 wxMenu
*arg3
= (wxMenu
*) NULL
;
20117 wxMenuEvent
*result
;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 PyObject
* obj2
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "type",(char *) "winid",(char *) "menu", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20128 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20129 if (SWIG_arg_fail(1)) SWIG_fail
;
20134 arg2
= (int)(SWIG_As_int(obj1
));
20135 if (SWIG_arg_fail(2)) SWIG_fail
;
20139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20140 if (SWIG_arg_fail(3)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20156 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20167 if (SWIG_arg_fail(1)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= SWIG_From_int((int)(result
));
20184 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20212 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20223 if (SWIG_arg_fail(1)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= wxPyMake_wxObject(result
, 0);
20240 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20243 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20245 return Py_BuildValue((char *)"");
20247 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20250 int arg2
= (int) 0 ;
20251 wxCloseEvent
*result
;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "type",(char *) "winid", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20261 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 arg2
= (int)(SWIG_As_int(obj1
));
20268 if (SWIG_arg_fail(2)) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20285 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "logOff", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20297 if (SWIG_arg_fail(1)) SWIG_fail
;
20299 arg2
= (bool)(SWIG_As_bool(obj1
));
20300 if (SWIG_arg_fail(2)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetLoggingOff(arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20327 if (SWIG_arg_fail(1)) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20347 bool arg2
= (bool) true ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "veto", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20359 arg2
= (bool)(SWIG_As_bool(obj1
));
20360 if (SWIG_arg_fail(2)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->Veto(arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "canVeto", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20389 if (SWIG_arg_fail(1)) SWIG_fail
;
20391 arg2
= (bool)(SWIG_As_bool(obj1
));
20392 if (SWIG_arg_fail(2)) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 (arg1
)->SetCanVeto(arg2
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 Py_INCREF(Py_None
); resultobj
= Py_None
;
20408 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20419 if (SWIG_arg_fail(1)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20436 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20467 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20469 return Py_BuildValue((char *)"");
20471 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 int arg1
= (int) 0 ;
20474 bool arg2
= (bool) false ;
20475 wxShowEvent
*result
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "winid",(char *) "show", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20485 arg1
= (int)(SWIG_As_int(obj0
));
20486 if (SWIG_arg_fail(1)) SWIG_fail
;
20491 arg2
= (bool)(SWIG_As_bool(obj1
));
20492 if (SWIG_arg_fail(2)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20509 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self",(char *) "show", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 arg2
= (bool)(SWIG_As_bool(obj1
));
20524 if (SWIG_arg_fail(2)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->SetShow(arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20568 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20571 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20573 return Py_BuildValue((char *)"");
20575 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 int arg1
= (int) 0 ;
20578 bool arg2
= (bool) true ;
20579 wxIconizeEvent
*result
;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "id",(char *) "iconized", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 arg1
= (int)(SWIG_As_int(obj0
));
20590 if (SWIG_arg_fail(1)) SWIG_fail
;
20595 arg2
= (bool)(SWIG_As_bool(obj1
));
20596 if (SWIG_arg_fail(2)) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20613 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)(arg1
)->Iconized();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20644 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20646 return Py_BuildValue((char *)"");
20648 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 int arg1
= (int) 0 ;
20651 wxMaximizeEvent
*result
;
20652 PyObject
* obj0
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "id", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20660 arg1
= (int)(SWIG_As_int(obj0
));
20661 if (SWIG_arg_fail(1)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20678 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20681 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20683 return Py_BuildValue((char *)"");
20685 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (arg1
)->GetPosition();
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 wxPoint
* resultptr
;
20706 resultptr
= new wxPoint((wxPoint
&)(result
));
20707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20715 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (int)(arg1
)->GetNumberOfFiles();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_From_int((int)(result
));
20743 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= result
;
20769 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20772 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20774 return Py_BuildValue((char *)"");
20776 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 int arg1
= (int) 0 ;
20779 wxUpdateUIEvent
*result
;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "commandId", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20788 arg1
= (int)(SWIG_As_int(obj0
));
20789 if (SWIG_arg_fail(1)) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20806 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20817 if (SWIG_arg_fail(1)) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20834 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20862 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20866 PyObject
* obj0
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20873 if (SWIG_arg_fail(1)) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20894 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20922 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20950 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(1)) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20978 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "check", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20990 if (SWIG_arg_fail(1)) SWIG_fail
;
20992 arg2
= (bool)(SWIG_As_bool(obj1
));
20993 if (SWIG_arg_fail(2)) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 (arg1
)->Check(arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 Py_INCREF(Py_None
); resultobj
= Py_None
;
21009 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "enable", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21021 if (SWIG_arg_fail(1)) SWIG_fail
;
21023 arg2
= (bool)(SWIG_As_bool(obj1
));
21024 if (SWIG_arg_fail(2)) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 (arg1
)->Enable(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 Py_INCREF(Py_None
); resultobj
= Py_None
;
21040 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21043 wxString
*arg2
= 0 ;
21044 bool temp2
= false ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self",(char *) "text", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail
;
21055 arg2
= wxString_in_helper(obj1
);
21056 if (arg2
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->SetText((wxString
const &)*arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "updateInterval", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21091 arg1
= (long)(SWIG_As_long(obj0
));
21092 if (SWIG_arg_fail(1)) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21111 char *kwnames
[] = {
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_From_long((long)(result
));
21132 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxWindow
*arg1
= (wxWindow
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "win", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 char *kwnames
[] = {
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 wxUpdateUIEvent::ResetUpdateTime();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 Py_INCREF(Py_None
); resultobj
= Py_None
;
21181 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxUpdateUIMode arg1
;
21184 PyObject
* obj0
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "mode", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21191 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21192 if (SWIG_arg_fail(1)) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 Py_INCREF(Py_None
); resultobj
= Py_None
;
21208 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxUpdateUIMode result
;
21211 char *kwnames
[] = {
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_From_int((result
));
21230 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21233 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21235 return Py_BuildValue((char *)"");
21237 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxSysColourChangedEvent
*result
;
21240 char *kwnames
[] = {
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21259 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21262 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21264 return Py_BuildValue((char *)"");
21266 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 int arg1
= (int) 0 ;
21269 wxWindow
*arg2
= (wxWindow
*) NULL
;
21270 wxMouseCaptureChangedEvent
*result
;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "winid",(char *) "gainedCapture", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21280 arg1
= (int)(SWIG_As_int(obj0
));
21281 if (SWIG_arg_fail(1)) SWIG_fail
;
21285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21286 if (SWIG_arg_fail(2)) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21302 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= wxPyMake_wxObject(result
, 0);
21330 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21333 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21335 return Py_BuildValue((char *)"");
21337 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxDisplayChangedEvent
*result
;
21340 char *kwnames
[] = {
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21359 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21362 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21364 return Py_BuildValue((char *)"");
21366 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 int arg1
= (int) 0 ;
21369 wxPaletteChangedEvent
*result
;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "id", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21378 arg1
= (int)(SWIG_As_int(obj0
));
21379 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21396 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21399 wxWindow
*arg2
= (wxWindow
*) 0 ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "win", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21408 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 (arg1
)->SetChangedWindow(arg2
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21425 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21436 if (SWIG_arg_fail(1)) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= wxPyMake_wxObject(result
, 0);
21453 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21456 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21458 return Py_BuildValue((char *)"");
21460 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 int arg1
= (int) 0 ;
21463 wxQueryNewPaletteEvent
*result
;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "winid", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21472 arg1
= (int)(SWIG_As_int(obj0
));
21473 if (SWIG_arg_fail(1)) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21490 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "realized", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= (bool)(SWIG_As_bool(obj1
));
21505 if (SWIG_arg_fail(2)) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 (arg1
)->SetPaletteRealized(arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 Py_INCREF(Py_None
); resultobj
= Py_None
;
21521 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21532 if (SWIG_arg_fail(1)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21549 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21552 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21554 return Py_BuildValue((char *)"");
21556 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxNavigationKeyEvent
*result
;
21559 char *kwnames
[] = {
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21578 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21606 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "forward", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, 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
)->SetDirection(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 Py_INCREF(Py_None
); resultobj
= Py_None
;
21637 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21648 if (SWIG_arg_fail(1)) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21665 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
;
21667 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self",(char *) "ischange", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21677 if (SWIG_arg_fail(1)) SWIG_fail
;
21679 arg2
= (bool)(SWIG_As_bool(obj1
));
21680 if (SWIG_arg_fail(2)) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 (arg1
)->SetWindowChange(arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21707 if (SWIG_arg_fail(1)) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21724 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self",(char *) "bIs", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21736 if (SWIG_arg_fail(1)) SWIG_fail
;
21738 arg2
= (bool)(SWIG_As_bool(obj1
));
21739 if (SWIG_arg_fail(2)) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 (arg1
)->SetFromTab(arg2
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "flags", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 arg2
= (long)(SWIG_As_long(obj1
));
21770 if (SWIG_arg_fail(2)) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 (arg1
)->SetFlags(arg2
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 Py_INCREF(Py_None
); resultobj
= Py_None
;
21786 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21797 if (SWIG_arg_fail(1)) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= wxPyMake_wxObject(result
, 0);
21814 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21817 wxWindow
*arg2
= (wxWindow
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "win", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21828 if (SWIG_arg_fail(2)) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 (arg1
)->SetCurrentFocus(arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 Py_INCREF(Py_None
); resultobj
= Py_None
;
21843 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21846 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21848 return Py_BuildValue((char *)"");
21850 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxWindow
*arg1
= (wxWindow
*) NULL
;
21853 wxWindowCreateEvent
*result
;
21854 PyObject
* obj0
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "win", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21878 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= wxPyMake_wxObject(result
, 0);
21906 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21909 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21911 return Py_BuildValue((char *)"");
21913 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxWindow
*arg1
= (wxWindow
*) NULL
;
21916 wxWindowDestroyEvent
*result
;
21917 PyObject
* obj0
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "win", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21925 if (SWIG_arg_fail(1)) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21941 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21952 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= wxPyMake_wxObject(result
, 0);
21969 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21972 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21974 return Py_BuildValue((char *)"");
21976 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21979 int arg2
= (int) 0 ;
21980 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21981 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21982 wxContextMenuEvent
*result
;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 PyObject
* obj2
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "type",(char *) "winid",(char *) "pt", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21994 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21995 if (SWIG_arg_fail(1)) SWIG_fail
;
22000 arg2
= (int)(SWIG_As_int(obj1
));
22001 if (SWIG_arg_fail(2)) SWIG_fail
;
22007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22024 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22040 result
= (wxPoint
*) &_result_ref
;
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22053 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22056 wxPoint
*arg2
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "pos", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22066 if (SWIG_arg_fail(1)) SWIG_fail
;
22069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22088 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22090 return Py_BuildValue((char *)"");
22092 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxIdleEvent
*result
;
22095 char *kwnames
[] = {
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (wxIdleEvent
*)new wxIdleEvent();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22114 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22117 bool arg2
= (bool) true ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "needMore", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22129 arg2
= (bool)(SWIG_As_bool(obj1
));
22130 if (SWIG_arg_fail(2)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->RequestMore(arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22175 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "mode", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22185 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22205 char *kwnames
[] = {
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_From_int((result
));
22224 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxWindow
*arg1
= (wxWindow
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "win", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)wxIdleEvent::CanSend(arg1
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22252 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22255 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22257 return Py_BuildValue((char *)"");
22259 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 int arg1
= (int) 0 ;
22262 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "winid",(char *) "commandType", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22273 arg1
= (int)(SWIG_As_int(obj0
));
22274 if (SWIG_arg_fail(1)) SWIG_fail
;
22279 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22280 if (SWIG_arg_fail(2)) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22297 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22307 if (SWIG_arg_fail(1)) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22325 PyObject
*arg2
= (PyObject
*) 0 ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 (arg1
)->SetSelf(arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (PyObject
*)(arg1
)->GetSelf();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= result
;
22376 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22379 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22381 return Py_BuildValue((char *)"");
22383 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22386 int arg2
= (int) 0 ;
22387 wxPyCommandEvent
*result
;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "commandType",(char *) "id", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22398 if (SWIG_arg_fail(1)) SWIG_fail
;
22403 arg2
= (int)(SWIG_As_int(obj1
));
22404 if (SWIG_arg_fail(2)) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22421 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22431 if (SWIG_arg_fail(1)) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 Py_INCREF(Py_None
); resultobj
= Py_None
;
22446 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22449 PyObject
*arg2
= (PyObject
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self",(char *) "self", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->SetSelf(arg2
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (PyObject
*)(arg1
)->GetSelf();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= result
;
22500 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22503 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22505 return Py_BuildValue((char *)"");
22507 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxWindow
*arg1
= (wxWindow
*) 0 ;
22510 wxDateTime
*arg2
= 0 ;
22512 wxDateEvent
*result
;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 PyObject
* obj2
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "win",(char *) "dt",(char *) "type", NULL
22520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22522 if (SWIG_arg_fail(1)) SWIG_fail
;
22524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(2)) SWIG_fail
;
22526 if (arg2
== NULL
) {
22527 SWIG_null_ref("wxDateTime");
22529 if (SWIG_arg_fail(2)) SWIG_fail
;
22532 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22533 if (SWIG_arg_fail(3)) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22549 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22552 wxDateTime
*result
;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22565 result
= (wxDateTime
*) &_result_ref
;
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22578 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22581 wxDateTime
*arg2
= 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "date", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22590 if (SWIG_arg_fail(1)) SWIG_fail
;
22592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(2)) SWIG_fail
;
22594 if (arg2
== NULL
) {
22595 SWIG_null_ref("wxDateTime");
22597 if (SWIG_arg_fail(2)) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22616 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22618 return Py_BuildValue((char *)"");
22620 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22623 char *kwnames
[] = {
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (wxPyApp
*)new_wxPyApp();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22642 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22670 PyObject
*arg2
= (PyObject
*) 0 ;
22671 PyObject
*arg3
= (PyObject
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 PyObject
* obj2
= 0 ;
22676 PyObject
* obj3
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail
;
22687 arg4
= (bool)(SWIG_As_bool(obj3
));
22688 if (SWIG_arg_fail(4)) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22704 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22715 if (SWIG_arg_fail(1)) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22736 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22739 wxString
*arg2
= 0 ;
22740 bool temp2
= false ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "name", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 arg2
= wxString_in_helper(obj1
);
22752 if (arg2
== NULL
) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->SetAppName((wxString
const &)*arg2
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "self", NULL
22786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22788 if (SWIG_arg_fail(1)) SWIG_fail
;
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22809 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22812 wxString
*arg2
= 0 ;
22813 bool temp2
= false ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self",(char *) "name", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 arg2
= wxString_in_helper(obj1
);
22825 if (arg2
== NULL
) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->SetClassName((wxString
const &)*arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22850 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22866 result
= (wxString
*) &_result_ref
;
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22876 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22885 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22888 wxString
*arg2
= 0 ;
22889 bool temp2
= false ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "name", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 arg2
= wxString_in_helper(obj1
);
22901 if (arg2
== NULL
) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22926 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22929 wxAppTraits
*result
;
22930 PyObject
* obj0
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22937 if (SWIG_arg_fail(1)) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22952 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22962 if (SWIG_arg_fail(1)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->ProcessPendingEvents();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22980 bool arg2
= (bool) false ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "onlyIfNeeded", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22993 arg2
= (bool)(SWIG_As_bool(obj1
));
22994 if (SWIG_arg_fail(2)) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (bool)(arg1
)->Yield(arg2
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23013 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23023 if (SWIG_arg_fail(1)) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->WakeUpIdle();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23041 char *kwnames
[] = {
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (bool)wxPyApp::IsMainLoopRunning();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23062 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)(arg1
)->MainLoop();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_From_int((int)(result
));
23090 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23100 if (SWIG_arg_fail(1)) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 Py_INCREF(Py_None
); resultobj
= Py_None
;
23115 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23118 PyObject
* obj0
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23125 if (SWIG_arg_fail(1)) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->ExitMainLoop();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23144 PyObject
* obj0
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (bool)(arg1
)->Pending();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23168 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23172 PyObject
* obj0
= 0 ;
23173 char *kwnames
[] = {
23174 (char *) "self", NULL
23177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23179 if (SWIG_arg_fail(1)) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (bool)(arg1
)->Dispatch();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23196 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23200 PyObject
* obj0
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23207 if (SWIG_arg_fail(1)) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (bool)(arg1
)->ProcessIdle();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23224 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23227 wxWindow
*arg2
= (wxWindow
*) 0 ;
23228 wxIdleEvent
*arg3
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 PyObject
* obj2
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "win",(char *) "event", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23241 if (SWIG_arg_fail(2)) SWIG_fail
;
23243 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(3)) SWIG_fail
;
23245 if (arg3
== NULL
) {
23246 SWIG_null_ref("wxIdleEvent");
23248 if (SWIG_arg_fail(3)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23277 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23297 wxWindow
*arg2
= (wxWindow
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "win", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23306 if (SWIG_arg_fail(1)) SWIG_fail
;
23307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(2)) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 (arg1
)->SetTopWindow(arg2
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 Py_INCREF(Py_None
); resultobj
= Py_None
;
23323 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= wxPyMake_wxObject(result
, 0);
23351 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "flag", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail
;
23365 arg2
= (bool)(SWIG_As_bool(obj1
));
23366 if (SWIG_arg_fail(2)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 (arg1
)->SetExitOnFrameDelete(arg2
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23410 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self",(char *) "flag", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail
;
23424 arg2
= (bool)(SWIG_As_bool(obj1
));
23425 if (SWIG_arg_fail(2)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->SetUseBestVisual(arg2
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23452 if (SWIG_arg_fail(1)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23469 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "mode", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23483 arg2
= (int)(SWIG_As_int(obj1
));
23484 if (SWIG_arg_fail(2)) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 (arg1
)->SetPrintMode(arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 Py_INCREF(Py_None
); resultobj
= Py_None
;
23500 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23511 if (SWIG_arg_fail(1)) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_From_int((int)(result
));
23528 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "mode", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 arg2
= (int)(SWIG_As_int(obj1
));
23543 if (SWIG_arg_fail(2)) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->SetAssertMode(arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (int)(arg1
)->GetAssertMode();
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_From_int((int)(result
));
23587 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23590 char *kwnames
[] = {
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23611 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23614 char *kwnames
[] = {
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_From_long((long)(result
));
23635 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23638 char *kwnames
[] = {
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_From_long((long)(result
));
23659 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23662 char *kwnames
[] = {
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (long)wxPyApp::GetMacExitMenuItemId();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_long((long)(result
));
23683 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23686 char *kwnames
[] = {
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= wxPyApp::GetMacHelpMenuTitleName();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23711 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23714 PyObject
* obj0
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "val", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23721 arg1
= (bool)(SWIG_As_bool(obj0
));
23722 if (SWIG_arg_fail(1)) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 Py_INCREF(Py_None
); resultobj
= Py_None
;
23738 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23741 PyObject
* obj0
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "val", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23748 arg1
= (long)(SWIG_As_long(obj0
));
23749 if (SWIG_arg_fail(1)) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 wxPyApp::SetMacAboutMenuItemId(arg1
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 Py_INCREF(Py_None
); resultobj
= Py_None
;
23765 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "val", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23775 arg1
= (long)(SWIG_As_long(obj0
));
23776 if (SWIG_arg_fail(1)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 Py_INCREF(Py_None
); resultobj
= Py_None
;
23792 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23795 PyObject
* obj0
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "val", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23802 arg1
= (long)(SWIG_As_long(obj0
));
23803 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 wxPyApp::SetMacExitMenuItemId(arg1
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxString
*arg1
= 0 ;
23822 bool temp1
= false ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "val", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23830 arg1
= wxString_in_helper(obj0
);
23831 if (arg1
== NULL
) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 Py_INCREF(Py_None
); resultobj
= Py_None
;
23856 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23866 if (SWIG_arg_fail(1)) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 (arg1
)->_BootstrapApp();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (int)wxPyApp::GetComCtl32Version();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= SWIG_From_int((int)(result
));
23905 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23908 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23910 return Py_BuildValue((char *)"");
23912 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 char *kwnames
[] = {
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 Py_INCREF(Py_None
); resultobj
= Py_None
;
23933 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23936 char *kwnames
[] = {
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (bool)wxYield();
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23957 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23958 PyObject
*resultobj
;
23960 char *kwnames
[] = {
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (bool)wxYieldIfNeeded();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23981 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxWindow
*arg1
= (wxWindow
*) NULL
;
23984 bool arg2
= (bool) false ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "win",(char *) "onlyIfNeeded", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23995 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 arg2
= (bool)(SWIG_As_bool(obj1
));
24000 if (SWIG_arg_fail(2)) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (bool)wxSafeYield(arg1
,arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 char *kwnames
[] = {
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24043 wxEvent
*arg2
= 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "dest",(char *) "event", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24052 if (SWIG_arg_fail(1)) SWIG_fail
;
24054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24055 if (SWIG_arg_fail(2)) SWIG_fail
;
24056 if (arg2
== NULL
) {
24057 SWIG_null_ref("wxEvent");
24059 if (SWIG_arg_fail(2)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 wxPostEvent(arg1
,*arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 char *kwnames
[] = {
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 Py_INCREF(Py_None
); resultobj
= Py_None
;
24096 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24099 char *kwnames
[] = {
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxPyApp
*)wxPyGetApp();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= wxPyMake_wxObject(result
, 0);
24120 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 char *arg1
= (char *) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "encoding", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24129 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24130 SWIG_arg_fail(1);SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 wxSetDefaultPyEncoding((char const *)arg1
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 Py_INCREF(Py_None
); resultobj
= Py_None
;
24146 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24149 char *kwnames
[] = {
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (char *)wxGetDefaultPyEncoding();
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_FromCharPtr(result
);
24168 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxEventLoop
*result
;
24171 char *kwnames
[] = {
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxEventLoop
*)new wxEventLoop();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24190 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24226 if (SWIG_arg_fail(1)) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (int)(arg1
)->Run();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= SWIG_From_int((int)(result
));
24243 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24246 int arg2
= (int) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "rc", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail
;
24258 arg2
= (int)(SWIG_As_int(obj1
));
24259 if (SWIG_arg_fail(2)) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->Exit(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24315 if (SWIG_arg_fail(1)) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (bool)(arg1
)->Dispatch();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24332 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24343 if (SWIG_arg_fail(1)) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24360 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxEventLoop
*result
;
24363 char *kwnames
[] = {
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24382 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "loop", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24392 if (SWIG_arg_fail(1)) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 wxEventLoop::SetActive(arg1
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 Py_INCREF(Py_None
); resultobj
= Py_None
;
24407 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24410 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24412 return Py_BuildValue((char *)"");
24414 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 int arg1
= (int) 0 ;
24417 int arg2
= (int) 0 ;
24418 int arg3
= (int) 0 ;
24419 wxAcceleratorEntry
*result
;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24430 arg1
= (int)(SWIG_As_int(obj0
));
24431 if (SWIG_arg_fail(1)) SWIG_fail
;
24436 arg2
= (int)(SWIG_As_int(obj1
));
24437 if (SWIG_arg_fail(2)) SWIG_fail
;
24442 arg3
= (int)(SWIG_As_int(obj2
));
24443 if (SWIG_arg_fail(3)) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24460 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24470 if (SWIG_arg_fail(1)) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 PyObject
* obj2
= 0 ;
24494 PyObject
* obj3
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24501 if (SWIG_arg_fail(1)) SWIG_fail
;
24503 arg2
= (int)(SWIG_As_int(obj1
));
24504 if (SWIG_arg_fail(2)) SWIG_fail
;
24507 arg3
= (int)(SWIG_As_int(obj2
));
24508 if (SWIG_arg_fail(3)) SWIG_fail
;
24511 arg4
= (int)(SWIG_As_int(obj3
));
24512 if (SWIG_arg_fail(4)) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 (arg1
)->Set(arg2
,arg3
,arg4
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 Py_INCREF(Py_None
); resultobj
= Py_None
;
24528 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24539 if (SWIG_arg_fail(1)) SWIG_fail
;
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (int)(arg1
)->GetFlags();
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_From_int((int)(result
));
24556 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24567 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (int)(arg1
)->GetKeyCode();
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_From_int((int)(result
));
24584 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24595 if (SWIG_arg_fail(1)) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (int)(arg1
)->GetCommand();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= SWIG_From_int((int)(result
));
24612 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24615 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24617 return Py_BuildValue((char *)"");
24619 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24622 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24623 wxAcceleratorTable
*result
;
24624 PyObject
* obj0
= 0 ;
24625 char *kwnames
[] = {
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24631 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24632 if (arg2
) arg1
= PyList_Size(obj0
);
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24655 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 Py_INCREF(Py_None
); resultobj
= Py_None
;
24680 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24711 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24713 return Py_BuildValue((char *)"");
24715 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24716 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24721 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24724 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24729 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxString
*arg1
= 0 ;
24732 wxAcceleratorEntry
*result
;
24733 bool temp1
= false ;
24734 PyObject
* obj0
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "label", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24741 arg1
= wxString_in_helper(obj0
);
24742 if (arg1
== NULL
) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24767 static int _wrap_PanelNameStr_set(PyObject
*) {
24768 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24773 static PyObject
*_wrap_PanelNameStr_get(void) {
24778 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24780 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24787 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxVisualAttributes
*result
;
24790 char *kwnames
[] = {
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24809 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24819 if (SWIG_arg_fail(1)) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 delete_wxVisualAttributes(arg1
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24837 wxFont
*arg2
= (wxFont
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "font", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24846 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24848 if (SWIG_arg_fail(2)) SWIG_fail
;
24849 if (arg1
) (arg1
)->font
= *arg2
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24858 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail
;
24870 result
= (wxFont
*)& ((arg1
)->font
);
24872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24879 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24882 wxColour
*arg2
= (wxColour
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "colFg", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24893 if (SWIG_arg_fail(2)) SWIG_fail
;
24894 if (arg1
) (arg1
)->colFg
= *arg2
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24903 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24907 PyObject
* obj0
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "self", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24914 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 result
= (wxColour
*)& ((arg1
)->colFg
);
24917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24924 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24927 wxColour
*arg2
= (wxColour
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "colBg", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24938 if (SWIG_arg_fail(2)) SWIG_fail
;
24939 if (arg1
) (arg1
)->colBg
= *arg2
;
24941 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail
;
24960 result
= (wxColour
*)& ((arg1
)->colBg
);
24962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24969 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24972 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24974 return Py_BuildValue((char *)"");
24976 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxWindow
*arg1
= (wxWindow
*) 0 ;
24979 int arg2
= (int) (int)-1 ;
24980 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24981 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24982 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24983 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24984 long arg5
= (long) 0 ;
24985 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24986 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24990 bool temp6
= false ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 PyObject
* obj3
= 0 ;
24995 PyObject
* obj4
= 0 ;
24996 PyObject
* obj5
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25003 if (SWIG_arg_fail(1)) SWIG_fail
;
25006 arg2
= (int const)(SWIG_As_int(obj1
));
25007 if (SWIG_arg_fail(2)) SWIG_fail
;
25013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25019 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25024 arg5
= (long)(SWIG_As_long(obj4
));
25025 if (SWIG_arg_fail(5)) SWIG_fail
;
25030 arg6
= wxString_in_helper(obj5
);
25031 if (arg6
== NULL
) SWIG_fail
;
25036 if (!wxPyCheckForApp()) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25058 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25061 char *kwnames
[] = {
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25067 if (!wxPyCheckForApp()) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (wxWindow
*)new wxWindow();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25081 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25084 wxWindow
*arg2
= (wxWindow
*) 0 ;
25085 int arg3
= (int) (int)-1 ;
25086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25090 long arg6
= (long) 0 ;
25091 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25096 bool temp7
= false ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 PyObject
* obj2
= 0 ;
25100 PyObject
* obj3
= 0 ;
25101 PyObject
* obj4
= 0 ;
25102 PyObject
* obj5
= 0 ;
25103 PyObject
* obj6
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail
;
25111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25112 if (SWIG_arg_fail(2)) SWIG_fail
;
25115 arg3
= (int const)(SWIG_As_int(obj2
));
25116 if (SWIG_arg_fail(3)) SWIG_fail
;
25122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25133 arg6
= (long)(SWIG_As_long(obj5
));
25134 if (SWIG_arg_fail(6)) SWIG_fail
;
25139 arg7
= wxString_in_helper(obj6
);
25140 if (arg7
== NULL
) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25168 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxWindow
*arg1
= (wxWindow
*) 0 ;
25171 bool arg2
= (bool) false ;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "force", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail
;
25184 arg2
= (bool)(SWIG_As_bool(obj1
));
25185 if (SWIG_arg_fail(2)) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (bool)(arg1
)->Close(arg2
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25204 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxWindow
*arg1
= (wxWindow
*) 0 ;
25208 PyObject
* obj0
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25215 if (SWIG_arg_fail(1)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (bool)(arg1
)->Destroy();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25232 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxWindow
*arg1
= (wxWindow
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25243 if (SWIG_arg_fail(1)) SWIG_fail
;
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 result
= (bool)(arg1
)->DestroyChildren();
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25260 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxWindow
*arg1
= (wxWindow
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25271 if (SWIG_arg_fail(1)) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25288 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25290 wxWindow
*arg1
= (wxWindow
*) 0 ;
25291 wxString
*arg2
= 0 ;
25292 bool temp2
= false ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self",(char *) "title", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25301 if (SWIG_arg_fail(1)) SWIG_fail
;
25303 arg2
= wxString_in_helper(obj1
);
25304 if (arg2
== NULL
) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetTitle((wxString
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxWindow
*arg1
= (wxWindow
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= ((wxWindow
const *)arg1
)->GetTitle();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25361 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxWindow
*arg1
= (wxWindow
*) 0 ;
25364 wxString
*arg2
= 0 ;
25365 bool temp2
= false ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "label", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25376 arg2
= wxString_in_helper(obj1
);
25377 if (arg2
== NULL
) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetLabel((wxString
const &)*arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25402 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= ((wxWindow
const *)arg1
)->GetLabel();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25434 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxWindow
*arg1
= (wxWindow
*) 0 ;
25437 wxString
*arg2
= 0 ;
25438 bool temp2
= false ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "name", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25447 if (SWIG_arg_fail(1)) SWIG_fail
;
25449 arg2
= wxString_in_helper(obj1
);
25450 if (arg2
== NULL
) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->SetName((wxString
const &)*arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25475 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 wxWindow
*arg1
= (wxWindow
*) 0 ;
25479 PyObject
* obj0
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= ((wxWindow
const *)arg1
)->GetName();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25507 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxWindow
*arg1
= (wxWindow
*) 0 ;
25510 wxWindowVariant arg2
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "variant", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25521 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25522 if (SWIG_arg_fail(2)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 Py_INCREF(Py_None
); resultobj
= Py_None
;
25538 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxWindow
*arg1
= (wxWindow
*) 0 ;
25541 wxWindowVariant result
;
25542 PyObject
* obj0
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25549 if (SWIG_arg_fail(1)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_From_int((result
));
25564 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "winid", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25576 if (SWIG_arg_fail(1)) SWIG_fail
;
25578 arg2
= (int)(SWIG_As_int(obj1
));
25579 if (SWIG_arg_fail(2)) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->SetId(arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxWindow
*arg1
= (wxWindow
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (int)((wxWindow
const *)arg1
)->GetId();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_From_int((int)(result
));
25623 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25626 char *kwnames
[] = {
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= (int)wxWindow::NewControlId();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_From_int((int)(result
));
25647 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25651 PyObject
* obj0
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "winid", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25658 arg1
= (int)(SWIG_As_int(obj0
));
25659 if (SWIG_arg_fail(1)) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (int)wxWindow::NextControlId(arg1
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_From_int((int)(result
));
25677 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25681 PyObject
* obj0
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "winid", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25688 arg1
= (int)(SWIG_As_int(obj0
));
25689 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (int)wxWindow::PrevControlId(arg1
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_From_int((int)(result
));
25707 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxWindow
*arg1
= (wxWindow
*) 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self",(char *) "size", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25720 if (SWIG_arg_fail(1)) SWIG_fail
;
25723 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 (arg1
)->SetSize((wxSize
const &)*arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 Py_INCREF(Py_None
); resultobj
= Py_None
;
25739 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxWindow
*arg1
= (wxWindow
*) 0 ;
25746 int arg6
= (int) wxSIZE_AUTO
;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 PyObject
* obj2
= 0 ;
25750 PyObject
* obj3
= 0 ;
25751 PyObject
* obj4
= 0 ;
25752 PyObject
* obj5
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(1)) SWIG_fail
;
25761 arg2
= (int)(SWIG_As_int(obj1
));
25762 if (SWIG_arg_fail(2)) SWIG_fail
;
25765 arg3
= (int)(SWIG_As_int(obj2
));
25766 if (SWIG_arg_fail(3)) SWIG_fail
;
25769 arg4
= (int)(SWIG_As_int(obj3
));
25770 if (SWIG_arg_fail(4)) SWIG_fail
;
25773 arg5
= (int)(SWIG_As_int(obj4
));
25774 if (SWIG_arg_fail(5)) SWIG_fail
;
25778 arg6
= (int)(SWIG_As_int(obj5
));
25779 if (SWIG_arg_fail(6)) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxWindow
*arg1
= (wxWindow
*) 0 ;
25800 int arg3
= (int) wxSIZE_AUTO
;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25811 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25818 arg3
= (int)(SWIG_As_int(obj2
));
25819 if (SWIG_arg_fail(3)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 Py_INCREF(Py_None
); resultobj
= Py_None
;
25836 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxWindow
*arg1
= (wxWindow
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "width",(char *) "height", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25850 if (SWIG_arg_fail(1)) SWIG_fail
;
25852 arg2
= (int)(SWIG_As_int(obj1
));
25853 if (SWIG_arg_fail(2)) SWIG_fail
;
25856 arg3
= (int)(SWIG_As_int(obj2
));
25857 if (SWIG_arg_fail(3)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 (arg1
)->SetSize(arg2
,arg3
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 Py_INCREF(Py_None
); resultobj
= Py_None
;
25873 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 wxPoint
*arg2
= 0 ;
25877 int arg3
= (int) wxSIZE_USE_EXISTING
;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "pt",(char *) "flags", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail
;
25891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25895 arg3
= (int)(SWIG_As_int(obj2
));
25896 if (SWIG_arg_fail(3)) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 Py_INCREF(Py_None
); resultobj
= Py_None
;
25913 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxWindow
*arg1
= (wxWindow
*) 0 ;
25918 int arg4
= (int) wxSIZE_USE_EXISTING
;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25922 PyObject
* obj3
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25931 arg2
= (int)(SWIG_As_int(obj1
));
25932 if (SWIG_arg_fail(2)) SWIG_fail
;
25935 arg3
= (int)(SWIG_As_int(obj2
));
25936 if (SWIG_arg_fail(3)) SWIG_fail
;
25940 arg4
= (int)(SWIG_As_int(obj3
));
25941 if (SWIG_arg_fail(4)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 (arg1
)->Move(arg2
,arg3
,arg4
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 Py_INCREF(Py_None
); resultobj
= Py_None
;
25958 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxWindow
*arg1
= (wxWindow
*) 0 ;
25961 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25962 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "size", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25972 if (SWIG_arg_fail(1)) SWIG_fail
;
25976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxWindow
*arg1
= (wxWindow
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 Py_INCREF(Py_None
); resultobj
= Py_None
;
26018 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxWindow
*arg1
= (wxWindow
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "size", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail
;
26059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 Py_INCREF(Py_None
); resultobj
= Py_None
;
26075 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxWindow
*arg1
= (wxWindow
*) 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 PyObject
* obj2
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self",(char *) "width",(char *) "height", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail
;
26091 arg2
= (int)(SWIG_As_int(obj1
));
26092 if (SWIG_arg_fail(2)) SWIG_fail
;
26095 arg3
= (int)(SWIG_As_int(obj2
));
26096 if (SWIG_arg_fail(3)) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 (arg1
)->SetClientSize(arg2
,arg3
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxWindow
*arg1
= (wxWindow
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "rect", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail
;
26128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxWindow
*arg1
= (wxWindow
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 result
= (arg1
)->GetPosition();
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26164 wxPoint
* resultptr
;
26165 resultptr
= new wxPoint((wxPoint
&)(result
));
26166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26174 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxWindow
*arg1
= (wxWindow
*) 0 ;
26177 int *arg2
= (int *) 0 ;
26178 int *arg3
= (int *) 0 ;
26183 PyObject
* obj0
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self", NULL
26188 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26189 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26192 if (SWIG_arg_fail(1)) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 (arg1
)->GetPosition(arg2
,arg3
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 Py_INCREF(Py_None
); resultobj
= Py_None
;
26201 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26202 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26203 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26204 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26211 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxWindow
*arg1
= (wxWindow
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26222 if (SWIG_arg_fail(1)) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= ((wxWindow
const *)arg1
)->GetSize();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26231 wxSize
* resultptr
;
26232 resultptr
= new wxSize((wxSize
&)(result
));
26233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26241 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxWindow
*arg1
= (wxWindow
*) 0 ;
26244 int *arg2
= (int *) 0 ;
26245 int *arg3
= (int *) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26256 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26268 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26269 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26270 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26271 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26278 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxWindow
*arg1
= (wxWindow
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(1)) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= ((wxWindow
const *)arg1
)->GetRect();
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 wxRect
* resultptr
;
26299 resultptr
= new wxRect((wxRect
&)(result
));
26300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26308 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxWindow
*arg1
= (wxWindow
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 wxSize
* resultptr
;
26329 resultptr
= new wxSize((wxSize
&)(result
));
26330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26338 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxWindow
*arg1
= (wxWindow
*) 0 ;
26341 int *arg2
= (int *) 0 ;
26342 int *arg3
= (int *) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26353 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26356 if (SWIG_arg_fail(1)) SWIG_fail
;
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26366 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26367 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26368 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26375 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxWindow
*arg1
= (wxWindow
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26386 if (SWIG_arg_fail(1)) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26395 wxPoint
* resultptr
;
26396 resultptr
= new wxPoint((wxPoint
&)(result
));
26397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26405 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxWindow
*arg1
= (wxWindow
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26416 if (SWIG_arg_fail(1)) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26425 wxRect
* resultptr
;
26426 resultptr
= new wxRect((wxRect
&)(result
));
26427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26435 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxWindow
*arg1
= (wxWindow
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 wxSize
* resultptr
;
26456 resultptr
= new wxSize((wxSize
&)(result
));
26457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26465 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxWindow
*arg1
= (wxWindow
*) 0 ;
26468 int *arg2
= (int *) 0 ;
26469 int *arg3
= (int *) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self", NULL
26479 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26480 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26483 if (SWIG_arg_fail(1)) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26493 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26494 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26495 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26502 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxWindow
*arg1
= (wxWindow
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26512 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->InvalidateBestSize();
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 Py_INCREF(Py_None
); resultobj
= Py_None
;
26527 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxWindow
*arg1
= (wxWindow
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26547 wxSize
* resultptr
;
26548 resultptr
= new wxSize((wxSize
&)(result
));
26549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26557 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail
;
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26571 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26577 wxSize
* resultptr
;
26578 resultptr
= new wxSize((wxSize
&)(result
));
26579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26587 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxWindow
*arg1
= (wxWindow
*) 0 ;
26590 int arg2
= (int) wxBOTH
;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "self",(char *) "direction", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26599 if (SWIG_arg_fail(1)) SWIG_fail
;
26602 arg2
= (int)(SWIG_As_int(obj1
));
26603 if (SWIG_arg_fail(2)) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 (arg1
)->Center(arg2
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 Py_INCREF(Py_None
); resultobj
= Py_None
;
26620 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxWindow
*arg1
= (wxWindow
*) 0 ;
26623 int arg2
= (int) wxBOTH
;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "self",(char *) "dir", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26632 if (SWIG_arg_fail(1)) SWIG_fail
;
26635 arg2
= (int)(SWIG_As_int(obj1
));
26636 if (SWIG_arg_fail(2)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->CenterOnScreen(arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxWindow
*arg1
= (wxWindow
*) 0 ;
26656 int arg2
= (int) wxBOTH
;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "dir", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26668 arg2
= (int)(SWIG_As_int(obj1
));
26669 if (SWIG_arg_fail(2)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 (arg1
)->CenterOnParent(arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26679 Py_INCREF(Py_None
); resultobj
= Py_None
;
26686 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxWindow
*arg1
= (wxWindow
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26696 if (SWIG_arg_fail(1)) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxWindow
*arg1
= (wxWindow
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26721 if (SWIG_arg_fail(1)) SWIG_fail
;
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 (arg1
)->FitInside();
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 Py_INCREF(Py_None
); resultobj
= Py_None
;
26736 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxWindow
*arg1
= (wxWindow
*) 0 ;
26741 int arg4
= (int) -1 ;
26742 int arg5
= (int) -1 ;
26743 int arg6
= (int) -1 ;
26744 int arg7
= (int) -1 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 PyObject
* obj2
= 0 ;
26748 PyObject
* obj3
= 0 ;
26749 PyObject
* obj4
= 0 ;
26750 PyObject
* obj5
= 0 ;
26751 PyObject
* obj6
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail
;
26760 arg2
= (int)(SWIG_As_int(obj1
));
26761 if (SWIG_arg_fail(2)) SWIG_fail
;
26764 arg3
= (int)(SWIG_As_int(obj2
));
26765 if (SWIG_arg_fail(3)) SWIG_fail
;
26769 arg4
= (int)(SWIG_As_int(obj3
));
26770 if (SWIG_arg_fail(4)) SWIG_fail
;
26775 arg5
= (int)(SWIG_As_int(obj4
));
26776 if (SWIG_arg_fail(5)) SWIG_fail
;
26781 arg6
= (int)(SWIG_As_int(obj5
));
26782 if (SWIG_arg_fail(6)) SWIG_fail
;
26787 arg7
= (int)(SWIG_As_int(obj6
));
26788 if (SWIG_arg_fail(7)) SWIG_fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 Py_INCREF(Py_None
); resultobj
= Py_None
;
26805 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxWindow
*arg1
= (wxWindow
*) 0 ;
26809 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26810 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 PyObject
* obj2
= 0 ;
26819 PyObject
* obj3
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26826 if (SWIG_arg_fail(1)) SWIG_fail
;
26829 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26834 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26840 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 Py_INCREF(Py_None
); resultobj
= Py_None
;
26857 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxWindow
*arg1
= (wxWindow
*) 0 ;
26862 int arg4
= (int) -1 ;
26863 int arg5
= (int) -1 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 PyObject
* obj3
= 0 ;
26868 PyObject
* obj4
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail
;
26877 arg2
= (int)(SWIG_As_int(obj1
));
26878 if (SWIG_arg_fail(2)) SWIG_fail
;
26881 arg3
= (int)(SWIG_As_int(obj2
));
26882 if (SWIG_arg_fail(3)) SWIG_fail
;
26886 arg4
= (int)(SWIG_As_int(obj3
));
26887 if (SWIG_arg_fail(4)) SWIG_fail
;
26892 arg5
= (int)(SWIG_As_int(obj4
));
26893 if (SWIG_arg_fail(5)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 Py_INCREF(Py_None
); resultobj
= Py_None
;
26910 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxWindow
*arg1
= (wxWindow
*) 0 ;
26914 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26915 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26935 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 Py_INCREF(Py_None
); resultobj
= Py_None
;
26952 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxWindow
*arg1
= (wxWindow
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 wxSize
* resultptr
;
26973 resultptr
= new wxSize((wxSize
&)(result
));
26974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26982 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxWindow
*arg1
= (wxWindow
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26993 if (SWIG_arg_fail(1)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 wxSize
* resultptr
;
27003 resultptr
= new wxSize((wxSize
&)(result
));
27004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27012 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxWindow
*arg1
= (wxWindow
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self",(char *) "minSize", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27025 if (SWIG_arg_fail(1)) SWIG_fail
;
27028 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxWindow
*arg1
= (wxWindow
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "self",(char *) "maxSize", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27057 if (SWIG_arg_fail(1)) SWIG_fail
;
27060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 Py_INCREF(Py_None
); resultobj
= Py_None
;
27076 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxWindow
*arg1
= (wxWindow
*) 0 ;
27080 PyObject
* obj0
= 0 ;
27081 char *kwnames
[] = {
27082 (char *) "self", NULL
27085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27087 if (SWIG_arg_fail(1)) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= SWIG_From_int((int)(result
));
27104 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
;
27106 wxWindow
*arg1
= (wxWindow
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_From_int((int)(result
));
27132 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxWindow
*arg1
= (wxWindow
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_From_int((int)(result
));
27160 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27171 if (SWIG_arg_fail(1)) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_From_int((int)(result
));
27188 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxWindow
*arg1
= (wxWindow
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "size", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(1)) SWIG_fail
;
27204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 Py_INCREF(Py_None
); resultobj
= Py_None
;
27220 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
;
27222 wxWindow
*arg1
= (wxWindow
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 PyObject
* obj2
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "w",(char *) "h", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail
;
27236 arg2
= (int)(SWIG_As_int(obj1
));
27237 if (SWIG_arg_fail(2)) SWIG_fail
;
27240 arg3
= (int)(SWIG_As_int(obj2
));
27241 if (SWIG_arg_fail(3)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->SetVirtualSize(arg2
,arg3
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxWindow
*arg1
= (wxWindow
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "self", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 wxSize
* resultptr
;
27278 resultptr
= new wxSize((wxSize
&)(result
));
27279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27287 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxWindow
*arg1
= (wxWindow
*) 0 ;
27290 int *arg2
= (int *) 0 ;
27291 int *arg3
= (int *) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self", NULL
27301 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27302 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 Py_INCREF(Py_None
); resultobj
= Py_None
;
27314 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27315 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27316 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27317 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27324 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxWindow
*arg1
= (wxWindow
*) 0 ;
27328 PyObject
* obj0
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27335 if (SWIG_arg_fail(1)) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27344 wxSize
* resultptr
;
27345 resultptr
= new wxSize((wxSize
&)(result
));
27346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27354 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxWindow
*arg1
= (wxWindow
*) 0 ;
27357 bool arg2
= (bool) true ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "show", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail
;
27370 arg2
= (bool)(SWIG_As_bool(obj1
));
27371 if (SWIG_arg_fail(2)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (bool)(arg1
)->Show(arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27390 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxWindow
*arg1
= (wxWindow
*) 0 ;
27394 PyObject
* obj0
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (bool)(arg1
)->Hide();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27418 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxWindow
*arg1
= (wxWindow
*) 0 ;
27421 bool arg2
= (bool) true ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self",(char *) "enable", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 arg2
= (bool)(SWIG_As_bool(obj1
));
27435 if (SWIG_arg_fail(2)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (bool)(arg1
)->Enable(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27454 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxWindow
*arg1
= (wxWindow
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27465 if (SWIG_arg_fail(1)) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (bool)(arg1
)->Disable();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27482 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxWindow
*arg1
= (wxWindow
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27493 if (SWIG_arg_fail(1)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27510 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
;
27512 wxWindow
*arg1
= (wxWindow
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27521 if (SWIG_arg_fail(1)) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27538 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxWindow
*arg1
= (wxWindow
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "style", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail
;
27552 arg2
= (long)(SWIG_As_long(obj1
));
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->SetWindowStyleFlag(arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxWindow
*arg1
= (wxWindow
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27580 if (SWIG_arg_fail(1)) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_From_long((long)(result
));
27597 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxWindow
*arg1
= (wxWindow
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "flag", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail
;
27612 arg2
= (int)(SWIG_As_int(obj1
));
27613 if (SWIG_arg_fail(2)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27631 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxWindow
*arg1
= (wxWindow
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27642 if (SWIG_arg_fail(1)) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27659 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
;
27661 wxWindow
*arg1
= (wxWindow
*) 0 ;
27663 PyObject
* obj0
= 0 ;
27664 PyObject
* obj1
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self",(char *) "exStyle", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
27674 if (SWIG_arg_fail(2)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 (arg1
)->SetExtraStyle(arg2
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 Py_INCREF(Py_None
); resultobj
= Py_None
;
27690 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxWindow
*arg1
= (wxWindow
*) 0 ;
27694 PyObject
* obj0
= 0 ;
27695 char *kwnames
[] = {
27696 (char *) "self", NULL
27699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27701 if (SWIG_arg_fail(1)) SWIG_fail
;
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27710 resultobj
= SWIG_From_long((long)(result
));
27718 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
;
27720 wxWindow
*arg1
= (wxWindow
*) 0 ;
27721 bool arg2
= (bool) true ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "self",(char *) "modal", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27730 if (SWIG_arg_fail(1)) SWIG_fail
;
27733 arg2
= (bool)(SWIG_As_bool(obj1
));
27734 if (SWIG_arg_fail(2)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 (arg1
)->MakeModal(arg2
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 Py_INCREF(Py_None
); resultobj
= Py_None
;
27751 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxWindow
*arg1
= (wxWindow
*) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self",(char *) "enableTheme", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27763 if (SWIG_arg_fail(1)) SWIG_fail
;
27765 arg2
= (bool)(SWIG_As_bool(obj1
));
27766 if (SWIG_arg_fail(2)) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 (arg1
)->SetThemeEnabled(arg2
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27782 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27793 if (SWIG_arg_fail(1)) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27810 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxWindow
*arg1
= (wxWindow
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27820 if (SWIG_arg_fail(1)) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 (arg1
)->SetFocus();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 Py_INCREF(Py_None
); resultobj
= Py_None
;
27835 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxWindow
*arg1
= (wxWindow
*) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27845 if (SWIG_arg_fail(1)) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 (arg1
)->SetFocusFromKbd();
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 Py_INCREF(Py_None
); resultobj
= Py_None
;
27860 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27863 char *kwnames
[] = {
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27869 if (!wxPyCheckForApp()) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (wxWindow
*)wxWindow::FindFocus();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= wxPyMake_wxObject(result
, 0);
27885 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxWindow
*arg1
= (wxWindow
*) 0 ;
27889 PyObject
* obj0
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27896 if (SWIG_arg_fail(1)) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27913 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxWindow
*arg1
= (wxWindow
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27941 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxWindow
*arg1
= (wxWindow
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27952 if (SWIG_arg_fail(1)) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= wxPyMake_wxObject(result
, 0);
27969 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxWindow
*arg1
= (wxWindow
*) 0 ;
27972 wxWindow
*arg2
= (wxWindow
*) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "child", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(1)) SWIG_fail
;
27983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27984 if (SWIG_arg_fail(2)) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= wxPyMake_wxObject(result
, 0);
28001 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxWindow
*arg1
= (wxWindow
*) 0 ;
28004 wxWindow
*arg2
= (wxWindow
*) 0 ;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "win", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28013 if (SWIG_arg_fail(1)) SWIG_fail
;
28014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28015 if (SWIG_arg_fail(2)) SWIG_fail
;
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 (arg1
)->SetTmpDefaultItem(arg2
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 Py_INCREF(Py_None
); resultobj
= Py_None
;
28030 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxWindow
*arg1
= (wxWindow
*) 0 ;
28033 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "flags", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28043 if (SWIG_arg_fail(1)) SWIG_fail
;
28046 arg2
= (int)(SWIG_As_int(obj1
));
28047 if (SWIG_arg_fail(2)) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (bool)(arg1
)->Navigate(arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28066 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxWindow
*arg1
= (wxWindow
*) 0 ;
28069 wxWindow
*arg2
= (wxWindow
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self",(char *) "win", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28078 if (SWIG_arg_fail(1)) SWIG_fail
;
28079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(2)) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->MoveAfterInTabOrder(arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 Py_INCREF(Py_None
); resultobj
= Py_None
;
28095 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxWindow
*arg1
= (wxWindow
*) 0 ;
28098 wxWindow
*arg2
= (wxWindow
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self",(char *) "win", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28107 if (SWIG_arg_fail(1)) SWIG_fail
;
28108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28109 if (SWIG_arg_fail(2)) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->MoveBeforeInTabOrder(arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 Py_INCREF(Py_None
); resultobj
= Py_None
;
28124 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28135 if (SWIG_arg_fail(1)) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= result
;
28150 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxWindow
*arg1
= (wxWindow
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= wxPyMake_wxObject(result
, 0);
28178 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxWindow
*arg1
= (wxWindow
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= wxPyMake_wxObject(result
, 0);
28206 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxWindow
*arg1
= (wxWindow
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28234 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxWindow
*arg1
= (wxWindow
*) 0 ;
28237 wxWindow
*arg2
= (wxWindow
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 PyObject
* obj1
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self",(char *) "newParent", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28247 if (SWIG_arg_fail(1)) SWIG_fail
;
28248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28249 if (SWIG_arg_fail(2)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (bool)(arg1
)->Reparent(arg2
);
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28266 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 wxWindow
*arg2
= (wxWindow
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 PyObject
* obj1
= 0 ;
28272 char *kwnames
[] = {
28273 (char *) "self",(char *) "child", NULL
28276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28278 if (SWIG_arg_fail(1)) SWIG_fail
;
28279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28280 if (SWIG_arg_fail(2)) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 (arg1
)->AddChild(arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 Py_INCREF(Py_None
); resultobj
= Py_None
;
28295 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxWindow
*arg1
= (wxWindow
*) 0 ;
28298 wxWindow
*arg2
= (wxWindow
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "child", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28307 if (SWIG_arg_fail(1)) SWIG_fail
;
28308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(2)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->RemoveChild(arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 Py_INCREF(Py_None
); resultobj
= Py_None
;
28324 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxWindow
*arg1
= (wxWindow
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self",(char *) "winid", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28339 arg2
= (long)(SWIG_As_long(obj1
));
28340 if (SWIG_arg_fail(2)) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= wxPyMake_wxObject(result
, 0);
28358 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxWindow
*arg1
= (wxWindow
*) 0 ;
28361 wxString
*arg2
= 0 ;
28363 bool temp2
= false ;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self",(char *) "name", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28372 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 arg2
= wxString_in_helper(obj1
);
28375 if (arg2
== NULL
) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= wxPyMake_wxObject(result
, 0);
28402 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxWindow
*arg1
= (wxWindow
*) 0 ;
28405 wxEvtHandler
*result
;
28406 PyObject
* obj0
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= wxPyMake_wxObject(result
, 0);
28430 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxWindow
*arg1
= (wxWindow
*) 0 ;
28433 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self",(char *) "handler", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28442 if (SWIG_arg_fail(1)) SWIG_fail
;
28443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28444 if (SWIG_arg_fail(2)) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 (arg1
)->SetEventHandler(arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 Py_INCREF(Py_None
); resultobj
= Py_None
;
28459 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxWindow
*arg1
= (wxWindow
*) 0 ;
28462 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self",(char *) "handler", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28471 if (SWIG_arg_fail(1)) SWIG_fail
;
28472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28473 if (SWIG_arg_fail(2)) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->PushEventHandler(arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 Py_INCREF(Py_None
); resultobj
= Py_None
;
28488 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxWindow
*arg1
= (wxWindow
*) 0 ;
28491 bool arg2
= (bool) false ;
28492 wxEvtHandler
*result
;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self",(char *) "deleteHandler", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28501 if (SWIG_arg_fail(1)) SWIG_fail
;
28504 arg2
= (bool)(SWIG_As_bool(obj1
));
28505 if (SWIG_arg_fail(2)) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= wxPyMake_wxObject(result
, 0);
28524 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxWindow
*arg1
= (wxWindow
*) 0 ;
28527 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "handler", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(1)) SWIG_fail
;
28538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28539 if (SWIG_arg_fail(2)) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxWindow
*arg1
= (wxWindow
*) 0 ;
28559 wxValidator
*arg2
= 0 ;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self",(char *) "validator", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28568 if (SWIG_arg_fail(1)) SWIG_fail
;
28570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28571 if (SWIG_arg_fail(2)) SWIG_fail
;
28572 if (arg2
== NULL
) {
28573 SWIG_null_ref("wxValidator");
28575 if (SWIG_arg_fail(2)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 Py_INCREF(Py_None
); resultobj
= Py_None
;
28591 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28594 wxValidator
*result
;
28595 PyObject
* obj0
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28602 if (SWIG_arg_fail(1)) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (wxValidator
*)(arg1
)->GetValidator();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= wxPyMake_wxObject(result
, 0);
28619 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 char *kwnames
[] = {
28625 (char *) "self", NULL
28628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28630 if (SWIG_arg_fail(1)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (bool)(arg1
)->Validate();
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28647 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxWindow
*arg1
= (wxWindow
*) 0 ;
28651 PyObject
* obj0
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (bool)(arg1
)->TransferDataToWindow();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28675 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxWindow
*arg1
= (wxWindow
*) 0 ;
28679 PyObject
* obj0
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28686 if (SWIG_arg_fail(1)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (bool)(arg1
)->TransferDataFromWindow();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28703 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxWindow
*arg1
= (wxWindow
*) 0 ;
28706 PyObject
* obj0
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28713 if (SWIG_arg_fail(1)) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->InitDialog();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28728 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxWindow
*arg1
= (wxWindow
*) 0 ;
28731 wxAcceleratorTable
*arg2
= 0 ;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "accel", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28740 if (SWIG_arg_fail(1)) SWIG_fail
;
28742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(2)) SWIG_fail
;
28744 if (arg2
== NULL
) {
28745 SWIG_null_ref("wxAcceleratorTable");
28747 if (SWIG_arg_fail(2)) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 Py_INCREF(Py_None
); resultobj
= Py_None
;
28763 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxWindow
*arg1
= (wxWindow
*) 0 ;
28766 wxAcceleratorTable
*result
;
28767 PyObject
* obj0
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28774 if (SWIG_arg_fail(1)) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28789 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxWindow
*arg1
= (wxWindow
*) 0 ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 PyObject
* obj2
= 0 ;
28799 PyObject
* obj3
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28806 if (SWIG_arg_fail(1)) SWIG_fail
;
28808 arg2
= (int)(SWIG_As_int(obj1
));
28809 if (SWIG_arg_fail(2)) SWIG_fail
;
28812 arg3
= (int)(SWIG_As_int(obj2
));
28813 if (SWIG_arg_fail(3)) SWIG_fail
;
28816 arg4
= (int)(SWIG_As_int(obj3
));
28817 if (SWIG_arg_fail(4)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28835 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxWindow
*arg1
= (wxWindow
*) 0 ;
28840 PyObject
* obj0
= 0 ;
28841 PyObject
* obj1
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "hotkeyId", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail
;
28850 arg2
= (int)(SWIG_As_int(obj1
));
28851 if (SWIG_arg_fail(2)) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28869 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxWindow
*arg1
= (wxWindow
*) 0 ;
28872 wxPoint
*arg2
= 0 ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "pt", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28896 wxPoint
* resultptr
;
28897 resultptr
= new wxPoint((wxPoint
&)(result
));
28898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28906 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxWindow
*arg1
= (wxWindow
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self",(char *) "sz", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail
;
28923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28933 wxSize
* resultptr
;
28934 resultptr
= new wxSize((wxSize
&)(result
));
28935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28943 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxWindow
*arg1
= (wxWindow
*) 0 ;
28946 wxPoint
*arg2
= 0 ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 char *kwnames
[] = {
28952 (char *) "self",(char *) "pt", NULL
28955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28957 if (SWIG_arg_fail(1)) SWIG_fail
;
28960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28970 wxPoint
* resultptr
;
28971 resultptr
= new wxPoint((wxPoint
&)(result
));
28972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28980 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxWindow
*arg1
= (wxWindow
*) 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char *kwnames
[] = {
28989 (char *) "self",(char *) "sz", NULL
28992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28994 if (SWIG_arg_fail(1)) SWIG_fail
;
28997 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29007 wxSize
* resultptr
;
29008 resultptr
= new wxSize((wxSize
&)(result
));
29009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29017 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxWindow
*arg1
= (wxWindow
*) 0 ;
29020 wxPoint
*arg2
= 0 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 char *kwnames
[] = {
29026 (char *) "self",(char *) "pt", NULL
29029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29031 if (SWIG_arg_fail(1)) SWIG_fail
;
29034 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29044 wxPoint
* resultptr
;
29045 resultptr
= new wxPoint((wxPoint
&)(result
));
29046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29054 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
;
29056 wxWindow
*arg1
= (wxWindow
*) 0 ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self",(char *) "sz", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail
;
29071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29081 wxSize
* resultptr
;
29082 resultptr
= new wxSize((wxSize
&)(result
));
29083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29091 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxWindow
*arg1
= (wxWindow
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 PyObject
* obj2
= 0 ;
29099 char *kwnames
[] = {
29100 (char *) "self",(char *) "x",(char *) "y", NULL
29103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29105 if (SWIG_arg_fail(1)) SWIG_fail
;
29107 arg2
= (int)(SWIG_As_int(obj1
));
29108 if (SWIG_arg_fail(2)) SWIG_fail
;
29111 arg3
= (int)(SWIG_As_int(obj2
));
29112 if (SWIG_arg_fail(3)) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 (arg1
)->WarpPointer(arg2
,arg3
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 Py_INCREF(Py_None
); resultobj
= Py_None
;
29128 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxWindow
*arg1
= (wxWindow
*) 0 ;
29131 PyObject
* obj0
= 0 ;
29132 char *kwnames
[] = {
29133 (char *) "self", NULL
29136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29138 if (SWIG_arg_fail(1)) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->CaptureMouse();
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 Py_INCREF(Py_None
); resultobj
= Py_None
;
29153 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxWindow
*arg1
= (wxWindow
*) 0 ;
29156 PyObject
* obj0
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29163 if (SWIG_arg_fail(1)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 (arg1
)->ReleaseMouse();
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 Py_INCREF(Py_None
); resultobj
= Py_None
;
29178 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29181 char *kwnames
[] = {
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29187 if (!wxPyCheckForApp()) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (wxWindow
*)wxWindow::GetCapture();
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= wxPyMake_wxObject(result
, 0);
29203 static PyObject
*_wrap_Window_HasCapture(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_HasCapture",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)((wxWindow
const *)arg1
)->HasCapture();
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29231 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxWindow
*arg1
= (wxWindow
*) 0 ;
29234 bool arg2
= (bool) true ;
29235 wxRect
*arg3
= (wxRect
*) NULL
;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 PyObject
* obj2
= 0 ;
29239 char *kwnames
[] = {
29240 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29245 if (SWIG_arg_fail(1)) SWIG_fail
;
29248 arg2
= (bool)(SWIG_As_bool(obj1
));
29249 if (SWIG_arg_fail(2)) SWIG_fail
;
29253 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29254 if (SWIG_arg_fail(3)) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 Py_INCREF(Py_None
); resultobj
= Py_None
;
29270 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxWindow
*arg1
= (wxWindow
*) 0 ;
29274 bool arg3
= (bool) true ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 PyObject
* obj2
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29285 if (SWIG_arg_fail(1)) SWIG_fail
;
29288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29292 arg3
= (bool)(SWIG_As_bool(obj2
));
29293 if (SWIG_arg_fail(3)) SWIG_fail
;
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 Py_INCREF(Py_None
); resultobj
= Py_None
;
29310 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxWindow
*arg1
= (wxWindow
*) 0 ;
29313 PyObject
* obj0
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29320 if (SWIG_arg_fail(1)) SWIG_fail
;
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 Py_INCREF(Py_None
); resultobj
= Py_None
;
29335 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
;
29337 wxWindow
*arg1
= (wxWindow
*) 0 ;
29338 PyObject
* obj0
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "self", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29345 if (SWIG_arg_fail(1)) SWIG_fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 (arg1
)->ClearBackground();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 Py_INCREF(Py_None
); resultobj
= Py_None
;
29360 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxWindow
*arg1
= (wxWindow
*) 0 ;
29363 PyObject
* obj0
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29370 if (SWIG_arg_fail(1)) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 Py_INCREF(Py_None
); resultobj
= Py_None
;
29385 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxWindow
*arg1
= (wxWindow
*) 0 ;
29388 PyObject
* obj0
= 0 ;
29389 char *kwnames
[] = {
29390 (char *) "self", NULL
29393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29395 if (SWIG_arg_fail(1)) SWIG_fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 Py_INCREF(Py_None
); resultobj
= Py_None
;
29410 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxWindow
*arg1
= (wxWindow
*) 0 ;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self",(char *) "dc", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29422 if (SWIG_arg_fail(1)) SWIG_fail
;
29424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(2)) SWIG_fail
;
29426 if (arg2
== NULL
) {
29427 SWIG_null_ref("wxDC");
29429 if (SWIG_arg_fail(2)) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 (arg1
)->PrepareDC(*arg2
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 Py_INCREF(Py_None
); resultobj
= Py_None
;
29445 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxWindow
*arg1
= (wxWindow
*) 0 ;
29449 PyObject
* obj0
= 0 ;
29450 char *kwnames
[] = {
29451 (char *) "self", NULL
29454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29456 if (SWIG_arg_fail(1)) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29461 result
= (wxRegion
*) &_result_ref
;
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29474 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
;
29476 wxWindow
*arg1
= (wxWindow
*) 0 ;
29478 PyObject
* obj0
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29485 if (SWIG_arg_fail(1)) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29494 wxRect
* resultptr
;
29495 resultptr
= new wxRect((wxRect
&)(result
));
29496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29504 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxWindow
*arg1
= (wxWindow
*) 0 ;
29509 int arg4
= (int) 1 ;
29510 int arg5
= (int) 1 ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 PyObject
* obj4
= 0 ;
29517 char *kwnames
[] = {
29518 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29523 if (SWIG_arg_fail(1)) SWIG_fail
;
29525 arg2
= (int)(SWIG_As_int(obj1
));
29526 if (SWIG_arg_fail(2)) SWIG_fail
;
29529 arg3
= (int)(SWIG_As_int(obj2
));
29530 if (SWIG_arg_fail(3)) SWIG_fail
;
29534 arg4
= (int)(SWIG_As_int(obj3
));
29535 if (SWIG_arg_fail(4)) SWIG_fail
;
29540 arg5
= (int)(SWIG_As_int(obj4
));
29541 if (SWIG_arg_fail(5)) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29560 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxWindow
*arg1
= (wxWindow
*) 0 ;
29563 wxPoint
*arg2
= 0 ;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 char *kwnames
[] = {
29569 (char *) "self",(char *) "pt", NULL
29572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29574 if (SWIG_arg_fail(1)) SWIG_fail
;
29577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29595 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
;
29597 wxWindow
*arg1
= (wxWindow
*) 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "rect", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29630 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxWindow
*arg1
= (wxWindow
*) 0 ;
29633 wxVisualAttributes result
;
29634 PyObject
* obj0
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29650 wxVisualAttributes
* resultptr
;
29651 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29660 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29663 wxVisualAttributes result
;
29664 PyObject
* obj0
= 0 ;
29665 char *kwnames
[] = {
29666 (char *) "variant", NULL
29669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29672 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29673 if (SWIG_arg_fail(1)) SWIG_fail
;
29677 if (!wxPyCheckForApp()) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 wxVisualAttributes
* resultptr
;
29686 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29695 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxWindow
*arg1
= (wxWindow
*) 0 ;
29698 wxColour
*arg2
= 0 ;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "colour", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29730 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxWindow
*arg1
= (wxWindow
*) 0 ;
29733 wxColour
*arg2
= 0 ;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self",(char *) "colour", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail
;
29746 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 Py_INCREF(Py_None
); resultobj
= Py_None
;
29762 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxWindow
*arg1
= (wxWindow
*) 0 ;
29765 wxColour
*arg2
= 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "self",(char *) "colour", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29776 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29797 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxWindow
*arg1
= (wxWindow
*) 0 ;
29800 wxColour
*arg2
= 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 char *kwnames
[] = {
29805 (char *) "self",(char *) "colour", NULL
29808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29810 if (SWIG_arg_fail(1)) SWIG_fail
;
29813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 Py_INCREF(Py_None
); resultobj
= Py_None
;
29829 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxWindow
*arg1
= (wxWindow
*) 0 ;
29833 PyObject
* obj0
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29840 if (SWIG_arg_fail(1)) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 wxColour
* resultptr
;
29850 resultptr
= new wxColour((wxColour
&)(result
));
29851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29859 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxWindow
*arg1
= (wxWindow
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29879 wxColour
* resultptr
;
29880 resultptr
= new wxColour((wxColour
&)(result
));
29881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29889 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxWindow
*arg1
= (wxWindow
*) 0 ;
29893 PyObject
* obj0
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29900 if (SWIG_arg_fail(1)) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29917 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxWindow
*arg1
= (wxWindow
*) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(1)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29945 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
;
29947 wxWindow
*arg1
= (wxWindow
*) 0 ;
29948 wxBackgroundStyle arg2
;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 char *kwnames
[] = {
29953 (char *) "self",(char *) "style", NULL
29956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29958 if (SWIG_arg_fail(1)) SWIG_fail
;
29960 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29961 if (SWIG_arg_fail(2)) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29979 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxWindow
*arg1
= (wxWindow
*) 0 ;
29982 wxBackgroundStyle result
;
29983 PyObject
* obj0
= 0 ;
29984 char *kwnames
[] = {
29985 (char *) "self", NULL
29988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29990 if (SWIG_arg_fail(1)) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29993 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 resultobj
= SWIG_From_int((result
));
30005 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxWindow
*arg1
= (wxWindow
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 char *kwnames
[] = {
30011 (char *) "self", NULL
30014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30016 if (SWIG_arg_fail(1)) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 result
= (bool)(arg1
)->HasTransparentBackground();
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30033 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxWindow
*arg1
= (wxWindow
*) 0 ;
30036 wxCursor
*arg2
= 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "cursor", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail
;
30048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30049 if (SWIG_arg_fail(2)) SWIG_fail
;
30050 if (arg2
== NULL
) {
30051 SWIG_null_ref("wxCursor");
30053 if (SWIG_arg_fail(2)) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30071 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30072 PyObject
*resultobj
;
30073 wxWindow
*arg1
= (wxWindow
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30082 if (SWIG_arg_fail(1)) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (arg1
)->GetCursor();
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30091 wxCursor
* resultptr
;
30092 resultptr
= new wxCursor((wxCursor
&)(result
));
30093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30101 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxWindow
*arg1
= (wxWindow
*) 0 ;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self",(char *) "font", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30114 if (SWIG_arg_fail(1)) SWIG_fail
;
30116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(2)) SWIG_fail
;
30118 if (arg2
== NULL
) {
30119 SWIG_null_ref("wxFont");
30121 if (SWIG_arg_fail(2)) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30139 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxWindow
*arg1
= (wxWindow
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "font", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30151 if (SWIG_arg_fail(1)) SWIG_fail
;
30153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(2)) SWIG_fail
;
30155 if (arg2
== NULL
) {
30156 SWIG_null_ref("wxFont");
30158 if (SWIG_arg_fail(2)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30174 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxWindow
*arg1
= (wxWindow
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (arg1
)->GetFont();
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 wxFont
* resultptr
;
30195 resultptr
= new wxFont((wxFont
&)(result
));
30196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30204 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxWindow
*arg1
= (wxWindow
*) 0 ;
30207 wxCaret
*arg2
= (wxCaret
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self",(char *) "caret", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30216 if (SWIG_arg_fail(1)) SWIG_fail
;
30217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(2)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 (arg1
)->SetCaret(arg2
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 Py_INCREF(Py_None
); resultobj
= Py_None
;
30233 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
;
30235 wxWindow
*arg1
= (wxWindow
*) 0 ;
30237 PyObject
* obj0
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30259 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
;
30261 wxWindow
*arg1
= (wxWindow
*) 0 ;
30263 PyObject
* obj0
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_From_int((int)(result
));
30287 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxWindow
*arg1
= (wxWindow
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30298 if (SWIG_arg_fail(1)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= SWIG_From_int((int)(result
));
30315 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxWindow
*arg1
= (wxWindow
*) 0 ;
30318 wxString
*arg2
= 0 ;
30319 int *arg3
= (int *) 0 ;
30320 int *arg4
= (int *) 0 ;
30321 bool temp2
= false ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "string", NULL
30332 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30333 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30336 if (SWIG_arg_fail(1)) SWIG_fail
;
30338 arg2
= wxString_in_helper(obj1
);
30339 if (arg2
== NULL
) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30351 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30352 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30353 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30368 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxWindow
*arg1
= (wxWindow
*) 0 ;
30371 wxString
*arg2
= 0 ;
30372 int *arg3
= (int *) 0 ;
30373 int *arg4
= (int *) 0 ;
30374 int *arg5
= (int *) 0 ;
30375 int *arg6
= (int *) 0 ;
30376 wxFont
*arg7
= (wxFont
*) NULL
;
30377 bool temp2
= false ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self",(char *) "string",(char *) "font", NULL
30393 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30394 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30395 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30396 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30399 if (SWIG_arg_fail(1)) SWIG_fail
;
30401 arg2
= wxString_in_helper(obj1
);
30402 if (arg2
== NULL
) SWIG_fail
;
30406 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(7)) SWIG_fail
;
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 Py_INCREF(Py_None
); resultobj
= Py_None
;
30417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30418 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30419 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30420 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30421 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30422 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30423 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30424 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30439 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxWindow
*arg1
= (wxWindow
*) 0 ;
30442 int *arg2
= (int *) 0 ;
30443 int *arg3
= (int *) 0 ;
30448 PyObject
* obj0
= 0 ;
30449 PyObject
* obj1
= 0 ;
30450 PyObject
* obj2
= 0 ;
30451 char *kwnames
[] = {
30452 (char *) "self",(char *) "x",(char *) "y", NULL
30455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30457 if (SWIG_arg_fail(1)) SWIG_fail
;
30459 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30460 temp2
= SWIG_As_int(obj1
);
30461 if (SWIG_arg_fail(2)) SWIG_fail
;
30463 res2
= SWIG_NEWOBJ
;
30467 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30468 temp3
= SWIG_As_int(obj2
);
30469 if (SWIG_arg_fail(3)) SWIG_fail
;
30471 res3
= SWIG_NEWOBJ
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30483 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30492 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxWindow
*arg1
= (wxWindow
*) 0 ;
30495 int *arg2
= (int *) 0 ;
30496 int *arg3
= (int *) 0 ;
30501 PyObject
* obj0
= 0 ;
30502 PyObject
* obj1
= 0 ;
30503 PyObject
* obj2
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self",(char *) "x",(char *) "y", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(1)) SWIG_fail
;
30512 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30513 temp2
= SWIG_As_int(obj1
);
30514 if (SWIG_arg_fail(2)) SWIG_fail
;
30516 res2
= SWIG_NEWOBJ
;
30520 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30521 temp3
= SWIG_As_int(obj2
);
30522 if (SWIG_arg_fail(3)) SWIG_fail
;
30524 res3
= SWIG_NEWOBJ
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30536 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30537 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30538 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30545 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
;
30547 wxWindow
*arg1
= (wxWindow
*) 0 ;
30548 wxPoint
*arg2
= 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "pt", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 wxPoint
* resultptr
;
30573 resultptr
= new wxPoint((wxPoint
&)(result
));
30574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30582 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxWindow
*arg1
= (wxWindow
*) 0 ;
30585 wxPoint
*arg2
= 0 ;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "self",(char *) "pt", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30609 wxPoint
* resultptr
;
30610 resultptr
= new wxPoint((wxPoint
&)(result
));
30611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30619 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxWindow
*arg1
= (wxWindow
*) 0 ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 PyObject
* obj2
= 0 ;
30628 char *kwnames
[] = {
30629 (char *) "self",(char *) "x",(char *) "y", NULL
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30634 if (SWIG_arg_fail(1)) SWIG_fail
;
30636 arg2
= (int)(SWIG_As_int(obj1
));
30637 if (SWIG_arg_fail(2)) SWIG_fail
;
30640 arg3
= (int)(SWIG_As_int(obj2
));
30641 if (SWIG_arg_fail(3)) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_From_int((result
));
30657 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxWindow
*arg1
= (wxWindow
*) 0 ;
30660 wxPoint
*arg2
= 0 ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self",(char *) "pt", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30671 if (SWIG_arg_fail(1)) SWIG_fail
;
30674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_From_int((result
));
30690 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30691 PyObject
*resultobj
;
30692 wxWindow
*arg1
= (wxWindow
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30698 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30700 if (SWIG_arg_fail(1)) SWIG_fail
;
30702 arg2
= (long)(SWIG_As_long(obj1
));
30703 if (SWIG_arg_fail(2)) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_From_int((result
));
30719 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30720 PyObject
*resultobj
;
30721 wxWindow
*arg1
= (wxWindow
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30725 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30727 if (SWIG_arg_fail(1)) SWIG_fail
;
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_From_int((result
));
30742 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30747 argc
= PyObject_Length(args
);
30748 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30749 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30755 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30763 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30770 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30778 _v
= SWIG_Check_long(argv
[1]);
30780 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30785 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30790 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxWindow
*arg1
= (wxWindow
*) 0 ;
30793 long arg2
= (long) wxUPDATE_UI_NONE
;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 char *kwnames
[] = {
30797 (char *) "self",(char *) "flags", NULL
30800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30802 if (SWIG_arg_fail(1)) SWIG_fail
;
30805 arg2
= (long)(SWIG_As_long(obj1
));
30806 if (SWIG_arg_fail(2)) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 (arg1
)->UpdateWindowUI(arg2
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 Py_INCREF(Py_None
); resultobj
= Py_None
;
30823 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30824 PyObject
*resultobj
;
30825 wxWindow
*arg1
= (wxWindow
*) 0 ;
30826 wxMenu
*arg2
= (wxMenu
*) 0 ;
30827 int arg3
= (int) -1 ;
30828 int arg4
= (int) -1 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 PyObject
* obj2
= 0 ;
30833 PyObject
* obj3
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail
;
30841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30842 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 arg3
= (int)(SWIG_As_int(obj2
));
30846 if (SWIG_arg_fail(3)) SWIG_fail
;
30851 arg4
= (int)(SWIG_As_int(obj3
));
30852 if (SWIG_arg_fail(4)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30871 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxWindow
*arg1
= (wxWindow
*) 0 ;
30874 wxMenu
*arg2
= (wxMenu
*) 0 ;
30875 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30876 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30879 PyObject
* obj0
= 0 ;
30880 PyObject
* obj1
= 0 ;
30881 PyObject
* obj2
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self",(char *) "menu",(char *) "pos", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30888 if (SWIG_arg_fail(1)) SWIG_fail
;
30889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(2)) SWIG_fail
;
30894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30913 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
;
30915 wxWindow
*arg1
= (wxWindow
*) 0 ;
30917 PyObject
* obj0
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "self", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30924 if (SWIG_arg_fail(1)) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 result
= (long)wxWindow_GetHandle(arg1
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_From_long((long)(result
));
30941 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
;
30943 wxWindow
*arg1
= (wxWindow
*) 0 ;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "self",(char *) "handle", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30953 if (SWIG_arg_fail(1)) SWIG_fail
;
30955 arg2
= (long)(SWIG_As_long(obj1
));
30956 if (SWIG_arg_fail(2)) SWIG_fail
;
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 wxWindow_AssociateHandle(arg1
,arg2
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 Py_INCREF(Py_None
); resultobj
= Py_None
;
30972 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
;
30974 wxWindow
*arg1
= (wxWindow
*) 0 ;
30975 PyObject
* obj0
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30982 if (SWIG_arg_fail(1)) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 (arg1
)->DissociateHandle();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 Py_INCREF(Py_None
); resultobj
= Py_None
;
30997 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxWindow
*arg1
= (wxWindow
*) 0 ;
31000 wxPaintEvent
*arg2
= 0 ;
31001 PyObject
* obj0
= 0 ;
31002 PyObject
* obj1
= 0 ;
31003 char *kwnames
[] = {
31004 (char *) "self",(char *) "event", NULL
31007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail
;
31011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31012 if (SWIG_arg_fail(2)) SWIG_fail
;
31013 if (arg2
== NULL
) {
31014 SWIG_null_ref("wxPaintEvent");
31016 if (SWIG_arg_fail(2)) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 (arg1
)->OnPaint(*arg2
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 Py_INCREF(Py_None
); resultobj
= Py_None
;
31032 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
;
31034 wxWindow
*arg1
= (wxWindow
*) 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 char *kwnames
[] = {
31040 (char *) "self",(char *) "orient", NULL
31043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31045 if (SWIG_arg_fail(1)) SWIG_fail
;
31047 arg2
= (int)(SWIG_As_int(obj1
));
31048 if (SWIG_arg_fail(2)) SWIG_fail
;
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31066 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
;
31068 wxWindow
*arg1
= (wxWindow
*) 0 ;
31073 bool arg6
= (bool) true ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 PyObject
* obj2
= 0 ;
31077 PyObject
* obj3
= 0 ;
31078 PyObject
* obj4
= 0 ;
31079 PyObject
* obj5
= 0 ;
31080 char *kwnames
[] = {
31081 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31086 if (SWIG_arg_fail(1)) SWIG_fail
;
31088 arg2
= (int)(SWIG_As_int(obj1
));
31089 if (SWIG_arg_fail(2)) SWIG_fail
;
31092 arg3
= (int)(SWIG_As_int(obj2
));
31093 if (SWIG_arg_fail(3)) SWIG_fail
;
31096 arg4
= (int)(SWIG_As_int(obj3
));
31097 if (SWIG_arg_fail(4)) SWIG_fail
;
31100 arg5
= (int)(SWIG_As_int(obj4
));
31101 if (SWIG_arg_fail(5)) SWIG_fail
;
31105 arg6
= (bool)(SWIG_As_bool(obj5
));
31106 if (SWIG_arg_fail(6)) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 Py_INCREF(Py_None
); resultobj
= Py_None
;
31123 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
;
31125 wxWindow
*arg1
= (wxWindow
*) 0 ;
31128 bool arg4
= (bool) true ;
31129 PyObject
* obj0
= 0 ;
31130 PyObject
* obj1
= 0 ;
31131 PyObject
* obj2
= 0 ;
31132 PyObject
* obj3
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31139 if (SWIG_arg_fail(1)) SWIG_fail
;
31141 arg2
= (int)(SWIG_As_int(obj1
));
31142 if (SWIG_arg_fail(2)) SWIG_fail
;
31145 arg3
= (int)(SWIG_As_int(obj2
));
31146 if (SWIG_arg_fail(3)) SWIG_fail
;
31150 arg4
= (bool)(SWIG_As_bool(obj3
));
31151 if (SWIG_arg_fail(4)) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 Py_INCREF(Py_None
); resultobj
= Py_None
;
31168 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxWindow
*arg1
= (wxWindow
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char *kwnames
[] = {
31176 (char *) "self",(char *) "orientation", NULL
31179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31181 if (SWIG_arg_fail(1)) SWIG_fail
;
31183 arg2
= (int)(SWIG_As_int(obj1
));
31184 if (SWIG_arg_fail(2)) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_From_int((int)(result
));
31202 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
;
31204 wxWindow
*arg1
= (wxWindow
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self",(char *) "orientation", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(1)) SWIG_fail
;
31217 arg2
= (int)(SWIG_As_int(obj1
));
31218 if (SWIG_arg_fail(2)) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_From_int((int)(result
));
31236 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxWindow
*arg1
= (wxWindow
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 char *kwnames
[] = {
31244 (char *) "self",(char *) "orientation", NULL
31247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31249 if (SWIG_arg_fail(1)) SWIG_fail
;
31251 arg2
= (int)(SWIG_As_int(obj1
));
31252 if (SWIG_arg_fail(2)) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= SWIG_From_int((int)(result
));
31270 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
;
31272 wxWindow
*arg1
= (wxWindow
*) 0 ;
31275 wxRect
*arg4
= (wxRect
*) NULL
;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 PyObject
* obj2
= 0 ;
31279 PyObject
* obj3
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail
;
31288 arg2
= (int)(SWIG_As_int(obj1
));
31289 if (SWIG_arg_fail(2)) SWIG_fail
;
31292 arg3
= (int)(SWIG_As_int(obj2
));
31293 if (SWIG_arg_fail(3)) SWIG_fail
;
31296 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31297 if (SWIG_arg_fail(4)) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 Py_INCREF(Py_None
); resultobj
= Py_None
;
31313 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxWindow
*arg1
= (wxWindow
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 PyObject
* obj1
= 0 ;
31320 char *kwnames
[] = {
31321 (char *) "self",(char *) "lines", NULL
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31326 if (SWIG_arg_fail(1)) SWIG_fail
;
31328 arg2
= (int)(SWIG_As_int(obj1
));
31329 if (SWIG_arg_fail(2)) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 result
= (bool)(arg1
)->ScrollLines(arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31347 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxWindow
*arg1
= (wxWindow
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "pages", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31360 if (SWIG_arg_fail(1)) SWIG_fail
;
31362 arg2
= (int)(SWIG_As_int(obj1
));
31363 if (SWIG_arg_fail(2)) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 result
= (bool)(arg1
)->ScrollPages(arg2
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxWindow
*arg1
= (wxWindow
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= (bool)(arg1
)->LineUp();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31409 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
;
31411 wxWindow
*arg1
= (wxWindow
*) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31420 if (SWIG_arg_fail(1)) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 result
= (bool)(arg1
)->LineDown();
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31437 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxWindow
*arg1
= (wxWindow
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31448 if (SWIG_arg_fail(1)) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 result
= (bool)(arg1
)->PageUp();
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31465 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxWindow
*arg1
= (wxWindow
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31476 if (SWIG_arg_fail(1)) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 result
= (bool)(arg1
)->PageDown();
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31493 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
;
31495 wxWindow
*arg1
= (wxWindow
*) 0 ;
31496 wxString
*arg2
= 0 ;
31497 bool temp2
= false ;
31498 PyObject
* obj0
= 0 ;
31499 PyObject
* obj1
= 0 ;
31500 char *kwnames
[] = {
31501 (char *) "self",(char *) "text", NULL
31504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31506 if (SWIG_arg_fail(1)) SWIG_fail
;
31508 arg2
= wxString_in_helper(obj1
);
31509 if (arg2
== NULL
) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 Py_INCREF(Py_None
); resultobj
= Py_None
;
31534 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxWindow
*arg1
= (wxWindow
*) 0 ;
31537 wxString
*arg2
= 0 ;
31538 bool temp2
= false ;
31539 PyObject
* obj0
= 0 ;
31540 PyObject
* obj1
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self",(char *) "text", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 arg2
= wxString_in_helper(obj1
);
31550 if (arg2
== NULL
) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 Py_INCREF(Py_None
); resultobj
= Py_None
;
31575 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
;
31577 wxWindow
*arg1
= (wxWindow
*) 0 ;
31579 PyObject
* obj0
= 0 ;
31580 char *kwnames
[] = {
31581 (char *) "self", NULL
31584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31586 if (SWIG_arg_fail(1)) SWIG_fail
;
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31607 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
;
31609 wxWindow
*arg1
= (wxWindow
*) 0 ;
31610 wxString
*arg2
= 0 ;
31611 bool temp2
= false ;
31612 PyObject
* obj0
= 0 ;
31613 PyObject
* obj1
= 0 ;
31614 char *kwnames
[] = {
31615 (char *) "self",(char *) "tip", NULL
31618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31620 if (SWIG_arg_fail(1)) SWIG_fail
;
31622 arg2
= wxString_in_helper(obj1
);
31623 if (arg2
== NULL
) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 Py_INCREF(Py_None
); resultobj
= Py_None
;
31648 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31649 PyObject
*resultobj
;
31650 wxWindow
*arg1
= (wxWindow
*) 0 ;
31651 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char *kwnames
[] = {
31655 (char *) "self",(char *) "tip", NULL
31658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31660 if (SWIG_arg_fail(1)) SWIG_fail
;
31661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(2)) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 (arg1
)->SetToolTip(arg2
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 Py_INCREF(Py_None
); resultobj
= Py_None
;
31677 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxWindow
*arg1
= (wxWindow
*) 0 ;
31681 PyObject
* obj0
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "self", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31688 if (SWIG_arg_fail(1)) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= wxPyMake_wxObject(result
, 0);
31705 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
;
31707 wxWindow
*arg1
= (wxWindow
*) 0 ;
31708 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31709 PyObject
* obj0
= 0 ;
31710 PyObject
* obj1
= 0 ;
31711 char *kwnames
[] = {
31712 (char *) "self",(char *) "dropTarget", NULL
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail
;
31718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31719 if (SWIG_arg_fail(2)) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 (arg1
)->SetDropTarget(arg2
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 Py_INCREF(Py_None
); resultobj
= Py_None
;
31734 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
;
31736 wxWindow
*arg1
= (wxWindow
*) 0 ;
31737 wxPyDropTarget
*result
;
31738 PyObject
* obj0
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31760 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
;
31762 wxWindow
*arg1
= (wxWindow
*) 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self",(char *) "accept", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31772 if (SWIG_arg_fail(1)) SWIG_fail
;
31774 arg2
= (bool)(SWIG_As_bool(obj1
));
31775 if (SWIG_arg_fail(2)) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->DragAcceptFiles(arg2
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 Py_INCREF(Py_None
); resultobj
= Py_None
;
31791 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxWindow
*arg1
= (wxWindow
*) 0 ;
31794 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 PyObject
* obj1
= 0 ;
31797 char *kwnames
[] = {
31798 (char *) "self",(char *) "constraints", NULL
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail
;
31804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31805 if (SWIG_arg_fail(2)) SWIG_fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 (arg1
)->SetConstraints(arg2
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 Py_INCREF(Py_None
); resultobj
= Py_None
;
31820 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
;
31822 wxWindow
*arg1
= (wxWindow
*) 0 ;
31823 wxLayoutConstraints
*result
;
31824 PyObject
* obj0
= 0 ;
31825 char *kwnames
[] = {
31826 (char *) "self", NULL
31829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31831 if (SWIG_arg_fail(1)) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31846 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
;
31848 wxWindow
*arg1
= (wxWindow
*) 0 ;
31850 PyObject
* obj0
= 0 ;
31851 PyObject
* obj1
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self",(char *) "autoLayout", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31858 if (SWIG_arg_fail(1)) SWIG_fail
;
31860 arg2
= (bool)(SWIG_As_bool(obj1
));
31861 if (SWIG_arg_fail(2)) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 (arg1
)->SetAutoLayout(arg2
);
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 Py_INCREF(Py_None
); resultobj
= Py_None
;
31877 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
;
31879 wxWindow
*arg1
= (wxWindow
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31888 if (SWIG_arg_fail(1)) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31905 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxWindow
*arg1
= (wxWindow
*) 0 ;
31909 PyObject
* obj0
= 0 ;
31910 char *kwnames
[] = {
31911 (char *) "self", NULL
31914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= (bool)(arg1
)->Layout();
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31933 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
;
31935 wxWindow
*arg1
= (wxWindow
*) 0 ;
31936 wxSizer
*arg2
= (wxSizer
*) 0 ;
31937 bool arg3
= (bool) true ;
31938 PyObject
* obj0
= 0 ;
31939 PyObject
* obj1
= 0 ;
31940 PyObject
* obj2
= 0 ;
31941 char *kwnames
[] = {
31942 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31947 if (SWIG_arg_fail(1)) SWIG_fail
;
31948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31949 if (SWIG_arg_fail(2)) SWIG_fail
;
31952 arg3
= (bool)(SWIG_As_bool(obj2
));
31953 if (SWIG_arg_fail(3)) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 (arg1
)->SetSizer(arg2
,arg3
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 Py_INCREF(Py_None
); resultobj
= Py_None
;
31970 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxWindow
*arg1
= (wxWindow
*) 0 ;
31973 wxSizer
*arg2
= (wxSizer
*) 0 ;
31974 bool arg3
= (bool) true ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 PyObject
* obj2
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31986 if (SWIG_arg_fail(2)) SWIG_fail
;
31989 arg3
= (bool)(SWIG_As_bool(obj2
));
31990 if (SWIG_arg_fail(3)) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 Py_INCREF(Py_None
); resultobj
= Py_None
;
32007 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
;
32009 wxWindow
*arg1
= (wxWindow
*) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 char *kwnames
[] = {
32013 (char *) "self", NULL
32016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32018 if (SWIG_arg_fail(1)) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= wxPyMake_wxObject(result
, 0);
32035 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
;
32037 wxWindow
*arg1
= (wxWindow
*) 0 ;
32038 wxSizer
*arg2
= (wxSizer
*) 0 ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "self",(char *) "sizer", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32047 if (SWIG_arg_fail(1)) SWIG_fail
;
32048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32049 if (SWIG_arg_fail(2)) SWIG_fail
;
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 (arg1
)->SetContainingSizer(arg2
);
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 Py_INCREF(Py_None
); resultobj
= Py_None
;
32064 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32065 PyObject
*resultobj
;
32066 wxWindow
*arg1
= (wxWindow
*) 0 ;
32068 PyObject
* obj0
= 0 ;
32069 char *kwnames
[] = {
32070 (char *) "self", NULL
32073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32075 if (SWIG_arg_fail(1)) SWIG_fail
;
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= wxPyMake_wxObject(result
, 0);
32092 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
;
32094 wxWindow
*arg1
= (wxWindow
*) 0 ;
32095 PyObject
* obj0
= 0 ;
32096 char *kwnames
[] = {
32097 (char *) "self", NULL
32100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32102 if (SWIG_arg_fail(1)) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->InheritAttributes();
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 Py_INCREF(Py_None
); resultobj
= Py_None
;
32117 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxWindow
*arg1
= (wxWindow
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 char *kwnames
[] = {
32123 (char *) "self", NULL
32126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32128 if (SWIG_arg_fail(1)) SWIG_fail
;
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32145 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32148 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32150 return Py_BuildValue((char *)"");
32152 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32155 wxWindow
*arg2
= (wxWindow
*) NULL
;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "id",(char *) "parent", NULL
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32165 arg1
= (long)(SWIG_As_long(obj0
));
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32170 if (SWIG_arg_fail(2)) SWIG_fail
;
32173 if (!wxPyCheckForApp()) SWIG_fail
;
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32175 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32177 wxPyEndAllowThreads(__tstate
);
32178 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= wxPyMake_wxObject(result
, 0);
32189 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
;
32191 wxString
*arg1
= 0 ;
32192 wxWindow
*arg2
= (wxWindow
*) NULL
;
32194 bool temp1
= false ;
32195 PyObject
* obj0
= 0 ;
32196 PyObject
* obj1
= 0 ;
32197 char *kwnames
[] = {
32198 (char *) "name",(char *) "parent", NULL
32201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32203 arg1
= wxString_in_helper(obj0
);
32204 if (arg1
== NULL
) SWIG_fail
;
32208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32209 if (SWIG_arg_fail(2)) SWIG_fail
;
32212 if (!wxPyCheckForApp()) SWIG_fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= wxPyMake_wxObject(result
, 0);
32236 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32237 PyObject
*resultobj
;
32238 wxString
*arg1
= 0 ;
32239 wxWindow
*arg2
= (wxWindow
*) NULL
;
32241 bool temp1
= false ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "label",(char *) "parent", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32250 arg1
= wxString_in_helper(obj0
);
32251 if (arg1
== NULL
) SWIG_fail
;
32255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32256 if (SWIG_arg_fail(2)) SWIG_fail
;
32259 if (!wxPyCheckForApp()) SWIG_fail
;
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= wxPyMake_wxObject(result
, 0);
32283 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32284 PyObject
*resultobj
;
32285 wxWindow
*arg1
= (wxWindow
*) 0 ;
32286 unsigned long arg2
;
32288 PyObject
* obj0
= 0 ;
32289 PyObject
* obj1
= 0 ;
32290 char *kwnames
[] = {
32291 (char *) "parent",(char *) "_hWnd", NULL
32294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32296 if (SWIG_arg_fail(1)) SWIG_fail
;
32298 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32299 if (SWIG_arg_fail(2)) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= wxPyMake_wxObject(result
, 0);
32317 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
;
32320 char *kwnames
[] = {
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 result
= (PyObject
*)GetTopLevelWindows();
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= result
;
32339 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
;
32341 wxValidator
*result
;
32342 char *kwnames
[] = {
32346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 result
= (wxValidator
*)new wxValidator();
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32361 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
;
32363 wxValidator
*arg1
= (wxValidator
*) 0 ;
32364 wxValidator
*result
;
32365 PyObject
* obj0
= 0 ;
32366 char *kwnames
[] = {
32367 (char *) "self", NULL
32370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32372 if (SWIG_arg_fail(1)) SWIG_fail
;
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (wxValidator
*)(arg1
)->Clone();
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= wxPyMake_wxObject(result
, 0);
32389 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
;
32391 wxValidator
*arg1
= (wxValidator
*) 0 ;
32392 wxWindow
*arg2
= (wxWindow
*) 0 ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self",(char *) "parent", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail
;
32403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32404 if (SWIG_arg_fail(2)) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= (bool)(arg1
)->Validate(arg2
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32421 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxValidator
*arg1
= (wxValidator
*) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32432 if (SWIG_arg_fail(1)) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (bool)(arg1
)->TransferToWindow();
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32449 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
;
32451 wxValidator
*arg1
= (wxValidator
*) 0 ;
32453 PyObject
* obj0
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32460 if (SWIG_arg_fail(1)) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 result
= (bool)(arg1
)->TransferFromWindow();
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32477 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
;
32479 wxValidator
*arg1
= (wxValidator
*) 0 ;
32481 PyObject
* obj0
= 0 ;
32482 char *kwnames
[] = {
32483 (char *) "self", NULL
32486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (wxWindow
*)(arg1
)->GetWindow();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= wxPyMake_wxObject(result
, 0);
32505 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxValidator
*arg1
= (wxValidator
*) 0 ;
32508 wxWindow
*arg2
= (wxWindow
*) 0 ;
32509 PyObject
* obj0
= 0 ;
32510 PyObject
* obj1
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self",(char *) "window", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32517 if (SWIG_arg_fail(1)) SWIG_fail
;
32518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32519 if (SWIG_arg_fail(2)) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 (arg1
)->SetWindow(arg2
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 Py_INCREF(Py_None
); resultobj
= Py_None
;
32534 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
;
32537 char *kwnames
[] = {
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= (bool)wxValidator::IsSilent();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32558 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
;
32560 int arg1
= (int) true ;
32561 PyObject
* obj0
= 0 ;
32562 char *kwnames
[] = {
32563 (char *) "doIt", NULL
32566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32569 arg1
= (int)(SWIG_As_int(obj0
));
32570 if (SWIG_arg_fail(1)) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 wxValidator::SetBellOnError(arg1
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 Py_INCREF(Py_None
); resultobj
= Py_None
;
32587 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32590 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32592 return Py_BuildValue((char *)"");
32594 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
;
32596 wxPyValidator
*result
;
32597 char *kwnames
[] = {
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 result
= (wxPyValidator
*)new wxPyValidator();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32616 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
;
32618 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32619 PyObject
*arg2
= (PyObject
*) 0 ;
32620 PyObject
*arg3
= (PyObject
*) 0 ;
32621 int arg4
= (int) true ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 PyObject
* obj2
= 0 ;
32625 PyObject
* obj3
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32632 if (SWIG_arg_fail(1)) SWIG_fail
;
32637 arg4
= (int)(SWIG_As_int(obj3
));
32638 if (SWIG_arg_fail(4)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 Py_INCREF(Py_None
); resultobj
= Py_None
;
32655 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32658 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32660 return Py_BuildValue((char *)"");
32662 static int _wrap_DefaultValidator_set(PyObject
*) {
32663 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32668 static PyObject
*_wrap_DefaultValidator_get(void) {
32671 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32676 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32679 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32680 long arg2
= (long) 0 ;
32682 bool temp1
= false ;
32683 PyObject
* obj0
= 0 ;
32684 PyObject
* obj1
= 0 ;
32685 char *kwnames
[] = {
32686 (char *) "title",(char *) "style", NULL
32689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32692 arg1
= wxString_in_helper(obj0
);
32693 if (arg1
== NULL
) SWIG_fail
;
32699 arg2
= (long)(SWIG_As_long(obj1
));
32700 if (SWIG_arg_fail(2)) SWIG_fail
;
32704 if (!wxPyCheckForApp()) SWIG_fail
;
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32706 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32726 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
;
32728 wxMenu
*arg1
= (wxMenu
*) 0 ;
32730 wxString
*arg3
= 0 ;
32731 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32733 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32734 wxMenuItem
*result
;
32735 bool temp3
= false ;
32736 bool temp4
= false ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 PyObject
* obj2
= 0 ;
32740 PyObject
* obj3
= 0 ;
32741 PyObject
* obj4
= 0 ;
32742 char *kwnames
[] = {
32743 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32748 if (SWIG_arg_fail(1)) SWIG_fail
;
32750 arg2
= (int)(SWIG_As_int(obj1
));
32751 if (SWIG_arg_fail(2)) SWIG_fail
;
32754 arg3
= wxString_in_helper(obj2
);
32755 if (arg3
== NULL
) SWIG_fail
;
32760 arg4
= wxString_in_helper(obj3
);
32761 if (arg4
== NULL
) SWIG_fail
;
32767 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32768 if (SWIG_arg_fail(5)) SWIG_fail
;
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32779 resultobj
= wxPyMake_wxObject(result
, 0);
32803 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
;
32805 wxMenu
*arg1
= (wxMenu
*) 0 ;
32806 wxMenuItem
*result
;
32807 PyObject
* obj0
= 0 ;
32808 char *kwnames
[] = {
32809 (char *) "self", NULL
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32814 if (SWIG_arg_fail(1)) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= wxPyMake_wxObject(result
, 0);
32831 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxMenu
*arg1
= (wxMenu
*) 0 ;
32835 wxString
*arg3
= 0 ;
32836 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32837 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32838 wxMenuItem
*result
;
32839 bool temp3
= false ;
32840 bool temp4
= false ;
32841 PyObject
* obj0
= 0 ;
32842 PyObject
* obj1
= 0 ;
32843 PyObject
* obj2
= 0 ;
32844 PyObject
* obj3
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 arg2
= (int)(SWIG_As_int(obj1
));
32854 if (SWIG_arg_fail(2)) SWIG_fail
;
32857 arg3
= wxString_in_helper(obj2
);
32858 if (arg3
== NULL
) SWIG_fail
;
32863 arg4
= wxString_in_helper(obj3
);
32864 if (arg4
== NULL
) SWIG_fail
;
32869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32870 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= wxPyMake_wxObject(result
, 0);
32900 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
;
32902 wxMenu
*arg1
= (wxMenu
*) 0 ;
32904 wxString
*arg3
= 0 ;
32905 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32906 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32907 wxMenuItem
*result
;
32908 bool temp3
= false ;
32909 bool temp4
= false ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32912 PyObject
* obj2
= 0 ;
32913 PyObject
* obj3
= 0 ;
32914 char *kwnames
[] = {
32915 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32920 if (SWIG_arg_fail(1)) SWIG_fail
;
32922 arg2
= (int)(SWIG_As_int(obj1
));
32923 if (SWIG_arg_fail(2)) SWIG_fail
;
32926 arg3
= wxString_in_helper(obj2
);
32927 if (arg3
== NULL
) SWIG_fail
;
32932 arg4
= wxString_in_helper(obj3
);
32933 if (arg4
== NULL
) SWIG_fail
;
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= wxPyMake_wxObject(result
, 0);
32969 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxMenu
*arg1
= (wxMenu
*) 0 ;
32973 wxString
*arg3
= 0 ;
32974 wxMenu
*arg4
= (wxMenu
*) 0 ;
32975 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32976 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32977 wxMenuItem
*result
;
32978 bool temp3
= false ;
32979 bool temp5
= false ;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 PyObject
* obj2
= 0 ;
32983 PyObject
* obj3
= 0 ;
32984 PyObject
* obj4
= 0 ;
32985 char *kwnames
[] = {
32986 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32991 if (SWIG_arg_fail(1)) SWIG_fail
;
32993 arg2
= (int)(SWIG_As_int(obj1
));
32994 if (SWIG_arg_fail(2)) SWIG_fail
;
32997 arg3
= wxString_in_helper(obj2
);
32998 if (arg3
== NULL
) SWIG_fail
;
33001 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33002 if (SWIG_arg_fail(4)) SWIG_fail
;
33005 arg5
= wxString_in_helper(obj4
);
33006 if (arg5
== NULL
) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= wxPyMake_wxObject(result
, 0);
33042 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
;
33044 wxMenu
*arg1
= (wxMenu
*) 0 ;
33045 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33046 wxMenuItem
*result
;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 char *kwnames
[] = {
33050 (char *) "self",(char *) "item", NULL
33053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33055 if (SWIG_arg_fail(1)) SWIG_fail
;
33056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33057 if (SWIG_arg_fail(2)) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= wxPyMake_wxObject(result
, 0);
33074 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33075 PyObject
*resultobj
;
33076 wxMenu
*arg1
= (wxMenu
*) 0 ;
33077 PyObject
* obj0
= 0 ;
33078 char *kwnames
[] = {
33079 (char *) "self", NULL
33082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33084 if (SWIG_arg_fail(1)) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 Py_INCREF(Py_None
); resultobj
= Py_None
;
33099 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
;
33101 wxMenu
*arg1
= (wxMenu
*) 0 ;
33103 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33104 wxMenuItem
*result
;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 PyObject
* obj2
= 0 ;
33108 char *kwnames
[] = {
33109 (char *) "self",(char *) "pos",(char *) "item", NULL
33112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33114 if (SWIG_arg_fail(1)) SWIG_fail
;
33116 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33117 if (SWIG_arg_fail(2)) SWIG_fail
;
33119 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33120 if (SWIG_arg_fail(3)) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33129 resultobj
= wxPyMake_wxObject(result
, 0);
33137 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33138 PyObject
*resultobj
;
33139 wxMenu
*arg1
= (wxMenu
*) 0 ;
33142 wxString
*arg4
= 0 ;
33143 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33144 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33145 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33146 wxMenuItem
*result
;
33147 bool temp4
= false ;
33148 bool temp5
= false ;
33149 PyObject
* obj0
= 0 ;
33150 PyObject
* obj1
= 0 ;
33151 PyObject
* obj2
= 0 ;
33152 PyObject
* obj3
= 0 ;
33153 PyObject
* obj4
= 0 ;
33154 PyObject
* obj5
= 0 ;
33155 char *kwnames
[] = {
33156 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33161 if (SWIG_arg_fail(1)) SWIG_fail
;
33163 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33164 if (SWIG_arg_fail(2)) SWIG_fail
;
33167 arg3
= (int)(SWIG_As_int(obj2
));
33168 if (SWIG_arg_fail(3)) SWIG_fail
;
33171 arg4
= wxString_in_helper(obj3
);
33172 if (arg4
== NULL
) SWIG_fail
;
33177 arg5
= wxString_in_helper(obj4
);
33178 if (arg5
== NULL
) SWIG_fail
;
33184 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33185 if (SWIG_arg_fail(6)) SWIG_fail
;
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= wxPyMake_wxObject(result
, 0);
33220 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33221 PyObject
*resultobj
;
33222 wxMenu
*arg1
= (wxMenu
*) 0 ;
33224 wxMenuItem
*result
;
33225 PyObject
* obj0
= 0 ;
33226 PyObject
* obj1
= 0 ;
33227 char *kwnames
[] = {
33228 (char *) "self",(char *) "pos", NULL
33231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33233 if (SWIG_arg_fail(1)) SWIG_fail
;
33235 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33236 if (SWIG_arg_fail(2)) SWIG_fail
;
33239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33240 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= wxPyMake_wxObject(result
, 0);
33254 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxMenu
*arg1
= (wxMenu
*) 0 ;
33259 wxString
*arg4
= 0 ;
33260 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33261 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33262 wxMenuItem
*result
;
33263 bool temp4
= false ;
33264 bool temp5
= false ;
33265 PyObject
* obj0
= 0 ;
33266 PyObject
* obj1
= 0 ;
33267 PyObject
* obj2
= 0 ;
33268 PyObject
* obj3
= 0 ;
33269 PyObject
* obj4
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33276 if (SWIG_arg_fail(1)) SWIG_fail
;
33278 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33279 if (SWIG_arg_fail(2)) SWIG_fail
;
33282 arg3
= (int)(SWIG_As_int(obj2
));
33283 if (SWIG_arg_fail(3)) SWIG_fail
;
33286 arg4
= wxString_in_helper(obj3
);
33287 if (arg4
== NULL
) SWIG_fail
;
33292 arg5
= wxString_in_helper(obj4
);
33293 if (arg5
== NULL
) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= wxPyMake_wxObject(result
, 0);
33329 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
;
33331 wxMenu
*arg1
= (wxMenu
*) 0 ;
33334 wxString
*arg4
= 0 ;
33335 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33336 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33337 wxMenuItem
*result
;
33338 bool temp4
= false ;
33339 bool temp5
= false ;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 PyObject
* obj2
= 0 ;
33343 PyObject
* obj3
= 0 ;
33344 PyObject
* obj4
= 0 ;
33345 char *kwnames
[] = {
33346 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33351 if (SWIG_arg_fail(1)) SWIG_fail
;
33353 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33354 if (SWIG_arg_fail(2)) SWIG_fail
;
33357 arg3
= (int)(SWIG_As_int(obj2
));
33358 if (SWIG_arg_fail(3)) SWIG_fail
;
33361 arg4
= wxString_in_helper(obj3
);
33362 if (arg4
== NULL
) SWIG_fail
;
33367 arg5
= wxString_in_helper(obj4
);
33368 if (arg5
== NULL
) SWIG_fail
;
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= wxPyMake_wxObject(result
, 0);
33404 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33405 PyObject
*resultobj
;
33406 wxMenu
*arg1
= (wxMenu
*) 0 ;
33409 wxString
*arg4
= 0 ;
33410 wxMenu
*arg5
= (wxMenu
*) 0 ;
33411 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33412 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33413 wxMenuItem
*result
;
33414 bool temp4
= false ;
33415 bool temp6
= false ;
33416 PyObject
* obj0
= 0 ;
33417 PyObject
* obj1
= 0 ;
33418 PyObject
* obj2
= 0 ;
33419 PyObject
* obj3
= 0 ;
33420 PyObject
* obj4
= 0 ;
33421 PyObject
* obj5
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33431 if (SWIG_arg_fail(2)) SWIG_fail
;
33434 arg3
= (int)(SWIG_As_int(obj2
));
33435 if (SWIG_arg_fail(3)) SWIG_fail
;
33438 arg4
= wxString_in_helper(obj3
);
33439 if (arg4
== NULL
) SWIG_fail
;
33442 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33443 if (SWIG_arg_fail(5)) SWIG_fail
;
33446 arg6
= wxString_in_helper(obj5
);
33447 if (arg6
== NULL
) SWIG_fail
;
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= wxPyMake_wxObject(result
, 0);
33483 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33484 PyObject
*resultobj
;
33485 wxMenu
*arg1
= (wxMenu
*) 0 ;
33486 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33487 wxMenuItem
*result
;
33488 PyObject
* obj0
= 0 ;
33489 PyObject
* obj1
= 0 ;
33490 char *kwnames
[] = {
33491 (char *) "self",(char *) "item", NULL
33494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33496 if (SWIG_arg_fail(1)) SWIG_fail
;
33497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33498 if (SWIG_arg_fail(2)) SWIG_fail
;
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33507 resultobj
= wxPyMake_wxObject(result
, 0);
33515 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
;
33517 wxMenu
*arg1
= (wxMenu
*) 0 ;
33519 wxString
*arg3
= 0 ;
33520 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33521 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33522 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33523 wxMenuItem
*result
;
33524 bool temp3
= false ;
33525 bool temp4
= false ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 PyObject
* obj2
= 0 ;
33529 PyObject
* obj3
= 0 ;
33530 PyObject
* obj4
= 0 ;
33531 char *kwnames
[] = {
33532 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33537 if (SWIG_arg_fail(1)) SWIG_fail
;
33539 arg2
= (int)(SWIG_As_int(obj1
));
33540 if (SWIG_arg_fail(2)) SWIG_fail
;
33543 arg3
= wxString_in_helper(obj2
);
33544 if (arg3
== NULL
) SWIG_fail
;
33549 arg4
= wxString_in_helper(obj3
);
33550 if (arg4
== NULL
) SWIG_fail
;
33556 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33557 if (SWIG_arg_fail(5)) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= wxPyMake_wxObject(result
, 0);
33592 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33593 PyObject
*resultobj
;
33594 wxMenu
*arg1
= (wxMenu
*) 0 ;
33595 wxMenuItem
*result
;
33596 PyObject
* obj0
= 0 ;
33597 char *kwnames
[] = {
33598 (char *) "self", NULL
33601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33603 if (SWIG_arg_fail(1)) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= wxPyMake_wxObject(result
, 0);
33620 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
;
33622 wxMenu
*arg1
= (wxMenu
*) 0 ;
33624 wxString
*arg3
= 0 ;
33625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33627 wxMenuItem
*result
;
33628 bool temp3
= false ;
33629 bool temp4
= false ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 PyObject
* obj2
= 0 ;
33633 PyObject
* obj3
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
33643 if (SWIG_arg_fail(2)) SWIG_fail
;
33646 arg3
= wxString_in_helper(obj2
);
33647 if (arg3
== NULL
) SWIG_fail
;
33652 arg4
= wxString_in_helper(obj3
);
33653 if (arg4
== NULL
) SWIG_fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= wxPyMake_wxObject(result
, 0);
33689 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33690 PyObject
*resultobj
;
33691 wxMenu
*arg1
= (wxMenu
*) 0 ;
33693 wxString
*arg3
= 0 ;
33694 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33695 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33696 wxMenuItem
*result
;
33697 bool temp3
= false ;
33698 bool temp4
= false ;
33699 PyObject
* obj0
= 0 ;
33700 PyObject
* obj1
= 0 ;
33701 PyObject
* obj2
= 0 ;
33702 PyObject
* obj3
= 0 ;
33703 char *kwnames
[] = {
33704 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33709 if (SWIG_arg_fail(1)) SWIG_fail
;
33711 arg2
= (int)(SWIG_As_int(obj1
));
33712 if (SWIG_arg_fail(2)) SWIG_fail
;
33715 arg3
= wxString_in_helper(obj2
);
33716 if (arg3
== NULL
) SWIG_fail
;
33721 arg4
= wxString_in_helper(obj3
);
33722 if (arg4
== NULL
) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= wxPyMake_wxObject(result
, 0);
33758 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
;
33760 wxMenu
*arg1
= (wxMenu
*) 0 ;
33762 wxString
*arg3
= 0 ;
33763 wxMenu
*arg4
= (wxMenu
*) 0 ;
33764 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33765 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33766 wxMenuItem
*result
;
33767 bool temp3
= false ;
33768 bool temp5
= false ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 PyObject
* obj2
= 0 ;
33772 PyObject
* obj3
= 0 ;
33773 PyObject
* obj4
= 0 ;
33774 char *kwnames
[] = {
33775 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33780 if (SWIG_arg_fail(1)) SWIG_fail
;
33782 arg2
= (int)(SWIG_As_int(obj1
));
33783 if (SWIG_arg_fail(2)) SWIG_fail
;
33786 arg3
= wxString_in_helper(obj2
);
33787 if (arg3
== NULL
) SWIG_fail
;
33790 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33791 if (SWIG_arg_fail(4)) SWIG_fail
;
33794 arg5
= wxString_in_helper(obj4
);
33795 if (arg5
== NULL
) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= wxPyMake_wxObject(result
, 0);
33831 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
;
33833 wxMenu
*arg1
= (wxMenu
*) 0 ;
33835 wxMenuItem
*result
;
33836 PyObject
* obj0
= 0 ;
33837 PyObject
* obj1
= 0 ;
33838 char *kwnames
[] = {
33839 (char *) "self",(char *) "id", NULL
33842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33844 if (SWIG_arg_fail(1)) SWIG_fail
;
33846 arg2
= (int)(SWIG_As_int(obj1
));
33847 if (SWIG_arg_fail(2)) SWIG_fail
;
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= wxPyMake_wxObject(result
, 0);
33865 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
;
33867 wxMenu
*arg1
= (wxMenu
*) 0 ;
33868 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33869 wxMenuItem
*result
;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 char *kwnames
[] = {
33873 (char *) "self",(char *) "item", NULL
33876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33880 if (SWIG_arg_fail(2)) SWIG_fail
;
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33885 wxPyEndAllowThreads(__tstate
);
33886 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= wxPyMake_wxObject(result
, 0);
33897 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
;
33899 wxMenu
*arg1
= (wxMenu
*) 0 ;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self",(char *) "id", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33910 if (SWIG_arg_fail(1)) SWIG_fail
;
33912 arg2
= (int)(SWIG_As_int(obj1
));
33913 if (SWIG_arg_fail(2)) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= (bool)(arg1
)->Delete(arg2
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33931 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33932 PyObject
*resultobj
;
33933 wxMenu
*arg1
= (wxMenu
*) 0 ;
33934 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 char *kwnames
[] = {
33939 (char *) "self",(char *) "item", NULL
33942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33944 if (SWIG_arg_fail(1)) SWIG_fail
;
33945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33946 if (SWIG_arg_fail(2)) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 result
= (bool)(arg1
)->Delete(arg2
);
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33963 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33964 PyObject
*resultobj
;
33965 wxMenu
*arg1
= (wxMenu
*) 0 ;
33966 PyObject
* obj0
= 0 ;
33967 char *kwnames
[] = {
33968 (char *) "self", NULL
33971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33973 if (SWIG_arg_fail(1)) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 wxMenu_Destroy(arg1
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 Py_INCREF(Py_None
); resultobj
= Py_None
;
33988 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
;
33990 wxMenu
*arg1
= (wxMenu
*) 0 ;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self",(char *) "id", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail
;
34003 arg2
= (int)(SWIG_As_int(obj1
));
34004 if (SWIG_arg_fail(2)) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 result
= (bool)(arg1
)->Destroy(arg2
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34022 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34023 PyObject
*resultobj
;
34024 wxMenu
*arg1
= (wxMenu
*) 0 ;
34025 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self",(char *) "item", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail
;
34036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34037 if (SWIG_arg_fail(2)) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (bool)(arg1
)->Destroy(arg2
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34054 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
;
34056 wxMenu
*arg1
= (wxMenu
*) 0 ;
34058 PyObject
* obj0
= 0 ;
34059 char *kwnames
[] = {
34060 (char *) "self", NULL
34063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34065 if (SWIG_arg_fail(1)) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34082 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxMenu
*arg1
= (wxMenu
*) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= result
;
34108 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
;
34110 wxMenu
*arg1
= (wxMenu
*) 0 ;
34111 wxString
*arg2
= 0 ;
34113 bool temp2
= false ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self",(char *) "item", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34122 if (SWIG_arg_fail(1)) SWIG_fail
;
34124 arg2
= wxString_in_helper(obj1
);
34125 if (arg2
== NULL
) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_From_int((int)(result
));
34152 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
;
34154 wxMenu
*arg1
= (wxMenu
*) 0 ;
34156 wxMenuItem
*result
;
34157 PyObject
* obj0
= 0 ;
34158 PyObject
* obj1
= 0 ;
34159 char *kwnames
[] = {
34160 (char *) "self",(char *) "id", NULL
34163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34165 if (SWIG_arg_fail(1)) SWIG_fail
;
34167 arg2
= (int)(SWIG_As_int(obj1
));
34168 if (SWIG_arg_fail(2)) SWIG_fail
;
34171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34172 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34174 wxPyEndAllowThreads(__tstate
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34178 resultobj
= wxPyMake_wxObject(result
, 0);
34186 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34187 PyObject
*resultobj
;
34188 wxMenu
*arg1
= (wxMenu
*) 0 ;
34190 wxMenuItem
*result
;
34191 PyObject
* obj0
= 0 ;
34192 PyObject
* obj1
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self",(char *) "position", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail
;
34201 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34202 if (SWIG_arg_fail(2)) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= wxPyMake_wxObject(result
, 0);
34220 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxMenu
*arg1
= (wxMenu
*) 0 ;
34225 PyObject
* obj0
= 0 ;
34226 PyObject
* obj1
= 0 ;
34227 PyObject
* obj2
= 0 ;
34228 char *kwnames
[] = {
34229 (char *) "self",(char *) "id",(char *) "enable", NULL
34232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34234 if (SWIG_arg_fail(1)) SWIG_fail
;
34236 arg2
= (int)(SWIG_As_int(obj1
));
34237 if (SWIG_arg_fail(2)) SWIG_fail
;
34240 arg3
= (bool)(SWIG_As_bool(obj2
));
34241 if (SWIG_arg_fail(3)) SWIG_fail
;
34244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34245 (arg1
)->Enable(arg2
,arg3
);
34247 wxPyEndAllowThreads(__tstate
);
34248 if (PyErr_Occurred()) SWIG_fail
;
34250 Py_INCREF(Py_None
); resultobj
= Py_None
;
34257 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34258 PyObject
*resultobj
;
34259 wxMenu
*arg1
= (wxMenu
*) 0 ;
34262 PyObject
* obj0
= 0 ;
34263 PyObject
* obj1
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self",(char *) "id", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34270 if (SWIG_arg_fail(1)) SWIG_fail
;
34272 arg2
= (int)(SWIG_As_int(obj1
));
34273 if (SWIG_arg_fail(2)) SWIG_fail
;
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34291 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34292 PyObject
*resultobj
;
34293 wxMenu
*arg1
= (wxMenu
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 PyObject
* obj2
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self",(char *) "id",(char *) "check", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34305 if (SWIG_arg_fail(1)) SWIG_fail
;
34307 arg2
= (int)(SWIG_As_int(obj1
));
34308 if (SWIG_arg_fail(2)) SWIG_fail
;
34311 arg3
= (bool)(SWIG_As_bool(obj2
));
34312 if (SWIG_arg_fail(3)) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->Check(arg2
,arg3
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 Py_INCREF(Py_None
); resultobj
= Py_None
;
34328 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
;
34330 wxMenu
*arg1
= (wxMenu
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "id", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail
;
34343 arg2
= (int)(SWIG_As_int(obj1
));
34344 if (SWIG_arg_fail(2)) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34362 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
;
34364 wxMenu
*arg1
= (wxMenu
*) 0 ;
34366 wxString
*arg3
= 0 ;
34367 bool temp3
= false ;
34368 PyObject
* obj0
= 0 ;
34369 PyObject
* obj1
= 0 ;
34370 PyObject
* obj2
= 0 ;
34371 char *kwnames
[] = {
34372 (char *) "self",(char *) "id",(char *) "label", NULL
34375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34377 if (SWIG_arg_fail(1)) SWIG_fail
;
34379 arg2
= (int)(SWIG_As_int(obj1
));
34380 if (SWIG_arg_fail(2)) SWIG_fail
;
34383 arg3
= wxString_in_helper(obj2
);
34384 if (arg3
== NULL
) SWIG_fail
;
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34389 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34394 Py_INCREF(Py_None
); resultobj
= Py_None
;
34409 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxMenu
*arg1
= (wxMenu
*) 0 ;
34414 PyObject
* obj0
= 0 ;
34415 PyObject
* obj1
= 0 ;
34416 char *kwnames
[] = {
34417 (char *) "self",(char *) "id", NULL
34420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34422 if (SWIG_arg_fail(1)) SWIG_fail
;
34424 arg2
= (int)(SWIG_As_int(obj1
));
34425 if (SWIG_arg_fail(2)) SWIG_fail
;
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34447 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34448 PyObject
*resultobj
;
34449 wxMenu
*arg1
= (wxMenu
*) 0 ;
34451 wxString
*arg3
= 0 ;
34452 bool temp3
= false ;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 PyObject
* obj2
= 0 ;
34456 char *kwnames
[] = {
34457 (char *) "self",(char *) "id",(char *) "helpString", NULL
34460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34462 if (SWIG_arg_fail(1)) SWIG_fail
;
34464 arg2
= (int)(SWIG_As_int(obj1
));
34465 if (SWIG_arg_fail(2)) SWIG_fail
;
34468 arg3
= wxString_in_helper(obj2
);
34469 if (arg3
== NULL
) SWIG_fail
;
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 Py_INCREF(Py_None
); resultobj
= Py_None
;
34494 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34495 PyObject
*resultobj
;
34496 wxMenu
*arg1
= (wxMenu
*) 0 ;
34499 PyObject
* obj0
= 0 ;
34500 PyObject
* obj1
= 0 ;
34501 char *kwnames
[] = {
34502 (char *) "self",(char *) "id", NULL
34505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34507 if (SWIG_arg_fail(1)) SWIG_fail
;
34509 arg2
= (int)(SWIG_As_int(obj1
));
34510 if (SWIG_arg_fail(2)) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34532 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxMenu
*arg1
= (wxMenu
*) 0 ;
34535 wxString
*arg2
= 0 ;
34536 bool temp2
= false ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 char *kwnames
[] = {
34540 (char *) "self",(char *) "title", NULL
34543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34545 if (SWIG_arg_fail(1)) SWIG_fail
;
34547 arg2
= wxString_in_helper(obj1
);
34548 if (arg2
== NULL
) SWIG_fail
;
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 (arg1
)->SetTitle((wxString
const &)*arg2
);
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 Py_INCREF(Py_None
); resultobj
= Py_None
;
34573 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
;
34575 wxMenu
*arg1
= (wxMenu
*) 0 ;
34577 PyObject
* obj0
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "self", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34584 if (SWIG_arg_fail(1)) SWIG_fail
;
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 result
= ((wxMenu
const *)arg1
)->GetTitle();
34589 wxPyEndAllowThreads(__tstate
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34605 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxMenu
*arg1
= (wxMenu
*) 0 ;
34608 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 PyObject
* obj1
= 0 ;
34611 char *kwnames
[] = {
34612 (char *) "self",(char *) "handler", NULL
34615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34617 if (SWIG_arg_fail(1)) SWIG_fail
;
34618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34619 if (SWIG_arg_fail(2)) SWIG_fail
;
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 (arg1
)->SetEventHandler(arg2
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 Py_INCREF(Py_None
); resultobj
= Py_None
;
34634 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxMenu
*arg1
= (wxMenu
*) 0 ;
34637 wxEvtHandler
*result
;
34638 PyObject
* obj0
= 0 ;
34639 char *kwnames
[] = {
34640 (char *) "self", NULL
34643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34645 if (SWIG_arg_fail(1)) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= wxPyMake_wxObject(result
, 0);
34662 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxMenu
*arg1
= (wxMenu
*) 0 ;
34665 wxWindow
*arg2
= (wxWindow
*) 0 ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "self",(char *) "win", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34674 if (SWIG_arg_fail(1)) SWIG_fail
;
34675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(2)) SWIG_fail
;
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 (arg1
)->SetInvokingWindow(arg2
);
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 Py_INCREF(Py_None
); resultobj
= Py_None
;
34691 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34692 PyObject
*resultobj
;
34693 wxMenu
*arg1
= (wxMenu
*) 0 ;
34695 PyObject
* obj0
= 0 ;
34696 char *kwnames
[] = {
34697 (char *) "self", NULL
34700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34702 if (SWIG_arg_fail(1)) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= wxPyMake_wxObject(result
, 0);
34719 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxMenu
*arg1
= (wxMenu
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34730 if (SWIG_arg_fail(1)) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_From_long((long)(result
));
34747 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
;
34749 wxMenu
*arg1
= (wxMenu
*) 0 ;
34750 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self",(char *) "source", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34759 if (SWIG_arg_fail(1)) SWIG_fail
;
34761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(2)) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 (arg1
)->UpdateUI(arg2
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 Py_INCREF(Py_None
); resultobj
= Py_None
;
34778 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
;
34780 wxMenu
*arg1
= (wxMenu
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 char *kwnames
[] = {
34784 (char *) "self", NULL
34787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34789 if (SWIG_arg_fail(1)) SWIG_fail
;
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34798 resultobj
= wxPyMake_wxObject(result
, 0);
34806 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxMenu
*arg1
= (wxMenu
*) 0 ;
34809 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34810 PyObject
* obj0
= 0 ;
34811 PyObject
* obj1
= 0 ;
34812 char *kwnames
[] = {
34813 (char *) "self",(char *) "menubar", NULL
34816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34818 if (SWIG_arg_fail(1)) SWIG_fail
;
34819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34820 if (SWIG_arg_fail(2)) SWIG_fail
;
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 (arg1
)->Attach(arg2
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 Py_INCREF(Py_None
); resultobj
= Py_None
;
34835 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
;
34837 wxMenu
*arg1
= (wxMenu
*) 0 ;
34838 PyObject
* obj0
= 0 ;
34839 char *kwnames
[] = {
34840 (char *) "self", NULL
34843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34845 if (SWIG_arg_fail(1)) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 Py_INCREF(Py_None
); resultobj
= Py_None
;
34860 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
;
34862 wxMenu
*arg1
= (wxMenu
*) 0 ;
34864 PyObject
* obj0
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34871 if (SWIG_arg_fail(1)) SWIG_fail
;
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34888 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
;
34890 wxMenu
*arg1
= (wxMenu
*) 0 ;
34891 wxMenu
*arg2
= (wxMenu
*) 0 ;
34892 PyObject
* obj0
= 0 ;
34893 PyObject
* obj1
= 0 ;
34894 char *kwnames
[] = {
34895 (char *) "self",(char *) "parent", NULL
34898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34900 if (SWIG_arg_fail(1)) SWIG_fail
;
34901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34902 if (SWIG_arg_fail(2)) SWIG_fail
;
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 (arg1
)->SetParent(arg2
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 Py_INCREF(Py_None
); resultobj
= Py_None
;
34917 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34918 PyObject
*resultobj
;
34919 wxMenu
*arg1
= (wxMenu
*) 0 ;
34921 PyObject
* obj0
= 0 ;
34922 char *kwnames
[] = {
34923 (char *) "self", NULL
34926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34928 if (SWIG_arg_fail(1)) SWIG_fail
;
34930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34931 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34937 resultobj
= wxPyMake_wxObject(result
, 0);
34945 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34948 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34950 return Py_BuildValue((char *)"");
34952 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
;
34954 long arg1
= (long) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "style", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34964 arg1
= (long)(SWIG_As_long(obj0
));
34965 if (SWIG_arg_fail(1)) SWIG_fail
;
34969 if (!wxPyCheckForApp()) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34983 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34986 wxMenu
*arg2
= (wxMenu
*) 0 ;
34987 wxString
*arg3
= 0 ;
34989 bool temp3
= false ;
34990 PyObject
* obj0
= 0 ;
34991 PyObject
* obj1
= 0 ;
34992 PyObject
* obj2
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self",(char *) "menu",(char *) "title", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34999 if (SWIG_arg_fail(1)) SWIG_fail
;
35000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35001 if (SWIG_arg_fail(2)) SWIG_fail
;
35003 arg3
= wxString_in_helper(obj2
);
35004 if (arg3
== NULL
) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35031 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
;
35033 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35035 wxMenu
*arg3
= (wxMenu
*) 0 ;
35036 wxString
*arg4
= 0 ;
35038 bool temp4
= false ;
35039 PyObject
* obj0
= 0 ;
35040 PyObject
* obj1
= 0 ;
35041 PyObject
* obj2
= 0 ;
35042 PyObject
* obj3
= 0 ;
35043 char *kwnames
[] = {
35044 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35049 if (SWIG_arg_fail(1)) SWIG_fail
;
35051 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35052 if (SWIG_arg_fail(2)) SWIG_fail
;
35054 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35055 if (SWIG_arg_fail(3)) SWIG_fail
;
35057 arg4
= wxString_in_helper(obj3
);
35058 if (arg4
== NULL
) SWIG_fail
;
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35065 wxPyEndAllowThreads(__tstate
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35085 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
;
35087 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35089 PyObject
* obj0
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35096 if (SWIG_arg_fail(1)) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35113 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35118 PyObject
* obj0
= 0 ;
35119 PyObject
* obj1
= 0 ;
35120 char *kwnames
[] = {
35121 (char *) "self",(char *) "pos", NULL
35124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35126 if (SWIG_arg_fail(1)) SWIG_fail
;
35128 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35129 if (SWIG_arg_fail(2)) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35139 resultobj
= wxPyMake_wxObject(result
, 0);
35147 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35148 PyObject
*resultobj
;
35149 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35151 wxMenu
*arg3
= (wxMenu
*) 0 ;
35152 wxString
*arg4
= 0 ;
35154 bool temp4
= false ;
35155 PyObject
* obj0
= 0 ;
35156 PyObject
* obj1
= 0 ;
35157 PyObject
* obj2
= 0 ;
35158 PyObject
* obj3
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35165 if (SWIG_arg_fail(1)) SWIG_fail
;
35167 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35168 if (SWIG_arg_fail(2)) SWIG_fail
;
35170 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35171 if (SWIG_arg_fail(3)) SWIG_fail
;
35173 arg4
= wxString_in_helper(obj3
);
35174 if (arg4
== NULL
) SWIG_fail
;
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= wxPyMake_wxObject(result
, 0);
35201 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35202 PyObject
*resultobj
;
35203 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 char *kwnames
[] = {
35209 (char *) "self",(char *) "pos", NULL
35212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35214 if (SWIG_arg_fail(1)) SWIG_fail
;
35216 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35217 if (SWIG_arg_fail(2)) SWIG_fail
;
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35227 resultobj
= wxPyMake_wxObject(result
, 0);
35235 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
;
35237 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35240 PyObject
* obj0
= 0 ;
35241 PyObject
* obj1
= 0 ;
35242 PyObject
* obj2
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self",(char *) "pos",(char *) "enable", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35249 if (SWIG_arg_fail(1)) SWIG_fail
;
35251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35252 if (SWIG_arg_fail(2)) SWIG_fail
;
35255 arg3
= (bool)(SWIG_As_bool(obj2
));
35256 if (SWIG_arg_fail(3)) SWIG_fail
;
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 (arg1
)->EnableTop(arg2
,arg3
);
35262 wxPyEndAllowThreads(__tstate
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35265 Py_INCREF(Py_None
); resultobj
= Py_None
;
35272 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
;
35274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35277 PyObject
* obj0
= 0 ;
35278 PyObject
* obj1
= 0 ;
35279 char *kwnames
[] = {
35280 (char *) "self",(char *) "pos", NULL
35283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35285 if (SWIG_arg_fail(1)) SWIG_fail
;
35287 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35288 if (SWIG_arg_fail(2)) SWIG_fail
;
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35306 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35310 wxString
*arg3
= 0 ;
35311 bool temp3
= false ;
35312 PyObject
* obj0
= 0 ;
35313 PyObject
* obj1
= 0 ;
35314 PyObject
* obj2
= 0 ;
35315 char *kwnames
[] = {
35316 (char *) "self",(char *) "pos",(char *) "label", NULL
35319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35321 if (SWIG_arg_fail(1)) SWIG_fail
;
35323 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35324 if (SWIG_arg_fail(2)) SWIG_fail
;
35327 arg3
= wxString_in_helper(obj2
);
35328 if (arg3
== NULL
) SWIG_fail
;
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 Py_INCREF(Py_None
); resultobj
= Py_None
;
35353 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35354 PyObject
*resultobj
;
35355 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35358 PyObject
* obj0
= 0 ;
35359 PyObject
* obj1
= 0 ;
35360 char *kwnames
[] = {
35361 (char *) "self",(char *) "pos", NULL
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35366 if (SWIG_arg_fail(1)) SWIG_fail
;
35368 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35369 if (SWIG_arg_fail(2)) SWIG_fail
;
35372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35373 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35391 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
;
35393 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35394 wxString
*arg2
= 0 ;
35395 wxString
*arg3
= 0 ;
35397 bool temp2
= false ;
35398 bool temp3
= false ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 PyObject
* obj2
= 0 ;
35402 char *kwnames
[] = {
35403 (char *) "self",(char *) "menu",(char *) "item", NULL
35406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35408 if (SWIG_arg_fail(1)) SWIG_fail
;
35410 arg2
= wxString_in_helper(obj1
);
35411 if (arg2
== NULL
) SWIG_fail
;
35415 arg3
= wxString_in_helper(obj2
);
35416 if (arg3
== NULL
) SWIG_fail
;
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35427 resultobj
= SWIG_From_int((int)(result
));
35451 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
;
35453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35455 wxMenuItem
*result
;
35456 PyObject
* obj0
= 0 ;
35457 PyObject
* obj1
= 0 ;
35458 char *kwnames
[] = {
35459 (char *) "self",(char *) "id", NULL
35462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35464 if (SWIG_arg_fail(1)) SWIG_fail
;
35466 arg2
= (int)(SWIG_As_int(obj1
));
35467 if (SWIG_arg_fail(2)) SWIG_fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= wxPyMake_wxObject(result
, 0);
35485 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
;
35487 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35488 wxString
*arg2
= 0 ;
35490 bool temp2
= false ;
35491 PyObject
* obj0
= 0 ;
35492 PyObject
* obj1
= 0 ;
35493 char *kwnames
[] = {
35494 (char *) "self",(char *) "title", NULL
35497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35499 if (SWIG_arg_fail(1)) SWIG_fail
;
35501 arg2
= wxString_in_helper(obj1
);
35502 if (arg2
== NULL
) SWIG_fail
;
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= SWIG_From_int((int)(result
));
35529 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35530 PyObject
*resultobj
;
35531 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 PyObject
* obj2
= 0 ;
35537 char *kwnames
[] = {
35538 (char *) "self",(char *) "id",(char *) "enable", NULL
35541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35543 if (SWIG_arg_fail(1)) SWIG_fail
;
35545 arg2
= (int)(SWIG_As_int(obj1
));
35546 if (SWIG_arg_fail(2)) SWIG_fail
;
35549 arg3
= (bool)(SWIG_As_bool(obj2
));
35550 if (SWIG_arg_fail(3)) SWIG_fail
;
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 (arg1
)->Enable(arg2
,arg3
);
35556 wxPyEndAllowThreads(__tstate
);
35557 if (PyErr_Occurred()) SWIG_fail
;
35559 Py_INCREF(Py_None
); resultobj
= Py_None
;
35566 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
;
35568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35571 PyObject
* obj0
= 0 ;
35572 PyObject
* obj1
= 0 ;
35573 PyObject
* obj2
= 0 ;
35574 char *kwnames
[] = {
35575 (char *) "self",(char *) "id",(char *) "check", NULL
35578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35580 if (SWIG_arg_fail(1)) SWIG_fail
;
35582 arg2
= (int)(SWIG_As_int(obj1
));
35583 if (SWIG_arg_fail(2)) SWIG_fail
;
35586 arg3
= (bool)(SWIG_As_bool(obj2
));
35587 if (SWIG_arg_fail(3)) SWIG_fail
;
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 (arg1
)->Check(arg2
,arg3
);
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35596 Py_INCREF(Py_None
); resultobj
= Py_None
;
35603 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
;
35605 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35608 PyObject
* obj0
= 0 ;
35609 PyObject
* obj1
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self",(char *) "id", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35616 if (SWIG_arg_fail(1)) SWIG_fail
;
35618 arg2
= (int)(SWIG_As_int(obj1
));
35619 if (SWIG_arg_fail(2)) SWIG_fail
;
35622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35623 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35625 wxPyEndAllowThreads(__tstate
);
35626 if (PyErr_Occurred()) SWIG_fail
;
35629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35637 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35642 PyObject
* obj0
= 0 ;
35643 PyObject
* obj1
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self",(char *) "id", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35650 if (SWIG_arg_fail(1)) SWIG_fail
;
35652 arg2
= (int)(SWIG_As_int(obj1
));
35653 if (SWIG_arg_fail(2)) SWIG_fail
;
35656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35671 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35672 PyObject
*resultobj
;
35673 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35675 wxString
*arg3
= 0 ;
35676 bool temp3
= false ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 PyObject
* obj2
= 0 ;
35680 char *kwnames
[] = {
35681 (char *) "self",(char *) "id",(char *) "label", NULL
35684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35686 if (SWIG_arg_fail(1)) SWIG_fail
;
35688 arg2
= (int)(SWIG_As_int(obj1
));
35689 if (SWIG_arg_fail(2)) SWIG_fail
;
35692 arg3
= wxString_in_helper(obj2
);
35693 if (arg3
== NULL
) SWIG_fail
;
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35700 wxPyEndAllowThreads(__tstate
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35703 Py_INCREF(Py_None
); resultobj
= Py_None
;
35718 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35719 PyObject
*resultobj
;
35720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self",(char *) "id", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35731 if (SWIG_arg_fail(1)) SWIG_fail
;
35733 arg2
= (int)(SWIG_As_int(obj1
));
35734 if (SWIG_arg_fail(2)) SWIG_fail
;
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35756 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
;
35758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35760 wxString
*arg3
= 0 ;
35761 bool temp3
= false ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 PyObject
* obj2
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self",(char *) "id",(char *) "helpString", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35771 if (SWIG_arg_fail(1)) SWIG_fail
;
35773 arg2
= (int)(SWIG_As_int(obj1
));
35774 if (SWIG_arg_fail(2)) SWIG_fail
;
35777 arg3
= wxString_in_helper(obj2
);
35778 if (arg3
== NULL
) SWIG_fail
;
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35785 wxPyEndAllowThreads(__tstate
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35788 Py_INCREF(Py_None
); resultobj
= Py_None
;
35803 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
;
35805 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35808 PyObject
* obj0
= 0 ;
35809 PyObject
* obj1
= 0 ;
35810 char *kwnames
[] = {
35811 (char *) "self",(char *) "id", NULL
35814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35816 if (SWIG_arg_fail(1)) SWIG_fail
;
35818 arg2
= (int)(SWIG_As_int(obj1
));
35819 if (SWIG_arg_fail(2)) SWIG_fail
;
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35841 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
;
35843 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 char *kwnames
[] = {
35847 (char *) "self", NULL
35850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35852 if (SWIG_arg_fail(1)) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35861 resultobj
= wxPyMake_wxObject(result
, 0);
35869 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
;
35871 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35873 PyObject
* obj0
= 0 ;
35874 char *kwnames
[] = {
35875 (char *) "self", NULL
35878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35880 if (SWIG_arg_fail(1)) SWIG_fail
;
35882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35883 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35885 wxPyEndAllowThreads(__tstate
);
35886 if (PyErr_Occurred()) SWIG_fail
;
35889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35897 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
;
35899 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35900 wxFrame
*arg2
= (wxFrame
*) 0 ;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char *kwnames
[] = {
35904 (char *) "self",(char *) "frame", NULL
35907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35909 if (SWIG_arg_fail(1)) SWIG_fail
;
35910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35911 if (SWIG_arg_fail(2)) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->Attach(arg2
);
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 Py_INCREF(Py_None
); resultobj
= Py_None
;
35926 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
;
35928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 char *kwnames
[] = {
35931 (char *) "self", NULL
35934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35936 if (SWIG_arg_fail(1)) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 Py_INCREF(Py_None
); resultobj
= Py_None
;
35951 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35954 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35956 return Py_BuildValue((char *)"");
35958 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35959 PyObject
*resultobj
;
35960 wxMenu
*arg1
= (wxMenu
*) NULL
;
35961 int arg2
= (int) wxID_ANY
;
35962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35966 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35967 wxMenu
*arg6
= (wxMenu
*) NULL
;
35968 wxMenuItem
*result
;
35969 bool temp3
= false ;
35970 bool temp4
= false ;
35971 PyObject
* obj0
= 0 ;
35972 PyObject
* obj1
= 0 ;
35973 PyObject
* obj2
= 0 ;
35974 PyObject
* obj3
= 0 ;
35975 PyObject
* obj4
= 0 ;
35976 PyObject
* obj5
= 0 ;
35977 char *kwnames
[] = {
35978 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35984 if (SWIG_arg_fail(1)) SWIG_fail
;
35988 arg2
= (int)(SWIG_As_int(obj1
));
35989 if (SWIG_arg_fail(2)) SWIG_fail
;
35994 arg3
= wxString_in_helper(obj2
);
35995 if (arg3
== NULL
) SWIG_fail
;
36001 arg4
= wxString_in_helper(obj3
);
36002 if (arg4
== NULL
) SWIG_fail
;
36008 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36009 if (SWIG_arg_fail(5)) SWIG_fail
;
36013 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36014 if (SWIG_arg_fail(6)) SWIG_fail
;
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36020 wxPyEndAllowThreads(__tstate
);
36021 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= wxPyMake_wxObject(result
, 1);
36048 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
;
36050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36052 PyObject
* obj0
= 0 ;
36053 char *kwnames
[] = {
36054 (char *) "self", NULL
36057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36059 if (SWIG_arg_fail(1)) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= wxPyMake_wxObject(result
, 0);
36076 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36077 PyObject
*resultobj
;
36078 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36079 wxMenu
*arg2
= (wxMenu
*) 0 ;
36080 PyObject
* obj0
= 0 ;
36081 PyObject
* obj1
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self",(char *) "menu", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36088 if (SWIG_arg_fail(1)) SWIG_fail
;
36089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36090 if (SWIG_arg_fail(2)) SWIG_fail
;
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 (arg1
)->SetMenu(arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 Py_INCREF(Py_None
); resultobj
= Py_None
;
36105 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 PyObject
* obj1
= 0 ;
36111 char *kwnames
[] = {
36112 (char *) "self",(char *) "id", NULL
36115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36117 if (SWIG_arg_fail(1)) SWIG_fail
;
36119 arg2
= (int)(SWIG_As_int(obj1
));
36120 if (SWIG_arg_fail(2)) SWIG_fail
;
36123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36124 (arg1
)->SetId(arg2
);
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 Py_INCREF(Py_None
); resultobj
= Py_None
;
36136 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36147 if (SWIG_arg_fail(1)) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36156 resultobj
= SWIG_From_int((int)(result
));
36164 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
;
36166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36168 PyObject
* obj0
= 0 ;
36169 char *kwnames
[] = {
36170 (char *) "self", NULL
36173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36175 if (SWIG_arg_fail(1)) SWIG_fail
;
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36192 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36193 PyObject
*resultobj
;
36194 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36195 wxString
*arg2
= 0 ;
36196 bool temp2
= false ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 char *kwnames
[] = {
36200 (char *) "self",(char *) "str", NULL
36203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36205 if (SWIG_arg_fail(1)) SWIG_fail
;
36207 arg2
= wxString_in_helper(obj1
);
36208 if (arg2
== NULL
) SWIG_fail
;
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 (arg1
)->SetText((wxString
const &)*arg2
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 Py_INCREF(Py_None
); resultobj
= Py_None
;
36233 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36234 PyObject
*resultobj
;
36235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36237 PyObject
* obj0
= 0 ;
36238 char *kwnames
[] = {
36239 (char *) "self", NULL
36242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36244 if (SWIG_arg_fail(1)) SWIG_fail
;
36246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36247 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36249 wxPyEndAllowThreads(__tstate
);
36250 if (PyErr_Occurred()) SWIG_fail
;
36254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36265 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36266 PyObject
*resultobj
;
36267 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36269 PyObject
* obj0
= 0 ;
36270 char *kwnames
[] = {
36271 (char *) "self", NULL
36274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36276 if (SWIG_arg_fail(1)) SWIG_fail
;
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36281 result
= (wxString
*) &_result_ref
;
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36291 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36300 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36301 PyObject
*resultobj
;
36302 wxString
*arg1
= 0 ;
36304 bool temp1
= false ;
36305 PyObject
* obj0
= 0 ;
36306 char *kwnames
[] = {
36307 (char *) "text", NULL
36310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36312 arg1
= wxString_in_helper(obj0
);
36313 if (arg1
== NULL
) SWIG_fail
;
36317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36318 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36320 wxPyEndAllowThreads(__tstate
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36344 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36345 PyObject
*resultobj
;
36346 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36348 PyObject
* obj0
= 0 ;
36349 char *kwnames
[] = {
36350 (char *) "self", NULL
36353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36355 if (SWIG_arg_fail(1)) SWIG_fail
;
36357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36358 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_From_int((result
));
36370 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
;
36372 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 char *kwnames
[] = {
36377 (char *) "self",(char *) "kind", NULL
36380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36382 if (SWIG_arg_fail(1)) SWIG_fail
;
36384 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36385 if (SWIG_arg_fail(2)) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 (arg1
)->SetKind((wxItemKind
)arg2
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 Py_INCREF(Py_None
); resultobj
= Py_None
;
36401 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36405 PyObject
* obj0
= 0 ;
36406 PyObject
* obj1
= 0 ;
36407 char *kwnames
[] = {
36408 (char *) "self",(char *) "checkable", NULL
36411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36413 if (SWIG_arg_fail(1)) SWIG_fail
;
36415 arg2
= (bool)(SWIG_As_bool(obj1
));
36416 if (SWIG_arg_fail(2)) SWIG_fail
;
36419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36420 (arg1
)->SetCheckable(arg2
);
36422 wxPyEndAllowThreads(__tstate
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36425 Py_INCREF(Py_None
); resultobj
= Py_None
;
36432 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36433 PyObject
*resultobj
;
36434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36436 PyObject
* obj0
= 0 ;
36437 char *kwnames
[] = {
36438 (char *) "self", NULL
36441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36443 if (SWIG_arg_fail(1)) SWIG_fail
;
36445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36446 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36448 wxPyEndAllowThreads(__tstate
);
36449 if (PyErr_Occurred()) SWIG_fail
;
36452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36460 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36461 PyObject
*resultobj
;
36462 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36464 PyObject
* obj0
= 0 ;
36465 char *kwnames
[] = {
36466 (char *) "self", NULL
36469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36471 if (SWIG_arg_fail(1)) SWIG_fail
;
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36488 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36489 PyObject
*resultobj
;
36490 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36491 wxMenu
*arg2
= (wxMenu
*) 0 ;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 char *kwnames
[] = {
36495 (char *) "self",(char *) "menu", NULL
36498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36500 if (SWIG_arg_fail(1)) SWIG_fail
;
36501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36502 if (SWIG_arg_fail(2)) SWIG_fail
;
36504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 (arg1
)->SetSubMenu(arg2
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 Py_INCREF(Py_None
); resultobj
= Py_None
;
36517 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36518 PyObject
*resultobj
;
36519 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36521 PyObject
* obj0
= 0 ;
36522 char *kwnames
[] = {
36523 (char *) "self", NULL
36526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36528 if (SWIG_arg_fail(1)) SWIG_fail
;
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36537 resultobj
= wxPyMake_wxObject(result
, 0);
36545 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
;
36547 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36548 bool arg2
= (bool) true ;
36549 PyObject
* obj0
= 0 ;
36550 PyObject
* obj1
= 0 ;
36551 char *kwnames
[] = {
36552 (char *) "self",(char *) "enable", NULL
36555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36557 if (SWIG_arg_fail(1)) SWIG_fail
;
36560 arg2
= (bool)(SWIG_As_bool(obj1
));
36561 if (SWIG_arg_fail(2)) SWIG_fail
;
36565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36566 (arg1
)->Enable(arg2
);
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36571 Py_INCREF(Py_None
); resultobj
= Py_None
;
36578 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36579 PyObject
*resultobj
;
36580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36582 PyObject
* obj0
= 0 ;
36583 char *kwnames
[] = {
36584 (char *) "self", NULL
36587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36589 if (SWIG_arg_fail(1)) SWIG_fail
;
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36606 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
;
36608 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36609 bool arg2
= (bool) true ;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 char *kwnames
[] = {
36613 (char *) "self",(char *) "check", NULL
36616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36618 if (SWIG_arg_fail(1)) SWIG_fail
;
36621 arg2
= (bool)(SWIG_As_bool(obj1
));
36622 if (SWIG_arg_fail(2)) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 (arg1
)->Check(arg2
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 Py_INCREF(Py_None
); resultobj
= Py_None
;
36639 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
;
36641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36643 PyObject
* obj0
= 0 ;
36644 char *kwnames
[] = {
36645 (char *) "self", NULL
36648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36650 if (SWIG_arg_fail(1)) SWIG_fail
;
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36667 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36668 PyObject
*resultobj
;
36669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 char *kwnames
[] = {
36672 (char *) "self", NULL
36675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36677 if (SWIG_arg_fail(1)) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 Py_INCREF(Py_None
); resultobj
= Py_None
;
36692 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
;
36694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36695 wxString
*arg2
= 0 ;
36696 bool temp2
= false ;
36697 PyObject
* obj0
= 0 ;
36698 PyObject
* obj1
= 0 ;
36699 char *kwnames
[] = {
36700 (char *) "self",(char *) "str", NULL
36703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36705 if (SWIG_arg_fail(1)) SWIG_fail
;
36707 arg2
= wxString_in_helper(obj1
);
36708 if (arg2
== NULL
) SWIG_fail
;
36712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36713 (arg1
)->SetHelp((wxString
const &)*arg2
);
36715 wxPyEndAllowThreads(__tstate
);
36716 if (PyErr_Occurred()) SWIG_fail
;
36718 Py_INCREF(Py_None
); resultobj
= Py_None
;
36733 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36734 PyObject
*resultobj
;
36735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36737 PyObject
* obj0
= 0 ;
36738 char *kwnames
[] = {
36739 (char *) "self", NULL
36742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36744 if (SWIG_arg_fail(1)) SWIG_fail
;
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36749 result
= (wxString
*) &_result_ref
;
36752 wxPyEndAllowThreads(__tstate
);
36753 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36768 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
;
36770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36771 wxAcceleratorEntry
*result
;
36772 PyObject
* obj0
= 0 ;
36773 char *kwnames
[] = {
36774 (char *) "self", NULL
36777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36779 if (SWIG_arg_fail(1)) SWIG_fail
;
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36784 wxPyEndAllowThreads(__tstate
);
36785 if (PyErr_Occurred()) SWIG_fail
;
36787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36794 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36795 PyObject
*resultobj
;
36796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36797 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36798 PyObject
* obj0
= 0 ;
36799 PyObject
* obj1
= 0 ;
36800 char *kwnames
[] = {
36801 (char *) "self",(char *) "accel", NULL
36804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36806 if (SWIG_arg_fail(1)) SWIG_fail
;
36807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36808 if (SWIG_arg_fail(2)) SWIG_fail
;
36810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36811 (arg1
)->SetAccel(arg2
);
36813 wxPyEndAllowThreads(__tstate
);
36814 if (PyErr_Occurred()) SWIG_fail
;
36816 Py_INCREF(Py_None
); resultobj
= Py_None
;
36823 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36824 PyObject
*resultobj
;
36825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36827 PyObject
* obj0
= 0 ;
36828 PyObject
* obj1
= 0 ;
36829 char *kwnames
[] = {
36830 (char *) "self",(char *) "font", NULL
36833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36835 if (SWIG_arg_fail(1)) SWIG_fail
;
36837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36838 if (SWIG_arg_fail(2)) SWIG_fail
;
36839 if (arg2
== NULL
) {
36840 SWIG_null_ref("wxFont");
36842 if (SWIG_arg_fail(2)) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->SetFont((wxFont
const &)*arg2
);
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36851 Py_INCREF(Py_None
); resultobj
= Py_None
;
36858 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
;
36860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36862 PyObject
* obj0
= 0 ;
36863 char *kwnames
[] = {
36864 (char *) "self", NULL
36867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36869 if (SWIG_arg_fail(1)) SWIG_fail
;
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 result
= (arg1
)->GetFont();
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36878 wxFont
* resultptr
;
36879 resultptr
= new wxFont((wxFont
&)(result
));
36880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36888 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36889 PyObject
*resultobj
;
36890 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36891 wxColour
*arg2
= 0 ;
36893 PyObject
* obj0
= 0 ;
36894 PyObject
* obj1
= 0 ;
36895 char *kwnames
[] = {
36896 (char *) "self",(char *) "colText", NULL
36899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36901 if (SWIG_arg_fail(1)) SWIG_fail
;
36904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 Py_INCREF(Py_None
); resultobj
= Py_None
;
36920 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
;
36922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36924 PyObject
* obj0
= 0 ;
36925 char *kwnames
[] = {
36926 (char *) "self", NULL
36929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36931 if (SWIG_arg_fail(1)) SWIG_fail
;
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 result
= (arg1
)->GetTextColour();
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36940 wxColour
* resultptr
;
36941 resultptr
= new wxColour((wxColour
&)(result
));
36942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36950 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
;
36952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36953 wxColour
*arg2
= 0 ;
36955 PyObject
* obj0
= 0 ;
36956 PyObject
* obj1
= 0 ;
36957 char *kwnames
[] = {
36958 (char *) "self",(char *) "colBack", NULL
36961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36963 if (SWIG_arg_fail(1)) SWIG_fail
;
36966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 Py_INCREF(Py_None
); resultobj
= Py_None
;
36982 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36983 PyObject
*resultobj
;
36984 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36986 PyObject
* obj0
= 0 ;
36987 char *kwnames
[] = {
36988 (char *) "self", NULL
36991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36993 if (SWIG_arg_fail(1)) SWIG_fail
;
36995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36996 result
= (arg1
)->GetBackgroundColour();
36998 wxPyEndAllowThreads(__tstate
);
36999 if (PyErr_Occurred()) SWIG_fail
;
37002 wxColour
* resultptr
;
37003 resultptr
= new wxColour((wxColour
&)(result
));
37004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37012 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37013 PyObject
*resultobj
;
37014 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37015 wxBitmap
*arg2
= 0 ;
37016 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37017 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37018 PyObject
* obj0
= 0 ;
37019 PyObject
* obj1
= 0 ;
37020 PyObject
* obj2
= 0 ;
37021 char *kwnames
[] = {
37022 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37027 if (SWIG_arg_fail(1)) SWIG_fail
;
37029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37030 if (SWIG_arg_fail(2)) SWIG_fail
;
37031 if (arg2
== NULL
) {
37032 SWIG_null_ref("wxBitmap");
37034 if (SWIG_arg_fail(2)) SWIG_fail
;
37038 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37039 if (SWIG_arg_fail(3)) SWIG_fail
;
37040 if (arg3
== NULL
) {
37041 SWIG_null_ref("wxBitmap");
37043 if (SWIG_arg_fail(3)) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37053 Py_INCREF(Py_None
); resultobj
= Py_None
;
37060 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
;
37062 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37063 wxBitmap
*arg2
= 0 ;
37064 PyObject
* obj0
= 0 ;
37065 PyObject
* obj1
= 0 ;
37066 char *kwnames
[] = {
37067 (char *) "self",(char *) "bmpDisabled", NULL
37070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37072 if (SWIG_arg_fail(1)) SWIG_fail
;
37074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37075 if (SWIG_arg_fail(2)) SWIG_fail
;
37076 if (arg2
== NULL
) {
37077 SWIG_null_ref("wxBitmap");
37079 if (SWIG_arg_fail(2)) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 Py_INCREF(Py_None
); resultobj
= Py_None
;
37095 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
;
37097 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37099 PyObject
* obj0
= 0 ;
37100 char *kwnames
[] = {
37101 (char *) "self", NULL
37104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37106 if (SWIG_arg_fail(1)) SWIG_fail
;
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37111 result
= (wxBitmap
*) &_result_ref
;
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37118 wxBitmap
* resultptr
= new wxBitmap(*result
);
37119 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37127 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
;
37129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37131 PyObject
* obj0
= 0 ;
37132 PyObject
* obj1
= 0 ;
37133 char *kwnames
[] = {
37134 (char *) "self",(char *) "nWidth", NULL
37137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37139 if (SWIG_arg_fail(1)) SWIG_fail
;
37141 arg2
= (int)(SWIG_As_int(obj1
));
37142 if (SWIG_arg_fail(2)) SWIG_fail
;
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 (arg1
)->SetMarginWidth(arg2
);
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 Py_INCREF(Py_None
); resultobj
= Py_None
;
37158 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
;
37160 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37162 PyObject
* obj0
= 0 ;
37163 char *kwnames
[] = {
37164 (char *) "self", NULL
37167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37169 if (SWIG_arg_fail(1)) SWIG_fail
;
37171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37172 result
= (int)(arg1
)->GetMarginWidth();
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37178 resultobj
= SWIG_From_int((int)(result
));
37186 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37187 PyObject
*resultobj
;
37189 char *kwnames
[] = {
37193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37202 resultobj
= SWIG_From_int((int)(result
));
37210 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37211 PyObject
*resultobj
;
37212 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37214 PyObject
* obj0
= 0 ;
37215 char *kwnames
[] = {
37216 (char *) "self", NULL
37219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37221 if (SWIG_arg_fail(1)) SWIG_fail
;
37223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37224 result
= (bool)(arg1
)->IsOwnerDrawn();
37226 wxPyEndAllowThreads(__tstate
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37238 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
;
37240 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37241 bool arg2
= (bool) true ;
37242 PyObject
* obj0
= 0 ;
37243 PyObject
* obj1
= 0 ;
37244 char *kwnames
[] = {
37245 (char *) "self",(char *) "ownerDrawn", NULL
37248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37250 if (SWIG_arg_fail(1)) SWIG_fail
;
37253 arg2
= (bool)(SWIG_As_bool(obj1
));
37254 if (SWIG_arg_fail(2)) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 (arg1
)->SetOwnerDrawn(arg2
);
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37264 Py_INCREF(Py_None
); resultobj
= Py_None
;
37271 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37272 PyObject
*resultobj
;
37273 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37274 PyObject
* obj0
= 0 ;
37275 char *kwnames
[] = {
37276 (char *) "self", NULL
37279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37281 if (SWIG_arg_fail(1)) SWIG_fail
;
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->ResetOwnerDrawn();
37286 wxPyEndAllowThreads(__tstate
);
37287 if (PyErr_Occurred()) SWIG_fail
;
37289 Py_INCREF(Py_None
); resultobj
= Py_None
;
37296 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37297 PyObject
*resultobj
;
37298 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37299 wxBitmap
*arg2
= 0 ;
37300 PyObject
* obj0
= 0 ;
37301 PyObject
* obj1
= 0 ;
37302 char *kwnames
[] = {
37303 (char *) "self",(char *) "bitmap", NULL
37306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37308 if (SWIG_arg_fail(1)) SWIG_fail
;
37310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37311 if (SWIG_arg_fail(2)) SWIG_fail
;
37312 if (arg2
== NULL
) {
37313 SWIG_null_ref("wxBitmap");
37315 if (SWIG_arg_fail(2)) SWIG_fail
;
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 Py_INCREF(Py_None
); resultobj
= Py_None
;
37331 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
;
37333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37335 PyObject
* obj0
= 0 ;
37336 char *kwnames
[] = {
37337 (char *) "self", NULL
37340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37342 if (SWIG_arg_fail(1)) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37346 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37347 result
= (wxBitmap
*) &_result_ref
;
37350 wxPyEndAllowThreads(__tstate
);
37351 if (PyErr_Occurred()) SWIG_fail
;
37354 wxBitmap
* resultptr
= new wxBitmap(*result
);
37355 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37363 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37366 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37368 return Py_BuildValue((char *)"");
37370 static int _wrap_ControlNameStr_set(PyObject
*) {
37371 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37376 static PyObject
*_wrap_ControlNameStr_get(void) {
37381 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37383 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37390 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
;
37392 wxWindow
*arg1
= (wxWindow
*) 0 ;
37393 int arg2
= (int) -1 ;
37394 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37395 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37396 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37397 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37398 long arg5
= (long) 0 ;
37399 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37400 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37401 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37406 bool temp7
= false ;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37409 PyObject
* obj2
= 0 ;
37410 PyObject
* obj3
= 0 ;
37411 PyObject
* obj4
= 0 ;
37412 PyObject
* obj5
= 0 ;
37413 PyObject
* obj6
= 0 ;
37414 char *kwnames
[] = {
37415 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37420 if (SWIG_arg_fail(1)) SWIG_fail
;
37423 arg2
= (int)(SWIG_As_int(obj1
));
37424 if (SWIG_arg_fail(2)) SWIG_fail
;
37430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37436 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37441 arg5
= (long)(SWIG_As_long(obj4
));
37442 if (SWIG_arg_fail(5)) SWIG_fail
;
37447 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37448 if (SWIG_arg_fail(6)) SWIG_fail
;
37449 if (arg6
== NULL
) {
37450 SWIG_null_ref("wxValidator");
37452 if (SWIG_arg_fail(6)) SWIG_fail
;
37457 arg7
= wxString_in_helper(obj6
);
37458 if (arg7
== NULL
) SWIG_fail
;
37463 if (!wxPyCheckForApp()) SWIG_fail
;
37464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37465 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37467 wxPyEndAllowThreads(__tstate
);
37468 if (PyErr_Occurred()) SWIG_fail
;
37470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37485 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37486 PyObject
*resultobj
;
37488 char *kwnames
[] = {
37492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37494 if (!wxPyCheckForApp()) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= (wxControl
*)new wxControl();
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37508 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
;
37510 wxControl
*arg1
= (wxControl
*) 0 ;
37511 wxWindow
*arg2
= (wxWindow
*) 0 ;
37512 int arg3
= (int) -1 ;
37513 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37514 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37515 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37516 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37517 long arg6
= (long) 0 ;
37518 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37519 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37520 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37521 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37525 bool temp8
= false ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 PyObject
* obj2
= 0 ;
37529 PyObject
* obj3
= 0 ;
37530 PyObject
* obj4
= 0 ;
37531 PyObject
* obj5
= 0 ;
37532 PyObject
* obj6
= 0 ;
37533 PyObject
* obj7
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37540 if (SWIG_arg_fail(1)) SWIG_fail
;
37541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37542 if (SWIG_arg_fail(2)) SWIG_fail
;
37545 arg3
= (int)(SWIG_As_int(obj2
));
37546 if (SWIG_arg_fail(3)) SWIG_fail
;
37552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37563 arg6
= (long)(SWIG_As_long(obj5
));
37564 if (SWIG_arg_fail(6)) SWIG_fail
;
37569 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37570 if (SWIG_arg_fail(7)) SWIG_fail
;
37571 if (arg7
== NULL
) {
37572 SWIG_null_ref("wxValidator");
37574 if (SWIG_arg_fail(7)) SWIG_fail
;
37579 arg8
= wxString_in_helper(obj7
);
37580 if (arg8
== NULL
) SWIG_fail
;
37585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37608 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxControl
*arg1
= (wxControl
*) 0 ;
37611 wxCommandEvent
*arg2
= 0 ;
37612 PyObject
* obj0
= 0 ;
37613 PyObject
* obj1
= 0 ;
37614 char *kwnames
[] = {
37615 (char *) "self",(char *) "event", NULL
37618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37620 if (SWIG_arg_fail(1)) SWIG_fail
;
37622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37623 if (SWIG_arg_fail(2)) SWIG_fail
;
37624 if (arg2
== NULL
) {
37625 SWIG_null_ref("wxCommandEvent");
37627 if (SWIG_arg_fail(2)) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 (arg1
)->Command(*arg2
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 Py_INCREF(Py_None
); resultobj
= Py_None
;
37643 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
;
37645 wxControl
*arg1
= (wxControl
*) 0 ;
37647 PyObject
* obj0
= 0 ;
37648 char *kwnames
[] = {
37649 (char *) "self", NULL
37652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37654 if (SWIG_arg_fail(1)) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= (arg1
)->GetLabel();
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37675 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37676 PyObject
*resultobj
;
37677 wxControl
*arg1
= (wxControl
*) 0 ;
37678 wxString
*arg2
= 0 ;
37679 bool temp2
= false ;
37680 PyObject
* obj0
= 0 ;
37681 PyObject
* obj1
= 0 ;
37682 char *kwnames
[] = {
37683 (char *) "self",(char *) "label", NULL
37686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37688 if (SWIG_arg_fail(1)) SWIG_fail
;
37690 arg2
= wxString_in_helper(obj1
);
37691 if (arg2
== NULL
) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 (arg1
)->SetLabel((wxString
const &)*arg2
);
37698 wxPyEndAllowThreads(__tstate
);
37699 if (PyErr_Occurred()) SWIG_fail
;
37701 Py_INCREF(Py_None
); resultobj
= Py_None
;
37716 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37719 wxVisualAttributes result
;
37720 PyObject
* obj0
= 0 ;
37721 char *kwnames
[] = {
37722 (char *) "variant", NULL
37725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37728 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37729 if (SWIG_arg_fail(1)) SWIG_fail
;
37733 if (!wxPyCheckForApp()) SWIG_fail
;
37734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37735 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37741 wxVisualAttributes
* resultptr
;
37742 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37751 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37754 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37756 return Py_BuildValue((char *)"");
37758 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37761 wxString
*arg2
= 0 ;
37762 PyObject
*arg3
= (PyObject
*) NULL
;
37764 bool temp2
= false ;
37765 PyObject
* obj0
= 0 ;
37766 PyObject
* obj1
= 0 ;
37767 PyObject
* obj2
= 0 ;
37768 char *kwnames
[] = {
37769 (char *) "self",(char *) "item",(char *) "clientData", NULL
37772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37774 if (SWIG_arg_fail(1)) SWIG_fail
;
37776 arg2
= wxString_in_helper(obj1
);
37777 if (arg2
== NULL
) SWIG_fail
;
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= SWIG_From_int((int)(result
));
37807 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37808 PyObject
*resultobj
;
37809 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37810 wxArrayString
*arg2
= 0 ;
37811 bool temp2
= false ;
37812 PyObject
* obj0
= 0 ;
37813 PyObject
* obj1
= 0 ;
37814 char *kwnames
[] = {
37815 (char *) "self",(char *) "strings", NULL
37818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37820 if (SWIG_arg_fail(1)) SWIG_fail
;
37822 if (! PySequence_Check(obj1
)) {
37823 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37826 arg2
= new wxArrayString
;
37828 int i
, len
=PySequence_Length(obj1
);
37829 for (i
=0; i
<len
; i
++) {
37830 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37832 PyObject
* str
= PyObject_Unicode(item
);
37834 PyObject
* str
= PyObject_Str(item
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37837 arg2
->Add(Py2wxString(str
));
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 (arg1
)->Append((wxArrayString
const &)*arg2
);
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37849 Py_INCREF(Py_None
); resultobj
= Py_None
;
37851 if (temp2
) delete arg2
;
37856 if (temp2
) delete arg2
;
37862 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37863 PyObject
*resultobj
;
37864 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37865 wxString
*arg2
= 0 ;
37867 PyObject
*arg4
= (PyObject
*) NULL
;
37869 bool temp2
= false ;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37872 PyObject
* obj2
= 0 ;
37873 PyObject
* obj3
= 0 ;
37874 char *kwnames
[] = {
37875 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37880 if (SWIG_arg_fail(1)) SWIG_fail
;
37882 arg2
= wxString_in_helper(obj1
);
37883 if (arg2
== NULL
) SWIG_fail
;
37887 arg3
= (int)(SWIG_As_int(obj2
));
37888 if (SWIG_arg_fail(3)) SWIG_fail
;
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= SWIG_From_int((int)(result
));
37917 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37918 PyObject
*resultobj
;
37919 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37920 PyObject
* obj0
= 0 ;
37921 char *kwnames
[] = {
37922 (char *) "self", NULL
37925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37927 if (SWIG_arg_fail(1)) SWIG_fail
;
37929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 wxPyEndAllowThreads(__tstate
);
37933 if (PyErr_Occurred()) SWIG_fail
;
37935 Py_INCREF(Py_None
); resultobj
= Py_None
;
37942 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
;
37944 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37946 PyObject
* obj0
= 0 ;
37947 PyObject
* obj1
= 0 ;
37948 char *kwnames
[] = {
37949 (char *) "self",(char *) "n", NULL
37952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37954 if (SWIG_arg_fail(1)) SWIG_fail
;
37956 arg2
= (int)(SWIG_As_int(obj1
));
37957 if (SWIG_arg_fail(2)) SWIG_fail
;
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 (arg1
)->Delete(arg2
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37966 Py_INCREF(Py_None
); resultobj
= Py_None
;
37973 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
;
37975 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37978 PyObject
* obj0
= 0 ;
37979 PyObject
* obj1
= 0 ;
37980 char *kwnames
[] = {
37981 (char *) "self",(char *) "n", NULL
37984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37986 if (SWIG_arg_fail(1)) SWIG_fail
;
37988 arg2
= (int)(SWIG_As_int(obj1
));
37989 if (SWIG_arg_fail(2)) SWIG_fail
;
37992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37993 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37995 wxPyEndAllowThreads(__tstate
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37998 resultobj
= result
;
38005 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38006 PyObject
*resultobj
;
38007 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38009 PyObject
*arg3
= (PyObject
*) 0 ;
38010 PyObject
* obj0
= 0 ;
38011 PyObject
* obj1
= 0 ;
38012 PyObject
* obj2
= 0 ;
38013 char *kwnames
[] = {
38014 (char *) "self",(char *) "n",(char *) "clientData", NULL
38017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38019 if (SWIG_arg_fail(1)) SWIG_fail
;
38021 arg2
= (int)(SWIG_As_int(obj1
));
38022 if (SWIG_arg_fail(2)) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38029 wxPyEndAllowThreads(__tstate
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38032 Py_INCREF(Py_None
); resultobj
= Py_None
;
38039 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38040 PyObject
*resultobj
;
38041 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38043 PyObject
* obj0
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38050 if (SWIG_arg_fail(1)) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= SWIG_From_int((int)(result
));
38067 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
;
38069 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38071 PyObject
* obj0
= 0 ;
38072 char *kwnames
[] = {
38073 (char *) "self", NULL
38076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38078 if (SWIG_arg_fail(1)) SWIG_fail
;
38080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38081 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38083 wxPyEndAllowThreads(__tstate
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38095 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38096 PyObject
*resultobj
;
38097 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char *kwnames
[] = {
38103 (char *) "self",(char *) "n", NULL
38106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38108 if (SWIG_arg_fail(1)) SWIG_fail
;
38110 arg2
= (int)(SWIG_As_int(obj1
));
38111 if (SWIG_arg_fail(2)) SWIG_fail
;
38114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38115 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38133 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
;
38135 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38136 wxArrayString result
;
38137 PyObject
* obj0
= 0 ;
38138 char *kwnames
[] = {
38139 (char *) "self", NULL
38142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38144 if (SWIG_arg_fail(1)) SWIG_fail
;
38146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38147 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38149 wxPyEndAllowThreads(__tstate
);
38150 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= wxArrayString2PyList_helper(result
);
38161 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
;
38163 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38165 wxString
*arg3
= 0 ;
38166 bool temp3
= false ;
38167 PyObject
* obj0
= 0 ;
38168 PyObject
* obj1
= 0 ;
38169 PyObject
* obj2
= 0 ;
38170 char *kwnames
[] = {
38171 (char *) "self",(char *) "n",(char *) "s", NULL
38174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38176 if (SWIG_arg_fail(1)) SWIG_fail
;
38178 arg2
= (int)(SWIG_As_int(obj1
));
38179 if (SWIG_arg_fail(2)) SWIG_fail
;
38182 arg3
= wxString_in_helper(obj2
);
38183 if (arg3
== NULL
) SWIG_fail
;
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38190 wxPyEndAllowThreads(__tstate
);
38191 if (PyErr_Occurred()) SWIG_fail
;
38193 Py_INCREF(Py_None
); resultobj
= Py_None
;
38208 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
;
38210 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38211 wxString
*arg2
= 0 ;
38213 bool temp2
= false ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self",(char *) "s", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38222 if (SWIG_arg_fail(1)) SWIG_fail
;
38224 arg2
= wxString_in_helper(obj1
);
38225 if (arg2
== NULL
) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_From_int((int)(result
));
38252 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
;
38254 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38258 char *kwnames
[] = {
38259 (char *) "self",(char *) "n", NULL
38262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38264 if (SWIG_arg_fail(1)) SWIG_fail
;
38266 arg2
= (int)(SWIG_As_int(obj1
));
38267 if (SWIG_arg_fail(2)) SWIG_fail
;
38270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38271 (arg1
)->SetSelection(arg2
);
38273 wxPyEndAllowThreads(__tstate
);
38274 if (PyErr_Occurred()) SWIG_fail
;
38276 Py_INCREF(Py_None
); resultobj
= Py_None
;
38283 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
;
38285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38287 PyObject
* obj0
= 0 ;
38288 char *kwnames
[] = {
38289 (char *) "self", NULL
38292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38294 if (SWIG_arg_fail(1)) SWIG_fail
;
38296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38297 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38299 wxPyEndAllowThreads(__tstate
);
38300 if (PyErr_Occurred()) SWIG_fail
;
38303 resultobj
= SWIG_From_int((int)(result
));
38311 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38312 PyObject
*resultobj
;
38313 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38314 wxString
*arg2
= 0 ;
38316 bool temp2
= false ;
38317 PyObject
* obj0
= 0 ;
38318 PyObject
* obj1
= 0 ;
38319 char *kwnames
[] = {
38320 (char *) "self",(char *) "s", NULL
38323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38325 if (SWIG_arg_fail(1)) SWIG_fail
;
38327 arg2
= wxString_in_helper(obj1
);
38328 if (arg2
== NULL
) SWIG_fail
;
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38355 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38356 PyObject
*resultobj
;
38357 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38359 PyObject
* obj0
= 0 ;
38360 char *kwnames
[] = {
38361 (char *) "self", NULL
38364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38366 if (SWIG_arg_fail(1)) SWIG_fail
;
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38387 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38388 PyObject
*resultobj
;
38389 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38391 PyObject
* obj0
= 0 ;
38392 PyObject
* obj1
= 0 ;
38393 char *kwnames
[] = {
38394 (char *) "self",(char *) "n", NULL
38397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38399 if (SWIG_arg_fail(1)) SWIG_fail
;
38401 arg2
= (int)(SWIG_As_int(obj1
));
38402 if (SWIG_arg_fail(2)) SWIG_fail
;
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 (arg1
)->Select(arg2
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 Py_INCREF(Py_None
); resultobj
= Py_None
;
38418 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38421 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38423 return Py_BuildValue((char *)"");
38425 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38428 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38430 return Py_BuildValue((char *)"");
38432 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38433 PyObject
*resultobj
;
38434 wxSizerItem
*result
;
38435 char *kwnames
[] = {
38439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38442 result
= (wxSizerItem
*)new wxSizerItem();
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38454 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38455 PyObject
*resultobj
;
38456 wxWindow
*arg1
= (wxWindow
*) 0 ;
38460 PyObject
*arg5
= (PyObject
*) NULL
;
38461 wxSizerItem
*result
;
38462 PyObject
* obj0
= 0 ;
38463 PyObject
* obj1
= 0 ;
38464 PyObject
* obj2
= 0 ;
38465 PyObject
* obj3
= 0 ;
38466 PyObject
* obj4
= 0 ;
38467 char *kwnames
[] = {
38468 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38473 if (SWIG_arg_fail(1)) SWIG_fail
;
38475 arg2
= (int)(SWIG_As_int(obj1
));
38476 if (SWIG_arg_fail(2)) SWIG_fail
;
38479 arg3
= (int)(SWIG_As_int(obj2
));
38480 if (SWIG_arg_fail(3)) SWIG_fail
;
38483 arg4
= (int)(SWIG_As_int(obj3
));
38484 if (SWIG_arg_fail(4)) SWIG_fail
;
38490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38491 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38493 wxPyEndAllowThreads(__tstate
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38503 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
;
38510 PyObject
*arg6
= (PyObject
*) NULL
;
38511 wxSizerItem
*result
;
38512 PyObject
* obj0
= 0 ;
38513 PyObject
* obj1
= 0 ;
38514 PyObject
* obj2
= 0 ;
38515 PyObject
* obj3
= 0 ;
38516 PyObject
* obj4
= 0 ;
38517 PyObject
* obj5
= 0 ;
38518 char *kwnames
[] = {
38519 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38524 arg1
= (int)(SWIG_As_int(obj0
));
38525 if (SWIG_arg_fail(1)) SWIG_fail
;
38528 arg2
= (int)(SWIG_As_int(obj1
));
38529 if (SWIG_arg_fail(2)) SWIG_fail
;
38532 arg3
= (int)(SWIG_As_int(obj2
));
38533 if (SWIG_arg_fail(3)) SWIG_fail
;
38536 arg4
= (int)(SWIG_As_int(obj3
));
38537 if (SWIG_arg_fail(4)) SWIG_fail
;
38540 arg5
= (int)(SWIG_As_int(obj4
));
38541 if (SWIG_arg_fail(5)) SWIG_fail
;
38547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38548 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38550 wxPyEndAllowThreads(__tstate
);
38551 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38560 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38561 PyObject
*resultobj
;
38562 wxSizer
*arg1
= (wxSizer
*) 0 ;
38566 PyObject
*arg5
= (PyObject
*) NULL
;
38567 wxSizerItem
*result
;
38568 PyObject
* obj0
= 0 ;
38569 PyObject
* obj1
= 0 ;
38570 PyObject
* obj2
= 0 ;
38571 PyObject
* obj3
= 0 ;
38572 PyObject
* obj4
= 0 ;
38573 char *kwnames
[] = {
38574 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38579 if (SWIG_arg_fail(1)) SWIG_fail
;
38581 arg2
= (int)(SWIG_As_int(obj1
));
38582 if (SWIG_arg_fail(2)) SWIG_fail
;
38585 arg3
= (int)(SWIG_As_int(obj2
));
38586 if (SWIG_arg_fail(3)) SWIG_fail
;
38589 arg4
= (int)(SWIG_As_int(obj3
));
38590 if (SWIG_arg_fail(4)) SWIG_fail
;
38596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38597 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38599 wxPyEndAllowThreads(__tstate
);
38600 if (PyErr_Occurred()) SWIG_fail
;
38602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38609 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38610 PyObject
*resultobj
;
38611 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38612 PyObject
* obj0
= 0 ;
38613 char *kwnames
[] = {
38614 (char *) "self", NULL
38617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38619 if (SWIG_arg_fail(1)) SWIG_fail
;
38621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38622 (arg1
)->DeleteWindows();
38624 wxPyEndAllowThreads(__tstate
);
38625 if (PyErr_Occurred()) SWIG_fail
;
38627 Py_INCREF(Py_None
); resultobj
= Py_None
;
38634 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38635 PyObject
*resultobj
;
38636 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38637 PyObject
* obj0
= 0 ;
38638 char *kwnames
[] = {
38639 (char *) "self", NULL
38642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38644 if (SWIG_arg_fail(1)) SWIG_fail
;
38646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38647 (arg1
)->DetachSizer();
38649 wxPyEndAllowThreads(__tstate
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38652 Py_INCREF(Py_None
); resultobj
= Py_None
;
38659 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38660 PyObject
*resultobj
;
38661 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38670 if (SWIG_arg_fail(1)) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 result
= (arg1
)->GetSize();
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38679 wxSize
* resultptr
;
38680 resultptr
= new wxSize((wxSize
&)(result
));
38681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38689 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38690 PyObject
*resultobj
;
38691 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38693 PyObject
* obj0
= 0 ;
38694 char *kwnames
[] = {
38695 (char *) "self", NULL
38698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38700 if (SWIG_arg_fail(1)) SWIG_fail
;
38702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38703 result
= (arg1
)->CalcMin();
38705 wxPyEndAllowThreads(__tstate
);
38706 if (PyErr_Occurred()) SWIG_fail
;
38709 wxSize
* resultptr
;
38710 resultptr
= new wxSize((wxSize
&)(result
));
38711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38719 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38720 PyObject
*resultobj
;
38721 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38724 PyObject
* obj0
= 0 ;
38725 PyObject
* obj1
= 0 ;
38726 PyObject
* obj2
= 0 ;
38727 char *kwnames
[] = {
38728 (char *) "self",(char *) "pos",(char *) "size", NULL
38731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38733 if (SWIG_arg_fail(1)) SWIG_fail
;
38736 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38737 if (SWIG_arg_fail(2)) SWIG_fail
;
38738 if (argp
== NULL
) {
38739 SWIG_null_ref("wxPoint");
38741 if (SWIG_arg_fail(2)) SWIG_fail
;
38746 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38747 if (SWIG_arg_fail(3)) SWIG_fail
;
38748 if (argp
== NULL
) {
38749 SWIG_null_ref("wxSize");
38751 if (SWIG_arg_fail(3)) SWIG_fail
;
38755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38756 (arg1
)->SetDimension(arg2
,arg3
);
38758 wxPyEndAllowThreads(__tstate
);
38759 if (PyErr_Occurred()) SWIG_fail
;
38761 Py_INCREF(Py_None
); resultobj
= Py_None
;
38768 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38769 PyObject
*resultobj
;
38770 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38772 PyObject
* obj0
= 0 ;
38773 char *kwnames
[] = {
38774 (char *) "self", NULL
38777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38779 if (SWIG_arg_fail(1)) SWIG_fail
;
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 result
= (arg1
)->GetMinSize();
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38788 wxSize
* resultptr
;
38789 resultptr
= new wxSize((wxSize
&)(result
));
38790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38798 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38799 PyObject
*resultobj
;
38800 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38802 PyObject
* obj0
= 0 ;
38803 char *kwnames
[] = {
38804 (char *) "self", NULL
38807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38809 if (SWIG_arg_fail(1)) SWIG_fail
;
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38818 wxSize
* resultptr
;
38819 resultptr
= new wxSize((wxSize
&)(result
));
38820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38828 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38829 PyObject
*resultobj
;
38830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38833 PyObject
* obj0
= 0 ;
38834 PyObject
* obj1
= 0 ;
38835 PyObject
* obj2
= 0 ;
38836 char *kwnames
[] = {
38837 (char *) "self",(char *) "x",(char *) "y", NULL
38840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38842 if (SWIG_arg_fail(1)) SWIG_fail
;
38844 arg2
= (int)(SWIG_As_int(obj1
));
38845 if (SWIG_arg_fail(2)) SWIG_fail
;
38848 arg3
= (int)(SWIG_As_int(obj2
));
38849 if (SWIG_arg_fail(3)) SWIG_fail
;
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 (arg1
)->SetInitSize(arg2
,arg3
);
38855 wxPyEndAllowThreads(__tstate
);
38856 if (PyErr_Occurred()) SWIG_fail
;
38858 Py_INCREF(Py_None
); resultobj
= Py_None
;
38865 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38866 PyObject
*resultobj
;
38867 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38872 PyObject
* obj2
= 0 ;
38873 char *kwnames
[] = {
38874 (char *) "self",(char *) "width",(char *) "height", NULL
38877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38879 if (SWIG_arg_fail(1)) SWIG_fail
;
38881 arg2
= (int)(SWIG_As_int(obj1
));
38882 if (SWIG_arg_fail(2)) SWIG_fail
;
38885 arg3
= (int)(SWIG_As_int(obj2
));
38886 if (SWIG_arg_fail(3)) SWIG_fail
;
38889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 (arg1
)->SetRatio(arg2
,arg3
);
38892 wxPyEndAllowThreads(__tstate
);
38893 if (PyErr_Occurred()) SWIG_fail
;
38895 Py_INCREF(Py_None
); resultobj
= Py_None
;
38902 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38903 PyObject
*resultobj
;
38904 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 char *kwnames
[] = {
38910 (char *) "self",(char *) "size", NULL
38913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38915 if (SWIG_arg_fail(1)) SWIG_fail
;
38918 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38922 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38924 wxPyEndAllowThreads(__tstate
);
38925 if (PyErr_Occurred()) SWIG_fail
;
38927 Py_INCREF(Py_None
); resultobj
= Py_None
;
38934 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38935 PyObject
*resultobj
;
38936 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38938 PyObject
* obj0
= 0 ;
38939 PyObject
* obj1
= 0 ;
38940 char *kwnames
[] = {
38941 (char *) "self",(char *) "ratio", NULL
38944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38946 if (SWIG_arg_fail(1)) SWIG_fail
;
38948 arg2
= (float)(SWIG_As_float(obj1
));
38949 if (SWIG_arg_fail(2)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 (arg1
)->SetRatio(arg2
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38958 Py_INCREF(Py_None
); resultobj
= Py_None
;
38965 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38966 PyObject
*resultobj
;
38967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38969 PyObject
* obj0
= 0 ;
38970 char *kwnames
[] = {
38971 (char *) "self", NULL
38974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38976 if (SWIG_arg_fail(1)) SWIG_fail
;
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 result
= (float)(arg1
)->GetRatio();
38981 wxPyEndAllowThreads(__tstate
);
38982 if (PyErr_Occurred()) SWIG_fail
;
38985 resultobj
= SWIG_From_float((float)(result
));
38993 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38994 PyObject
*resultobj
;
38995 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38997 PyObject
* obj0
= 0 ;
38998 char *kwnames
[] = {
38999 (char *) "self", NULL
39002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39004 if (SWIG_arg_fail(1)) SWIG_fail
;
39006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39007 result
= (arg1
)->GetRect();
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39013 wxRect
* resultptr
;
39014 resultptr
= new wxRect((wxRect
&)(result
));
39015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39023 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39024 PyObject
*resultobj
;
39025 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39027 PyObject
* obj0
= 0 ;
39028 char *kwnames
[] = {
39029 (char *) "self", NULL
39032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39034 if (SWIG_arg_fail(1)) SWIG_fail
;
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 result
= (bool)(arg1
)->IsWindow();
39039 wxPyEndAllowThreads(__tstate
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39051 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39052 PyObject
*resultobj
;
39053 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39055 PyObject
* obj0
= 0 ;
39056 char *kwnames
[] = {
39057 (char *) "self", NULL
39060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39062 if (SWIG_arg_fail(1)) SWIG_fail
;
39064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39065 result
= (bool)(arg1
)->IsSizer();
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39079 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39080 PyObject
*resultobj
;
39081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39083 PyObject
* obj0
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39090 if (SWIG_arg_fail(1)) SWIG_fail
;
39092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39093 result
= (bool)(arg1
)->IsSpacer();
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39107 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
;
39109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 char *kwnames
[] = {
39114 (char *) "self",(char *) "proportion", NULL
39117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39119 if (SWIG_arg_fail(1)) SWIG_fail
;
39121 arg2
= (int)(SWIG_As_int(obj1
));
39122 if (SWIG_arg_fail(2)) SWIG_fail
;
39125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39126 (arg1
)->SetProportion(arg2
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39131 Py_INCREF(Py_None
); resultobj
= Py_None
;
39138 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39139 PyObject
*resultobj
;
39140 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39142 PyObject
* obj0
= 0 ;
39143 char *kwnames
[] = {
39144 (char *) "self", NULL
39147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39149 if (SWIG_arg_fail(1)) SWIG_fail
;
39151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39152 result
= (int)(arg1
)->GetProportion();
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39158 resultobj
= SWIG_From_int((int)(result
));
39166 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39167 PyObject
*resultobj
;
39168 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39170 PyObject
* obj0
= 0 ;
39171 PyObject
* obj1
= 0 ;
39172 char *kwnames
[] = {
39173 (char *) "self",(char *) "flag", NULL
39176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39178 if (SWIG_arg_fail(1)) SWIG_fail
;
39180 arg2
= (int)(SWIG_As_int(obj1
));
39181 if (SWIG_arg_fail(2)) SWIG_fail
;
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 (arg1
)->SetFlag(arg2
);
39187 wxPyEndAllowThreads(__tstate
);
39188 if (PyErr_Occurred()) SWIG_fail
;
39190 Py_INCREF(Py_None
); resultobj
= Py_None
;
39197 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39201 PyObject
* obj0
= 0 ;
39202 char *kwnames
[] = {
39203 (char *) "self", NULL
39206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39208 if (SWIG_arg_fail(1)) SWIG_fail
;
39210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39211 result
= (int)(arg1
)->GetFlag();
39213 wxPyEndAllowThreads(__tstate
);
39214 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= SWIG_From_int((int)(result
));
39225 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39226 PyObject
*resultobj
;
39227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39229 PyObject
* obj0
= 0 ;
39230 PyObject
* obj1
= 0 ;
39231 char *kwnames
[] = {
39232 (char *) "self",(char *) "border", NULL
39235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39237 if (SWIG_arg_fail(1)) SWIG_fail
;
39239 arg2
= (int)(SWIG_As_int(obj1
));
39240 if (SWIG_arg_fail(2)) SWIG_fail
;
39243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39244 (arg1
)->SetBorder(arg2
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 Py_INCREF(Py_None
); resultobj
= Py_None
;
39256 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
;
39258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39260 PyObject
* obj0
= 0 ;
39261 char *kwnames
[] = {
39262 (char *) "self", NULL
39265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39267 if (SWIG_arg_fail(1)) SWIG_fail
;
39269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39270 result
= (int)(arg1
)->GetBorder();
39272 wxPyEndAllowThreads(__tstate
);
39273 if (PyErr_Occurred()) SWIG_fail
;
39276 resultobj
= SWIG_From_int((int)(result
));
39284 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39285 PyObject
*resultobj
;
39286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39288 PyObject
* obj0
= 0 ;
39289 char *kwnames
[] = {
39290 (char *) "self", NULL
39293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39295 if (SWIG_arg_fail(1)) SWIG_fail
;
39297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39298 result
= (wxWindow
*)(arg1
)->GetWindow();
39300 wxPyEndAllowThreads(__tstate
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39304 resultobj
= wxPyMake_wxObject(result
, 0);
39312 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39313 PyObject
*resultobj
;
39314 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39315 wxWindow
*arg2
= (wxWindow
*) 0 ;
39316 PyObject
* obj0
= 0 ;
39317 PyObject
* obj1
= 0 ;
39318 char *kwnames
[] = {
39319 (char *) "self",(char *) "window", NULL
39322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39324 if (SWIG_arg_fail(1)) SWIG_fail
;
39325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39326 if (SWIG_arg_fail(2)) SWIG_fail
;
39328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39329 (arg1
)->SetWindow(arg2
);
39331 wxPyEndAllowThreads(__tstate
);
39332 if (PyErr_Occurred()) SWIG_fail
;
39334 Py_INCREF(Py_None
); resultobj
= Py_None
;
39341 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39342 PyObject
*resultobj
;
39343 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39345 PyObject
* obj0
= 0 ;
39346 char *kwnames
[] = {
39347 (char *) "self", NULL
39350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39352 if (SWIG_arg_fail(1)) SWIG_fail
;
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 result
= (wxSizer
*)(arg1
)->GetSizer();
39357 wxPyEndAllowThreads(__tstate
);
39358 if (PyErr_Occurred()) SWIG_fail
;
39361 resultobj
= wxPyMake_wxObject(result
, 0);
39369 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39370 PyObject
*resultobj
;
39371 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39372 wxSizer
*arg2
= (wxSizer
*) 0 ;
39373 PyObject
* obj0
= 0 ;
39374 PyObject
* obj1
= 0 ;
39375 char *kwnames
[] = {
39376 (char *) "self",(char *) "sizer", NULL
39379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39381 if (SWIG_arg_fail(1)) SWIG_fail
;
39382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39383 if (SWIG_arg_fail(2)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 (arg1
)->SetSizer(arg2
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 Py_INCREF(Py_None
); resultobj
= Py_None
;
39398 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39402 PyObject
* obj0
= 0 ;
39403 char *kwnames
[] = {
39404 (char *) "self", NULL
39407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39409 if (SWIG_arg_fail(1)) SWIG_fail
;
39411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39414 result
= (wxSize
*) &_result_ref
;
39417 wxPyEndAllowThreads(__tstate
);
39418 if (PyErr_Occurred()) SWIG_fail
;
39420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39427 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
;
39429 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39432 PyObject
* obj0
= 0 ;
39433 PyObject
* obj1
= 0 ;
39434 char *kwnames
[] = {
39435 (char *) "self",(char *) "size", NULL
39438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(1)) SWIG_fail
;
39443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39449 wxPyEndAllowThreads(__tstate
);
39450 if (PyErr_Occurred()) SWIG_fail
;
39452 Py_INCREF(Py_None
); resultobj
= Py_None
;
39459 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39460 PyObject
*resultobj
;
39461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self",(char *) "show", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39471 if (SWIG_arg_fail(1)) SWIG_fail
;
39473 arg2
= (bool)(SWIG_As_bool(obj1
));
39474 if (SWIG_arg_fail(2)) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39478 (arg1
)->Show(arg2
);
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 Py_INCREF(Py_None
); resultobj
= Py_None
;
39490 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
;
39492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39501 if (SWIG_arg_fail(1)) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (bool)(arg1
)->IsShown();
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39518 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39519 PyObject
*resultobj
;
39520 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39522 PyObject
* obj0
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39529 if (SWIG_arg_fail(1)) SWIG_fail
;
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 result
= (arg1
)->GetPosition();
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39538 wxPoint
* resultptr
;
39539 resultptr
= new wxPoint((wxPoint
&)(result
));
39540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39548 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39549 PyObject
*resultobj
;
39550 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39552 PyObject
* obj0
= 0 ;
39553 char *kwnames
[] = {
39554 (char *) "self", NULL
39557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39559 if (SWIG_arg_fail(1)) SWIG_fail
;
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39567 resultobj
= result
;
39574 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39577 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39579 return Py_BuildValue((char *)"");
39581 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39582 PyObject
*resultobj
;
39583 wxSizer
*arg1
= (wxSizer
*) 0 ;
39584 PyObject
*arg2
= (PyObject
*) 0 ;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 char *kwnames
[] = {
39588 (char *) "self",(char *) "_self", NULL
39591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39593 if (SWIG_arg_fail(1)) SWIG_fail
;
39596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39597 wxSizer__setOORInfo(arg1
,arg2
);
39599 wxPyEndAllowThreads(__tstate
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39602 Py_INCREF(Py_None
); resultobj
= Py_None
;
39609 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39610 PyObject
*resultobj
;
39611 wxSizer
*arg1
= (wxSizer
*) 0 ;
39612 PyObject
*arg2
= (PyObject
*) 0 ;
39613 int arg3
= (int) 0 ;
39614 int arg4
= (int) 0 ;
39615 int arg5
= (int) 0 ;
39616 PyObject
*arg6
= (PyObject
*) NULL
;
39617 wxSizerItem
*result
;
39618 PyObject
* obj0
= 0 ;
39619 PyObject
* obj1
= 0 ;
39620 PyObject
* obj2
= 0 ;
39621 PyObject
* obj3
= 0 ;
39622 PyObject
* obj4
= 0 ;
39623 PyObject
* obj5
= 0 ;
39624 char *kwnames
[] = {
39625 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39630 if (SWIG_arg_fail(1)) SWIG_fail
;
39634 arg3
= (int)(SWIG_As_int(obj2
));
39635 if (SWIG_arg_fail(3)) SWIG_fail
;
39640 arg4
= (int)(SWIG_As_int(obj3
));
39641 if (SWIG_arg_fail(4)) SWIG_fail
;
39646 arg5
= (int)(SWIG_As_int(obj4
));
39647 if (SWIG_arg_fail(5)) SWIG_fail
;
39654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39655 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39657 wxPyEndAllowThreads(__tstate
);
39658 if (PyErr_Occurred()) SWIG_fail
;
39660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39667 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39668 PyObject
*resultobj
;
39669 wxSizer
*arg1
= (wxSizer
*) 0 ;
39671 PyObject
*arg3
= (PyObject
*) 0 ;
39672 int arg4
= (int) 0 ;
39673 int arg5
= (int) 0 ;
39674 int arg6
= (int) 0 ;
39675 PyObject
*arg7
= (PyObject
*) NULL
;
39676 wxSizerItem
*result
;
39677 PyObject
* obj0
= 0 ;
39678 PyObject
* obj1
= 0 ;
39679 PyObject
* obj2
= 0 ;
39680 PyObject
* obj3
= 0 ;
39681 PyObject
* obj4
= 0 ;
39682 PyObject
* obj5
= 0 ;
39683 PyObject
* obj6
= 0 ;
39684 char *kwnames
[] = {
39685 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39690 if (SWIG_arg_fail(1)) SWIG_fail
;
39692 arg2
= (int)(SWIG_As_int(obj1
));
39693 if (SWIG_arg_fail(2)) SWIG_fail
;
39698 arg4
= (int)(SWIG_As_int(obj3
));
39699 if (SWIG_arg_fail(4)) SWIG_fail
;
39704 arg5
= (int)(SWIG_As_int(obj4
));
39705 if (SWIG_arg_fail(5)) SWIG_fail
;
39710 arg6
= (int)(SWIG_As_int(obj5
));
39711 if (SWIG_arg_fail(6)) SWIG_fail
;
39718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39719 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39721 wxPyEndAllowThreads(__tstate
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39731 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39732 PyObject
*resultobj
;
39733 wxSizer
*arg1
= (wxSizer
*) 0 ;
39734 PyObject
*arg2
= (PyObject
*) 0 ;
39735 int arg3
= (int) 0 ;
39736 int arg4
= (int) 0 ;
39737 int arg5
= (int) 0 ;
39738 PyObject
*arg6
= (PyObject
*) NULL
;
39739 wxSizerItem
*result
;
39740 PyObject
* obj0
= 0 ;
39741 PyObject
* obj1
= 0 ;
39742 PyObject
* obj2
= 0 ;
39743 PyObject
* obj3
= 0 ;
39744 PyObject
* obj4
= 0 ;
39745 PyObject
* obj5
= 0 ;
39746 char *kwnames
[] = {
39747 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39752 if (SWIG_arg_fail(1)) SWIG_fail
;
39756 arg3
= (int)(SWIG_As_int(obj2
));
39757 if (SWIG_arg_fail(3)) SWIG_fail
;
39762 arg4
= (int)(SWIG_As_int(obj3
));
39763 if (SWIG_arg_fail(4)) SWIG_fail
;
39768 arg5
= (int)(SWIG_As_int(obj4
));
39769 if (SWIG_arg_fail(5)) SWIG_fail
;
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39789 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39790 PyObject
*resultobj
;
39791 wxSizer
*arg1
= (wxSizer
*) 0 ;
39792 PyObject
*arg2
= (PyObject
*) 0 ;
39794 PyObject
* obj0
= 0 ;
39795 PyObject
* obj1
= 0 ;
39796 char *kwnames
[] = {
39797 (char *) "self",(char *) "item", NULL
39800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39802 if (SWIG_arg_fail(1)) SWIG_fail
;
39805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39806 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39820 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39821 PyObject
*resultobj
;
39822 wxSizer
*arg1
= (wxSizer
*) 0 ;
39823 PyObject
*arg2
= (PyObject
*) 0 ;
39825 PyObject
* obj0
= 0 ;
39826 PyObject
* obj1
= 0 ;
39827 char *kwnames
[] = {
39828 (char *) "self",(char *) "item", NULL
39831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39833 if (SWIG_arg_fail(1)) SWIG_fail
;
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39851 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxSizer
*arg1
= (wxSizer
*) 0 ;
39854 PyObject
*arg2
= (PyObject
*) 0 ;
39855 wxSizerItem
*result
;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 char *kwnames
[] = {
39859 (char *) "self",(char *) "item", NULL
39862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39864 if (SWIG_arg_fail(1)) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39880 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxSizer
*arg1
= (wxSizer
*) 0 ;
39883 PyObject
*arg2
= (PyObject
*) 0 ;
39886 PyObject
* obj0
= 0 ;
39887 PyObject
* obj1
= 0 ;
39888 PyObject
* obj2
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self",(char *) "item",(char *) "size", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39895 if (SWIG_arg_fail(1)) SWIG_fail
;
39899 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 Py_INCREF(Py_None
); resultobj
= Py_None
;
39915 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxSizer
*arg1
= (wxSizer
*) 0 ;
39918 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39919 wxSizerItem
*result
;
39920 PyObject
* obj0
= 0 ;
39921 PyObject
* obj1
= 0 ;
39922 char *kwnames
[] = {
39923 (char *) "self",(char *) "item", NULL
39926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39928 if (SWIG_arg_fail(1)) SWIG_fail
;
39929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39930 if (SWIG_arg_fail(2)) SWIG_fail
;
39932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39933 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39935 wxPyEndAllowThreads(__tstate
);
39936 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39945 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
;
39947 wxSizer
*arg1
= (wxSizer
*) 0 ;
39949 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39950 wxSizerItem
*result
;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 PyObject
* obj2
= 0 ;
39954 char *kwnames
[] = {
39955 (char *) "self",(char *) "index",(char *) "item", NULL
39958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39960 if (SWIG_arg_fail(1)) SWIG_fail
;
39962 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39963 if (SWIG_arg_fail(2)) SWIG_fail
;
39965 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39966 if (SWIG_arg_fail(3)) SWIG_fail
;
39968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39969 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39981 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
;
39983 wxSizer
*arg1
= (wxSizer
*) 0 ;
39984 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39985 wxSizerItem
*result
;
39986 PyObject
* obj0
= 0 ;
39987 PyObject
* obj1
= 0 ;
39988 char *kwnames
[] = {
39989 (char *) "self",(char *) "item", NULL
39992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39994 if (SWIG_arg_fail(1)) SWIG_fail
;
39995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39996 if (SWIG_arg_fail(2)) SWIG_fail
;
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40001 wxPyEndAllowThreads(__tstate
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40011 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxSizer
*arg1
= (wxSizer
*) 0 ;
40018 PyObject
* obj0
= 0 ;
40019 PyObject
* obj1
= 0 ;
40020 PyObject
* obj2
= 0 ;
40021 PyObject
* obj3
= 0 ;
40022 PyObject
* obj4
= 0 ;
40023 char *kwnames
[] = {
40024 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40029 if (SWIG_arg_fail(1)) SWIG_fail
;
40031 arg2
= (int)(SWIG_As_int(obj1
));
40032 if (SWIG_arg_fail(2)) SWIG_fail
;
40035 arg3
= (int)(SWIG_As_int(obj2
));
40036 if (SWIG_arg_fail(3)) SWIG_fail
;
40039 arg4
= (int)(SWIG_As_int(obj3
));
40040 if (SWIG_arg_fail(4)) SWIG_fail
;
40043 arg5
= (int)(SWIG_As_int(obj4
));
40044 if (SWIG_arg_fail(5)) SWIG_fail
;
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40053 Py_INCREF(Py_None
); resultobj
= Py_None
;
40060 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40061 PyObject
*resultobj
;
40062 wxSizer
*arg1
= (wxSizer
*) 0 ;
40065 PyObject
* obj0
= 0 ;
40066 PyObject
* obj1
= 0 ;
40067 char *kwnames
[] = {
40068 (char *) "self",(char *) "size", NULL
40071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40073 if (SWIG_arg_fail(1)) SWIG_fail
;
40076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40080 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40082 wxPyEndAllowThreads(__tstate
);
40083 if (PyErr_Occurred()) SWIG_fail
;
40085 Py_INCREF(Py_None
); resultobj
= Py_None
;
40092 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40093 PyObject
*resultobj
;
40094 wxSizer
*arg1
= (wxSizer
*) 0 ;
40096 PyObject
* obj0
= 0 ;
40097 char *kwnames
[] = {
40098 (char *) "self", NULL
40101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40103 if (SWIG_arg_fail(1)) SWIG_fail
;
40105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40106 result
= (arg1
)->GetSize();
40108 wxPyEndAllowThreads(__tstate
);
40109 if (PyErr_Occurred()) SWIG_fail
;
40112 wxSize
* resultptr
;
40113 resultptr
= new wxSize((wxSize
&)(result
));
40114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40122 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40123 PyObject
*resultobj
;
40124 wxSizer
*arg1
= (wxSizer
*) 0 ;
40126 PyObject
* obj0
= 0 ;
40127 char *kwnames
[] = {
40128 (char *) "self", NULL
40131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40133 if (SWIG_arg_fail(1)) SWIG_fail
;
40135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40136 result
= (arg1
)->GetPosition();
40138 wxPyEndAllowThreads(__tstate
);
40139 if (PyErr_Occurred()) SWIG_fail
;
40142 wxPoint
* resultptr
;
40143 resultptr
= new wxPoint((wxPoint
&)(result
));
40144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40152 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40153 PyObject
*resultobj
;
40154 wxSizer
*arg1
= (wxSizer
*) 0 ;
40156 PyObject
* obj0
= 0 ;
40157 char *kwnames
[] = {
40158 (char *) "self", NULL
40161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40163 if (SWIG_arg_fail(1)) SWIG_fail
;
40165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40166 result
= (arg1
)->GetMinSize();
40168 wxPyEndAllowThreads(__tstate
);
40169 if (PyErr_Occurred()) SWIG_fail
;
40172 wxSize
* resultptr
;
40173 resultptr
= new wxSize((wxSize
&)(result
));
40174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40182 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40183 PyObject
*resultobj
;
40184 wxSizer
*arg1
= (wxSizer
*) 0 ;
40185 PyObject
* obj0
= 0 ;
40186 char *kwnames
[] = {
40187 (char *) "self", NULL
40190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40192 if (SWIG_arg_fail(1)) SWIG_fail
;
40194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 (arg1
)->RecalcSizes();
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 Py_INCREF(Py_None
); resultobj
= Py_None
;
40207 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40208 PyObject
*resultobj
;
40209 wxSizer
*arg1
= (wxSizer
*) 0 ;
40211 PyObject
* obj0
= 0 ;
40212 char *kwnames
[] = {
40213 (char *) "self", NULL
40216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40218 if (SWIG_arg_fail(1)) SWIG_fail
;
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 result
= (arg1
)->CalcMin();
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40227 wxSize
* resultptr
;
40228 resultptr
= new wxSize((wxSize
&)(result
));
40229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40237 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40238 PyObject
*resultobj
;
40239 wxSizer
*arg1
= (wxSizer
*) 0 ;
40240 PyObject
* obj0
= 0 ;
40241 char *kwnames
[] = {
40242 (char *) "self", NULL
40245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40247 if (SWIG_arg_fail(1)) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40255 Py_INCREF(Py_None
); resultobj
= Py_None
;
40262 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40263 PyObject
*resultobj
;
40264 wxSizer
*arg1
= (wxSizer
*) 0 ;
40265 wxWindow
*arg2
= (wxWindow
*) 0 ;
40267 PyObject
* obj0
= 0 ;
40268 PyObject
* obj1
= 0 ;
40269 char *kwnames
[] = {
40270 (char *) "self",(char *) "window", NULL
40273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40275 if (SWIG_arg_fail(1)) SWIG_fail
;
40276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40277 if (SWIG_arg_fail(2)) SWIG_fail
;
40279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40280 result
= (arg1
)->Fit(arg2
);
40282 wxPyEndAllowThreads(__tstate
);
40283 if (PyErr_Occurred()) SWIG_fail
;
40286 wxSize
* resultptr
;
40287 resultptr
= new wxSize((wxSize
&)(result
));
40288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40296 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
;
40298 wxSizer
*arg1
= (wxSizer
*) 0 ;
40299 wxWindow
*arg2
= (wxWindow
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 char *kwnames
[] = {
40303 (char *) "self",(char *) "window", NULL
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40308 if (SWIG_arg_fail(1)) SWIG_fail
;
40309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40310 if (SWIG_arg_fail(2)) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 (arg1
)->FitInside(arg2
);
40315 wxPyEndAllowThreads(__tstate
);
40316 if (PyErr_Occurred()) SWIG_fail
;
40318 Py_INCREF(Py_None
); resultobj
= Py_None
;
40325 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxSizer
*arg1
= (wxSizer
*) 0 ;
40328 wxWindow
*arg2
= (wxWindow
*) 0 ;
40329 PyObject
* obj0
= 0 ;
40330 PyObject
* obj1
= 0 ;
40331 char *kwnames
[] = {
40332 (char *) "self",(char *) "window", NULL
40335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40337 if (SWIG_arg_fail(1)) SWIG_fail
;
40338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40339 if (SWIG_arg_fail(2)) SWIG_fail
;
40341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40342 (arg1
)->SetSizeHints(arg2
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40347 Py_INCREF(Py_None
); resultobj
= Py_None
;
40354 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40355 PyObject
*resultobj
;
40356 wxSizer
*arg1
= (wxSizer
*) 0 ;
40357 wxWindow
*arg2
= (wxWindow
*) 0 ;
40358 PyObject
* obj0
= 0 ;
40359 PyObject
* obj1
= 0 ;
40360 char *kwnames
[] = {
40361 (char *) "self",(char *) "window", NULL
40364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40366 if (SWIG_arg_fail(1)) SWIG_fail
;
40367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40368 if (SWIG_arg_fail(2)) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 (arg1
)->SetVirtualSizeHints(arg2
);
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40376 Py_INCREF(Py_None
); resultobj
= Py_None
;
40383 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
;
40385 wxSizer
*arg1
= (wxSizer
*) 0 ;
40386 bool arg2
= (bool) false ;
40387 PyObject
* obj0
= 0 ;
40388 PyObject
* obj1
= 0 ;
40389 char *kwnames
[] = {
40390 (char *) "self",(char *) "deleteWindows", NULL
40393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40395 if (SWIG_arg_fail(1)) SWIG_fail
;
40398 arg2
= (bool)(SWIG_As_bool(obj1
));
40399 if (SWIG_arg_fail(2)) SWIG_fail
;
40403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40404 (arg1
)->Clear(arg2
);
40406 wxPyEndAllowThreads(__tstate
);
40407 if (PyErr_Occurred()) SWIG_fail
;
40409 Py_INCREF(Py_None
); resultobj
= Py_None
;
40416 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40417 PyObject
*resultobj
;
40418 wxSizer
*arg1
= (wxSizer
*) 0 ;
40419 PyObject
* obj0
= 0 ;
40420 char *kwnames
[] = {
40421 (char *) "self", NULL
40424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40426 if (SWIG_arg_fail(1)) SWIG_fail
;
40428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40429 (arg1
)->DeleteWindows();
40431 wxPyEndAllowThreads(__tstate
);
40432 if (PyErr_Occurred()) SWIG_fail
;
40434 Py_INCREF(Py_None
); resultobj
= Py_None
;
40441 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40442 PyObject
*resultobj
;
40443 wxSizer
*arg1
= (wxSizer
*) 0 ;
40445 PyObject
* obj0
= 0 ;
40446 char *kwnames
[] = {
40447 (char *) "self", NULL
40450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40452 if (SWIG_arg_fail(1)) SWIG_fail
;
40454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40455 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 resultobj
= result
;
40467 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxSizer
*arg1
= (wxSizer
*) 0 ;
40470 PyObject
*arg2
= (PyObject
*) 0 ;
40471 bool arg3
= (bool) true ;
40472 bool arg4
= (bool) false ;
40474 PyObject
* obj0
= 0 ;
40475 PyObject
* obj1
= 0 ;
40476 PyObject
* obj2
= 0 ;
40477 PyObject
* obj3
= 0 ;
40478 char *kwnames
[] = {
40479 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40484 if (SWIG_arg_fail(1)) SWIG_fail
;
40488 arg3
= (bool)(SWIG_As_bool(obj2
));
40489 if (SWIG_arg_fail(3)) SWIG_fail
;
40494 arg4
= (bool)(SWIG_As_bool(obj3
));
40495 if (SWIG_arg_fail(4)) SWIG_fail
;
40499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40500 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40502 wxPyEndAllowThreads(__tstate
);
40503 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40514 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40515 PyObject
*resultobj
;
40516 wxSizer
*arg1
= (wxSizer
*) 0 ;
40517 PyObject
*arg2
= (PyObject
*) 0 ;
40519 PyObject
* obj0
= 0 ;
40520 PyObject
* obj1
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self",(char *) "item", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40527 if (SWIG_arg_fail(1)) SWIG_fail
;
40530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40531 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40533 wxPyEndAllowThreads(__tstate
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40545 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40546 PyObject
*resultobj
;
40547 wxSizer
*arg1
= (wxSizer
*) 0 ;
40549 PyObject
* obj0
= 0 ;
40550 PyObject
* obj1
= 0 ;
40551 char *kwnames
[] = {
40552 (char *) "self",(char *) "show", NULL
40555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40557 if (SWIG_arg_fail(1)) SWIG_fail
;
40559 arg2
= (bool)(SWIG_As_bool(obj1
));
40560 if (SWIG_arg_fail(2)) SWIG_fail
;
40563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40564 (arg1
)->ShowItems(arg2
);
40566 wxPyEndAllowThreads(__tstate
);
40567 if (PyErr_Occurred()) SWIG_fail
;
40569 Py_INCREF(Py_None
); resultobj
= Py_None
;
40576 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40579 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40581 return Py_BuildValue((char *)"");
40583 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40584 PyObject
*resultobj
;
40586 char *kwnames
[] = {
40590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40593 result
= (wxPySizer
*)new wxPySizer();
40595 wxPyEndAllowThreads(__tstate
);
40596 if (PyErr_Occurred()) SWIG_fail
;
40598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40605 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40606 PyObject
*resultobj
;
40607 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40608 PyObject
*arg2
= (PyObject
*) 0 ;
40609 PyObject
*arg3
= (PyObject
*) 0 ;
40610 PyObject
* obj0
= 0 ;
40611 PyObject
* obj1
= 0 ;
40612 PyObject
* obj2
= 0 ;
40613 char *kwnames
[] = {
40614 (char *) "self",(char *) "self",(char *) "_class", NULL
40617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40619 if (SWIG_arg_fail(1)) SWIG_fail
;
40623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40626 wxPyEndAllowThreads(__tstate
);
40627 if (PyErr_Occurred()) SWIG_fail
;
40629 Py_INCREF(Py_None
); resultobj
= Py_None
;
40636 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40639 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40641 return Py_BuildValue((char *)"");
40643 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40644 PyObject
*resultobj
;
40645 int arg1
= (int) wxHORIZONTAL
;
40646 wxBoxSizer
*result
;
40647 PyObject
* obj0
= 0 ;
40648 char *kwnames
[] = {
40649 (char *) "orient", NULL
40652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40655 arg1
= (int)(SWIG_As_int(obj0
));
40656 if (SWIG_arg_fail(1)) SWIG_fail
;
40660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40673 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40674 PyObject
*resultobj
;
40675 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40677 PyObject
* obj0
= 0 ;
40678 char *kwnames
[] = {
40679 (char *) "self", NULL
40682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40684 if (SWIG_arg_fail(1)) SWIG_fail
;
40686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40687 result
= (int)(arg1
)->GetOrientation();
40689 wxPyEndAllowThreads(__tstate
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40693 resultobj
= SWIG_From_int((int)(result
));
40701 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40702 PyObject
*resultobj
;
40703 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40705 PyObject
* obj0
= 0 ;
40706 PyObject
* obj1
= 0 ;
40707 char *kwnames
[] = {
40708 (char *) "self",(char *) "orient", NULL
40711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40713 if (SWIG_arg_fail(1)) SWIG_fail
;
40715 arg2
= (int)(SWIG_As_int(obj1
));
40716 if (SWIG_arg_fail(2)) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 (arg1
)->SetOrientation(arg2
);
40722 wxPyEndAllowThreads(__tstate
);
40723 if (PyErr_Occurred()) SWIG_fail
;
40725 Py_INCREF(Py_None
); resultobj
= Py_None
;
40732 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40735 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40737 return Py_BuildValue((char *)"");
40739 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
;
40741 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40742 int arg2
= (int) wxHORIZONTAL
;
40743 wxStaticBoxSizer
*result
;
40744 PyObject
* obj0
= 0 ;
40745 PyObject
* obj1
= 0 ;
40746 char *kwnames
[] = {
40747 (char *) "box",(char *) "orient", NULL
40750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40752 if (SWIG_arg_fail(1)) SWIG_fail
;
40755 arg2
= (int)(SWIG_As_int(obj1
));
40756 if (SWIG_arg_fail(2)) SWIG_fail
;
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40763 wxPyEndAllowThreads(__tstate
);
40764 if (PyErr_Occurred()) SWIG_fail
;
40766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40773 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
;
40775 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40776 wxStaticBox
*result
;
40777 PyObject
* obj0
= 0 ;
40778 char *kwnames
[] = {
40779 (char *) "self", NULL
40782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40784 if (SWIG_arg_fail(1)) SWIG_fail
;
40786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40787 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40793 resultobj
= wxPyMake_wxObject(result
, 0);
40801 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40804 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40806 return Py_BuildValue((char *)"");
40808 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40809 PyObject
*resultobj
;
40810 int arg1
= (int) 1 ;
40811 int arg2
= (int) 0 ;
40812 int arg3
= (int) 0 ;
40813 int arg4
= (int) 0 ;
40814 wxGridSizer
*result
;
40815 PyObject
* obj0
= 0 ;
40816 PyObject
* obj1
= 0 ;
40817 PyObject
* obj2
= 0 ;
40818 PyObject
* obj3
= 0 ;
40819 char *kwnames
[] = {
40820 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40826 arg1
= (int)(SWIG_As_int(obj0
));
40827 if (SWIG_arg_fail(1)) SWIG_fail
;
40832 arg2
= (int)(SWIG_As_int(obj1
));
40833 if (SWIG_arg_fail(2)) SWIG_fail
;
40838 arg3
= (int)(SWIG_As_int(obj2
));
40839 if (SWIG_arg_fail(3)) SWIG_fail
;
40844 arg4
= (int)(SWIG_As_int(obj3
));
40845 if (SWIG_arg_fail(4)) SWIG_fail
;
40849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40850 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40852 wxPyEndAllowThreads(__tstate
);
40853 if (PyErr_Occurred()) SWIG_fail
;
40855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40862 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40863 PyObject
*resultobj
;
40864 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40866 PyObject
* obj0
= 0 ;
40867 PyObject
* obj1
= 0 ;
40868 char *kwnames
[] = {
40869 (char *) "self",(char *) "cols", NULL
40872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40874 if (SWIG_arg_fail(1)) SWIG_fail
;
40876 arg2
= (int)(SWIG_As_int(obj1
));
40877 if (SWIG_arg_fail(2)) SWIG_fail
;
40880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40881 (arg1
)->SetCols(arg2
);
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40886 Py_INCREF(Py_None
); resultobj
= Py_None
;
40893 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40894 PyObject
*resultobj
;
40895 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40897 PyObject
* obj0
= 0 ;
40898 PyObject
* obj1
= 0 ;
40899 char *kwnames
[] = {
40900 (char *) "self",(char *) "rows", NULL
40903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40905 if (SWIG_arg_fail(1)) SWIG_fail
;
40907 arg2
= (int)(SWIG_As_int(obj1
));
40908 if (SWIG_arg_fail(2)) SWIG_fail
;
40911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40912 (arg1
)->SetRows(arg2
);
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40917 Py_INCREF(Py_None
); resultobj
= Py_None
;
40924 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40925 PyObject
*resultobj
;
40926 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40928 PyObject
* obj0
= 0 ;
40929 PyObject
* obj1
= 0 ;
40930 char *kwnames
[] = {
40931 (char *) "self",(char *) "gap", NULL
40934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40936 if (SWIG_arg_fail(1)) SWIG_fail
;
40938 arg2
= (int)(SWIG_As_int(obj1
));
40939 if (SWIG_arg_fail(2)) SWIG_fail
;
40942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40943 (arg1
)->SetVGap(arg2
);
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40948 Py_INCREF(Py_None
); resultobj
= Py_None
;
40955 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
;
40957 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40959 PyObject
* obj0
= 0 ;
40960 PyObject
* obj1
= 0 ;
40961 char *kwnames
[] = {
40962 (char *) "self",(char *) "gap", NULL
40965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40967 if (SWIG_arg_fail(1)) SWIG_fail
;
40969 arg2
= (int)(SWIG_As_int(obj1
));
40970 if (SWIG_arg_fail(2)) SWIG_fail
;
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 (arg1
)->SetHGap(arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40979 Py_INCREF(Py_None
); resultobj
= Py_None
;
40986 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
;
40988 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40990 PyObject
* obj0
= 0 ;
40991 char *kwnames
[] = {
40992 (char *) "self", NULL
40995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40997 if (SWIG_arg_fail(1)) SWIG_fail
;
40999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41000 result
= (int)(arg1
)->GetCols();
41002 wxPyEndAllowThreads(__tstate
);
41003 if (PyErr_Occurred()) SWIG_fail
;
41006 resultobj
= SWIG_From_int((int)(result
));
41014 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41015 PyObject
*resultobj
;
41016 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41018 PyObject
* obj0
= 0 ;
41019 char *kwnames
[] = {
41020 (char *) "self", NULL
41023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41025 if (SWIG_arg_fail(1)) SWIG_fail
;
41027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41028 result
= (int)(arg1
)->GetRows();
41030 wxPyEndAllowThreads(__tstate
);
41031 if (PyErr_Occurred()) SWIG_fail
;
41034 resultobj
= SWIG_From_int((int)(result
));
41042 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41043 PyObject
*resultobj
;
41044 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41046 PyObject
* obj0
= 0 ;
41047 char *kwnames
[] = {
41048 (char *) "self", NULL
41051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41053 if (SWIG_arg_fail(1)) SWIG_fail
;
41055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41056 result
= (int)(arg1
)->GetVGap();
41058 wxPyEndAllowThreads(__tstate
);
41059 if (PyErr_Occurred()) SWIG_fail
;
41062 resultobj
= SWIG_From_int((int)(result
));
41070 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
;
41072 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41074 PyObject
* obj0
= 0 ;
41075 char *kwnames
[] = {
41076 (char *) "self", NULL
41079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41081 if (SWIG_arg_fail(1)) SWIG_fail
;
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 result
= (int)(arg1
)->GetHGap();
41086 wxPyEndAllowThreads(__tstate
);
41087 if (PyErr_Occurred()) SWIG_fail
;
41090 resultobj
= SWIG_From_int((int)(result
));
41098 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41101 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41103 return Py_BuildValue((char *)"");
41105 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41106 PyObject
*resultobj
;
41107 int arg1
= (int) 1 ;
41108 int arg2
= (int) 0 ;
41109 int arg3
= (int) 0 ;
41110 int arg4
= (int) 0 ;
41111 wxFlexGridSizer
*result
;
41112 PyObject
* obj0
= 0 ;
41113 PyObject
* obj1
= 0 ;
41114 PyObject
* obj2
= 0 ;
41115 PyObject
* obj3
= 0 ;
41116 char *kwnames
[] = {
41117 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41123 arg1
= (int)(SWIG_As_int(obj0
));
41124 if (SWIG_arg_fail(1)) SWIG_fail
;
41129 arg2
= (int)(SWIG_As_int(obj1
));
41130 if (SWIG_arg_fail(2)) SWIG_fail
;
41135 arg3
= (int)(SWIG_As_int(obj2
));
41136 if (SWIG_arg_fail(3)) SWIG_fail
;
41141 arg4
= (int)(SWIG_As_int(obj3
));
41142 if (SWIG_arg_fail(4)) SWIG_fail
;
41146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41147 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41159 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41160 PyObject
*resultobj
;
41161 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41163 int arg3
= (int) 0 ;
41164 PyObject
* obj0
= 0 ;
41165 PyObject
* obj1
= 0 ;
41166 PyObject
* obj2
= 0 ;
41167 char *kwnames
[] = {
41168 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41173 if (SWIG_arg_fail(1)) SWIG_fail
;
41175 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41176 if (SWIG_arg_fail(2)) SWIG_fail
;
41180 arg3
= (int)(SWIG_As_int(obj2
));
41181 if (SWIG_arg_fail(3)) SWIG_fail
;
41185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41186 (arg1
)->AddGrowableRow(arg2
,arg3
);
41188 wxPyEndAllowThreads(__tstate
);
41189 if (PyErr_Occurred()) SWIG_fail
;
41191 Py_INCREF(Py_None
); resultobj
= Py_None
;
41198 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41199 PyObject
*resultobj
;
41200 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41202 PyObject
* obj0
= 0 ;
41203 PyObject
* obj1
= 0 ;
41204 char *kwnames
[] = {
41205 (char *) "self",(char *) "idx", NULL
41208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41210 if (SWIG_arg_fail(1)) SWIG_fail
;
41212 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41213 if (SWIG_arg_fail(2)) SWIG_fail
;
41216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41217 (arg1
)->RemoveGrowableRow(arg2
);
41219 wxPyEndAllowThreads(__tstate
);
41220 if (PyErr_Occurred()) SWIG_fail
;
41222 Py_INCREF(Py_None
); resultobj
= Py_None
;
41229 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41230 PyObject
*resultobj
;
41231 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41233 int arg3
= (int) 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 PyObject
* obj2
= 0 ;
41237 char *kwnames
[] = {
41238 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41243 if (SWIG_arg_fail(1)) SWIG_fail
;
41245 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41246 if (SWIG_arg_fail(2)) SWIG_fail
;
41250 arg3
= (int)(SWIG_As_int(obj2
));
41251 if (SWIG_arg_fail(3)) SWIG_fail
;
41255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41256 (arg1
)->AddGrowableCol(arg2
,arg3
);
41258 wxPyEndAllowThreads(__tstate
);
41259 if (PyErr_Occurred()) SWIG_fail
;
41261 Py_INCREF(Py_None
); resultobj
= Py_None
;
41268 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41269 PyObject
*resultobj
;
41270 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41272 PyObject
* obj0
= 0 ;
41273 PyObject
* obj1
= 0 ;
41274 char *kwnames
[] = {
41275 (char *) "self",(char *) "idx", NULL
41278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41280 if (SWIG_arg_fail(1)) SWIG_fail
;
41282 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41283 if (SWIG_arg_fail(2)) SWIG_fail
;
41286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41287 (arg1
)->RemoveGrowableCol(arg2
);
41289 wxPyEndAllowThreads(__tstate
);
41290 if (PyErr_Occurred()) SWIG_fail
;
41292 Py_INCREF(Py_None
); resultobj
= Py_None
;
41299 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41300 PyObject
*resultobj
;
41301 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 char *kwnames
[] = {
41306 (char *) "self",(char *) "direction", NULL
41309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41311 if (SWIG_arg_fail(1)) SWIG_fail
;
41313 arg2
= (int)(SWIG_As_int(obj1
));
41314 if (SWIG_arg_fail(2)) SWIG_fail
;
41317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41318 (arg1
)->SetFlexibleDirection(arg2
);
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41323 Py_INCREF(Py_None
); resultobj
= Py_None
;
41330 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41331 PyObject
*resultobj
;
41332 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41334 PyObject
* obj0
= 0 ;
41335 char *kwnames
[] = {
41336 (char *) "self", NULL
41339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41341 if (SWIG_arg_fail(1)) SWIG_fail
;
41343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41344 result
= (int)(arg1
)->GetFlexibleDirection();
41346 wxPyEndAllowThreads(__tstate
);
41347 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= SWIG_From_int((int)(result
));
41358 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41359 PyObject
*resultobj
;
41360 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41361 wxFlexSizerGrowMode arg2
;
41362 PyObject
* obj0
= 0 ;
41363 PyObject
* obj1
= 0 ;
41364 char *kwnames
[] = {
41365 (char *) "self",(char *) "mode", NULL
41368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41370 if (SWIG_arg_fail(1)) SWIG_fail
;
41372 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41373 if (SWIG_arg_fail(2)) SWIG_fail
;
41376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41377 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41379 wxPyEndAllowThreads(__tstate
);
41380 if (PyErr_Occurred()) SWIG_fail
;
41382 Py_INCREF(Py_None
); resultobj
= Py_None
;
41389 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41390 PyObject
*resultobj
;
41391 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41392 wxFlexSizerGrowMode result
;
41393 PyObject
* obj0
= 0 ;
41394 char *kwnames
[] = {
41395 (char *) "self", NULL
41398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41400 if (SWIG_arg_fail(1)) SWIG_fail
;
41402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41403 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41405 wxPyEndAllowThreads(__tstate
);
41406 if (PyErr_Occurred()) SWIG_fail
;
41408 resultobj
= SWIG_From_int((result
));
41415 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41416 PyObject
*resultobj
;
41417 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41418 wxArrayInt
*result
;
41419 PyObject
* obj0
= 0 ;
41420 char *kwnames
[] = {
41421 (char *) "self", NULL
41424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41426 if (SWIG_arg_fail(1)) SWIG_fail
;
41428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41430 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41431 result
= (wxArrayInt
*) &_result_ref
;
41434 wxPyEndAllowThreads(__tstate
);
41435 if (PyErr_Occurred()) SWIG_fail
;
41438 resultobj
= PyList_New(0);
41440 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41441 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41442 PyList_Append(resultobj
, val
);
41452 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41453 PyObject
*resultobj
;
41454 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41455 wxArrayInt
*result
;
41456 PyObject
* obj0
= 0 ;
41457 char *kwnames
[] = {
41458 (char *) "self", NULL
41461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41463 if (SWIG_arg_fail(1)) SWIG_fail
;
41465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41467 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41468 result
= (wxArrayInt
*) &_result_ref
;
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41475 resultobj
= PyList_New(0);
41477 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41478 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41479 PyList_Append(resultobj
, val
);
41489 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41492 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41494 return Py_BuildValue((char *)"");
41496 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41497 PyObject
*resultobj
;
41498 wxStdDialogButtonSizer
*result
;
41499 char *kwnames
[] = {
41503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41506 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41508 wxPyEndAllowThreads(__tstate
);
41509 if (PyErr_Occurred()) SWIG_fail
;
41511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41518 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41519 PyObject
*resultobj
;
41520 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41521 wxButton
*arg2
= (wxButton
*) 0 ;
41522 PyObject
* obj0
= 0 ;
41523 PyObject
* obj1
= 0 ;
41524 char *kwnames
[] = {
41525 (char *) "self",(char *) "button", NULL
41528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41530 if (SWIG_arg_fail(1)) SWIG_fail
;
41531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41532 if (SWIG_arg_fail(2)) SWIG_fail
;
41534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41535 (arg1
)->AddButton(arg2
);
41537 wxPyEndAllowThreads(__tstate
);
41538 if (PyErr_Occurred()) SWIG_fail
;
41540 Py_INCREF(Py_None
); resultobj
= Py_None
;
41547 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41548 PyObject
*resultobj
;
41549 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41550 PyObject
* obj0
= 0 ;
41551 char *kwnames
[] = {
41552 (char *) "self", NULL
41555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41557 if (SWIG_arg_fail(1)) SWIG_fail
;
41559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41562 wxPyEndAllowThreads(__tstate
);
41563 if (PyErr_Occurred()) SWIG_fail
;
41565 Py_INCREF(Py_None
); resultobj
= Py_None
;
41572 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41573 PyObject
*resultobj
;
41574 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41575 wxButton
*arg2
= (wxButton
*) 0 ;
41576 PyObject
* obj0
= 0 ;
41577 PyObject
* obj1
= 0 ;
41578 char *kwnames
[] = {
41579 (char *) "self",(char *) "button", NULL
41582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41584 if (SWIG_arg_fail(1)) SWIG_fail
;
41585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41586 if (SWIG_arg_fail(2)) SWIG_fail
;
41588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41589 (arg1
)->SetAffirmativeButton(arg2
);
41591 wxPyEndAllowThreads(__tstate
);
41592 if (PyErr_Occurred()) SWIG_fail
;
41594 Py_INCREF(Py_None
); resultobj
= Py_None
;
41601 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41602 PyObject
*resultobj
;
41603 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41604 wxButton
*arg2
= (wxButton
*) 0 ;
41605 PyObject
* obj0
= 0 ;
41606 PyObject
* obj1
= 0 ;
41607 char *kwnames
[] = {
41608 (char *) "self",(char *) "button", NULL
41611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41613 if (SWIG_arg_fail(1)) SWIG_fail
;
41614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41615 if (SWIG_arg_fail(2)) SWIG_fail
;
41617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41618 (arg1
)->SetNegativeButton(arg2
);
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41623 Py_INCREF(Py_None
); resultobj
= Py_None
;
41630 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41631 PyObject
*resultobj
;
41632 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41633 wxButton
*arg2
= (wxButton
*) 0 ;
41634 PyObject
* obj0
= 0 ;
41635 PyObject
* obj1
= 0 ;
41636 char *kwnames
[] = {
41637 (char *) "self",(char *) "button", NULL
41640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41642 if (SWIG_arg_fail(1)) SWIG_fail
;
41643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41644 if (SWIG_arg_fail(2)) SWIG_fail
;
41646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41647 (arg1
)->SetCancelButton(arg2
);
41649 wxPyEndAllowThreads(__tstate
);
41650 if (PyErr_Occurred()) SWIG_fail
;
41652 Py_INCREF(Py_None
); resultobj
= Py_None
;
41659 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41660 PyObject
*resultobj
;
41661 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41663 PyObject
* obj0
= 0 ;
41664 char *kwnames
[] = {
41665 (char *) "self", NULL
41668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41670 if (SWIG_arg_fail(1)) SWIG_fail
;
41672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41673 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41675 wxPyEndAllowThreads(__tstate
);
41676 if (PyErr_Occurred()) SWIG_fail
;
41679 resultobj
= wxPyMake_wxObject(result
, 0);
41687 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41688 PyObject
*resultobj
;
41689 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41691 PyObject
* obj0
= 0 ;
41692 char *kwnames
[] = {
41693 (char *) "self", NULL
41696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41698 if (SWIG_arg_fail(1)) SWIG_fail
;
41700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41701 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41703 wxPyEndAllowThreads(__tstate
);
41704 if (PyErr_Occurred()) SWIG_fail
;
41707 resultobj
= wxPyMake_wxObject(result
, 0);
41715 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41716 PyObject
*resultobj
;
41717 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41719 PyObject
* obj0
= 0 ;
41720 char *kwnames
[] = {
41721 (char *) "self", NULL
41724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41726 if (SWIG_arg_fail(1)) SWIG_fail
;
41728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41729 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41731 wxPyEndAllowThreads(__tstate
);
41732 if (PyErr_Occurred()) SWIG_fail
;
41735 resultobj
= wxPyMake_wxObject(result
, 0);
41743 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41744 PyObject
*resultobj
;
41745 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41747 PyObject
* obj0
= 0 ;
41748 char *kwnames
[] = {
41749 (char *) "self", NULL
41752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41754 if (SWIG_arg_fail(1)) SWIG_fail
;
41756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41763 resultobj
= wxPyMake_wxObject(result
, 0);
41771 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41772 PyObject
*resultobj
;
41773 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41775 PyObject
* obj0
= 0 ;
41776 char *kwnames
[] = {
41777 (char *) "self", NULL
41780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41782 if (SWIG_arg_fail(1)) SWIG_fail
;
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= wxPyMake_wxObject(result
, 0);
41799 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41802 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41804 return Py_BuildValue((char *)"");
41806 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41807 PyObject
*resultobj
;
41808 int arg1
= (int) 0 ;
41809 int arg2
= (int) 0 ;
41810 wxGBPosition
*result
;
41811 PyObject
* obj0
= 0 ;
41812 PyObject
* obj1
= 0 ;
41813 char *kwnames
[] = {
41814 (char *) "row",(char *) "col", NULL
41817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41820 arg1
= (int)(SWIG_As_int(obj0
));
41821 if (SWIG_arg_fail(1)) SWIG_fail
;
41826 arg2
= (int)(SWIG_As_int(obj1
));
41827 if (SWIG_arg_fail(2)) SWIG_fail
;
41831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41832 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41834 wxPyEndAllowThreads(__tstate
);
41835 if (PyErr_Occurred()) SWIG_fail
;
41837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41844 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41845 PyObject
*resultobj
;
41846 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41848 PyObject
* obj0
= 0 ;
41849 char *kwnames
[] = {
41850 (char *) "self", NULL
41853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41855 if (SWIG_arg_fail(1)) SWIG_fail
;
41857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41858 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41860 wxPyEndAllowThreads(__tstate
);
41861 if (PyErr_Occurred()) SWIG_fail
;
41864 resultobj
= SWIG_From_int((int)(result
));
41872 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41873 PyObject
*resultobj
;
41874 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41876 PyObject
* obj0
= 0 ;
41877 char *kwnames
[] = {
41878 (char *) "self", NULL
41881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41883 if (SWIG_arg_fail(1)) SWIG_fail
;
41885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41886 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41888 wxPyEndAllowThreads(__tstate
);
41889 if (PyErr_Occurred()) SWIG_fail
;
41892 resultobj
= SWIG_From_int((int)(result
));
41900 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41901 PyObject
*resultobj
;
41902 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41904 PyObject
* obj0
= 0 ;
41905 PyObject
* obj1
= 0 ;
41906 char *kwnames
[] = {
41907 (char *) "self",(char *) "row", NULL
41910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41912 if (SWIG_arg_fail(1)) SWIG_fail
;
41914 arg2
= (int)(SWIG_As_int(obj1
));
41915 if (SWIG_arg_fail(2)) SWIG_fail
;
41918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41919 (arg1
)->SetRow(arg2
);
41921 wxPyEndAllowThreads(__tstate
);
41922 if (PyErr_Occurred()) SWIG_fail
;
41924 Py_INCREF(Py_None
); resultobj
= Py_None
;
41931 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41932 PyObject
*resultobj
;
41933 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41935 PyObject
* obj0
= 0 ;
41936 PyObject
* obj1
= 0 ;
41937 char *kwnames
[] = {
41938 (char *) "self",(char *) "col", NULL
41941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41943 if (SWIG_arg_fail(1)) SWIG_fail
;
41945 arg2
= (int)(SWIG_As_int(obj1
));
41946 if (SWIG_arg_fail(2)) SWIG_fail
;
41949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41950 (arg1
)->SetCol(arg2
);
41952 wxPyEndAllowThreads(__tstate
);
41953 if (PyErr_Occurred()) SWIG_fail
;
41955 Py_INCREF(Py_None
); resultobj
= Py_None
;
41962 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41963 PyObject
*resultobj
;
41964 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41965 wxGBPosition
*arg2
= 0 ;
41967 wxGBPosition temp2
;
41968 PyObject
* obj0
= 0 ;
41969 PyObject
* obj1
= 0 ;
41970 char *kwnames
[] = {
41971 (char *) "self",(char *) "other", NULL
41974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41976 if (SWIG_arg_fail(1)) SWIG_fail
;
41979 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41983 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41985 wxPyEndAllowThreads(__tstate
);
41986 if (PyErr_Occurred()) SWIG_fail
;
41989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41997 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41998 PyObject
*resultobj
;
41999 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42000 wxGBPosition
*arg2
= 0 ;
42002 wxGBPosition temp2
;
42003 PyObject
* obj0
= 0 ;
42004 PyObject
* obj1
= 0 ;
42005 char *kwnames
[] = {
42006 (char *) "self",(char *) "other", NULL
42009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42011 if (SWIG_arg_fail(1)) SWIG_fail
;
42014 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42018 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42032 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42033 PyObject
*resultobj
;
42034 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42035 int arg2
= (int) 0 ;
42036 int arg3
= (int) 0 ;
42037 PyObject
* obj0
= 0 ;
42038 PyObject
* obj1
= 0 ;
42039 PyObject
* obj2
= 0 ;
42040 char *kwnames
[] = {
42041 (char *) "self",(char *) "row",(char *) "col", NULL
42044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42046 if (SWIG_arg_fail(1)) SWIG_fail
;
42049 arg2
= (int)(SWIG_As_int(obj1
));
42050 if (SWIG_arg_fail(2)) SWIG_fail
;
42055 arg3
= (int)(SWIG_As_int(obj2
));
42056 if (SWIG_arg_fail(3)) SWIG_fail
;
42060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42061 wxGBPosition_Set(arg1
,arg2
,arg3
);
42063 wxPyEndAllowThreads(__tstate
);
42064 if (PyErr_Occurred()) SWIG_fail
;
42066 Py_INCREF(Py_None
); resultobj
= Py_None
;
42073 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42074 PyObject
*resultobj
;
42075 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42077 PyObject
* obj0
= 0 ;
42078 char *kwnames
[] = {
42079 (char *) "self", NULL
42082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42084 if (SWIG_arg_fail(1)) SWIG_fail
;
42086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42087 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42089 wxPyEndAllowThreads(__tstate
);
42090 if (PyErr_Occurred()) SWIG_fail
;
42092 resultobj
= result
;
42099 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42102 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42104 return Py_BuildValue((char *)"");
42106 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42107 PyObject
*resultobj
;
42108 int arg1
= (int) 1 ;
42109 int arg2
= (int) 1 ;
42111 PyObject
* obj0
= 0 ;
42112 PyObject
* obj1
= 0 ;
42113 char *kwnames
[] = {
42114 (char *) "rowspan",(char *) "colspan", NULL
42117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42120 arg1
= (int)(SWIG_As_int(obj0
));
42121 if (SWIG_arg_fail(1)) SWIG_fail
;
42126 arg2
= (int)(SWIG_As_int(obj1
));
42127 if (SWIG_arg_fail(2)) SWIG_fail
;
42131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42132 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42134 wxPyEndAllowThreads(__tstate
);
42135 if (PyErr_Occurred()) SWIG_fail
;
42137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42144 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42145 PyObject
*resultobj
;
42146 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42148 PyObject
* obj0
= 0 ;
42149 char *kwnames
[] = {
42150 (char *) "self", NULL
42153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42155 if (SWIG_arg_fail(1)) SWIG_fail
;
42157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42158 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42160 wxPyEndAllowThreads(__tstate
);
42161 if (PyErr_Occurred()) SWIG_fail
;
42164 resultobj
= SWIG_From_int((int)(result
));
42172 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42173 PyObject
*resultobj
;
42174 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42176 PyObject
* obj0
= 0 ;
42177 char *kwnames
[] = {
42178 (char *) "self", NULL
42181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42183 if (SWIG_arg_fail(1)) SWIG_fail
;
42185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42186 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42188 wxPyEndAllowThreads(__tstate
);
42189 if (PyErr_Occurred()) SWIG_fail
;
42192 resultobj
= SWIG_From_int((int)(result
));
42200 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42201 PyObject
*resultobj
;
42202 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42204 PyObject
* obj0
= 0 ;
42205 PyObject
* obj1
= 0 ;
42206 char *kwnames
[] = {
42207 (char *) "self",(char *) "rowspan", NULL
42210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42212 if (SWIG_arg_fail(1)) SWIG_fail
;
42214 arg2
= (int)(SWIG_As_int(obj1
));
42215 if (SWIG_arg_fail(2)) SWIG_fail
;
42218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42219 (arg1
)->SetRowspan(arg2
);
42221 wxPyEndAllowThreads(__tstate
);
42222 if (PyErr_Occurred()) SWIG_fail
;
42224 Py_INCREF(Py_None
); resultobj
= Py_None
;
42231 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42232 PyObject
*resultobj
;
42233 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42235 PyObject
* obj0
= 0 ;
42236 PyObject
* obj1
= 0 ;
42237 char *kwnames
[] = {
42238 (char *) "self",(char *) "colspan", NULL
42241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42243 if (SWIG_arg_fail(1)) SWIG_fail
;
42245 arg2
= (int)(SWIG_As_int(obj1
));
42246 if (SWIG_arg_fail(2)) SWIG_fail
;
42249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42250 (arg1
)->SetColspan(arg2
);
42252 wxPyEndAllowThreads(__tstate
);
42253 if (PyErr_Occurred()) SWIG_fail
;
42255 Py_INCREF(Py_None
); resultobj
= Py_None
;
42262 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42263 PyObject
*resultobj
;
42264 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42265 wxGBSpan
*arg2
= 0 ;
42268 PyObject
* obj0
= 0 ;
42269 PyObject
* obj1
= 0 ;
42270 char *kwnames
[] = {
42271 (char *) "self",(char *) "other", NULL
42274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42276 if (SWIG_arg_fail(1)) SWIG_fail
;
42279 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42283 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42285 wxPyEndAllowThreads(__tstate
);
42286 if (PyErr_Occurred()) SWIG_fail
;
42289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42297 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42298 PyObject
*resultobj
;
42299 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42300 wxGBSpan
*arg2
= 0 ;
42303 PyObject
* obj0
= 0 ;
42304 PyObject
* obj1
= 0 ;
42305 char *kwnames
[] = {
42306 (char *) "self",(char *) "other", NULL
42309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42311 if (SWIG_arg_fail(1)) SWIG_fail
;
42314 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42318 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42320 wxPyEndAllowThreads(__tstate
);
42321 if (PyErr_Occurred()) SWIG_fail
;
42324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42332 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42333 PyObject
*resultobj
;
42334 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42335 int arg2
= (int) 1 ;
42336 int arg3
= (int) 1 ;
42337 PyObject
* obj0
= 0 ;
42338 PyObject
* obj1
= 0 ;
42339 PyObject
* obj2
= 0 ;
42340 char *kwnames
[] = {
42341 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42346 if (SWIG_arg_fail(1)) SWIG_fail
;
42349 arg2
= (int)(SWIG_As_int(obj1
));
42350 if (SWIG_arg_fail(2)) SWIG_fail
;
42355 arg3
= (int)(SWIG_As_int(obj2
));
42356 if (SWIG_arg_fail(3)) SWIG_fail
;
42360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42361 wxGBSpan_Set(arg1
,arg2
,arg3
);
42363 wxPyEndAllowThreads(__tstate
);
42364 if (PyErr_Occurred()) SWIG_fail
;
42366 Py_INCREF(Py_None
); resultobj
= Py_None
;
42373 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42374 PyObject
*resultobj
;
42375 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42377 PyObject
* obj0
= 0 ;
42378 char *kwnames
[] = {
42379 (char *) "self", NULL
42382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42384 if (SWIG_arg_fail(1)) SWIG_fail
;
42386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42387 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42389 wxPyEndAllowThreads(__tstate
);
42390 if (PyErr_Occurred()) SWIG_fail
;
42392 resultobj
= result
;
42399 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42402 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42404 return Py_BuildValue((char *)"");
42406 static int _wrap_DefaultSpan_set(PyObject
*) {
42407 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42412 static PyObject
*_wrap_DefaultSpan_get(void) {
42415 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42420 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42421 PyObject
*resultobj
;
42422 wxGBSizerItem
*result
;
42423 char *kwnames
[] = {
42427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42430 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42432 wxPyEndAllowThreads(__tstate
);
42433 if (PyErr_Occurred()) SWIG_fail
;
42435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42442 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42443 PyObject
*resultobj
;
42444 wxWindow
*arg1
= (wxWindow
*) 0 ;
42445 wxGBPosition
*arg2
= 0 ;
42446 wxGBSpan
*arg3
= 0 ;
42449 PyObject
*arg6
= (PyObject
*) NULL
;
42450 wxGBSizerItem
*result
;
42451 wxGBPosition temp2
;
42453 PyObject
* obj0
= 0 ;
42454 PyObject
* obj1
= 0 ;
42455 PyObject
* obj2
= 0 ;
42456 PyObject
* obj3
= 0 ;
42457 PyObject
* obj4
= 0 ;
42458 PyObject
* obj5
= 0 ;
42459 char *kwnames
[] = {
42460 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42465 if (SWIG_arg_fail(1)) SWIG_fail
;
42468 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42472 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42475 arg4
= (int)(SWIG_As_int(obj3
));
42476 if (SWIG_arg_fail(4)) SWIG_fail
;
42479 arg5
= (int)(SWIG_As_int(obj4
));
42480 if (SWIG_arg_fail(5)) SWIG_fail
;
42486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42487 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42489 wxPyEndAllowThreads(__tstate
);
42490 if (PyErr_Occurred()) SWIG_fail
;
42492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42499 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42500 PyObject
*resultobj
;
42501 wxSizer
*arg1
= (wxSizer
*) 0 ;
42502 wxGBPosition
*arg2
= 0 ;
42503 wxGBSpan
*arg3
= 0 ;
42506 PyObject
*arg6
= (PyObject
*) NULL
;
42507 wxGBSizerItem
*result
;
42508 wxGBPosition temp2
;
42510 PyObject
* obj0
= 0 ;
42511 PyObject
* obj1
= 0 ;
42512 PyObject
* obj2
= 0 ;
42513 PyObject
* obj3
= 0 ;
42514 PyObject
* obj4
= 0 ;
42515 PyObject
* obj5
= 0 ;
42516 char *kwnames
[] = {
42517 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42522 if (SWIG_arg_fail(1)) SWIG_fail
;
42525 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42529 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42532 arg4
= (int)(SWIG_As_int(obj3
));
42533 if (SWIG_arg_fail(4)) SWIG_fail
;
42536 arg5
= (int)(SWIG_As_int(obj4
));
42537 if (SWIG_arg_fail(5)) SWIG_fail
;
42543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42544 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42556 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42557 PyObject
*resultobj
;
42560 wxGBPosition
*arg3
= 0 ;
42561 wxGBSpan
*arg4
= 0 ;
42564 PyObject
*arg7
= (PyObject
*) NULL
;
42565 wxGBSizerItem
*result
;
42566 wxGBPosition temp3
;
42568 PyObject
* obj0
= 0 ;
42569 PyObject
* obj1
= 0 ;
42570 PyObject
* obj2
= 0 ;
42571 PyObject
* obj3
= 0 ;
42572 PyObject
* obj4
= 0 ;
42573 PyObject
* obj5
= 0 ;
42574 PyObject
* obj6
= 0 ;
42575 char *kwnames
[] = {
42576 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42581 arg1
= (int)(SWIG_As_int(obj0
));
42582 if (SWIG_arg_fail(1)) SWIG_fail
;
42585 arg2
= (int)(SWIG_As_int(obj1
));
42586 if (SWIG_arg_fail(2)) SWIG_fail
;
42590 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42594 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42597 arg5
= (int)(SWIG_As_int(obj4
));
42598 if (SWIG_arg_fail(5)) SWIG_fail
;
42601 arg6
= (int)(SWIG_As_int(obj5
));
42602 if (SWIG_arg_fail(6)) SWIG_fail
;
42608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42609 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42621 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42622 PyObject
*resultobj
;
42623 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42624 wxGBPosition result
;
42625 PyObject
* obj0
= 0 ;
42626 char *kwnames
[] = {
42627 (char *) "self", NULL
42630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42632 if (SWIG_arg_fail(1)) SWIG_fail
;
42634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42635 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42637 wxPyEndAllowThreads(__tstate
);
42638 if (PyErr_Occurred()) SWIG_fail
;
42641 wxGBPosition
* resultptr
;
42642 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42651 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42652 PyObject
*resultobj
;
42653 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42655 PyObject
* obj0
= 0 ;
42656 char *kwnames
[] = {
42657 (char *) "self", NULL
42660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42662 if (SWIG_arg_fail(1)) SWIG_fail
;
42664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42665 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42667 wxPyEndAllowThreads(__tstate
);
42668 if (PyErr_Occurred()) SWIG_fail
;
42671 wxGBSpan
* resultptr
;
42672 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42681 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42682 PyObject
*resultobj
;
42683 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42684 wxGBPosition
*arg2
= 0 ;
42686 wxGBPosition temp2
;
42687 PyObject
* obj0
= 0 ;
42688 PyObject
* obj1
= 0 ;
42689 char *kwnames
[] = {
42690 (char *) "self",(char *) "pos", NULL
42693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42695 if (SWIG_arg_fail(1)) SWIG_fail
;
42698 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42702 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42704 wxPyEndAllowThreads(__tstate
);
42705 if (PyErr_Occurred()) SWIG_fail
;
42708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42716 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42717 PyObject
*resultobj
;
42718 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42719 wxGBSpan
*arg2
= 0 ;
42722 PyObject
* obj0
= 0 ;
42723 PyObject
* obj1
= 0 ;
42724 char *kwnames
[] = {
42725 (char *) "self",(char *) "span", NULL
42728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42730 if (SWIG_arg_fail(1)) SWIG_fail
;
42733 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42737 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42739 wxPyEndAllowThreads(__tstate
);
42740 if (PyErr_Occurred()) SWIG_fail
;
42743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42751 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42752 PyObject
*resultobj
;
42753 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42754 wxGBSizerItem
*arg2
= 0 ;
42756 PyObject
* obj0
= 0 ;
42757 PyObject
* obj1
= 0 ;
42758 char *kwnames
[] = {
42759 (char *) "self",(char *) "other", NULL
42762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42764 if (SWIG_arg_fail(1)) SWIG_fail
;
42766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42767 if (SWIG_arg_fail(2)) SWIG_fail
;
42768 if (arg2
== NULL
) {
42769 SWIG_null_ref("wxGBSizerItem");
42771 if (SWIG_arg_fail(2)) SWIG_fail
;
42774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42775 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42777 wxPyEndAllowThreads(__tstate
);
42778 if (PyErr_Occurred()) SWIG_fail
;
42781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42789 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42790 PyObject
*resultobj
;
42791 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42792 wxGBPosition
*arg2
= 0 ;
42793 wxGBSpan
*arg3
= 0 ;
42795 wxGBPosition temp2
;
42797 PyObject
* obj0
= 0 ;
42798 PyObject
* obj1
= 0 ;
42799 PyObject
* obj2
= 0 ;
42800 char *kwnames
[] = {
42801 (char *) "self",(char *) "pos",(char *) "span", NULL
42804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42806 if (SWIG_arg_fail(1)) SWIG_fail
;
42809 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42813 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42817 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42819 wxPyEndAllowThreads(__tstate
);
42820 if (PyErr_Occurred()) SWIG_fail
;
42823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42831 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42832 PyObject
*resultobj
;
42833 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42834 wxGBPosition result
;
42835 PyObject
* obj0
= 0 ;
42836 char *kwnames
[] = {
42837 (char *) "self", NULL
42840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42842 if (SWIG_arg_fail(1)) SWIG_fail
;
42844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42845 result
= wxGBSizerItem_GetEndPos(arg1
);
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42851 wxGBPosition
* resultptr
;
42852 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42861 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42862 PyObject
*resultobj
;
42863 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42864 wxGridBagSizer
*result
;
42865 PyObject
* obj0
= 0 ;
42866 char *kwnames
[] = {
42867 (char *) "self", NULL
42870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42872 if (SWIG_arg_fail(1)) SWIG_fail
;
42874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42875 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42877 wxPyEndAllowThreads(__tstate
);
42878 if (PyErr_Occurred()) SWIG_fail
;
42880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42887 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42888 PyObject
*resultobj
;
42889 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42890 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42891 PyObject
* obj0
= 0 ;
42892 PyObject
* obj1
= 0 ;
42893 char *kwnames
[] = {
42894 (char *) "self",(char *) "sizer", NULL
42897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42899 if (SWIG_arg_fail(1)) SWIG_fail
;
42900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42901 if (SWIG_arg_fail(2)) SWIG_fail
;
42903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42904 (arg1
)->SetGBSizer(arg2
);
42906 wxPyEndAllowThreads(__tstate
);
42907 if (PyErr_Occurred()) SWIG_fail
;
42909 Py_INCREF(Py_None
); resultobj
= Py_None
;
42916 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42919 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42921 return Py_BuildValue((char *)"");
42923 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42924 PyObject
*resultobj
;
42925 int arg1
= (int) 0 ;
42926 int arg2
= (int) 0 ;
42927 wxGridBagSizer
*result
;
42928 PyObject
* obj0
= 0 ;
42929 PyObject
* obj1
= 0 ;
42930 char *kwnames
[] = {
42931 (char *) "vgap",(char *) "hgap", NULL
42934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42937 arg1
= (int)(SWIG_As_int(obj0
));
42938 if (SWIG_arg_fail(1)) SWIG_fail
;
42943 arg2
= (int)(SWIG_As_int(obj1
));
42944 if (SWIG_arg_fail(2)) SWIG_fail
;
42948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42949 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42951 wxPyEndAllowThreads(__tstate
);
42952 if (PyErr_Occurred()) SWIG_fail
;
42954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42961 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42962 PyObject
*resultobj
;
42963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42964 PyObject
*arg2
= (PyObject
*) 0 ;
42965 wxGBPosition
*arg3
= 0 ;
42966 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42967 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42968 int arg5
= (int) 0 ;
42969 int arg6
= (int) 0 ;
42970 PyObject
*arg7
= (PyObject
*) NULL
;
42971 wxGBSizerItem
*result
;
42972 wxGBPosition temp3
;
42974 PyObject
* obj0
= 0 ;
42975 PyObject
* obj1
= 0 ;
42976 PyObject
* obj2
= 0 ;
42977 PyObject
* obj3
= 0 ;
42978 PyObject
* obj4
= 0 ;
42979 PyObject
* obj5
= 0 ;
42980 PyObject
* obj6
= 0 ;
42981 char *kwnames
[] = {
42982 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42987 if (SWIG_arg_fail(1)) SWIG_fail
;
42991 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42996 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43001 arg5
= (int)(SWIG_As_int(obj4
));
43002 if (SWIG_arg_fail(5)) SWIG_fail
;
43007 arg6
= (int)(SWIG_As_int(obj5
));
43008 if (SWIG_arg_fail(6)) SWIG_fail
;
43015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43016 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43018 wxPyEndAllowThreads(__tstate
);
43019 if (PyErr_Occurred()) SWIG_fail
;
43021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43028 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43029 PyObject
*resultobj
;
43030 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43031 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43032 wxGBSizerItem
*result
;
43033 PyObject
* obj0
= 0 ;
43034 PyObject
* obj1
= 0 ;
43035 char *kwnames
[] = {
43036 (char *) "self",(char *) "item", NULL
43039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43041 if (SWIG_arg_fail(1)) SWIG_fail
;
43042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43043 if (SWIG_arg_fail(2)) SWIG_fail
;
43045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43046 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43048 wxPyEndAllowThreads(__tstate
);
43049 if (PyErr_Occurred()) SWIG_fail
;
43051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43058 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43059 PyObject
*resultobj
;
43060 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43064 PyObject
* obj0
= 0 ;
43065 PyObject
* obj1
= 0 ;
43066 PyObject
* obj2
= 0 ;
43067 char *kwnames
[] = {
43068 (char *) "self",(char *) "row",(char *) "col", NULL
43071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43073 if (SWIG_arg_fail(1)) SWIG_fail
;
43075 arg2
= (int)(SWIG_As_int(obj1
));
43076 if (SWIG_arg_fail(2)) SWIG_fail
;
43079 arg3
= (int)(SWIG_As_int(obj2
));
43080 if (SWIG_arg_fail(3)) SWIG_fail
;
43083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43084 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43086 wxPyEndAllowThreads(__tstate
);
43087 if (PyErr_Occurred()) SWIG_fail
;
43090 wxSize
* resultptr
;
43091 resultptr
= new wxSize((wxSize
&)(result
));
43092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43100 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43101 PyObject
*resultobj
;
43102 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43104 PyObject
* obj0
= 0 ;
43105 char *kwnames
[] = {
43106 (char *) "self", NULL
43109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43111 if (SWIG_arg_fail(1)) SWIG_fail
;
43113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43114 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43116 wxPyEndAllowThreads(__tstate
);
43117 if (PyErr_Occurred()) SWIG_fail
;
43120 wxSize
* resultptr
;
43121 resultptr
= new wxSize((wxSize
&)(result
));
43122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43130 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43131 PyObject
*resultobj
;
43132 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43135 PyObject
* obj0
= 0 ;
43136 PyObject
* obj1
= 0 ;
43137 char *kwnames
[] = {
43138 (char *) "self",(char *) "sz", NULL
43141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43143 if (SWIG_arg_fail(1)) SWIG_fail
;
43146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43150 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43152 wxPyEndAllowThreads(__tstate
);
43153 if (PyErr_Occurred()) SWIG_fail
;
43155 Py_INCREF(Py_None
); resultobj
= Py_None
;
43162 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43163 PyObject
*resultobj
;
43164 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43165 wxWindow
*arg2
= (wxWindow
*) 0 ;
43166 wxGBPosition result
;
43167 PyObject
* obj0
= 0 ;
43168 PyObject
* obj1
= 0 ;
43170 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43172 if (SWIG_arg_fail(1)) SWIG_fail
;
43173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43174 if (SWIG_arg_fail(2)) SWIG_fail
;
43176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43177 result
= (arg1
)->GetItemPosition(arg2
);
43179 wxPyEndAllowThreads(__tstate
);
43180 if (PyErr_Occurred()) SWIG_fail
;
43183 wxGBPosition
* resultptr
;
43184 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43193 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43194 PyObject
*resultobj
;
43195 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43196 wxSizer
*arg2
= (wxSizer
*) 0 ;
43197 wxGBPosition result
;
43198 PyObject
* obj0
= 0 ;
43199 PyObject
* obj1
= 0 ;
43201 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43203 if (SWIG_arg_fail(1)) SWIG_fail
;
43204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43205 if (SWIG_arg_fail(2)) SWIG_fail
;
43207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43208 result
= (arg1
)->GetItemPosition(arg2
);
43210 wxPyEndAllowThreads(__tstate
);
43211 if (PyErr_Occurred()) SWIG_fail
;
43214 wxGBPosition
* resultptr
;
43215 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43224 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43225 PyObject
*resultobj
;
43226 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43228 wxGBPosition result
;
43229 PyObject
* obj0
= 0 ;
43230 PyObject
* obj1
= 0 ;
43232 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43234 if (SWIG_arg_fail(1)) SWIG_fail
;
43236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43237 if (SWIG_arg_fail(2)) SWIG_fail
;
43240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43241 result
= (arg1
)->GetItemPosition(arg2
);
43243 wxPyEndAllowThreads(__tstate
);
43244 if (PyErr_Occurred()) SWIG_fail
;
43247 wxGBPosition
* resultptr
;
43248 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43257 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43262 argc
= PyObject_Length(args
);
43263 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43264 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43280 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43288 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43306 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43314 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43330 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43332 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43337 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43342 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43343 PyObject
*resultobj
;
43344 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43345 wxWindow
*arg2
= (wxWindow
*) 0 ;
43346 wxGBPosition
*arg3
= 0 ;
43348 wxGBPosition temp3
;
43349 PyObject
* obj0
= 0 ;
43350 PyObject
* obj1
= 0 ;
43351 PyObject
* obj2
= 0 ;
43353 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43355 if (SWIG_arg_fail(1)) SWIG_fail
;
43356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43357 if (SWIG_arg_fail(2)) SWIG_fail
;
43360 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43364 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43366 wxPyEndAllowThreads(__tstate
);
43367 if (PyErr_Occurred()) SWIG_fail
;
43370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43378 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43379 PyObject
*resultobj
;
43380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43381 wxSizer
*arg2
= (wxSizer
*) 0 ;
43382 wxGBPosition
*arg3
= 0 ;
43384 wxGBPosition temp3
;
43385 PyObject
* obj0
= 0 ;
43386 PyObject
* obj1
= 0 ;
43387 PyObject
* obj2
= 0 ;
43389 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43391 if (SWIG_arg_fail(1)) SWIG_fail
;
43392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43393 if (SWIG_arg_fail(2)) SWIG_fail
;
43396 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43400 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43402 wxPyEndAllowThreads(__tstate
);
43403 if (PyErr_Occurred()) SWIG_fail
;
43406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43414 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43415 PyObject
*resultobj
;
43416 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43418 wxGBPosition
*arg3
= 0 ;
43420 wxGBPosition temp3
;
43421 PyObject
* obj0
= 0 ;
43422 PyObject
* obj1
= 0 ;
43423 PyObject
* obj2
= 0 ;
43425 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43427 if (SWIG_arg_fail(1)) SWIG_fail
;
43429 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43430 if (SWIG_arg_fail(2)) SWIG_fail
;
43434 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43438 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43440 wxPyEndAllowThreads(__tstate
);
43441 if (PyErr_Occurred()) SWIG_fail
;
43444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43452 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43457 argc
= PyObject_Length(args
);
43458 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43459 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43465 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43475 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43484 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43487 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43506 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43515 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43518 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43527 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43535 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43538 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43541 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43547 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43552 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43553 PyObject
*resultobj
;
43554 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43555 wxWindow
*arg2
= (wxWindow
*) 0 ;
43557 PyObject
* obj0
= 0 ;
43558 PyObject
* obj1
= 0 ;
43560 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43562 if (SWIG_arg_fail(1)) SWIG_fail
;
43563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43564 if (SWIG_arg_fail(2)) SWIG_fail
;
43566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43567 result
= (arg1
)->GetItemSpan(arg2
);
43569 wxPyEndAllowThreads(__tstate
);
43570 if (PyErr_Occurred()) SWIG_fail
;
43573 wxGBSpan
* resultptr
;
43574 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43583 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43584 PyObject
*resultobj
;
43585 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43586 wxSizer
*arg2
= (wxSizer
*) 0 ;
43588 PyObject
* obj0
= 0 ;
43589 PyObject
* obj1
= 0 ;
43591 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43593 if (SWIG_arg_fail(1)) SWIG_fail
;
43594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43595 if (SWIG_arg_fail(2)) SWIG_fail
;
43597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43598 result
= (arg1
)->GetItemSpan(arg2
);
43600 wxPyEndAllowThreads(__tstate
);
43601 if (PyErr_Occurred()) SWIG_fail
;
43604 wxGBSpan
* resultptr
;
43605 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43614 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43615 PyObject
*resultobj
;
43616 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43619 PyObject
* obj0
= 0 ;
43620 PyObject
* obj1
= 0 ;
43622 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43626 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43627 if (SWIG_arg_fail(2)) SWIG_fail
;
43630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43631 result
= (arg1
)->GetItemSpan(arg2
);
43633 wxPyEndAllowThreads(__tstate
);
43634 if (PyErr_Occurred()) SWIG_fail
;
43637 wxGBSpan
* resultptr
;
43638 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43647 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43652 argc
= PyObject_Length(args
);
43653 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43654 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43660 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43670 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43678 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43686 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43696 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43704 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43712 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43720 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43722 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43727 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43732 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43733 PyObject
*resultobj
;
43734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43735 wxWindow
*arg2
= (wxWindow
*) 0 ;
43736 wxGBSpan
*arg3
= 0 ;
43739 PyObject
* obj0
= 0 ;
43740 PyObject
* obj1
= 0 ;
43741 PyObject
* obj2
= 0 ;
43743 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43745 if (SWIG_arg_fail(1)) SWIG_fail
;
43746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43747 if (SWIG_arg_fail(2)) SWIG_fail
;
43750 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43754 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43756 wxPyEndAllowThreads(__tstate
);
43757 if (PyErr_Occurred()) SWIG_fail
;
43760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43768 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43769 PyObject
*resultobj
;
43770 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43771 wxSizer
*arg2
= (wxSizer
*) 0 ;
43772 wxGBSpan
*arg3
= 0 ;
43775 PyObject
* obj0
= 0 ;
43776 PyObject
* obj1
= 0 ;
43777 PyObject
* obj2
= 0 ;
43779 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43781 if (SWIG_arg_fail(1)) SWIG_fail
;
43782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43783 if (SWIG_arg_fail(2)) SWIG_fail
;
43786 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43790 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43792 wxPyEndAllowThreads(__tstate
);
43793 if (PyErr_Occurred()) SWIG_fail
;
43796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43804 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43805 PyObject
*resultobj
;
43806 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43808 wxGBSpan
*arg3
= 0 ;
43811 PyObject
* obj0
= 0 ;
43812 PyObject
* obj1
= 0 ;
43813 PyObject
* obj2
= 0 ;
43815 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43817 if (SWIG_arg_fail(1)) SWIG_fail
;
43819 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43820 if (SWIG_arg_fail(2)) SWIG_fail
;
43824 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43828 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43830 wxPyEndAllowThreads(__tstate
);
43831 if (PyErr_Occurred()) SWIG_fail
;
43834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43842 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43847 argc
= PyObject_Length(args
);
43848 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43849 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43855 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43865 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43874 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43877 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43886 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43896 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43905 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43908 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43917 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43925 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43928 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43931 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43937 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43942 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43943 PyObject
*resultobj
;
43944 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43945 wxWindow
*arg2
= (wxWindow
*) 0 ;
43946 wxGBSizerItem
*result
;
43947 PyObject
* obj0
= 0 ;
43948 PyObject
* obj1
= 0 ;
43950 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43952 if (SWIG_arg_fail(1)) SWIG_fail
;
43953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43954 if (SWIG_arg_fail(2)) SWIG_fail
;
43956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43957 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43959 wxPyEndAllowThreads(__tstate
);
43960 if (PyErr_Occurred()) SWIG_fail
;
43962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43969 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43970 PyObject
*resultobj
;
43971 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43972 wxSizer
*arg2
= (wxSizer
*) 0 ;
43973 wxGBSizerItem
*result
;
43974 PyObject
* obj0
= 0 ;
43975 PyObject
* obj1
= 0 ;
43977 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43979 if (SWIG_arg_fail(1)) SWIG_fail
;
43980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43981 if (SWIG_arg_fail(2)) SWIG_fail
;
43983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43984 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43986 wxPyEndAllowThreads(__tstate
);
43987 if (PyErr_Occurred()) SWIG_fail
;
43989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43996 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44001 argc
= PyObject_Length(args
);
44002 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44003 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44009 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44019 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44027 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44045 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44053 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44058 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44063 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44064 PyObject
*resultobj
;
44065 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44066 wxGBPosition
*arg2
= 0 ;
44067 wxGBSizerItem
*result
;
44068 wxGBPosition temp2
;
44069 PyObject
* obj0
= 0 ;
44070 PyObject
* obj1
= 0 ;
44071 char *kwnames
[] = {
44072 (char *) "self",(char *) "pos", NULL
44075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44077 if (SWIG_arg_fail(1)) SWIG_fail
;
44080 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44084 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44086 wxPyEndAllowThreads(__tstate
);
44087 if (PyErr_Occurred()) SWIG_fail
;
44089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44096 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44097 PyObject
*resultobj
;
44098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44099 wxPoint
*arg2
= 0 ;
44100 wxGBSizerItem
*result
;
44102 PyObject
* obj0
= 0 ;
44103 PyObject
* obj1
= 0 ;
44104 char *kwnames
[] = {
44105 (char *) "self",(char *) "pt", NULL
44108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44110 if (SWIG_arg_fail(1)) SWIG_fail
;
44113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44117 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44119 wxPyEndAllowThreads(__tstate
);
44120 if (PyErr_Occurred()) SWIG_fail
;
44122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44129 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44130 PyObject
*resultobj
;
44131 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44132 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44133 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44135 PyObject
* obj0
= 0 ;
44136 PyObject
* obj1
= 0 ;
44137 PyObject
* obj2
= 0 ;
44138 char *kwnames
[] = {
44139 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44144 if (SWIG_arg_fail(1)) SWIG_fail
;
44145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44146 if (SWIG_arg_fail(2)) SWIG_fail
;
44148 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44149 if (SWIG_arg_fail(3)) SWIG_fail
;
44152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44153 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44155 wxPyEndAllowThreads(__tstate
);
44156 if (PyErr_Occurred()) SWIG_fail
;
44159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44167 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44168 PyObject
*resultobj
;
44169 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44170 wxGBPosition
*arg2
= 0 ;
44171 wxGBSpan
*arg3
= 0 ;
44172 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44174 wxGBPosition temp2
;
44176 PyObject
* obj0
= 0 ;
44177 PyObject
* obj1
= 0 ;
44178 PyObject
* obj2
= 0 ;
44179 PyObject
* obj3
= 0 ;
44180 char *kwnames
[] = {
44181 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44186 if (SWIG_arg_fail(1)) SWIG_fail
;
44189 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44193 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44196 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44197 if (SWIG_arg_fail(4)) SWIG_fail
;
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44203 wxPyEndAllowThreads(__tstate
);
44204 if (PyErr_Occurred()) SWIG_fail
;
44207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44215 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44218 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44220 return Py_BuildValue((char *)"");
44222 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44223 PyObject
*resultobj
;
44224 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44225 wxRelationship arg2
;
44226 wxWindow
*arg3
= (wxWindow
*) 0 ;
44228 int arg5
= (int) 0 ;
44229 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44230 PyObject
* obj0
= 0 ;
44231 PyObject
* obj1
= 0 ;
44232 PyObject
* obj2
= 0 ;
44233 PyObject
* obj3
= 0 ;
44234 PyObject
* obj4
= 0 ;
44235 PyObject
* obj5
= 0 ;
44236 char *kwnames
[] = {
44237 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44242 if (SWIG_arg_fail(1)) SWIG_fail
;
44244 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44245 if (SWIG_arg_fail(2)) SWIG_fail
;
44247 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44248 if (SWIG_arg_fail(3)) SWIG_fail
;
44250 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44251 if (SWIG_arg_fail(4)) SWIG_fail
;
44255 arg5
= (int)(SWIG_As_int(obj4
));
44256 if (SWIG_arg_fail(5)) SWIG_fail
;
44261 arg6
= (int)(SWIG_As_int(obj5
));
44262 if (SWIG_arg_fail(6)) SWIG_fail
;
44266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44267 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44269 wxPyEndAllowThreads(__tstate
);
44270 if (PyErr_Occurred()) SWIG_fail
;
44272 Py_INCREF(Py_None
); resultobj
= Py_None
;
44279 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44280 PyObject
*resultobj
;
44281 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44282 wxWindow
*arg2
= (wxWindow
*) 0 ;
44283 int arg3
= (int) 0 ;
44284 PyObject
* obj0
= 0 ;
44285 PyObject
* obj1
= 0 ;
44286 PyObject
* obj2
= 0 ;
44287 char *kwnames
[] = {
44288 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44293 if (SWIG_arg_fail(1)) SWIG_fail
;
44294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44295 if (SWIG_arg_fail(2)) SWIG_fail
;
44298 arg3
= (int)(SWIG_As_int(obj2
));
44299 if (SWIG_arg_fail(3)) SWIG_fail
;
44303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44304 (arg1
)->LeftOf(arg2
,arg3
);
44306 wxPyEndAllowThreads(__tstate
);
44307 if (PyErr_Occurred()) SWIG_fail
;
44309 Py_INCREF(Py_None
); resultobj
= Py_None
;
44316 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44317 PyObject
*resultobj
;
44318 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44319 wxWindow
*arg2
= (wxWindow
*) 0 ;
44320 int arg3
= (int) 0 ;
44321 PyObject
* obj0
= 0 ;
44322 PyObject
* obj1
= 0 ;
44323 PyObject
* obj2
= 0 ;
44324 char *kwnames
[] = {
44325 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44330 if (SWIG_arg_fail(1)) SWIG_fail
;
44331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44332 if (SWIG_arg_fail(2)) SWIG_fail
;
44335 arg3
= (int)(SWIG_As_int(obj2
));
44336 if (SWIG_arg_fail(3)) SWIG_fail
;
44340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44341 (arg1
)->RightOf(arg2
,arg3
);
44343 wxPyEndAllowThreads(__tstate
);
44344 if (PyErr_Occurred()) SWIG_fail
;
44346 Py_INCREF(Py_None
); resultobj
= Py_None
;
44353 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44354 PyObject
*resultobj
;
44355 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44356 wxWindow
*arg2
= (wxWindow
*) 0 ;
44357 int arg3
= (int) 0 ;
44358 PyObject
* obj0
= 0 ;
44359 PyObject
* obj1
= 0 ;
44360 PyObject
* obj2
= 0 ;
44361 char *kwnames
[] = {
44362 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44367 if (SWIG_arg_fail(1)) SWIG_fail
;
44368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44369 if (SWIG_arg_fail(2)) SWIG_fail
;
44372 arg3
= (int)(SWIG_As_int(obj2
));
44373 if (SWIG_arg_fail(3)) SWIG_fail
;
44377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44378 (arg1
)->Above(arg2
,arg3
);
44380 wxPyEndAllowThreads(__tstate
);
44381 if (PyErr_Occurred()) SWIG_fail
;
44383 Py_INCREF(Py_None
); resultobj
= Py_None
;
44390 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44391 PyObject
*resultobj
;
44392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44393 wxWindow
*arg2
= (wxWindow
*) 0 ;
44394 int arg3
= (int) 0 ;
44395 PyObject
* obj0
= 0 ;
44396 PyObject
* obj1
= 0 ;
44397 PyObject
* obj2
= 0 ;
44398 char *kwnames
[] = {
44399 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44404 if (SWIG_arg_fail(1)) SWIG_fail
;
44405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44406 if (SWIG_arg_fail(2)) SWIG_fail
;
44409 arg3
= (int)(SWIG_As_int(obj2
));
44410 if (SWIG_arg_fail(3)) SWIG_fail
;
44414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44415 (arg1
)->Below(arg2
,arg3
);
44417 wxPyEndAllowThreads(__tstate
);
44418 if (PyErr_Occurred()) SWIG_fail
;
44420 Py_INCREF(Py_None
); resultobj
= Py_None
;
44427 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44428 PyObject
*resultobj
;
44429 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44430 wxWindow
*arg2
= (wxWindow
*) 0 ;
44432 int arg4
= (int) 0 ;
44433 PyObject
* obj0
= 0 ;
44434 PyObject
* obj1
= 0 ;
44435 PyObject
* obj2
= 0 ;
44436 PyObject
* obj3
= 0 ;
44437 char *kwnames
[] = {
44438 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44443 if (SWIG_arg_fail(1)) SWIG_fail
;
44444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44445 if (SWIG_arg_fail(2)) SWIG_fail
;
44447 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44448 if (SWIG_arg_fail(3)) SWIG_fail
;
44452 arg4
= (int)(SWIG_As_int(obj3
));
44453 if (SWIG_arg_fail(4)) SWIG_fail
;
44457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44458 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44460 wxPyEndAllowThreads(__tstate
);
44461 if (PyErr_Occurred()) SWIG_fail
;
44463 Py_INCREF(Py_None
); resultobj
= Py_None
;
44470 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44471 PyObject
*resultobj
;
44472 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44473 wxWindow
*arg2
= (wxWindow
*) 0 ;
44476 PyObject
* obj0
= 0 ;
44477 PyObject
* obj1
= 0 ;
44478 PyObject
* obj2
= 0 ;
44479 PyObject
* obj3
= 0 ;
44480 char *kwnames
[] = {
44481 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44486 if (SWIG_arg_fail(1)) SWIG_fail
;
44487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44488 if (SWIG_arg_fail(2)) SWIG_fail
;
44490 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44491 if (SWIG_arg_fail(3)) SWIG_fail
;
44494 arg4
= (int)(SWIG_As_int(obj3
));
44495 if (SWIG_arg_fail(4)) SWIG_fail
;
44498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44499 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44501 wxPyEndAllowThreads(__tstate
);
44502 if (PyErr_Occurred()) SWIG_fail
;
44504 Py_INCREF(Py_None
); resultobj
= Py_None
;
44511 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44512 PyObject
*resultobj
;
44513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44515 PyObject
* obj0
= 0 ;
44516 PyObject
* obj1
= 0 ;
44517 char *kwnames
[] = {
44518 (char *) "self",(char *) "val", NULL
44521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44523 if (SWIG_arg_fail(1)) SWIG_fail
;
44525 arg2
= (int)(SWIG_As_int(obj1
));
44526 if (SWIG_arg_fail(2)) SWIG_fail
;
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44530 (arg1
)->Absolute(arg2
);
44532 wxPyEndAllowThreads(__tstate
);
44533 if (PyErr_Occurred()) SWIG_fail
;
44535 Py_INCREF(Py_None
); resultobj
= Py_None
;
44542 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44543 PyObject
*resultobj
;
44544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44545 PyObject
* obj0
= 0 ;
44546 char *kwnames
[] = {
44547 (char *) "self", NULL
44550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44552 if (SWIG_arg_fail(1)) SWIG_fail
;
44554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44555 (arg1
)->Unconstrained();
44557 wxPyEndAllowThreads(__tstate
);
44558 if (PyErr_Occurred()) SWIG_fail
;
44560 Py_INCREF(Py_None
); resultobj
= Py_None
;
44567 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44568 PyObject
*resultobj
;
44569 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44570 PyObject
* obj0
= 0 ;
44571 char *kwnames
[] = {
44572 (char *) "self", NULL
44575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44577 if (SWIG_arg_fail(1)) SWIG_fail
;
44579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44582 wxPyEndAllowThreads(__tstate
);
44583 if (PyErr_Occurred()) SWIG_fail
;
44585 Py_INCREF(Py_None
); resultobj
= Py_None
;
44592 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44593 PyObject
*resultobj
;
44594 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44596 PyObject
* obj0
= 0 ;
44597 char *kwnames
[] = {
44598 (char *) "self", NULL
44601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44603 if (SWIG_arg_fail(1)) SWIG_fail
;
44605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44606 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44608 wxPyEndAllowThreads(__tstate
);
44609 if (PyErr_Occurred()) SWIG_fail
;
44612 resultobj
= wxPyMake_wxObject(result
, 0);
44620 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44621 PyObject
*resultobj
;
44622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44624 PyObject
* obj0
= 0 ;
44625 char *kwnames
[] = {
44626 (char *) "self", NULL
44629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44631 if (SWIG_arg_fail(1)) SWIG_fail
;
44633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44634 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44636 wxPyEndAllowThreads(__tstate
);
44637 if (PyErr_Occurred()) SWIG_fail
;
44639 resultobj
= SWIG_From_int((result
));
44646 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44647 PyObject
*resultobj
;
44648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44650 PyObject
* obj0
= 0 ;
44651 PyObject
* obj1
= 0 ;
44652 char *kwnames
[] = {
44653 (char *) "self",(char *) "which", NULL
44656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44658 if (SWIG_arg_fail(1)) SWIG_fail
;
44660 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44661 if (SWIG_arg_fail(2)) SWIG_fail
;
44664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44665 (arg1
)->SetEdge((wxEdge
)arg2
);
44667 wxPyEndAllowThreads(__tstate
);
44668 if (PyErr_Occurred()) SWIG_fail
;
44670 Py_INCREF(Py_None
); resultobj
= Py_None
;
44677 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44678 PyObject
*resultobj
;
44679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44681 PyObject
* obj0
= 0 ;
44682 PyObject
* obj1
= 0 ;
44683 char *kwnames
[] = {
44684 (char *) "self",(char *) "v", NULL
44687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44689 if (SWIG_arg_fail(1)) SWIG_fail
;
44691 arg2
= (int)(SWIG_As_int(obj1
));
44692 if (SWIG_arg_fail(2)) SWIG_fail
;
44695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44696 (arg1
)->SetValue(arg2
);
44698 wxPyEndAllowThreads(__tstate
);
44699 if (PyErr_Occurred()) SWIG_fail
;
44701 Py_INCREF(Py_None
); resultobj
= Py_None
;
44708 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44709 PyObject
*resultobj
;
44710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44712 PyObject
* obj0
= 0 ;
44713 char *kwnames
[] = {
44714 (char *) "self", NULL
44717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44719 if (SWIG_arg_fail(1)) SWIG_fail
;
44721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44722 result
= (int)(arg1
)->GetMargin();
44724 wxPyEndAllowThreads(__tstate
);
44725 if (PyErr_Occurred()) SWIG_fail
;
44728 resultobj
= SWIG_From_int((int)(result
));
44736 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44737 PyObject
*resultobj
;
44738 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44740 PyObject
* obj0
= 0 ;
44741 PyObject
* obj1
= 0 ;
44742 char *kwnames
[] = {
44743 (char *) "self",(char *) "m", NULL
44746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44748 if (SWIG_arg_fail(1)) SWIG_fail
;
44750 arg2
= (int)(SWIG_As_int(obj1
));
44751 if (SWIG_arg_fail(2)) SWIG_fail
;
44754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44755 (arg1
)->SetMargin(arg2
);
44757 wxPyEndAllowThreads(__tstate
);
44758 if (PyErr_Occurred()) SWIG_fail
;
44760 Py_INCREF(Py_None
); resultobj
= Py_None
;
44767 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44768 PyObject
*resultobj
;
44769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44771 PyObject
* obj0
= 0 ;
44772 char *kwnames
[] = {
44773 (char *) "self", NULL
44776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44778 if (SWIG_arg_fail(1)) SWIG_fail
;
44780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44781 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44783 wxPyEndAllowThreads(__tstate
);
44784 if (PyErr_Occurred()) SWIG_fail
;
44787 resultobj
= SWIG_From_int((int)(result
));
44795 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44796 PyObject
*resultobj
;
44797 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44799 PyObject
* obj0
= 0 ;
44800 char *kwnames
[] = {
44801 (char *) "self", NULL
44804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44806 if (SWIG_arg_fail(1)) SWIG_fail
;
44808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44809 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44811 wxPyEndAllowThreads(__tstate
);
44812 if (PyErr_Occurred()) SWIG_fail
;
44815 resultobj
= SWIG_From_int((int)(result
));
44823 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44824 PyObject
*resultobj
;
44825 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44827 PyObject
* obj0
= 0 ;
44828 char *kwnames
[] = {
44829 (char *) "self", NULL
44832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44834 if (SWIG_arg_fail(1)) SWIG_fail
;
44836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44837 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44839 wxPyEndAllowThreads(__tstate
);
44840 if (PyErr_Occurred()) SWIG_fail
;
44843 resultobj
= SWIG_From_int((int)(result
));
44851 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44852 PyObject
*resultobj
;
44853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44855 PyObject
* obj0
= 0 ;
44856 char *kwnames
[] = {
44857 (char *) "self", NULL
44860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44862 if (SWIG_arg_fail(1)) SWIG_fail
;
44864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44865 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44867 wxPyEndAllowThreads(__tstate
);
44868 if (PyErr_Occurred()) SWIG_fail
;
44871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44879 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44880 PyObject
*resultobj
;
44881 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44883 PyObject
* obj0
= 0 ;
44884 PyObject
* obj1
= 0 ;
44885 char *kwnames
[] = {
44886 (char *) "self",(char *) "d", NULL
44889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44891 if (SWIG_arg_fail(1)) SWIG_fail
;
44893 arg2
= (bool)(SWIG_As_bool(obj1
));
44894 if (SWIG_arg_fail(2)) SWIG_fail
;
44897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44898 (arg1
)->SetDone(arg2
);
44900 wxPyEndAllowThreads(__tstate
);
44901 if (PyErr_Occurred()) SWIG_fail
;
44903 Py_INCREF(Py_None
); resultobj
= Py_None
;
44910 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44911 PyObject
*resultobj
;
44912 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44913 wxRelationship result
;
44914 PyObject
* obj0
= 0 ;
44915 char *kwnames
[] = {
44916 (char *) "self", NULL
44919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44921 if (SWIG_arg_fail(1)) SWIG_fail
;
44923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44924 result
= (wxRelationship
)(arg1
)->GetRelationship();
44926 wxPyEndAllowThreads(__tstate
);
44927 if (PyErr_Occurred()) SWIG_fail
;
44929 resultobj
= SWIG_From_int((result
));
44936 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44937 PyObject
*resultobj
;
44938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44939 wxRelationship arg2
;
44940 PyObject
* obj0
= 0 ;
44941 PyObject
* obj1
= 0 ;
44942 char *kwnames
[] = {
44943 (char *) "self",(char *) "r", NULL
44946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44948 if (SWIG_arg_fail(1)) SWIG_fail
;
44950 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44951 if (SWIG_arg_fail(2)) SWIG_fail
;
44954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44955 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44957 wxPyEndAllowThreads(__tstate
);
44958 if (PyErr_Occurred()) SWIG_fail
;
44960 Py_INCREF(Py_None
); resultobj
= Py_None
;
44967 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44968 PyObject
*resultobj
;
44969 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44970 wxWindow
*arg2
= (wxWindow
*) 0 ;
44972 PyObject
* obj0
= 0 ;
44973 PyObject
* obj1
= 0 ;
44974 char *kwnames
[] = {
44975 (char *) "self",(char *) "otherW", NULL
44978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44980 if (SWIG_arg_fail(1)) SWIG_fail
;
44981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44982 if (SWIG_arg_fail(2)) SWIG_fail
;
44984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44985 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44987 wxPyEndAllowThreads(__tstate
);
44988 if (PyErr_Occurred()) SWIG_fail
;
44991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44999 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45000 PyObject
*resultobj
;
45001 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45002 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45003 wxWindow
*arg3
= (wxWindow
*) 0 ;
45005 PyObject
* obj0
= 0 ;
45006 PyObject
* obj1
= 0 ;
45007 PyObject
* obj2
= 0 ;
45008 char *kwnames
[] = {
45009 (char *) "self",(char *) "constraints",(char *) "win", NULL
45012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45014 if (SWIG_arg_fail(1)) SWIG_fail
;
45015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45016 if (SWIG_arg_fail(2)) SWIG_fail
;
45017 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45018 if (SWIG_arg_fail(3)) SWIG_fail
;
45020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45021 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45023 wxPyEndAllowThreads(__tstate
);
45024 if (PyErr_Occurred()) SWIG_fail
;
45027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45035 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45036 PyObject
*resultobj
;
45037 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45039 wxWindow
*arg3
= (wxWindow
*) 0 ;
45040 wxWindow
*arg4
= (wxWindow
*) 0 ;
45042 PyObject
* obj0
= 0 ;
45043 PyObject
* obj1
= 0 ;
45044 PyObject
* obj2
= 0 ;
45045 PyObject
* obj3
= 0 ;
45046 char *kwnames
[] = {
45047 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45052 if (SWIG_arg_fail(1)) SWIG_fail
;
45054 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45055 if (SWIG_arg_fail(2)) SWIG_fail
;
45057 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45058 if (SWIG_arg_fail(3)) SWIG_fail
;
45059 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45060 if (SWIG_arg_fail(4)) SWIG_fail
;
45062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45063 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45065 wxPyEndAllowThreads(__tstate
);
45066 if (PyErr_Occurred()) SWIG_fail
;
45069 resultobj
= SWIG_From_int((int)(result
));
45077 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45080 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45082 return Py_BuildValue((char *)"");
45084 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45085 PyObject
*resultobj
;
45086 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45087 wxIndividualLayoutConstraint
*result
;
45088 PyObject
* obj0
= 0 ;
45089 char *kwnames
[] = {
45090 (char *) "self", NULL
45093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45095 if (SWIG_arg_fail(1)) SWIG_fail
;
45096 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45105 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45106 PyObject
*resultobj
;
45107 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45108 wxIndividualLayoutConstraint
*result
;
45109 PyObject
* obj0
= 0 ;
45110 char *kwnames
[] = {
45111 (char *) "self", NULL
45114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45116 if (SWIG_arg_fail(1)) SWIG_fail
;
45117 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45126 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45127 PyObject
*resultobj
;
45128 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45129 wxIndividualLayoutConstraint
*result
;
45130 PyObject
* obj0
= 0 ;
45131 char *kwnames
[] = {
45132 (char *) "self", NULL
45135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45137 if (SWIG_arg_fail(1)) SWIG_fail
;
45138 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45147 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45148 PyObject
*resultobj
;
45149 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45150 wxIndividualLayoutConstraint
*result
;
45151 PyObject
* obj0
= 0 ;
45152 char *kwnames
[] = {
45153 (char *) "self", NULL
45156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45158 if (SWIG_arg_fail(1)) SWIG_fail
;
45159 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45168 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45169 PyObject
*resultobj
;
45170 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45171 wxIndividualLayoutConstraint
*result
;
45172 PyObject
* obj0
= 0 ;
45173 char *kwnames
[] = {
45174 (char *) "self", NULL
45177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45179 if (SWIG_arg_fail(1)) SWIG_fail
;
45180 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45189 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45190 PyObject
*resultobj
;
45191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45192 wxIndividualLayoutConstraint
*result
;
45193 PyObject
* obj0
= 0 ;
45194 char *kwnames
[] = {
45195 (char *) "self", NULL
45198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45200 if (SWIG_arg_fail(1)) SWIG_fail
;
45201 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45210 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45211 PyObject
*resultobj
;
45212 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45213 wxIndividualLayoutConstraint
*result
;
45214 PyObject
* obj0
= 0 ;
45215 char *kwnames
[] = {
45216 (char *) "self", NULL
45219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45221 if (SWIG_arg_fail(1)) SWIG_fail
;
45222 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45231 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45232 PyObject
*resultobj
;
45233 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45234 wxIndividualLayoutConstraint
*result
;
45235 PyObject
* obj0
= 0 ;
45236 char *kwnames
[] = {
45237 (char *) "self", NULL
45240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45242 if (SWIG_arg_fail(1)) SWIG_fail
;
45243 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45252 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45253 PyObject
*resultobj
;
45254 wxLayoutConstraints
*result
;
45255 char *kwnames
[] = {
45259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45262 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45264 wxPyEndAllowThreads(__tstate
);
45265 if (PyErr_Occurred()) SWIG_fail
;
45267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45274 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45275 PyObject
*resultobj
;
45276 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45277 wxWindow
*arg2
= (wxWindow
*) 0 ;
45278 int *arg3
= (int *) 0 ;
45282 PyObject
* obj0
= 0 ;
45283 PyObject
* obj1
= 0 ;
45284 char *kwnames
[] = {
45285 (char *) "self",(char *) "win", NULL
45288 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45291 if (SWIG_arg_fail(1)) SWIG_fail
;
45292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45293 if (SWIG_arg_fail(2)) SWIG_fail
;
45295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45296 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45298 wxPyEndAllowThreads(__tstate
);
45299 if (PyErr_Occurred()) SWIG_fail
;
45302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45304 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45305 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45312 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45313 PyObject
*resultobj
;
45314 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45316 PyObject
* obj0
= 0 ;
45317 char *kwnames
[] = {
45318 (char *) "self", NULL
45321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45323 if (SWIG_arg_fail(1)) SWIG_fail
;
45325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45326 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45328 wxPyEndAllowThreads(__tstate
);
45329 if (PyErr_Occurred()) SWIG_fail
;
45332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45340 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45343 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45345 return Py_BuildValue((char *)"");
45347 static PyMethodDef SwigMethods
[] = {
45348 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45349 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45350 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45353 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45374 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45387 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45402 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45456 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45505 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45513 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45514 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45538 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45542 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45548 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45558 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45568 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45575 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45655 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45657 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45663 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45665 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45667 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45669 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45673 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45677 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45679 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45693 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45711 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45714 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45717 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45734 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45740 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45746 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45809 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45816 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45852 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45862 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45868 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45879 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45882 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45887 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45900 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45904 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45907 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45909 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45930 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45932 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45935 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45937 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45945 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45962 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45973 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45978 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45983 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45987 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46032 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46052 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46059 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46073 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46245 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46287 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46302 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46305 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46360 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46387 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46439 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46458 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46459 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46496 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46526 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46529 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46533 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46536 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46546 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46558 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46570 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46580 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46590 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46604 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46611 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46612 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46613 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46614 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46615 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46647 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46659 { NULL
, NULL
, 0, NULL
}
46663 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46665 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46666 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46668 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46669 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46671 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46672 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46674 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46675 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46677 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46678 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46680 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46681 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46683 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46684 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46686 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46687 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46689 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46690 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46692 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46693 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46695 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46698 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46699 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46701 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46702 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46704 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46705 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46707 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46708 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46710 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46711 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46713 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46714 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46716 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46717 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46719 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46720 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46722 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46725 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46726 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46728 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46731 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46732 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46734 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46735 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46737 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46738 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46740 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46741 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46743 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46744 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46746 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46747 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46749 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46750 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46752 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46753 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46755 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46756 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46758 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46761 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46762 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46764 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46765 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46767 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46768 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46770 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46771 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46773 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46774 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46776 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46777 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46779 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46782 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46783 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46785 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46786 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46788 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46791 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46792 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46794 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46795 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46797 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46798 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46800 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46801 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46803 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46804 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46806 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46807 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46809 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46810 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46812 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46813 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46815 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46816 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46818 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46819 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46821 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46822 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46824 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46827 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46828 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46830 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46831 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46833 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46834 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46836 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46839 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46840 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46842 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46843 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46845 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46846 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46848 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46849 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46851 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46852 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46854 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46855 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46857 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46858 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46860 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46861 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46863 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46864 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46866 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46867 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46869 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46870 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46872 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46873 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46875 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46876 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46878 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46879 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46881 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46882 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46884 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46885 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46887 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46888 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46890 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46891 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46893 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46894 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46896 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46897 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46899 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46900 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46902 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46903 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46905 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46908 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46911 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46914 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46917 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46920 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46923 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46926 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) ((wxSizer
*) x
));
46929 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46932 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46935 static void *_p_wxEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) ((wxEvent
*) x
));
46938 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46941 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46944 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46947 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46950 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46953 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46956 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46959 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46962 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46965 static void *_p_wxControlTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46968 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46971 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46974 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46977 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46980 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46983 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46986 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46989 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46992 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46995 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46998 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47001 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47004 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47007 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47010 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47013 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47016 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47019 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47022 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47025 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47028 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47031 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47034 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47037 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47040 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47043 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47046 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47049 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47052 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47055 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47058 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47061 static void *_p_wxImageTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) ((wxImage
*) x
));
47064 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47067 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47070 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47073 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47076 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47079 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47082 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47085 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47088 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47091 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47094 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47097 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47100 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47103 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47106 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47109 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47112 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47115 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47118 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47121 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47124 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47127 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47130 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47131 return (void *)((wxWindow
*) ((wxControl
*) x
));
47133 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47134 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47136 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47137 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47139 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47140 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47142 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47143 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47145 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47146 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47148 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47149 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47151 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47152 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47154 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47155 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47157 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47158 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47160 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47161 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47163 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47164 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47166 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47167 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47296 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}};
47298 static swig_type_info
*swig_types_initial
[] = {
47299 _swigt__p_wxLayoutConstraints
,
47300 _swigt__p_wxRealPoint
,
47301 _swigt__p_wxSizerItem
,
47302 _swigt__p_wxGBSizerItem
,
47303 _swigt__p_wxScrollEvent
,
47304 _swigt__p_wxEventLoop
,
47305 _swigt__p_wxIndividualLayoutConstraint
,
47307 _swigt__p_wxBoxSizer
,
47308 _swigt__p_wxStaticBoxSizer
,
47309 _swigt__p_wxGridBagSizer
,
47310 _swigt__p_wxAcceleratorEntry
,
47311 _swigt__p_wxUpdateUIEvent
,
47315 _swigt__p_wxGridSizer
,
47316 _swigt__p_wxFlexGridSizer
,
47317 _swigt__p_wxInitDialogEvent
,
47318 _swigt__p_wxItemContainer
,
47319 _swigt__p_wxNcPaintEvent
,
47320 _swigt__p_wxPaintEvent
,
47321 _swigt__p_wxSysColourChangedEvent
,
47322 _swigt__p_wxMouseCaptureChangedEvent
,
47323 _swigt__p_wxDisplayChangedEvent
,
47324 _swigt__p_wxPaletteChangedEvent
,
47325 _swigt__p_wxControl
,
47327 _swigt__p_wxMenuBarBase
,
47328 _swigt__p_wxSetCursorEvent
,
47329 _swigt__p_wxFSFile
,
47332 _swigt__std__ptrdiff_t
,
47333 _swigt__p_wxRegion
,
47334 _swigt__p_wxPoint2D
,
47338 _swigt__p_wxPySizer
,
47339 _swigt__p_wxVisualAttributes
,
47340 _swigt__p_wxNotifyEvent
,
47341 _swigt__p_wxPyEvent
,
47342 _swigt__p_wxPropagationDisabler
,
47343 _swigt__p_form_ops_t
,
47344 _swigt__p_wxAppTraits
,
47345 _swigt__p_wxArrayString
,
47346 _swigt__p_wxShowEvent
,
47347 _swigt__p_wxToolTip
,
47348 _swigt__p_wxMoveEvent
,
47349 _swigt__p_wxSizeEvent
,
47350 _swigt__p_wxActivateEvent
,
47351 _swigt__p_wxIconizeEvent
,
47352 _swigt__p_wxMaximizeEvent
,
47353 _swigt__p_wxQueryNewPaletteEvent
,
47354 _swigt__p_wxWindowCreateEvent
,
47355 _swigt__p_wxIdleEvent
,
47356 _swigt__p_wxDateEvent
,
47357 _swigt__p_wxMenuItem
,
47358 _swigt__p_wxStaticBox
,
47360 _swigt__p_wxDuplexMode
,
47361 _swigt__p_wxTIFFHandler
,
47362 _swigt__p_wxXPMHandler
,
47363 _swigt__p_wxPNMHandler
,
47364 _swigt__p_wxJPEGHandler
,
47365 _swigt__p_wxPCXHandler
,
47366 _swigt__p_wxGIFHandler
,
47367 _swigt__p_wxPNGHandler
,
47368 _swigt__p_wxANIHandler
,
47369 _swigt__p_wxMemoryFSHandler
,
47370 _swigt__p_wxZipFSHandler
,
47371 _swigt__p_wxInternetFSHandler
,
47372 _swigt__p_wxPyFileSystemHandler
,
47373 _swigt__p_wxEvtHandler
,
47374 _swigt__p_wxCURHandler
,
47375 _swigt__p_wxICOHandler
,
47376 _swigt__p_wxBMPHandler
,
47377 _swigt__p_wxImageHandler
,
47378 _swigt__p_wxFileSystemHandler
,
47380 _swigt__p_wxButton
,
47381 _swigt__p_wxGBSpan
,
47382 _swigt__p_wxPropagateOnce
,
47383 _swigt__p_wxAcceleratorTable
,
47384 _swigt__p_wxStdDialogButtonSizer
,
47386 _swigt__p_wxGBPosition
,
47389 _swigt__p_wxScrollWinEvent
,
47390 _swigt__p_wxPaperSize
,
47391 _swigt__p_wxImageHistogram
,
47393 _swigt__p_wxCursor
,
47394 _swigt__p_wxObject
,
47395 _swigt__p_wxInputStream
,
47396 _swigt__p_wxOutputStream
,
47397 _swigt__p_wxPyInputStream
,
47398 _swigt__p_wxDateTime
,
47399 _swigt__p_wxKeyEvent
,
47400 _swigt__p_wxNavigationKeyEvent
,
47401 _swigt__p_wxWindowDestroyEvent
,
47402 _swigt__p_unsigned_long
,
47403 _swigt__p_wxWindow
,
47404 _swigt__p_wxMenuBar
,
47405 _swigt__p_wxFileSystem
,
47406 _swigt__p_wxBitmap
,
47407 _swigt__unsigned_int
,
47408 _swigt__p_unsigned_int
,
47409 _swigt__p_wxMenuEvent
,
47410 _swigt__p_wxContextMenuEvent
,
47411 _swigt__p_unsigned_char
,
47412 _swigt__p_wxEraseEvent
,
47413 _swigt__p_wxMouseEvent
,
47414 _swigt__p_wxCloseEvent
,
47416 _swigt__p_wxCommandEvent
,
47417 _swigt__p_wxPyCommandEvent
,
47418 _swigt__p_wxPyDropTarget
,
47419 _swigt__p_wxQuantize
,
47420 _swigt__p_wxFocusEvent
,
47421 _swigt__p_wxChildFocusEvent
,
47422 _swigt__p_wxDropFilesEvent
,
47423 _swigt__p_wxControlWithItems
,
47424 _swigt__p_wxColour
,
47425 _swigt__p_wxValidator
,
47426 _swigt__p_wxPyValidator
,
47431 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47433 static swig_const_info swig_const_table
[] = {
47434 {0, 0, 0, 0.0, 0, 0}};
47445 /* Python-specific SWIG API */
47446 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47447 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47448 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47450 /* -----------------------------------------------------------------------------
47451 * global variable support code.
47452 * ----------------------------------------------------------------------------- */
47454 typedef struct swig_globalvar
{
47455 char *name
; /* Name of global variable */
47456 PyObject
*(*get_attr
)(); /* Return the current value */
47457 int (*set_attr
)(PyObject
*); /* Set the value */
47458 struct swig_globalvar
*next
;
47461 typedef struct swig_varlinkobject
{
47463 swig_globalvar
*vars
;
47464 } swig_varlinkobject
;
47467 swig_varlink_repr(swig_varlinkobject
*v
) {
47469 return PyString_FromString("<Swig global variables>");
47473 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47474 swig_globalvar
*var
;
47476 fprintf(fp
,"Swig global variables { ");
47477 for (var
= v
->vars
; var
; var
=var
->next
) {
47478 fprintf(fp
,"%s", var
->name
);
47479 if (var
->next
) fprintf(fp
,", ");
47481 fprintf(fp
," }\n");
47486 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47487 swig_globalvar
*var
= v
->vars
;
47489 if (strcmp(var
->name
,n
) == 0) {
47490 return (*var
->get_attr
)();
47494 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47499 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47500 swig_globalvar
*var
= v
->vars
;
47502 if (strcmp(var
->name
,n
) == 0) {
47503 return (*var
->set_attr
)(p
);
47507 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47511 static PyTypeObject varlinktype
= {
47512 PyObject_HEAD_INIT(0)
47513 0, /* Number of items in variable part (ob_size) */
47514 (char *)"swigvarlink", /* Type name (tp_name) */
47515 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47516 0, /* Itemsize (tp_itemsize) */
47517 0, /* Deallocator (tp_dealloc) */
47518 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47519 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47520 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47521 0, /* tp_compare */
47522 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47523 0, /* tp_as_number */
47524 0, /* tp_as_sequence */
47525 0, /* tp_as_mapping */
47529 0, /* tp_getattro */
47530 0, /* tp_setattro */
47531 0, /* tp_as_buffer */
47534 #if PY_VERSION_HEX >= 0x02000000
47535 0, /* tp_traverse */
47538 #if PY_VERSION_HEX >= 0x02010000
47539 0, /* tp_richcompare */
47540 0, /* tp_weaklistoffset */
47542 #if PY_VERSION_HEX >= 0x02020000
47543 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47545 #if PY_VERSION_HEX >= 0x02030000
47548 #ifdef COUNT_ALLOCS
47549 0,0,0,0 /* tp_alloc -> tp_next */
47553 /* Create a variable linking object for use later */
47555 SWIG_Python_newvarlink(void) {
47556 swig_varlinkobject
*result
= 0;
47557 result
= PyMem_NEW(swig_varlinkobject
,1);
47558 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47559 result
->ob_type
= &varlinktype
;
47561 result
->ob_refcnt
= 0;
47562 Py_XINCREF((PyObject
*) result
);
47563 return ((PyObject
*) result
);
47567 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47568 swig_varlinkobject
*v
;
47569 swig_globalvar
*gv
;
47570 v
= (swig_varlinkobject
*) p
;
47571 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47572 gv
->name
= (char *) malloc(strlen(name
)+1);
47573 strcpy(gv
->name
,name
);
47574 gv
->get_attr
= get_attr
;
47575 gv
->set_attr
= set_attr
;
47576 gv
->next
= v
->vars
;
47580 /* -----------------------------------------------------------------------------
47581 * constants/methods manipulation
47582 * ----------------------------------------------------------------------------- */
47584 /* Install Constants */
47586 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47589 for (i
= 0; constants
[i
].type
; i
++) {
47590 switch(constants
[i
].type
) {
47592 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47594 case SWIG_PY_FLOAT
:
47595 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47597 case SWIG_PY_STRING
:
47598 if (constants
[i
].pvalue
) {
47599 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47601 Py_INCREF(Py_None
);
47605 case SWIG_PY_POINTER
:
47606 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47608 case SWIG_PY_BINARY
:
47609 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47616 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47622 /* -----------------------------------------------------------------------------*/
47623 /* Fix SwigMethods to carry the callback ptrs when needed */
47624 /* -----------------------------------------------------------------------------*/
47627 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47628 swig_const_info
*const_table
,
47629 swig_type_info
**types
,
47630 swig_type_info
**types_initial
) {
47632 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47633 char *c
= methods
[i
].ml_doc
;
47634 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47636 swig_const_info
*ci
= 0;
47637 char *name
= c
+ 10;
47638 for (j
= 0; const_table
[j
].type
; j
++) {
47639 if (strncmp(const_table
[j
].name
, name
,
47640 strlen(const_table
[j
].name
)) == 0) {
47641 ci
= &(const_table
[j
]);
47646 size_t shift
= (ci
->ptype
) - types
;
47647 swig_type_info
*ty
= types_initial
[shift
];
47648 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47649 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47650 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47652 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47653 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47655 strncpy(buff
, "swig_ptr: ", 10);
47657 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47658 methods
[i
].ml_doc
= ndoc
;
47664 /* -----------------------------------------------------------------------------*
47665 * Initialize type list
47666 * -----------------------------------------------------------------------------*/
47668 #if PY_MAJOR_VERSION < 2
47669 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47670 is copied out of Python/modsupport.c in python version 2.3.4 */
47672 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47675 if (!PyModule_Check(m
)) {
47676 PyErr_SetString(PyExc_TypeError
,
47677 "PyModule_AddObject() needs module as first arg");
47681 PyErr_SetString(PyExc_TypeError
,
47682 "PyModule_AddObject() needs non-NULL value");
47686 dict
= PyModule_GetDict(m
);
47687 if (dict
== NULL
) {
47688 /* Internal error -- modules must have a dict! */
47689 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47690 PyModule_GetName(m
));
47693 if (PyDict_SetItemString(dict
, name
, o
))
47700 static swig_type_info
**
47701 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47702 static PyMethodDef swig_empty_runtime_method_table
[] = {
47704 NULL
, NULL
, 0, NULL
47708 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47709 swig_empty_runtime_method_table
);
47710 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47711 if (pointer
&& module) {
47712 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47714 return type_list_handle
;
47717 static swig_type_info
**
47718 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47719 swig_type_info
**type_pointer
;
47721 /* first check if module already created */
47722 type_pointer
= SWIG_Python_GetTypeListHandle();
47723 if (type_pointer
) {
47724 return type_pointer
;
47726 /* create a new module and variable */
47727 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47735 /* -----------------------------------------------------------------------------*
47736 * Partial Init method
47737 * -----------------------------------------------------------------------------*/
47739 #ifdef SWIG_LINK_RUNTIME
47743 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47749 SWIGEXPORT(void) SWIG_init(void) {
47750 static PyObject
*SWIG_globals
= 0;
47751 static int typeinit
= 0;
47754 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47756 /* Fix SwigMethods to carry the callback ptrs when needed */
47757 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47759 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47760 d
= PyModule_GetDict(m
);
47763 #ifdef SWIG_LINK_RUNTIME
47764 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47766 # ifndef SWIG_STATIC_RUNTIME
47767 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47770 for (i
= 0; swig_types_initial
[i
]; i
++) {
47771 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47775 SWIG_InstallConstants(d
,swig_const_table
);
47778 #ifndef wxPyUSE_EXPORT
47779 // Make our API structure a CObject so other modules can import it
47780 // from this module.
47781 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47782 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47787 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47790 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47793 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47796 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47799 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47802 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47805 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47808 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47811 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47814 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47817 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47820 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47823 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47826 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47829 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47832 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47835 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47838 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47841 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47844 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47847 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47850 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47853 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47856 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47859 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47862 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47865 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47868 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47871 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47874 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47877 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47880 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47883 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47886 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47889 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47892 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47895 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47898 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47901 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47904 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47907 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47910 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47913 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47916 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47919 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47922 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47925 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47928 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47931 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47934 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47937 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47940 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47943 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47946 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47949 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47952 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47955 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47958 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47961 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47964 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47967 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47970 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47973 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47976 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47979 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47982 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47985 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47988 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47991 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47994 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47997 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48000 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48003 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48006 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48009 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48012 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48015 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48018 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48021 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48024 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48027 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48030 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48033 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48036 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48039 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48042 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48045 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48048 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48051 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48054 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48057 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48060 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48063 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48066 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48069 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48072 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48075 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48078 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48081 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48084 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48087 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48090 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48093 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48096 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48099 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48102 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48105 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48108 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48111 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48114 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48117 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48120 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48123 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48126 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48129 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48132 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48135 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48138 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48141 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48144 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48147 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48150 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48153 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48156 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48159 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48162 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48165 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48168 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48171 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48174 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48177 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48180 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48183 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48186 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48189 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48192 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48195 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48198 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48201 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48204 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48207 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48210 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48213 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48216 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48219 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48222 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48225 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48228 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48231 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48234 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48237 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48240 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48243 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48246 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48249 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48252 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48255 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48258 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48261 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48264 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48267 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48270 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48273 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48276 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48279 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48282 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48285 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48288 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48291 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48294 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48297 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48300 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48303 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48306 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48309 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48312 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48315 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48318 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48321 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48324 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48327 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48330 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48333 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48336 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48339 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48342 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48345 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48348 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48351 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48354 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48357 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48360 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48363 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48366 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48369 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48372 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48375 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48378 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48381 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48384 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48387 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48390 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48393 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48396 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48399 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48402 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48405 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48408 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48411 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48414 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48417 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48420 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48423 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48426 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48429 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48432 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48435 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48438 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48441 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48444 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48447 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48450 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48453 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48456 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48459 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48462 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48465 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48468 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48471 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48474 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48477 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48480 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48483 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48486 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48489 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48492 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48495 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48498 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48501 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48504 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48507 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48510 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48513 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48516 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48519 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48522 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48525 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48528 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48531 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48534 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48537 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48540 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48543 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48546 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48549 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48552 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48555 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48558 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48561 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48564 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48567 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48570 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48573 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48576 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48579 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48582 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48585 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48588 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48591 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48594 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48597 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48600 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48603 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48606 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48609 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48612 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48615 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48618 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48621 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48624 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48627 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48630 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48633 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48636 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48639 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48642 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48645 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48648 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48651 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48654 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48657 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48660 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48663 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48666 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48669 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48672 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48675 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48678 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48681 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48684 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48687 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48690 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48693 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48696 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48699 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48702 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48705 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48708 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48711 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48714 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48717 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48720 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48723 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48726 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48729 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48732 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48735 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48738 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48741 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48744 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48747 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48750 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48753 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48756 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48759 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48762 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48765 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48768 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48771 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48774 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48777 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48780 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48783 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48786 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48789 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48792 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48795 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48798 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48801 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48804 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48807 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48810 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48813 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48816 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48819 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48822 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48825 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48828 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48831 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48834 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48837 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48840 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48843 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48846 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48849 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48852 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48855 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48858 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48861 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48864 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48867 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48870 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48873 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48876 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48879 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48882 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48885 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48888 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48891 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48894 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48897 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48900 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48903 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48906 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48909 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48912 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48915 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48918 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48921 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48924 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48927 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48930 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48933 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48936 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48939 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48942 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48945 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48948 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48951 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48954 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48957 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48960 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48963 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48966 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48969 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48972 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48975 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48978 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48981 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48984 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48987 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48990 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48993 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48996 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48999 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49002 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49005 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49008 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49011 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49014 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49017 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49020 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49023 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49026 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49029 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49032 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49035 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49038 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49041 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49044 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49047 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49050 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49053 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49056 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49059 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49062 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49065 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49068 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49071 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49074 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49077 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49080 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49083 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49086 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49089 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49092 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49095 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49098 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49101 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49104 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49107 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49110 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49113 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49116 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49119 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49122 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49125 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49128 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49131 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49134 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49137 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49140 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49143 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49146 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49149 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49152 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49155 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49158 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49161 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49164 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49167 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49170 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49173 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49176 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49179 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49182 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49185 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49188 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49191 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49194 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49197 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49200 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49203 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49206 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49209 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49212 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49215 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49218 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49221 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49224 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49227 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49230 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49233 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49236 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49239 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49242 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49245 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49248 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49251 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49254 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49257 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49260 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49263 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49266 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49269 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49272 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49275 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49278 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49281 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49284 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49287 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49290 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49293 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49296 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49299 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49302 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49305 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49308 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49311 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49314 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49317 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49320 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49323 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49326 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49329 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49332 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49335 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49338 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49341 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49344 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49347 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49350 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49353 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49356 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49359 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49362 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49365 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49368 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49371 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49374 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49377 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49380 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49383 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49386 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49389 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49392 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49395 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49398 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49401 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49404 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49407 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49410 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49413 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49416 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49419 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49422 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49425 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49428 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49431 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49434 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49437 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49440 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49443 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49446 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49449 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49451 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49452 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49454 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49457 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49460 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49463 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49466 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49469 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49472 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49475 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49478 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49481 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49484 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49487 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49490 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49493 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49496 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49499 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49502 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49505 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49508 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49511 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49514 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49517 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49520 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49523 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49526 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49529 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49532 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49535 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49538 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49541 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49544 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49547 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49550 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49553 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49556 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49559 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49562 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49565 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49568 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49571 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49574 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49577 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49580 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49583 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49586 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49589 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49592 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49595 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49598 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49601 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49604 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49606 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49607 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49609 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49612 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49615 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49618 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49621 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49624 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49627 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49630 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49632 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49633 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49634 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49635 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49636 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49637 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49638 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49639 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49640 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49641 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49643 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49646 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49648 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49649 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49650 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49651 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49652 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49653 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49655 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49658 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49661 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49664 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49667 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49670 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49673 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49676 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49679 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49682 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49685 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49688 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49691 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49694 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49697 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49700 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49702 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49703 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49704 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49705 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49706 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49707 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49710 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49711 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49713 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49714 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49715 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49716 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49717 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49718 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49720 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49721 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49722 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49723 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49724 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49725 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49726 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49727 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49728 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49729 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49730 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49731 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49732 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49733 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49734 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49735 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49736 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49737 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49738 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49739 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49740 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49741 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49742 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49743 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49744 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49745 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49746 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49747 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49748 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49749 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49750 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49751 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49752 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49753 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49754 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49755 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49756 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49757 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49758 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49759 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49760 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49761 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49762 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49763 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49764 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49765 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49766 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49767 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49768 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49769 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49770 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49771 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49772 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49773 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49774 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49775 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49776 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49777 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49778 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49779 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49780 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49781 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49782 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49783 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49784 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49785 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49786 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49787 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49788 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49789 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49790 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49791 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49792 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49793 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49794 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49795 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49796 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49797 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49798 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49799 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49800 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49801 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49802 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49803 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49804 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49805 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49806 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49807 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49808 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49809 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49812 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49813 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49814 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49815 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49816 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49818 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49821 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49824 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49827 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49830 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49833 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49836 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49839 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49842 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49845 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49848 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49851 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49854 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49856 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49858 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49861 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49864 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49867 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49870 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49873 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49875 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49876 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49878 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49881 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49884 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49887 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49890 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49892 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49893 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49895 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49898 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49901 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49903 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49905 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49908 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49911 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49914 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49917 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49920 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49923 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49926 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49929 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49932 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49935 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49938 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49941 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49944 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49947 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49950 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49953 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49956 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49959 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49962 // Initialize threading, some globals and such
49966 // Although these are defined in __version__ they need to be here too so
49967 // that an assert can be done to ensure that the wxPython and the wxWindows
49969 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49970 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49971 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));