1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxMenuItem swig_types[56]
1398 #define SWIGTYPE_p_wxStaticBox swig_types[57]
1399 #define SWIGTYPE_p_long swig_types[58]
1400 #define SWIGTYPE_p_wxDuplexMode swig_types[59]
1401 #define SWIGTYPE_p_wxTIFFHandler swig_types[60]
1402 #define SWIGTYPE_p_wxXPMHandler swig_types[61]
1403 #define SWIGTYPE_p_wxPNMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxJPEGHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPCXHandler swig_types[64]
1406 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPNGHandler swig_types[66]
1408 #define SWIGTYPE_p_wxANIHandler swig_types[67]
1409 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[68]
1410 #define SWIGTYPE_p_wxZipFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
1413 #define SWIGTYPE_p_wxEvtHandler swig_types[72]
1414 #define SWIGTYPE_p_wxCURHandler swig_types[73]
1415 #define SWIGTYPE_p_wxICOHandler swig_types[74]
1416 #define SWIGTYPE_p_wxBMPHandler swig_types[75]
1417 #define SWIGTYPE_p_wxImageHandler swig_types[76]
1418 #define SWIGTYPE_p_wxFileSystemHandler swig_types[77]
1419 #define SWIGTYPE_p_wxRect swig_types[78]
1420 #define SWIGTYPE_p_wxButton swig_types[79]
1421 #define SWIGTYPE_p_wxGBSpan swig_types[80]
1422 #define SWIGTYPE_p_wxPropagateOnce swig_types[81]
1423 #define SWIGTYPE_p_wxAcceleratorTable swig_types[82]
1424 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[83]
1425 #define SWIGTYPE_p_char swig_types[84]
1426 #define SWIGTYPE_p_wxGBPosition swig_types[85]
1427 #define SWIGTYPE_p_wxImage swig_types[86]
1428 #define SWIGTYPE_p_wxFrame swig_types[87]
1429 #define SWIGTYPE_p_wxScrollWinEvent swig_types[88]
1430 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1431 #define SWIGTYPE_p_wxImageHistogram swig_types[90]
1432 #define SWIGTYPE_p_wxPoint swig_types[91]
1433 #define SWIGTYPE_p_wxCursor swig_types[92]
1434 #define SWIGTYPE_p_wxObject swig_types[93]
1435 #define SWIGTYPE_p_wxInputStream swig_types[94]
1436 #define SWIGTYPE_p_wxOutputStream swig_types[95]
1437 #define SWIGTYPE_p_wxPyInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxDateTime swig_types[97]
1439 #define SWIGTYPE_p_wxKeyEvent swig_types[98]
1440 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100]
1442 #define SWIGTYPE_p_unsigned_long swig_types[101]
1443 #define SWIGTYPE_p_wxWindow swig_types[102]
1444 #define SWIGTYPE_p_wxMenuBar swig_types[103]
1445 #define SWIGTYPE_p_wxFileSystem swig_types[104]
1446 #define SWIGTYPE_p_wxBitmap swig_types[105]
1447 #define SWIGTYPE_unsigned_int swig_types[106]
1448 #define SWIGTYPE_p_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
1450 #define SWIGTYPE_p_wxContextMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_unsigned_char swig_types[110]
1452 #define SWIGTYPE_p_wxEraseEvent swig_types[111]
1453 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxCloseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxPyApp swig_types[114]
1456 #define SWIGTYPE_p_wxCommandEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyDropTarget swig_types[117]
1459 #define SWIGTYPE_p_wxQuantize swig_types[118]
1460 #define SWIGTYPE_p_wxChildFocusEvent swig_types[119]
1461 #define SWIGTYPE_p_wxFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxDropFilesEvent swig_types[121]
1463 #define SWIGTYPE_p_wxControlWithItems swig_types[122]
1464 #define SWIGTYPE_p_wxColour swig_types[123]
1465 #define SWIGTYPE_p_wxValidator swig_types[124]
1466 #define SWIGTYPE_p_wxPyValidator swig_types[125]
1467 static swig_type_info
*swig_types
[127];
1469 /* -------- TYPES TABLE (END) -------- */
1472 /*-----------------------------------------------
1473 @(target):= _core_.so
1474 ------------------------------------------------*/
1475 #define SWIG_init init_core_
1477 #define SWIG_name "_core_"
1479 #include "wx/wxPython/wxPython_int.h"
1480 #include "wx/wxPython/pyclasses.h"
1483 #ifndef wxPyUSE_EXPORT
1484 // Helper functions for dealing with SWIG objects and such. These are
1485 // located here so they know about the SWIG types and functions declared
1486 // in the wrapper code.
1488 #include <wx/hashmap.h>
1489 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1492 // Maintains a hashmap of className to swig_type_info pointers. Given the
1493 // name of a class either looks up the type info in the cache, or scans the
1494 // SWIG tables for it.
1495 extern PyObject
* wxPyPtrTypeMap
;
1497 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1499 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1501 if (typeInfoCache
== NULL
)
1502 typeInfoCache
= new wxPyTypeInfoHashMap
;
1504 wxString
name(className
);
1505 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1508 // it wasn't in the cache, so look it up from SWIG
1509 name
.Append(wxT(" *"));
1510 swigType
= SWIG_TypeQuery(name
.mb_str());
1512 // if it still wasn't found, try looking for a mapped name
1517 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1518 (char*)(const char*)name
.mbc_str())) != NULL
) {
1519 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1520 name
.Append(wxT(" *"));
1521 swigType
= SWIG_TypeQuery(name
.mb_str());
1525 // and add it to the map if found
1526 (*typeInfoCache
)[className
] = swigType
;
1533 // Check if a class name is a type known to SWIG
1534 bool wxPyCheckSwigType(const wxChar
* className
) {
1536 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1537 return swigType
!= NULL
;
1541 // Given a pointer to a C++ object and a class name, construct a Python proxy
1543 PyObject
* wxPyConstructObject(void* ptr
,
1544 const wxChar
* className
,
1547 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1548 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1550 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1554 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1555 // Ensures that the proxy object is of the specified (or derived) type. If
1556 // not able to perform the conversion then a Python exception is set and the
1557 // error should be handled properly in the caller. Returns True on success.
1558 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1559 const wxChar
* className
) {
1561 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1562 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1564 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1568 // Make a SWIGified pointer object suitable for a .this attribute
1569 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1571 PyObject
* robj
= NULL
;
1573 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1574 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1576 #ifdef SWIG_COBJECT_TYPES
1577 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1581 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1582 PyString_FromString(result
) : 0;
1592 // Export a C API in a struct. Other modules will be able to load this from
1593 // the wx._core_ module and will then have safe access to these functions,
1594 // even if they are located in another shared library.
1595 static wxPyCoreAPI API
= {
1598 wxPyConstructObject
,
1602 wxPyBeginAllowThreads
,
1603 wxPyEndAllowThreads
,
1604 wxPyBeginBlockThreads
,
1605 wxPyEndBlockThreads
,
1617 wxPoint_LIST_helper
,
1618 wxBitmap_LIST_helper
,
1619 wxString_LIST_helper
,
1620 wxAcceleratorEntry_LIST_helper
,
1629 wxPySimple_typecheck
,
1632 wxPyCBH_setCallbackInfo
,
1633 wxPyCBH_findCallback
,
1634 wxPyCBH_callCallback
,
1635 wxPyCBH_callCallbackObj
,
1641 wxPy2int_seq_helper
,
1642 wxPy4int_seq_helper
,
1643 wxArrayString2PyList_helper
,
1644 wxArrayInt2PyList_helper
,
1646 wxPyClientData_dtor
,
1648 wxPyOORClientData_dtor
,
1650 wxPyCBInputStream_create
,
1653 wxPySwigInstance_Check
,
1662 #if !WXWIN_COMPATIBILITY_2_4
1663 #define wxHIDE_READONLY 0
1667 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1668 #define SWIG_From_int PyInt_FromLong
1673 enum wxHotkeyModifier
1681 #define wxEVT_HOTKEY 9999
1684 static const wxString
wxPyEmptyString(wxEmptyString
);
1685 static wxString
wxObject_GetClassName(wxObject
*self
){
1686 return self
->GetClassInfo()->GetClassName();
1688 static void wxObject_Destroy(wxObject
*self
){
1693 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1701 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1704 if (value
< min_value
) {
1706 PyErr_Format(PyExc_OverflowError
,
1707 "value %ld is less than '%s' minimum %ld",
1708 value
, errmsg
, min_value
);
1711 } else if (value
> max_value
) {
1713 PyErr_Format(PyExc_OverflowError
,
1714 "value %ld is greater than '%s' maximum %ld",
1715 value
, errmsg
, max_value
);
1724 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1726 if (PyNumber_Check(obj
)) {
1727 if (val
) *val
= PyInt_AsLong(obj
);
1731 SWIG_type_error("number", obj
);
1737 #if INT_MAX != LONG_MAX
1739 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1741 const char* errmsg
= val
? "int" : (char*)0;
1743 if (SWIG_AsVal_long(obj
, &v
)) {
1744 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1745 if (val
) *val
= (int)(v
);
1754 SWIG_type_error(errmsg
, obj
);
1760 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1762 return SWIG_AsVal_long(obj
,(long*)val
);
1768 SWIG_As_int(PyObject
* obj
)
1771 if (!SWIG_AsVal_int(obj
, &v
)) {
1773 this is needed to make valgrind/purify happier.
1775 memset((void*)&v
, 0, sizeof(int));
1782 SWIG_Check_int(PyObject
* obj
)
1784 return SWIG_AsVal_int(obj
, (int*)0);
1787 static PyObject
*wxSize_Get(wxSize
*self
){
1788 bool blocked
= wxPyBeginBlockThreads();
1789 PyObject
* tup
= PyTuple_New(2);
1790 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1791 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1792 wxPyEndBlockThreads(blocked
);
1797 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1799 if (PyNumber_Check(obj
)) {
1800 if (val
) *val
= PyFloat_AsDouble(obj
);
1804 SWIG_type_error("number", obj
);
1810 SWIGINTERNSHORT
double
1811 SWIG_As_double(PyObject
* obj
)
1814 if (!SWIG_AsVal_double(obj
, &v
)) {
1816 this is needed to make valgrind/purify happier.
1818 memset((void*)&v
, 0, sizeof(double));
1825 SWIG_Check_double(PyObject
* obj
)
1827 return SWIG_AsVal_double(obj
, (double*)0);
1831 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1832 #define SWIG_From_double PyFloat_FromDouble
1835 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1839 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1840 bool blocked
= wxPyBeginBlockThreads();
1841 PyObject
* tup
= PyTuple_New(2);
1842 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1843 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1844 wxPyEndBlockThreads(blocked
);
1848 SWIGINTERNSHORT
long
1849 SWIG_As_long(PyObject
* obj
)
1852 if (!SWIG_AsVal_long(obj
, &v
)) {
1854 this is needed to make valgrind/purify happier.
1856 memset((void*)&v
, 0, sizeof(long));
1863 SWIG_Check_long(PyObject
* obj
)
1865 return SWIG_AsVal_long(obj
, (long*)0);
1868 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1872 static PyObject
*wxPoint_Get(wxPoint
*self
){
1873 bool blocked
= wxPyBeginBlockThreads();
1874 PyObject
* tup
= PyTuple_New(2);
1875 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1876 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1877 wxPyEndBlockThreads(blocked
);
1880 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1883 self
->width
= width
;
1884 self
->height
= height
;
1886 static PyObject
*wxRect_Get(wxRect
*self
){
1887 bool blocked
= wxPyBeginBlockThreads();
1888 PyObject
* tup
= PyTuple_New(4);
1889 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1890 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1891 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1892 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1893 wxPyEndBlockThreads(blocked
);
1897 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1900 wxRect
dest(0,0,0,0);
1903 reg1
.Intersect(reg2
);
1904 dest
= reg1
.GetBox();
1906 if (dest
!= wxRect(0,0,0,0)) {
1907 bool blocked
= wxPyBeginBlockThreads();
1908 wxRect
* newRect
= new wxRect(dest
);
1909 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1910 wxPyEndBlockThreads(blocked
);
1918 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1924 } else if (target
== Py_None
) {
1928 if (!PyTuple_Check(target
)) {
1930 target
= PyTuple_New(1);
1931 PyTuple_SetItem(target
, 0, o2
);
1933 o3
= PyTuple_New(1);
1934 PyTuple_SetItem(o3
, 0, o
);
1937 target
= PySequence_Concat(o2
, o3
);
1945 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1949 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1950 bool blocked
= wxPyBeginBlockThreads();
1951 PyObject
* tup
= PyTuple_New(2);
1952 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1953 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1954 wxPyEndBlockThreads(blocked
);
1958 #include "wx/wxPython/pyistream.h"
1960 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1961 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1963 return new wxPyInputStream(wxis
);
1968 SWIGINTERNSHORT PyObject
*
1969 SWIG_From_char(char c
)
1971 return PyString_FromStringAndSize(&c
,1);
1975 SWIGINTERNSHORT PyObject
*
1976 SWIG_From_unsigned_SS_long(unsigned long value
)
1978 return (value
> LONG_MAX
) ?
1979 PyLong_FromUnsignedLong(value
)
1980 : PyInt_FromLong((long)(value
));
1984 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1986 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1988 static swig_type_info
* pchar_info
= 0;
1990 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1991 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1992 if (cptr
) *cptr
= vptr
;
1993 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1997 if (PyString_Check(obj
)) {
1999 *cptr
= PyString_AS_STRING(obj
);
2001 *psize
= PyString_GET_SIZE(obj
) + 1;
2008 SWIG_type_error("char *", obj
);
2015 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2017 char* cptr
; size_t csize
;
2018 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2021 char x[5] = "hello";
2023 ie, assing the array using an extra '0' char.
2025 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2026 if (csize
<= size
) {
2028 if (csize
) memcpy(val
, cptr
, csize
);
2029 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2035 PyErr_Format(PyExc_TypeError
,
2036 "a char array of maximum size %lu is expected",
2037 (unsigned long) size
);
2044 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2046 const char* errmsg
= val
? "char" : (char*)0;
2048 if (SWIG_AsVal_long(obj
, &v
)) {
2049 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2050 if (val
) *val
= (char)(v
);
2057 return SWIG_AsCharArray(obj
, val
, 1);
2062 SWIGINTERNSHORT
char
2063 SWIG_As_char(PyObject
* obj
)
2066 if (!SWIG_AsVal_char(obj
, &v
)) {
2068 this is needed to make valgrind/purify happier.
2070 memset((void*)&v
, 0, sizeof(char));
2077 SWIG_Check_char(PyObject
* obj
)
2079 return SWIG_AsVal_char(obj
, (char*)0);
2083 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2084 #define SWIG_From_long PyInt_FromLong
2087 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2088 // We use only strings for the streams, not unicode
2089 PyObject
* str
= PyObject_Str(obj
);
2091 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2094 self
->Write(PyString_AS_STRING(str
),
2095 PyString_GET_SIZE(str
));
2099 #include "wx/wxPython/pyistream.h"
2102 class wxPyFileSystemHandler
: public wxFileSystemHandler
2105 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2107 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2108 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2109 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2110 DEC_PYCALLBACK_STRING__pure(FindNext
);
2112 wxString
GetProtocol(const wxString
& location
) {
2113 return wxFileSystemHandler::GetProtocol(location
);
2116 wxString
GetLeftLocation(const wxString
& location
) {
2117 return wxFileSystemHandler::GetLeftLocation(location
);
2120 wxString
GetAnchor(const wxString
& location
) {
2121 return wxFileSystemHandler::GetAnchor(location
);
2124 wxString
GetRightLocation(const wxString
& location
) {
2125 return wxFileSystemHandler::GetRightLocation(location
);
2128 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2129 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2136 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2137 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2138 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2139 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2143 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2145 if (obj
== Py_True
) {
2146 if (val
) *val
= true;
2149 if (obj
== Py_False
) {
2150 if (val
) *val
= false;
2154 if (SWIG_AsVal_int(obj
, &res
)) {
2155 if (val
) *val
= res
? true : false;
2161 SWIG_type_error("bool", obj
);
2167 SWIGINTERNSHORT
bool
2168 SWIG_As_bool(PyObject
* obj
)
2171 if (!SWIG_AsVal_bool(obj
, &v
)) {
2173 this is needed to make valgrind/purify happier.
2175 memset((void*)&v
, 0, sizeof(bool));
2182 SWIG_Check_bool(PyObject
* obj
)
2184 return SWIG_AsVal_bool(obj
, (bool*)0);
2187 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2188 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2189 return fname
.GetFullPath();
2192 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2195 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2198 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2199 const wxBitmap
& bitmap
,
2201 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2204 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2206 if (! PyString_Check(data
)) {
2207 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2208 "Expected string object"));
2212 bool blocked
= wxPyBeginBlockThreads();
2213 void* ptr
= (void*)PyString_AsString(data
);
2214 size_t size
= PyString_Size(data
);
2215 wxPyEndBlockThreads(blocked
);
2217 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2221 #include "wx/wxPython/pyistream.h"
2225 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2228 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2229 SWIG_type_error("unsigned number", obj
);
2232 *val
= (unsigned long)v
;
2238 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2239 unsigned long max_value
,
2242 if (value
> max_value
) {
2244 PyErr_Format(PyExc_OverflowError
,
2245 "value %lu is greater than '%s' minimum %lu",
2246 value
, errmsg
, max_value
);
2255 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2257 const char* errmsg
= val
? "unsigned char" : (char*)0;
2259 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2260 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2261 if (val
) *val
= (unsigned char)(v
);
2270 SWIG_type_error(errmsg
, obj
);
2276 SWIGINTERNSHORT
unsigned char
2277 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2280 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2282 this is needed to make valgrind/purify happier.
2284 memset((void*)&v
, 0, sizeof(unsigned char));
2291 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2293 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2297 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2298 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2302 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2303 if (width
> 0 && height
> 0)
2304 return new wxImage(width
, height
, clear
);
2308 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2309 return new wxImage(bitmap
.ConvertToImage());
2311 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2312 // Copy the source data so the wxImage can clean it up later
2313 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2318 memcpy(copy
, data
, width
*height
*3);
2319 return new wxImage(width
, height
, copy
, false);
2321 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2322 // Copy the source data so the wxImage can clean it up later
2323 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2324 if (dcopy
== NULL
) {
2328 memcpy(dcopy
, data
, width
*height
*3);
2329 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2330 if (acopy
== NULL
) {
2334 memcpy(acopy
, alpha
, width
*height
);
2336 return new wxImage(width
, height
, dcopy
, acopy
, false);
2338 static wxSize
wxImage_GetSize(wxImage
*self
){
2339 wxSize
size(self
->GetWidth(), self
->GetHeight());
2342 static PyObject
*wxImage_GetData(wxImage
*self
){
2343 unsigned char* data
= self
->GetData();
2344 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2346 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2349 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2350 unsigned char* dataPtr
;
2352 if (! PyString_Check(data
)) {
2353 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2354 "Expected string object"));
2358 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2359 dataPtr
= (unsigned char*) malloc(len
);
2360 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2361 self
->SetData(dataPtr
);
2362 // wxImage takes ownership of dataPtr...
2364 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2365 unsigned char* data
= self
->GetData();
2366 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2368 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2371 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2372 unsigned char* buffer
;
2375 bool blocked
= wxPyBeginBlockThreads();
2376 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2379 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2380 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2383 self
->SetData(buffer
);
2385 wxPyEndBlockThreads(blocked
);
2387 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2388 unsigned char* data
= self
->GetAlpha();
2392 int len
= self
->GetWidth() * self
->GetHeight();
2394 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2398 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2399 unsigned char* dataPtr
;
2401 if (! PyString_Check(data
)) {
2402 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2406 size_t len
= self
->GetWidth() * self
->GetHeight();
2407 dataPtr
= (unsigned char*) malloc(len
);
2408 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2409 self
->SetAlpha(dataPtr
);
2410 // wxImage takes ownership of dataPtr...
2412 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2413 unsigned char* data
= self
->GetAlpha();
2414 int len
= self
->GetWidth() * self
->GetHeight();
2416 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2419 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2420 unsigned char* buffer
;
2423 bool blocked
= wxPyBeginBlockThreads();
2424 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2427 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2428 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2431 self
->SetAlpha(buffer
);
2433 wxPyEndBlockThreads(blocked
);
2436 SWIGINTERNSHORT
unsigned long
2437 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2440 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2442 this is needed to make valgrind/purify happier.
2444 memset((void*)&v
, 0, sizeof(unsigned long));
2451 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2453 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2456 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2457 wxBitmap
bitmap(*self
, depth
);
2460 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2461 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2462 wxBitmap
bitmap( mono
, 1 );
2465 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2466 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2467 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2468 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2469 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2471 #include <wx/quantize.h>
2473 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2474 return wxQuantize::Quantize(src
, dest
,
2477 NULL
, // eightBitData
2480 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2481 if (PyCallable_Check(func
)) {
2482 self
->Connect(id
, lastId
, eventType
,
2483 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2484 new wxPyCallback(func
));
2486 else if (func
== Py_None
) {
2487 self
->Disconnect(id
, lastId
, eventType
,
2488 (wxObjectEventFunction
)
2489 &wxPyCallback::EventThunker
);
2493 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2496 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2497 return self
->Disconnect(id
, lastId
, eventType
,
2498 (wxObjectEventFunction
)
2499 &wxPyCallback::EventThunker
);
2501 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2502 if (_self
&& _self
!= Py_None
) {
2503 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2506 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2508 self
->SetClientObject(NULL
); // This will delete it too
2513 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2515 return self
->GetUnicodeKey();
2521 #if UINT_MAX < LONG_MAX
2522 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2523 #define SWIG_From_unsigned_SS_int SWIG_From_long
2526 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2527 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2532 #if UINT_MAX != ULONG_MAX
2534 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2536 const char* errmsg
= val
? "unsigned int" : (char*)0;
2538 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2539 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2540 if (val
) *val
= (unsigned int)(v
);
2547 SWIG_type_error(errmsg
, obj
);
2552 SWIGINTERNSHORT
unsigned int
2553 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2555 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2560 SWIGINTERNSHORT
unsigned int
2561 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2564 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2566 this is needed to make valgrind/purify happier.
2568 memset((void*)&v
, 0, sizeof(unsigned int));
2575 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2577 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2580 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2581 self
->m_size
= size
;
2583 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2584 int count
= self
->GetNumberOfFiles();
2585 wxString
* files
= self
->GetFiles();
2586 PyObject
* list
= PyList_New(count
);
2589 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2593 for (int i
=0; i
<count
; i
++) {
2594 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2600 static wxPyApp
*new_wxPyApp(){
2601 wxPythonApp
= new wxPyApp();
2604 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2606 void wxApp_CleanUp() {
2611 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2615 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2617 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2622 SWIG_type_error("char *", obj
);
2628 SWIGINTERN PyObject
*
2629 SWIG_FromCharPtr(const char* cptr
)
2632 size_t size
= strlen(cptr
);
2633 if (size
> INT_MAX
) {
2634 return SWIG_NewPointerObj((char*)(cptr
),
2635 SWIG_TypeQuery("char *"), 0);
2638 return PyString_FromStringAndSize(cptr
, size
);
2640 return PyString_FromString(cptr
);
2651 // A dummy class that raises an exception if used...
2655 wxEventLoop() { wxPyRaiseNotImplemented(); }
2656 int Run() { return 0; }
2657 void Exit(int rc
= 0) {}
2658 bool Pending() const { return false; }
2659 bool Dispatch() { return false; }
2660 bool IsRunning() const { return false; }
2661 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2662 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2667 #include <wx/evtloop.h>
2673 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2674 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2675 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2676 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2677 wxWindowList
& list
= self
->GetChildren();
2678 return wxPy_ConvertList(&list
);
2680 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2682 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2687 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2694 static long wxWindow_GetHandle(wxWindow
*self
){
2695 return wxPyGetWinHandle(self
);
2697 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2698 self
->AssociateHandle((WXWidget
)handle
);
2701 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2702 return wxWindow::FindWindowById(id
, parent
);
2705 wxWindow
* wxFindWindowByName( const wxString
& name
,
2706 const wxWindow
*parent
= NULL
) {
2707 return wxWindow::FindWindowByName(name
, parent
);
2710 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2711 const wxWindow
*parent
= NULL
) {
2712 return wxWindow::FindWindowByLabel(label
, parent
);
2717 #include <wx/msw/private.h> // to get wxGetWindowId
2721 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2723 WXHWND hWnd
= (WXHWND
)_hWnd
;
2724 long id
= wxGetWindowId(hWnd
);
2725 wxWindow
* win
= new wxWindow
;
2726 parent
->AddChild(win
);
2727 win
->SetEventHandler(win
);
2730 win
->SubclassWin(hWnd
);
2731 win
->AdoptAttributesFromHWND();
2732 win
->SetupColours();
2735 wxPyRaiseNotImplemented();
2741 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2742 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2743 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2745 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2747 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2748 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2749 wxMenuItemList
& list
= self
->GetMenuItems();
2750 return wxPy_ConvertList(&list
);
2752 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2753 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2754 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2756 wxPyClientData
* data
= new wxPyClientData(clientData
);
2757 return self
->Append(item
, data
);
2759 return self
->Append(item
);
2761 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2763 wxPyClientData
* data
= new wxPyClientData(clientData
);
2764 return self
->Insert(item
, pos
, data
);
2766 return self
->Insert(item
, pos
);
2768 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2769 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2771 Py_INCREF(data
->m_obj
);
2778 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2779 wxPyClientData
* data
= new wxPyClientData(clientData
);
2780 self
->SetClientObject(n
, data
);
2784 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2785 wxPyUserData
* data
= NULL
;
2787 bool blocked
= wxPyBeginBlockThreads();
2788 data
= new wxPyUserData(userData
);
2789 wxPyEndBlockThreads(blocked
);
2791 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2793 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2794 wxPyUserData
* data
= NULL
;
2796 bool blocked
= wxPyBeginBlockThreads();
2797 data
= new wxPyUserData(userData
);
2798 wxPyEndBlockThreads(blocked
);
2800 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2802 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2803 wxPyUserData
* data
= NULL
;
2805 bool blocked
= wxPyBeginBlockThreads();
2806 data
= new wxPyUserData(userData
);
2807 wxPyEndBlockThreads(blocked
);
2809 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2814 SWIG_CheckDoubleInRange(double value
, double min_value
,
2815 double max_value
, const char* errmsg
)
2817 if (value
< min_value
) {
2819 PyErr_Format(PyExc_OverflowError
,
2820 "value %g is less than %s minimum %g",
2821 value
, errmsg
, min_value
);
2824 } else if (value
> max_value
) {
2826 PyErr_Format(PyExc_OverflowError
,
2827 "value %g is greater than %s maximum %g",
2828 value
, errmsg
, max_value
);
2837 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2839 const char* errmsg
= val
? "float" : (char*)0;
2841 if (SWIG_AsVal_double(obj
, &v
)) {
2842 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2843 if (val
) *val
= (float)(v
);
2852 SWIG_type_error(errmsg
, obj
);
2858 SWIGINTERNSHORT
float
2859 SWIG_As_float(PyObject
* obj
)
2862 if (!SWIG_AsVal_float(obj
, &v
)) {
2864 this is needed to make valgrind/purify happier.
2866 memset((void*)&v
, 0, sizeof(float));
2873 SWIG_Check_float(PyObject
* obj
)
2875 return SWIG_AsVal_float(obj
, (float*)0);
2879 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2880 #define SWIG_From_float PyFloat_FromDouble
2883 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2884 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2886 Py_INCREF(data
->m_obj
);
2894 // Figure out the type of the sizer item
2896 struct wxPySizerItemInfo
{
2898 : window(NULL
), sizer(NULL
), gotSize(false),
2899 size(wxDefaultSize
), gotPos(false), pos(-1)
2910 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2912 wxPySizerItemInfo info
;
2914 wxSize
* sizePtr
= &size
;
2916 // Find out what the type of the item is
2918 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2923 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2927 // try wxSize or (w,h)
2928 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2929 info
.size
= *sizePtr
;
2930 info
.gotSize
= true;
2934 if (checkIdx
&& PyInt_Check(item
)) {
2935 info
.pos
= PyInt_AsLong(item
);
2941 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2942 // no expected type, figure out what kind of error message to generate
2943 if ( !checkSize
&& !checkIdx
)
2944 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2945 else if ( checkSize
&& !checkIdx
)
2946 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2947 else if ( !checkSize
&& checkIdx
)
2948 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2950 // can this one happen?
2951 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2957 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2958 if (!self
->GetClientObject())
2959 self
->SetClientObject(new wxPyOORClientData(_self
));
2961 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2963 wxPyUserData
* data
= NULL
;
2964 bool blocked
= wxPyBeginBlockThreads();
2965 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2966 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2967 data
= new wxPyUserData(userData
);
2968 wxPyEndBlockThreads(blocked
);
2970 // Now call the real Add method if a valid item type was found
2972 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2973 else if ( info
.sizer
)
2974 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2975 else if (info
.gotSize
)
2976 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2977 proportion
, flag
, border
, data
);
2981 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2983 wxPyUserData
* data
= NULL
;
2984 bool blocked
= wxPyBeginBlockThreads();
2985 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2986 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2987 data
= new wxPyUserData(userData
);
2988 wxPyEndBlockThreads(blocked
);
2990 // Now call the real Insert method if a valid item type was found
2992 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2993 else if ( info
.sizer
)
2994 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2995 else if (info
.gotSize
)
2996 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2997 proportion
, flag
, border
, data
);
3001 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3003 wxPyUserData
* data
= NULL
;
3004 bool blocked
= wxPyBeginBlockThreads();
3005 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3006 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3007 data
= new wxPyUserData(userData
);
3008 wxPyEndBlockThreads(blocked
);
3010 // Now call the real Prepend method if a valid item type was found
3012 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3013 else if ( info
.sizer
)
3014 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3015 else if (info
.gotSize
)
3016 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3017 proportion
, flag
, border
, data
);
3021 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3022 bool blocked
= wxPyBeginBlockThreads();
3023 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3024 wxPyEndBlockThreads(blocked
);
3026 return self
->Remove(info
.window
);
3027 else if ( info
.sizer
)
3028 return self
->Remove(info
.sizer
);
3029 else if ( info
.gotPos
)
3030 return self
->Remove(info
.pos
);
3034 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3035 bool blocked
= wxPyBeginBlockThreads();
3036 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3037 wxPyEndBlockThreads(blocked
);
3039 return self
->Detach(info
.window
);
3040 else if ( info
.sizer
)
3041 return self
->Detach(info
.sizer
);
3042 else if ( info
.gotPos
)
3043 return self
->Detach(info
.pos
);
3047 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3048 bool blocked
= wxPyBeginBlockThreads();
3049 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3050 wxPyEndBlockThreads(blocked
);
3052 return self
->GetItem(info
.window
);
3053 else if ( info
.sizer
)
3054 return self
->GetItem(info
.sizer
);
3055 else if ( info
.gotPos
)
3056 return self
->GetItem(info
.pos
);
3060 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3061 bool blocked
= wxPyBeginBlockThreads();
3062 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3063 wxPyEndBlockThreads(blocked
);
3065 self
->SetItemMinSize(info
.window
, size
);
3066 else if ( info
.sizer
)
3067 self
->SetItemMinSize(info
.sizer
, size
);
3068 else if ( info
.gotPos
)
3069 self
->SetItemMinSize(info
.pos
, size
);
3071 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3072 wxSizerItemList
& list
= self
->GetChildren();
3073 return wxPy_ConvertList(&list
);
3075 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3076 bool blocked
= wxPyBeginBlockThreads();
3077 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3078 wxPyEndBlockThreads(blocked
);
3080 return self
->Show(info
.window
, show
, recursive
);
3081 else if ( info
.sizer
)
3082 return self
->Show(info
.sizer
, show
, recursive
);
3083 else if ( info
.gotPos
)
3084 return self
->Show(info
.pos
, show
);
3088 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3089 bool blocked
= wxPyBeginBlockThreads();
3090 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3091 wxPyEndBlockThreads(blocked
);
3093 return self
->IsShown(info
.window
);
3094 else if ( info
.sizer
)
3095 return self
->IsShown(info
.sizer
);
3096 else if ( info
.gotPos
)
3097 return self
->IsShown(info
.pos
);
3103 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3104 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3105 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3110 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3112 if (source
== Py_None
) {
3113 **obj
= wxGBPosition(-1,-1);
3116 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3119 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3121 if (source
== Py_None
) {
3122 **obj
= wxGBSpan(-1,-1);
3125 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3129 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3133 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3134 bool blocked
= wxPyBeginBlockThreads();
3135 PyObject
* tup
= PyTuple_New(2);
3136 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3137 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3138 wxPyEndBlockThreads(blocked
);
3141 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3142 self
->SetRowspan(rowspan
);
3143 self
->SetColspan(colspan
);
3145 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3146 bool blocked
= wxPyBeginBlockThreads();
3147 PyObject
* tup
= PyTuple_New(2);
3148 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3149 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3150 wxPyEndBlockThreads(blocked
);
3153 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3154 wxPyUserData
* data
= NULL
;
3156 bool blocked
= wxPyBeginBlockThreads();
3157 data
= new wxPyUserData(userData
);
3158 wxPyEndBlockThreads(blocked
);
3160 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3162 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3163 wxPyUserData
* data
= NULL
;
3165 bool blocked
= wxPyBeginBlockThreads();
3166 data
= new wxPyUserData(userData
);
3167 wxPyEndBlockThreads(blocked
);
3169 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3171 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3172 wxPyUserData
* data
= NULL
;
3174 bool blocked
= wxPyBeginBlockThreads();
3175 data
= new wxPyUserData(userData
);
3176 wxPyEndBlockThreads(blocked
);
3178 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3180 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3182 self
->GetEndPos(row
, col
);
3183 return wxGBPosition(row
, col
);
3185 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3187 wxPyUserData
* data
= NULL
;
3188 bool blocked
= wxPyBeginBlockThreads();
3189 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3190 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3191 data
= new wxPyUserData(userData
);
3192 wxPyEndBlockThreads(blocked
);
3194 // Now call the real Add method if a valid item type was found
3196 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3197 else if ( info
.sizer
)
3198 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3199 else if (info
.gotSize
)
3200 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3201 pos
, span
, flag
, border
, data
);
3209 static int _wrap_EmptyString_set(PyObject
*) {
3210 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3215 static PyObject
*_wrap_EmptyString_get(void) {
3220 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3222 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3229 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxObject
*arg1
= (wxObject
*) 0 ;
3233 PyObject
* obj0
= 0 ;
3235 (char *) "self", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3240 if (SWIG_arg_fail(1)) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 result
= wxObject_GetClassName(arg1
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3261 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxObject
*arg1
= (wxObject
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3271 if (SWIG_arg_fail(1)) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxObject_Destroy(arg1
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3289 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3291 return Py_BuildValue((char *)"");
3293 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxSize
*arg1
= (wxSize
*) 0 ;
3297 PyObject
* obj0
= 0 ;
3298 PyObject
* obj1
= 0 ;
3300 (char *) "self",(char *) "x", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3305 if (SWIG_arg_fail(1)) SWIG_fail
;
3307 arg2
= (int)(SWIG_As_int(obj1
));
3308 if (SWIG_arg_fail(2)) SWIG_fail
;
3310 if (arg1
) (arg1
)->x
= arg2
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxSize
*arg1
= (wxSize
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3325 (char *) "self", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail
;
3331 result
= (int) ((arg1
)->x
);
3334 resultobj
= SWIG_From_int((int)(result
));
3342 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxSize
*arg1
= (wxSize
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3349 (char *) "self",(char *) "y", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3354 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 arg2
= (int)(SWIG_As_int(obj1
));
3357 if (SWIG_arg_fail(2)) SWIG_fail
;
3359 if (arg1
) (arg1
)->y
= arg2
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxSize
*arg1
= (wxSize
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3374 (char *) "self", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3380 result
= (int) ((arg1
)->y
);
3383 resultobj
= SWIG_From_int((int)(result
));
3391 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 int arg1
= (int) 0 ;
3394 int arg2
= (int) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3399 (char *) "w",(char *) "h", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 arg1
= (int)(SWIG_As_int(obj0
));
3406 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 arg2
= (int)(SWIG_As_int(obj1
));
3412 if (SWIG_arg_fail(2)) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3429 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxSize
*arg1
= (wxSize
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxSize
*arg1
= (wxSize
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3461 PyObject
* obj1
= 0 ;
3463 (char *) "self",(char *) "sz", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3468 if (SWIG_arg_fail(1)) SWIG_fail
;
3471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3489 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxSize
*arg1
= (wxSize
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "sz", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3524 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxSize
*arg1
= (wxSize
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "sz", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3552 resultptr
= new wxSize((wxSize
&)(result
));
3553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3561 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxSize
*arg1
= (wxSize
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "sz", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3575 if (SWIG_arg_fail(1)) SWIG_fail
;
3578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3589 resultptr
= new wxSize((wxSize
&)(result
));
3590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3598 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxSize
*arg1
= (wxSize
*) 0 ;
3603 PyObject
* obj0
= 0 ;
3604 PyObject
* obj1
= 0 ;
3606 (char *) "self",(char *) "sz", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3611 if (SWIG_arg_fail(1)) SWIG_fail
;
3614 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 (arg1
)->IncTo((wxSize
const &)*arg2
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 Py_INCREF(Py_None
); resultobj
= Py_None
;
3630 static PyObject
*_wrap_Size_DecTo(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_DecTo",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
)->DecTo((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_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxSize
*arg1
= (wxSize
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3669 PyObject
* obj2
= 0 ;
3671 (char *) "self",(char *) "w",(char *) "h", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 arg2
= (int)(SWIG_As_int(obj1
));
3679 if (SWIG_arg_fail(2)) SWIG_fail
;
3682 arg3
= (int)(SWIG_As_int(obj2
));
3683 if (SWIG_arg_fail(3)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 (arg1
)->Set(arg2
,arg3
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 Py_INCREF(Py_None
); resultobj
= Py_None
;
3699 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxSize
*arg1
= (wxSize
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3706 (char *) "self",(char *) "w", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3713 arg2
= (int)(SWIG_As_int(obj1
));
3714 if (SWIG_arg_fail(2)) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 (arg1
)->SetWidth(arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxSize
*arg1
= (wxSize
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3735 PyObject
* obj1
= 0 ;
3737 (char *) "self",(char *) "h", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3742 if (SWIG_arg_fail(1)) SWIG_fail
;
3744 arg2
= (int)(SWIG_As_int(obj1
));
3745 if (SWIG_arg_fail(2)) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetHeight(arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxSize
*arg1
= (wxSize
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3767 (char *) "self", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3772 if (SWIG_arg_fail(1)) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= SWIG_From_int((int)(result
));
3789 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxSize
*arg1
= (wxSize
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_From_int((int)(result
));
3817 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxSize
*arg1
= (wxSize
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3823 (char *) "self", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3828 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3845 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxSize
*arg1
= (wxSize
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3853 (char *) "self",(char *) "size", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3858 if (SWIG_arg_fail(1)) SWIG_fail
;
3861 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxSize
*arg1
= (wxSize
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3883 (char *) "self", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3888 if (SWIG_arg_fail(1)) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (PyObject
*)wxSize_Get(arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3903 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3906 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3908 return Py_BuildValue((char *)"");
3910 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "self",(char *) "x", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail
;
3924 arg2
= (double)(SWIG_As_double(obj1
));
3925 if (SWIG_arg_fail(2)) SWIG_fail
;
3927 if (arg1
) (arg1
)->x
= arg2
;
3929 Py_INCREF(Py_None
); resultobj
= Py_None
;
3936 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3942 (char *) "self", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3948 result
= (double) ((arg1
)->x
);
3951 resultobj
= SWIG_From_double((double)(result
));
3959 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3966 (char *) "self",(char *) "y", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3971 if (SWIG_arg_fail(1)) SWIG_fail
;
3973 arg2
= (double)(SWIG_As_double(obj1
));
3974 if (SWIG_arg_fail(2)) SWIG_fail
;
3976 if (arg1
) (arg1
)->y
= arg2
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3996 if (SWIG_arg_fail(1)) SWIG_fail
;
3997 result
= (double) ((arg1
)->y
);
4000 resultobj
= SWIG_From_double((double)(result
));
4008 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 double arg1
= (double) 0.0 ;
4011 double arg2
= (double) 0.0 ;
4012 wxRealPoint
*result
;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4016 (char *) "x",(char *) "y", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 arg1
= (double)(SWIG_As_double(obj0
));
4023 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 arg2
= (double)(SWIG_As_double(obj1
));
4029 if (SWIG_arg_fail(2)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4046 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4056 if (SWIG_arg_fail(1)) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4074 wxRealPoint
*arg2
= 0 ;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4080 (char *) "self",(char *) "pt", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail
;
4088 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4106 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4109 wxRealPoint
*arg2
= 0 ;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4115 (char *) "self",(char *) "pt", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4123 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4141 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4144 wxRealPoint
*arg2
= 0 ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4150 (char *) "self",(char *) "pt", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail
;
4158 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4168 wxRealPoint
* resultptr
;
4169 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4178 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4181 wxRealPoint
*arg2
= 0 ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "pt", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail
;
4195 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 wxRealPoint
* resultptr
;
4206 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4215 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4224 (char *) "self",(char *) "x",(char *) "y", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4229 if (SWIG_arg_fail(1)) SWIG_fail
;
4231 arg2
= (double)(SWIG_As_double(obj1
));
4232 if (SWIG_arg_fail(2)) SWIG_fail
;
4235 arg3
= (double)(SWIG_As_double(obj2
));
4236 if (SWIG_arg_fail(3)) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxRealPoint_Set(arg1
,arg2
,arg3
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4263 if (SWIG_arg_fail(1)) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4278 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxPoint
*arg1
= (wxPoint
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4292 (char *) "self",(char *) "x", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4297 if (SWIG_arg_fail(1)) SWIG_fail
;
4299 arg2
= (int)(SWIG_As_int(obj1
));
4300 if (SWIG_arg_fail(2)) SWIG_fail
;
4302 if (arg1
) (arg1
)->x
= arg2
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4311 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxPoint
*arg1
= (wxPoint
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4317 (char *) "self", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4323 result
= (int) ((arg1
)->x
);
4326 resultobj
= SWIG_From_int((int)(result
));
4334 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxPoint
*arg1
= (wxPoint
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4339 PyObject
* obj1
= 0 ;
4341 (char *) "self",(char *) "y", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail
;
4348 arg2
= (int)(SWIG_As_int(obj1
));
4349 if (SWIG_arg_fail(2)) SWIG_fail
;
4351 if (arg1
) (arg1
)->y
= arg2
;
4353 Py_INCREF(Py_None
); resultobj
= Py_None
;
4360 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxPoint
*arg1
= (wxPoint
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4366 (char *) "self", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4371 if (SWIG_arg_fail(1)) SWIG_fail
;
4372 result
= (int) ((arg1
)->y
);
4375 resultobj
= SWIG_From_int((int)(result
));
4383 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 int arg1
= (int) 0 ;
4386 int arg2
= (int) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4391 (char *) "x",(char *) "y", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 arg1
= (int)(SWIG_As_int(obj0
));
4398 if (SWIG_arg_fail(1)) SWIG_fail
;
4403 arg2
= (int)(SWIG_As_int(obj1
));
4404 if (SWIG_arg_fail(2)) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4421 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxPoint
*arg1
= (wxPoint
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4426 (char *) "self", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 Py_INCREF(Py_None
); resultobj
= Py_None
;
4446 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxPoint
*arg1
= (wxPoint
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4455 (char *) "self",(char *) "pt", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail
;
4463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4481 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxPoint
*arg1
= (wxPoint
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4490 (char *) "self",(char *) "pt", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail
;
4498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4516 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxPoint
*arg1
= (wxPoint
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4525 (char *) "self",(char *) "pt", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail
;
4533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 wxPoint
* resultptr
;
4544 resultptr
= new wxPoint((wxPoint
&)(result
));
4545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4553 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxPoint
*arg1
= (wxPoint
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "pt", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail
;
4570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 wxPoint
* resultptr
;
4581 resultptr
= new wxPoint((wxPoint
&)(result
));
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4590 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxPoint
*arg1
= (wxPoint
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4599 (char *) "self",(char *) "pt", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4604 if (SWIG_arg_fail(1)) SWIG_fail
;
4607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4613 result
= (wxPoint
*) &_result_ref
;
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4626 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxPoint
*arg1
= (wxPoint
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4635 (char *) "self",(char *) "pt", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4640 if (SWIG_arg_fail(1)) SWIG_fail
;
4643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4649 result
= (wxPoint
*) &_result_ref
;
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4662 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxPoint
*arg1
= (wxPoint
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4671 (char *) "self",(char *) "x",(char *) "y", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 arg2
= (long)(SWIG_As_long(obj1
));
4679 if (SWIG_arg_fail(2)) SWIG_fail
;
4682 arg3
= (long)(SWIG_As_long(obj2
));
4683 if (SWIG_arg_fail(3)) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPoint_Set(arg1
,arg2
,arg3
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 Py_INCREF(Py_None
); resultobj
= Py_None
;
4699 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxPoint
*arg1
= (wxPoint
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4710 if (SWIG_arg_fail(1)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (PyObject
*)wxPoint_Get(arg1
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4725 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4728 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4730 return Py_BuildValue((char *)"");
4732 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 int arg1
= (int) 0 ;
4735 int arg2
= (int) 0 ;
4736 int arg3
= (int) 0 ;
4737 int arg4
= (int) 0 ;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4741 PyObject
* obj2
= 0 ;
4742 PyObject
* obj3
= 0 ;
4744 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4750 arg1
= (int)(SWIG_As_int(obj0
));
4751 if (SWIG_arg_fail(1)) SWIG_fail
;
4756 arg2
= (int)(SWIG_As_int(obj1
));
4757 if (SWIG_arg_fail(2)) SWIG_fail
;
4762 arg3
= (int)(SWIG_As_int(obj2
));
4763 if (SWIG_arg_fail(3)) SWIG_fail
;
4768 arg4
= (int)(SWIG_As_int(obj3
));
4769 if (SWIG_arg_fail(4)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4786 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4796 (char *) "topLeft",(char *) "bottomRight", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4802 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4822 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4832 (char *) "pos",(char *) "size", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4858 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4863 PyObject
* obj0
= 0 ;
4865 (char *) "size", NULL
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4871 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4887 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxRect
*arg1
= (wxRect
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4897 if (SWIG_arg_fail(1)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxRect
*arg1
= (wxRect
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(1)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (int)((wxRect
const *)arg1
)->GetX();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_From_int((int)(result
));
4940 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxRect
*arg1
= (wxRect
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "x", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4952 if (SWIG_arg_fail(1)) SWIG_fail
;
4954 arg2
= (int)(SWIG_As_int(obj1
));
4955 if (SWIG_arg_fail(2)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxRect
*arg1
= (wxRect
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (int)(arg1
)->GetY();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_From_int((int)(result
));
4999 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxRect
*arg1
= (wxRect
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5006 (char *) "self",(char *) "y", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5011 if (SWIG_arg_fail(1)) SWIG_fail
;
5013 arg2
= (int)(SWIG_As_int(obj1
));
5014 if (SWIG_arg_fail(2)) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 Py_INCREF(Py_None
); resultobj
= Py_None
;
5030 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxRect
*arg1
= (wxRect
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5036 (char *) "self", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5041 if (SWIG_arg_fail(1)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_From_int((int)(result
));
5058 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxRect
*arg1
= (wxRect
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5065 (char *) "self",(char *) "w", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail
;
5072 arg2
= (int)(SWIG_As_int(obj1
));
5073 if (SWIG_arg_fail(2)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 (arg1
)->SetWidth(arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 Py_INCREF(Py_None
); resultobj
= Py_None
;
5089 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxRect
*arg1
= (wxRect
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5095 (char *) "self", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5100 if (SWIG_arg_fail(1)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_From_int((int)(result
));
5117 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxRect
*arg1
= (wxRect
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "h", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5129 if (SWIG_arg_fail(1)) SWIG_fail
;
5131 arg2
= (int)(SWIG_As_int(obj1
));
5132 if (SWIG_arg_fail(2)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetHeight(arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 Py_INCREF(Py_None
); resultobj
= Py_None
;
5148 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxRect
*arg1
= (wxRect
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= ((wxRect
const *)arg1
)->GetPosition();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 wxPoint
* resultptr
;
5169 resultptr
= new wxPoint((wxPoint
&)(result
));
5170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5178 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxRect
*arg1
= (wxRect
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5186 (char *) "self",(char *) "p", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(1)) SWIG_fail
;
5194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxRect
*arg1
= (wxRect
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5221 if (SWIG_arg_fail(1)) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= ((wxRect
const *)arg1
)->GetSize();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5231 resultptr
= new wxSize((wxSize
&)(result
));
5232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5240 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxRect
*arg1
= (wxRect
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5248 (char *) "self",(char *) "s", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 (arg1
)->SetSize((wxSize
const &)*arg2
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 Py_INCREF(Py_None
); resultobj
= Py_None
;
5272 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxRect
*arg1
= (wxRect
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5278 (char *) "self", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5283 if (SWIG_arg_fail(1)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 wxPoint
* resultptr
;
5293 resultptr
= new wxPoint((wxPoint
&)(result
));
5294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5302 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxRect
*arg1
= (wxRect
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5310 (char *) "self",(char *) "p", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxRect
*arg1
= (wxRect
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5340 (char *) "self", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5354 wxPoint
* resultptr
;
5355 resultptr
= new wxPoint((wxPoint
&)(result
));
5356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5364 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxRect
*arg1
= (wxRect
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5372 (char *) "self",(char *) "p", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5377 if (SWIG_arg_fail(1)) SWIG_fail
;
5380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxRect
*arg1
= (wxRect
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5407 if (SWIG_arg_fail(1)) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_From_int((int)(result
));
5424 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxRect
*arg1
= (wxRect
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5430 (char *) "self", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (int)((wxRect
const *)arg1
)->GetTop();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_From_int((int)(result
));
5452 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxRect
*arg1
= (wxRect
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_From_int((int)(result
));
5480 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxRect
*arg1
= (wxRect
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5491 if (SWIG_arg_fail(1)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (int)((wxRect
const *)arg1
)->GetRight();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_From_int((int)(result
));
5508 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxRect
*arg1
= (wxRect
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "left", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5520 if (SWIG_arg_fail(1)) SWIG_fail
;
5522 arg2
= (int)(SWIG_As_int(obj1
));
5523 if (SWIG_arg_fail(2)) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 (arg1
)->SetLeft(arg2
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxRect
*arg1
= (wxRect
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "right", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5554 if (SWIG_arg_fail(2)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetRight(arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxRect
*arg1
= (wxRect
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "top", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5584 arg2
= (int)(SWIG_As_int(obj1
));
5585 if (SWIG_arg_fail(2)) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetTop(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxRect
*arg1
= (wxRect
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "bottom", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5613 if (SWIG_arg_fail(1)) SWIG_fail
;
5615 arg2
= (int)(SWIG_As_int(obj1
));
5616 if (SWIG_arg_fail(2)) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetBottom(arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxRect
*arg1
= (wxRect
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 PyObject
* obj2
= 0 ;
5642 (char *) "self",(char *) "dx",(char *) "dy", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5649 arg2
= (int)(SWIG_As_int(obj1
));
5650 if (SWIG_arg_fail(2)) SWIG_fail
;
5653 arg3
= (int)(SWIG_As_int(obj2
));
5654 if (SWIG_arg_fail(3)) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5660 result
= (wxRect
*) &_result_ref
;
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5673 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxRect
*arg1
= (wxRect
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 PyObject
* obj2
= 0 ;
5683 (char *) "self",(char *) "dx",(char *) "dy", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5688 if (SWIG_arg_fail(1)) SWIG_fail
;
5690 arg2
= (int)(SWIG_As_int(obj1
));
5691 if (SWIG_arg_fail(2)) SWIG_fail
;
5694 arg3
= (int)(SWIG_As_int(obj2
));
5695 if (SWIG_arg_fail(3)) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5701 result
= (wxRect
*) &_result_ref
;
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5714 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxRect
*arg1
= (wxRect
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5721 PyObject
* obj2
= 0 ;
5723 (char *) "self",(char *) "dx",(char *) "dy", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5728 if (SWIG_arg_fail(1)) SWIG_fail
;
5730 arg2
= (int)(SWIG_As_int(obj1
));
5731 if (SWIG_arg_fail(2)) SWIG_fail
;
5734 arg3
= (int)(SWIG_As_int(obj2
));
5735 if (SWIG_arg_fail(3)) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 (arg1
)->Offset(arg2
,arg3
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxRect
*arg1
= (wxRect
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "pt", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail
;
5767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->Offset((wxPoint
const &)*arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxRect
*arg1
= (wxRect
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5792 (char *) "self",(char *) "rect", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5811 resultptr
= new wxRect((wxRect
&)(result
));
5812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5820 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxRect
*arg1
= (wxRect
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "rect", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5848 resultptr
= new wxRect((wxRect
&)(result
));
5849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5857 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxRect
*arg1
= (wxRect
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5866 (char *) "self",(char *) "rect", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5871 if (SWIG_arg_fail(1)) SWIG_fail
;
5874 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5885 resultptr
= new wxRect((wxRect
&)(result
));
5886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5894 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxRect
*arg1
= (wxRect
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5903 (char *) "self",(char *) "rect", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5908 if (SWIG_arg_fail(1)) SWIG_fail
;
5911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5917 result
= (wxRect
*) &_result_ref
;
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5930 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxRect
*arg1
= (wxRect
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5939 (char *) "self",(char *) "rect", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5944 if (SWIG_arg_fail(1)) SWIG_fail
;
5947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5965 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxRect
*arg1
= (wxRect
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5974 (char *) "self",(char *) "rect", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5979 if (SWIG_arg_fail(1)) SWIG_fail
;
5982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxRect
*arg1
= (wxRect
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6010 (char *) "self",(char *) "x",(char *) "y", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6015 if (SWIG_arg_fail(1)) SWIG_fail
;
6017 arg2
= (int)(SWIG_As_int(obj1
));
6018 if (SWIG_arg_fail(2)) SWIG_fail
;
6021 arg3
= (int)(SWIG_As_int(obj2
));
6022 if (SWIG_arg_fail(3)) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6040 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxRect
*arg1
= (wxRect
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "pt", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6075 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxRect
*arg1
= (wxRect
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6084 (char *) "self",(char *) "rect", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6089 if (SWIG_arg_fail(1)) SWIG_fail
;
6092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxRect
*arg1
= (wxRect
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "x", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6122 if (SWIG_arg_fail(1)) SWIG_fail
;
6124 arg2
= (int)(SWIG_As_int(obj1
));
6125 if (SWIG_arg_fail(2)) SWIG_fail
;
6127 if (arg1
) (arg1
)->x
= arg2
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxRect
*arg1
= (wxRect
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6148 result
= (int) ((arg1
)->x
);
6151 resultobj
= SWIG_From_int((int)(result
));
6159 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxRect
*arg1
= (wxRect
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "y", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6171 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 arg2
= (int)(SWIG_As_int(obj1
));
6174 if (SWIG_arg_fail(2)) SWIG_fail
;
6176 if (arg1
) (arg1
)->y
= arg2
;
6178 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxRect
*arg1
= (wxRect
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6196 if (SWIG_arg_fail(1)) SWIG_fail
;
6197 result
= (int) ((arg1
)->y
);
6200 resultobj
= SWIG_From_int((int)(result
));
6208 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxRect
*arg1
= (wxRect
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "width", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6220 if (SWIG_arg_fail(1)) SWIG_fail
;
6222 arg2
= (int)(SWIG_As_int(obj1
));
6223 if (SWIG_arg_fail(2)) SWIG_fail
;
6225 if (arg1
) (arg1
)->width
= arg2
;
6227 Py_INCREF(Py_None
); resultobj
= Py_None
;
6234 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxRect
*arg1
= (wxRect
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail
;
6246 result
= (int) ((arg1
)->width
);
6249 resultobj
= SWIG_From_int((int)(result
));
6257 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxRect
*arg1
= (wxRect
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "height", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail
;
6271 arg2
= (int)(SWIG_As_int(obj1
));
6272 if (SWIG_arg_fail(2)) SWIG_fail
;
6274 if (arg1
) (arg1
)->height
= arg2
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxRect
*arg1
= (wxRect
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6294 if (SWIG_arg_fail(1)) SWIG_fail
;
6295 result
= (int) ((arg1
)->height
);
6298 resultobj
= SWIG_From_int((int)(result
));
6306 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxRect
*arg1
= (wxRect
*) 0 ;
6309 int arg2
= (int) 0 ;
6310 int arg3
= (int) 0 ;
6311 int arg4
= (int) 0 ;
6312 int arg5
= (int) 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6315 PyObject
* obj2
= 0 ;
6316 PyObject
* obj3
= 0 ;
6317 PyObject
* obj4
= 0 ;
6319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6324 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 arg2
= (int)(SWIG_As_int(obj1
));
6328 if (SWIG_arg_fail(2)) SWIG_fail
;
6333 arg3
= (int)(SWIG_As_int(obj2
));
6334 if (SWIG_arg_fail(3)) SWIG_fail
;
6339 arg4
= (int)(SWIG_As_int(obj3
));
6340 if (SWIG_arg_fail(4)) SWIG_fail
;
6345 arg5
= (int)(SWIG_As_int(obj4
));
6346 if (SWIG_arg_fail(5)) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxRect
*arg1
= (wxRect
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (PyObject
*)wxRect_Get(arg1
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6389 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6394 return Py_BuildValue((char *)"");
6396 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxRect
*arg1
= (wxRect
*) 0 ;
6399 wxRect
*arg2
= (wxRect
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "r1",(char *) "r2", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(1)) SWIG_fail
;
6410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6411 if (SWIG_arg_fail(2)) SWIG_fail
;
6413 if (!wxPyCheckForApp()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6427 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 double arg1
= (double) 0.0 ;
6430 double arg2
= (double) 0.0 ;
6432 PyObject
* obj0
= 0 ;
6433 PyObject
* obj1
= 0 ;
6435 (char *) "x",(char *) "y", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6441 arg1
= (double)(SWIG_As_double(obj0
));
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 arg2
= (double)(SWIG_As_double(obj1
));
6448 if (SWIG_arg_fail(2)) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6465 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPoint2D
*arg1
= 0 ;
6470 PyObject
* obj0
= 0 ;
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6478 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6494 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6499 PyObject
* obj0
= 0 ;
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6507 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6523 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6526 int *arg2
= (int *) 0 ;
6527 int *arg3
= (int *) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6538 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 Py_INCREF(Py_None
); resultobj
= Py_None
;
6550 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6551 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6552 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6553 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6560 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6563 int *arg2
= (int *) 0 ;
6564 int *arg3
= (int *) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6575 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 Py_INCREF(Py_None
); resultobj
= Py_None
;
6587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6597 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_From_double((double)(result
));
6625 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6636 if (SWIG_arg_fail(1)) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_From_double((double)(result
));
6653 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6660 (char *) "self",(char *) "length", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6665 if (SWIG_arg_fail(1)) SWIG_fail
;
6667 arg2
= (double)(SWIG_As_double(obj1
));
6668 if (SWIG_arg_fail(2)) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 (arg1
)->SetVectorLength(arg2
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 Py_INCREF(Py_None
); resultobj
= Py_None
;
6684 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6691 (char *) "self",(char *) "degrees", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) 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 arg2
= (double)(SWIG_As_double(obj1
));
6699 if (SWIG_arg_fail(2)) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 (arg1
)->SetVectorAngle(arg2
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 Py_INCREF(Py_None
); resultobj
= Py_None
;
6715 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6718 wxPoint2D
*arg2
= 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "pt", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail
;
6732 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_From_double((double)(result
));
6750 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6753 wxPoint2D
*arg2
= 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "pt", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_From_double((double)(result
));
6785 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6788 wxPoint2D
*arg2
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "self",(char *) "vec", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_double((double)(result
));
6820 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6823 wxPoint2D
*arg2
= 0 ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "vec", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_From_double((double)(result
));
6855 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6866 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (arg1
)->operator -();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6875 wxPoint2D
* resultptr
;
6876 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6885 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6888 wxPoint2D
*arg2
= 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6894 (char *) "self",(char *) "pt", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6899 if (SWIG_arg_fail(1)) SWIG_fail
;
6902 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6908 result
= (wxPoint2D
*) &_result_ref
;
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6921 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6924 wxPoint2D
*arg2
= 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6930 (char *) "self",(char *) "pt", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6935 if (SWIG_arg_fail(1)) SWIG_fail
;
6938 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6944 result
= (wxPoint2D
*) &_result_ref
;
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6957 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6960 wxPoint2D
*arg2
= 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6966 (char *) "self",(char *) "pt", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6971 if (SWIG_arg_fail(1)) SWIG_fail
;
6974 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6980 result
= (wxPoint2D
*) &_result_ref
;
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6993 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6996 wxPoint2D
*arg2
= 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7002 (char *) "self",(char *) "pt", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7007 if (SWIG_arg_fail(1)) SWIG_fail
;
7010 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7016 result
= (wxPoint2D
*) &_result_ref
;
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7029 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7032 wxPoint2D
*arg2
= 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "pt", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail
;
7046 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7067 wxPoint2D
*arg2
= 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7073 (char *) "self",(char *) "pt", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7081 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7099 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7106 (char *) "self",(char *) "m_x", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7111 if (SWIG_arg_fail(1)) SWIG_fail
;
7113 arg2
= (double)(SWIG_As_double(obj1
));
7114 if (SWIG_arg_fail(2)) SWIG_fail
;
7116 if (arg1
) (arg1
)->m_x
= arg2
;
7118 Py_INCREF(Py_None
); resultobj
= Py_None
;
7125 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "self", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7137 result
= (double) ((arg1
)->m_x
);
7140 resultobj
= SWIG_From_double((double)(result
));
7148 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "m_y", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 arg2
= (double)(SWIG_As_double(obj1
));
7163 if (SWIG_arg_fail(2)) SWIG_fail
;
7165 if (arg1
) (arg1
)->m_y
= arg2
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail
;
7186 result
= (double) ((arg1
)->m_y
);
7189 resultobj
= SWIG_From_double((double)(result
));
7197 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7200 double arg2
= (double) 0 ;
7201 double arg3
= (double) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 PyObject
* obj2
= 0 ;
7206 (char *) "self",(char *) "x",(char *) "y", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7214 arg2
= (double)(SWIG_As_double(obj1
));
7215 if (SWIG_arg_fail(2)) SWIG_fail
;
7220 arg3
= (double)(SWIG_As_double(obj2
));
7221 if (SWIG_arg_fail(3)) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 wxPoint2D_Set(arg1
,arg2
,arg3
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 Py_INCREF(Py_None
); resultobj
= Py_None
;
7238 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7240 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7244 (char *) "self", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7249 if (SWIG_arg_fail(1)) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7264 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7267 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7269 return Py_BuildValue((char *)"");
7271 static int _wrap_DefaultPosition_set(PyObject
*) {
7272 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7277 static PyObject
*_wrap_DefaultPosition_get(void) {
7280 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7285 static int _wrap_DefaultSize_set(PyObject
*) {
7286 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7291 static PyObject
*_wrap_DefaultSize_get(void) {
7294 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7299 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 PyObject
*arg1
= (PyObject
*) 0 ;
7302 wxPyInputStream
*result
;
7303 PyObject
* obj0
= 0 ;
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7324 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "self", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7334 if (SWIG_arg_fail(1)) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7359 if (SWIG_arg_fail(1)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (bool)(arg1
)->eof();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7427 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7430 int arg2
= (int) -1 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "self",(char *) "size", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail
;
7443 arg2
= (int)(SWIG_As_int(obj1
));
7444 if (SWIG_arg_fail(2)) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 result
= (PyObject
*)(arg1
)->read(arg2
);
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7461 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7464 int arg2
= (int) -1 ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7469 (char *) "self",(char *) "size", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 arg2
= (int)(SWIG_As_int(obj1
));
7478 if (SWIG_arg_fail(2)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (PyObject
*)(arg1
)->readline(arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7495 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7498 int arg2
= (int) -1 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7503 (char *) "self",(char *) "sizehint", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7508 if (SWIG_arg_fail(1)) SWIG_fail
;
7511 arg2
= (int)(SWIG_As_int(obj1
));
7512 if (SWIG_arg_fail(2)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7529 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7533 int arg3
= (int) 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 PyObject
* obj2
= 0 ;
7538 (char *) "self",(char *) "offset",(char *) "whence", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7543 if (SWIG_arg_fail(1)) SWIG_fail
;
7545 arg2
= (int)(SWIG_As_int(obj1
));
7546 if (SWIG_arg_fail(2)) SWIG_fail
;
7550 arg3
= (int)(SWIG_As_int(obj2
));
7551 if (SWIG_arg_fail(3)) SWIG_fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 (arg1
)->seek(arg2
,arg3
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (int)(arg1
)->tell();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_From_int((int)(result
));
7596 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "self", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (char)(arg1
)->Peek();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_From_char((char)(result
));
7624 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7635 if (SWIG_arg_fail(1)) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (char)(arg1
)->GetC();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_From_char((char)(result
));
7652 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "self", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (size_t)(arg1
)->LastRead();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7680 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7686 (char *) "self", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (bool)(arg1
)->CanRead();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7708 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (bool)(arg1
)->Eof();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7736 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7744 (char *) "self",(char *) "c", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7749 if (SWIG_arg_fail(1)) SWIG_fail
;
7751 arg2
= (char)(SWIG_As_char(obj1
));
7752 if (SWIG_arg_fail(2)) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (bool)(arg1
)->Ungetch(arg2
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7770 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7774 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 PyObject
* obj2
= 0 ;
7780 (char *) "self",(char *) "pos",(char *) "mode", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7785 if (SWIG_arg_fail(1)) SWIG_fail
;
7787 arg2
= (long)(SWIG_As_long(obj1
));
7788 if (SWIG_arg_fail(2)) SWIG_fail
;
7792 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7793 if (SWIG_arg_fail(3)) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_From_long((long)(result
));
7812 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7823 if (SWIG_arg_fail(1)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (long)(arg1
)->TellI();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_From_long((long)(result
));
7840 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7843 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7845 return Py_BuildValue((char *)"");
7847 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7850 PyObject
*arg2
= (PyObject
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7854 (char *) "self",(char *) "obj", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7859 if (SWIG_arg_fail(1)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 wxOutputStream_write(arg1
,arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7878 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7880 return Py_BuildValue((char *)"");
7882 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7885 wxString
*arg2
= 0 ;
7886 wxString
*arg3
= 0 ;
7887 wxString
*arg4
= 0 ;
7890 wxPyInputStream
*temp1
;
7892 bool temp2
= false ;
7893 bool temp3
= false ;
7894 bool temp4
= false ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 PyObject
* obj2
= 0 ;
7898 PyObject
* obj3
= 0 ;
7899 PyObject
* obj4
= 0 ;
7901 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7906 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7907 arg1
= temp1
->m_wxis
;
7910 PyErr_Clear(); // clear the failure of the wxPyConvert above
7911 arg1
= wxPyCBInputStream_create(obj0
, false);
7913 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7920 arg2
= wxString_in_helper(obj1
);
7921 if (arg2
== NULL
) SWIG_fail
;
7925 arg3
= wxString_in_helper(obj2
);
7926 if (arg3
== NULL
) SWIG_fail
;
7930 arg4
= wxString_in_helper(obj3
);
7931 if (arg4
== NULL
) SWIG_fail
;
7936 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7937 if (SWIG_arg_fail(5)) SWIG_fail
;
7939 SWIG_null_ref("wxDateTime");
7941 if (SWIG_arg_fail(5)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= wxPyMake_wxObject(result
, 1);
7992 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "self", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8020 wxInputStream
*result
;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxInputStream
*)(arg1
)->GetStream();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 wxPyInputStream
* _ptr
= NULL
;
8040 _ptr
= new wxPyInputStream(result
);
8042 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8050 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8066 result
= (wxString
*) &_result_ref
;
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8085 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8096 if (SWIG_arg_fail(1)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxString
const &_result_ref
= (arg1
)->GetLocation();
8101 result
= (wxString
*) &_result_ref
;
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8111 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8120 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8124 PyObject
* obj0
= 0 ;
8126 (char *) "self", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8136 result
= (wxString
*) &_result_ref
;
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8155 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (arg1
)->GetModificationTime();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 wxDateTime
* resultptr
;
8176 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8185 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8188 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8190 return Py_BuildValue((char *)"");
8192 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8195 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8197 return Py_BuildValue((char *)"");
8199 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxPyFileSystemHandler
*result
;
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8221 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8224 PyObject
*arg2
= (PyObject
*) 0 ;
8225 PyObject
*arg3
= (PyObject
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8230 (char *) "self",(char *) "self",(char *) "_class", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8252 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8255 wxString
*arg2
= 0 ;
8257 bool temp2
= false ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "location", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8268 arg2
= wxString_in_helper(obj1
);
8269 if (arg2
== NULL
) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8296 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8299 wxFileSystem
*arg2
= 0 ;
8300 wxString
*arg3
= 0 ;
8302 bool temp3
= false ;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8305 PyObject
* obj2
= 0 ;
8307 (char *) "self",(char *) "fs",(char *) "location", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(2)) SWIG_fail
;
8317 SWIG_null_ref("wxFileSystem");
8319 if (SWIG_arg_fail(2)) SWIG_fail
;
8322 arg3
= wxString_in_helper(obj2
);
8323 if (arg3
== NULL
) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= wxPyMake_wxObject(result
, 1);
8350 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8353 wxString
*arg2
= 0 ;
8354 int arg3
= (int) 0 ;
8356 bool temp2
= false ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8361 (char *) "self",(char *) "spec",(char *) "flags", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8366 if (SWIG_arg_fail(1)) SWIG_fail
;
8368 arg2
= wxString_in_helper(obj1
);
8369 if (arg2
== NULL
) SWIG_fail
;
8374 arg3
= (int)(SWIG_As_int(obj2
));
8375 if (SWIG_arg_fail(3)) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8406 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (arg1
)->FindNext();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8438 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8441 wxString
*arg2
= 0 ;
8443 bool temp2
= false ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "self",(char *) "location", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail
;
8454 arg2
= wxString_in_helper(obj1
);
8455 if (arg2
== NULL
) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8486 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8489 wxString
*arg2
= 0 ;
8491 bool temp2
= false ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "location", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8500 if (SWIG_arg_fail(1)) SWIG_fail
;
8502 arg2
= wxString_in_helper(obj1
);
8503 if (arg2
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8534 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8537 wxString
*arg2
= 0 ;
8539 bool temp2
= false ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8543 (char *) "self",(char *) "location", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail
;
8550 arg2
= wxString_in_helper(obj1
);
8551 if (arg2
== NULL
) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8582 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8585 wxString
*arg2
= 0 ;
8587 bool temp2
= false ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8591 (char *) "self",(char *) "location", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8596 if (SWIG_arg_fail(1)) SWIG_fail
;
8598 arg2
= wxString_in_helper(obj1
);
8599 if (arg2
== NULL
) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8630 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8633 wxString
*arg2
= 0 ;
8635 bool temp2
= false ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "self",(char *) "location", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(1)) SWIG_fail
;
8646 arg2
= wxString_in_helper(obj1
);
8647 if (arg2
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8678 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8681 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8683 return Py_BuildValue((char *)"");
8685 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxFileSystem
*result
;
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (wxFileSystem
*)new wxFileSystem();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= wxPyMake_wxObject(result
, 1);
8709 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8737 wxString
*arg2
= 0 ;
8738 bool arg3
= (bool) false ;
8739 bool temp2
= false ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8742 PyObject
* obj2
= 0 ;
8744 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8749 if (SWIG_arg_fail(1)) SWIG_fail
;
8751 arg2
= wxString_in_helper(obj1
);
8752 if (arg2
== NULL
) SWIG_fail
;
8757 arg3
= (bool)(SWIG_As_bool(obj2
));
8758 if (SWIG_arg_fail(3)) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "self", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8794 if (SWIG_arg_fail(1)) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (arg1
)->GetPath();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8815 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8818 wxString
*arg2
= 0 ;
8820 bool temp2
= false ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "self",(char *) "location", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8829 if (SWIG_arg_fail(1)) SWIG_fail
;
8831 arg2
= wxString_in_helper(obj1
);
8832 if (arg2
== NULL
) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= wxPyMake_wxObject(result
, 1);
8859 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8862 wxString
*arg2
= 0 ;
8863 int arg3
= (int) 0 ;
8865 bool temp2
= false ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8870 (char *) "self",(char *) "spec",(char *) "flags", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8875 if (SWIG_arg_fail(1)) SWIG_fail
;
8877 arg2
= wxString_in_helper(obj1
);
8878 if (arg2
== NULL
) SWIG_fail
;
8883 arg3
= (int)(SWIG_As_int(obj2
));
8884 if (SWIG_arg_fail(3)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8915 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (arg1
)->FindNext();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8947 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "handler", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxFileSystem::AddHandler(arg1
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 wxFileSystem::CleanUpHandlers();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxString
*arg1
= 0 ;
8997 bool temp1
= false ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "filename", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9005 arg1
= wxString_in_helper(obj0
);
9006 if (arg1
== NULL
) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9037 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxString
*arg1
= 0 ;
9041 bool temp1
= false ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "url", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9049 arg1
= wxString_in_helper(obj0
);
9050 if (arg1
== NULL
) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9081 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9084 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9086 return Py_BuildValue((char *)"");
9088 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxInternetFSHandler
*result
;
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9110 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9113 wxString
*arg2
= 0 ;
9115 bool temp2
= false ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "location", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 arg2
= wxString_in_helper(obj1
);
9127 if (arg2
== NULL
) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9154 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9157 wxFileSystem
*arg2
= 0 ;
9158 wxString
*arg3
= 0 ;
9160 bool temp3
= false ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9165 (char *) "self",(char *) "fs",(char *) "location", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9170 if (SWIG_arg_fail(1)) SWIG_fail
;
9172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9173 if (SWIG_arg_fail(2)) SWIG_fail
;
9175 SWIG_null_ref("wxFileSystem");
9177 if (SWIG_arg_fail(2)) SWIG_fail
;
9180 arg3
= wxString_in_helper(obj2
);
9181 if (arg3
== NULL
) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= wxPyMake_wxObject(result
, 1);
9208 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9211 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9213 return Py_BuildValue((char *)"");
9215 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxZipFSHandler
*result
;
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9237 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9240 wxString
*arg2
= 0 ;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9246 (char *) "self",(char *) "location", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail
;
9253 arg2
= wxString_in_helper(obj1
);
9254 if (arg2
== NULL
) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9281 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9284 wxFileSystem
*arg2
= 0 ;
9285 wxString
*arg3
= 0 ;
9287 bool temp3
= false ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9292 (char *) "self",(char *) "fs",(char *) "location", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(2)) SWIG_fail
;
9302 SWIG_null_ref("wxFileSystem");
9304 if (SWIG_arg_fail(2)) SWIG_fail
;
9307 arg3
= wxString_in_helper(obj2
);
9308 if (arg3
== NULL
) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= wxPyMake_wxObject(result
, 1);
9335 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9338 wxString
*arg2
= 0 ;
9339 int arg3
= (int) 0 ;
9341 bool temp2
= false ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9346 (char *) "self",(char *) "spec",(char *) "flags", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail
;
9353 arg2
= wxString_in_helper(obj1
);
9354 if (arg2
== NULL
) SWIG_fail
;
9359 arg3
= (int)(SWIG_As_int(obj2
));
9360 if (SWIG_arg_fail(3)) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9391 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9402 if (SWIG_arg_fail(1)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (arg1
)->FindNext();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9423 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9426 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9428 return Py_BuildValue((char *)"");
9430 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxString
*arg1
= 0 ;
9435 bool temp1
= false ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9440 (char *) "filename",(char *) "image",(char *) "type", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9445 arg1
= wxString_in_helper(obj0
);
9446 if (arg1
== NULL
) SWIG_fail
;
9450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(2)) SWIG_fail
;
9453 SWIG_null_ref("wxImage");
9455 if (SWIG_arg_fail(2)) SWIG_fail
;
9458 arg3
= (long)(SWIG_As_long(obj2
));
9459 if (SWIG_arg_fail(3)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxString
*arg1
= 0 ;
9486 wxBitmap
*arg2
= 0 ;
9488 bool temp1
= false ;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9491 PyObject
* obj2
= 0 ;
9493 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 arg1
= wxString_in_helper(obj0
);
9499 if (arg1
== NULL
) SWIG_fail
;
9503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(2)) SWIG_fail
;
9506 SWIG_null_ref("wxBitmap");
9508 if (SWIG_arg_fail(2)) SWIG_fail
;
9511 arg3
= (long)(SWIG_As_long(obj2
));
9512 if (SWIG_arg_fail(3)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxString
*arg1
= 0 ;
9539 PyObject
*arg2
= (PyObject
*) 0 ;
9540 bool temp1
= false ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9544 (char *) "filename",(char *) "data", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9549 arg1
= wxString_in_helper(obj0
);
9550 if (arg1
== NULL
) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxMemoryFSHandler
*result
;
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9598 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxString
*arg1
= 0 ;
9601 bool temp1
= false ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "filename", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9609 arg1
= wxString_in_helper(obj0
);
9610 if (arg1
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9638 wxString
*arg2
= 0 ;
9640 bool temp2
= false ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "self",(char *) "location", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9649 if (SWIG_arg_fail(1)) SWIG_fail
;
9651 arg2
= wxString_in_helper(obj1
);
9652 if (arg2
== NULL
) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9682 wxFileSystem
*arg2
= 0 ;
9683 wxString
*arg3
= 0 ;
9685 bool temp3
= false ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9688 PyObject
* obj2
= 0 ;
9690 (char *) "self",(char *) "fs",(char *) "location", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9695 if (SWIG_arg_fail(1)) SWIG_fail
;
9697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(2)) SWIG_fail
;
9700 SWIG_null_ref("wxFileSystem");
9702 if (SWIG_arg_fail(2)) SWIG_fail
;
9705 arg3
= wxString_in_helper(obj2
);
9706 if (arg3
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= wxPyMake_wxObject(result
, 1);
9733 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9736 wxString
*arg2
= 0 ;
9737 int arg3
= (int) 0 ;
9739 bool temp2
= false ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 PyObject
* obj2
= 0 ;
9744 (char *) "self",(char *) "spec",(char *) "flags", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9751 arg2
= wxString_in_helper(obj1
);
9752 if (arg2
== NULL
) SWIG_fail
;
9757 arg3
= (int)(SWIG_As_int(obj2
));
9758 if (SWIG_arg_fail(3)) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9789 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9795 (char *) "self", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (arg1
)->FindNext();
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9821 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9826 return Py_BuildValue((char *)"");
9828 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9839 if (SWIG_arg_fail(1)) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (arg1
)->GetName();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9860 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (arg1
)->GetExtension();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9892 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (long)(arg1
)->GetType();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_From_long((long)(result
));
9920 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (arg1
)->GetMimeType();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9952 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9955 wxString
*arg2
= 0 ;
9957 bool temp2
= false ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9961 (char *) "self",(char *) "name", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail
;
9968 arg2
= wxString_in_helper(obj1
);
9969 if (arg2
== NULL
) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9996 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9999 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "name", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 arg2
= wxString_in_helper(obj1
);
10012 if (arg2
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->SetName((wxString
const &)*arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10040 wxString
*arg2
= 0 ;
10041 bool temp2
= false ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "extension", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 arg2
= wxString_in_helper(obj1
);
10053 if (arg2
== NULL
) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->SetExtension((wxString
const &)*arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self",(char *) "type", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10090 if (SWIG_arg_fail(1)) SWIG_fail
;
10092 arg2
= (long)(SWIG_As_long(obj1
));
10093 if (SWIG_arg_fail(2)) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->SetType(arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10112 wxString
*arg2
= 0 ;
10113 bool temp2
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "mimetype", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10122 if (SWIG_arg_fail(1)) SWIG_fail
;
10124 arg2
= wxString_in_helper(obj1
);
10125 if (arg2
== NULL
) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10150 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10153 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10155 return Py_BuildValue((char *)"");
10157 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxImageHistogram
*result
;
10160 char *kwnames
[] = {
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxImageHistogram
*)new wxImageHistogram();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10179 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 unsigned char arg1
;
10182 unsigned char arg2
;
10183 unsigned char arg3
;
10184 unsigned long result
;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "r",(char *) "g",(char *) "b", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10194 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10195 if (SWIG_arg_fail(1)) SWIG_fail
;
10198 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10199 if (SWIG_arg_fail(2)) SWIG_fail
;
10202 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10203 if (SWIG_arg_fail(3)) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10221 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10224 unsigned char *arg2
= (unsigned char *) 0 ;
10225 unsigned char *arg3
= (unsigned char *) 0 ;
10226 unsigned char *arg4
= (unsigned char *) 0 ;
10227 unsigned char arg5
= (unsigned char) 1 ;
10228 unsigned char arg6
= (unsigned char) 0 ;
10229 unsigned char arg7
= (unsigned char) 0 ;
10231 unsigned char temp2
;
10233 unsigned char temp3
;
10235 unsigned char temp4
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 PyObject
* obj3
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10245 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10246 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10247 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail
;
10253 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10254 if (SWIG_arg_fail(5)) SWIG_fail
;
10259 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10260 if (SWIG_arg_fail(6)) SWIG_fail
;
10265 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10266 if (SWIG_arg_fail(7)) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10280 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10281 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10282 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10283 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10284 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10291 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10294 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10296 return Py_BuildValue((char *)"");
10298 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxString
*arg1
= 0 ;
10301 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10302 int arg3
= (int) -1 ;
10304 bool temp1
= false ;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 PyObject
* obj2
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "name",(char *) "type",(char *) "index", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10314 arg1
= wxString_in_helper(obj0
);
10315 if (arg1
== NULL
) SWIG_fail
;
10320 arg2
= (long)(SWIG_As_long(obj1
));
10321 if (SWIG_arg_fail(2)) SWIG_fail
;
10326 arg3
= (int)(SWIG_As_int(obj2
));
10327 if (SWIG_arg_fail(3)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10352 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxImage
*arg1
= (wxImage
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10362 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 Py_INCREF(Py_None
); resultobj
= Py_None
;
10377 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxString
*arg1
= 0 ;
10380 wxString
*arg2
= 0 ;
10381 int arg3
= (int) -1 ;
10383 bool temp1
= false ;
10384 bool temp2
= false ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 PyObject
* obj2
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10394 arg1
= wxString_in_helper(obj0
);
10395 if (arg1
== NULL
) SWIG_fail
;
10399 arg2
= wxString_in_helper(obj1
);
10400 if (arg2
== NULL
) SWIG_fail
;
10405 arg3
= (int)(SWIG_As_int(obj2
));
10406 if (SWIG_arg_fail(3)) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10439 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxInputStream
*arg1
= 0 ;
10442 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10443 int arg3
= (int) -1 ;
10445 wxPyInputStream
*temp1
;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 PyObject
* obj2
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "stream",(char *) "type",(char *) "index", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10456 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10457 arg1
= temp1
->m_wxis
;
10460 PyErr_Clear(); // clear the failure of the wxPyConvert above
10461 arg1
= wxPyCBInputStream_create(obj0
, false);
10462 if (arg1
== NULL
) {
10463 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10471 arg2
= (long)(SWIG_As_long(obj1
));
10472 if (SWIG_arg_fail(2)) SWIG_fail
;
10477 arg3
= (int)(SWIG_As_int(obj2
));
10478 if (SWIG_arg_fail(3)) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10503 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxInputStream
*arg1
= 0 ;
10506 wxString
*arg2
= 0 ;
10507 int arg3
= (int) -1 ;
10509 wxPyInputStream
*temp1
;
10511 bool temp2
= false ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10522 arg1
= temp1
->m_wxis
;
10525 PyErr_Clear(); // clear the failure of the wxPyConvert above
10526 arg1
= wxPyCBInputStream_create(obj0
, false);
10527 if (arg1
== NULL
) {
10528 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10535 arg2
= wxString_in_helper(obj1
);
10536 if (arg2
== NULL
) SWIG_fail
;
10541 arg3
= (int)(SWIG_As_int(obj2
));
10542 if (SWIG_arg_fail(3)) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10575 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 int arg1
= (int) 0 ;
10578 int arg2
= (int) 0 ;
10579 bool arg3
= (bool) true ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 PyObject
* obj2
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "width",(char *) "height",(char *) "clear", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10591 arg1
= (int)(SWIG_As_int(obj0
));
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10597 arg2
= (int)(SWIG_As_int(obj1
));
10598 if (SWIG_arg_fail(2)) SWIG_fail
;
10603 arg3
= (bool)(SWIG_As_bool(obj2
));
10604 if (SWIG_arg_fail(3)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10621 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxBitmap
*arg1
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "bitmap", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 if (arg1
== NULL
) {
10635 SWIG_null_ref("wxBitmap");
10637 if (SWIG_arg_fail(1)) SWIG_fail
;
10640 if (!wxPyCheckForApp()) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10654 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10658 unsigned char *arg3
= (unsigned char *) 0 ;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 PyObject
* obj2
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "width",(char *) "height",(char *) "data", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10669 arg1
= (int)(SWIG_As_int(obj0
));
10670 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= (int)(SWIG_As_int(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10676 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10677 if (SWIG_arg_fail(3)) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10692 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10696 unsigned char *arg3
= (unsigned char *) 0 ;
10697 unsigned char *arg4
= (unsigned char *) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 PyObject
* obj3
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10709 arg1
= (int)(SWIG_As_int(obj0
));
10710 if (SWIG_arg_fail(1)) SWIG_fail
;
10713 arg2
= (int)(SWIG_As_int(obj1
));
10714 if (SWIG_arg_fail(2)) SWIG_fail
;
10716 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(3)) SWIG_fail
;
10718 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10719 if (SWIG_arg_fail(4)) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10734 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxImage
*arg1
= (wxImage
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "width",(char *) "height", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail
;
10750 arg2
= (int)(SWIG_As_int(obj1
));
10751 if (SWIG_arg_fail(2)) SWIG_fail
;
10754 arg3
= (int)(SWIG_As_int(obj2
));
10755 if (SWIG_arg_fail(3)) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->Create(arg2
,arg3
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxImage
*arg1
= (wxImage
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10781 if (SWIG_arg_fail(1)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10801 SwigValueWrapper
<wxImage
> result
;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "width",(char *) "height", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(1)) SWIG_fail
;
10813 arg2
= (int)(SWIG_As_int(obj1
));
10814 if (SWIG_arg_fail(2)) SWIG_fail
;
10817 arg3
= (int)(SWIG_As_int(obj2
));
10818 if (SWIG_arg_fail(3)) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (arg1
)->Scale(arg2
,arg3
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 wxImage
* resultptr
;
10829 resultptr
= new wxImage((wxImage
&)(result
));
10830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10838 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxImage
*arg1
= (wxImage
*) 0 ;
10843 SwigValueWrapper
<wxImage
> result
;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10853 if (SWIG_arg_fail(1)) SWIG_fail
;
10855 arg2
= (int)(SWIG_As_int(obj1
));
10856 if (SWIG_arg_fail(2)) SWIG_fail
;
10859 arg3
= (int)(SWIG_As_int(obj2
));
10860 if (SWIG_arg_fail(3)) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 wxImage
* resultptr
;
10871 resultptr
= new wxImage((wxImage
&)(result
));
10872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10880 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImage
*arg1
= (wxImage
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "width",(char *) "height", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10895 if (SWIG_arg_fail(1)) SWIG_fail
;
10897 arg2
= (int)(SWIG_As_int(obj1
));
10898 if (SWIG_arg_fail(2)) SWIG_fail
;
10901 arg3
= (int)(SWIG_As_int(obj2
));
10902 if (SWIG_arg_fail(3)) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10908 result
= (wxImage
*) &_result_ref
;
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10921 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxImage
*arg1
= (wxImage
*) 0 ;
10926 unsigned char arg4
;
10927 unsigned char arg5
;
10928 unsigned char arg6
;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 PyObject
* obj2
= 0 ;
10932 PyObject
* obj3
= 0 ;
10933 PyObject
* obj4
= 0 ;
10934 PyObject
* obj5
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail
;
10943 arg2
= (int)(SWIG_As_int(obj1
));
10944 if (SWIG_arg_fail(2)) SWIG_fail
;
10947 arg3
= (int)(SWIG_As_int(obj2
));
10948 if (SWIG_arg_fail(3)) SWIG_fail
;
10951 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10952 if (SWIG_arg_fail(4)) SWIG_fail
;
10955 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10956 if (SWIG_arg_fail(5)) SWIG_fail
;
10959 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10960 if (SWIG_arg_fail(6)) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 Py_INCREF(Py_None
); resultobj
= Py_None
;
10976 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxImage
*arg1
= (wxImage
*) 0 ;
10981 unsigned char result
;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 PyObject
* obj2
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "x",(char *) "y", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10993 arg2
= (int)(SWIG_As_int(obj1
));
10994 if (SWIG_arg_fail(2)) SWIG_fail
;
10997 arg3
= (int)(SWIG_As_int(obj2
));
10998 if (SWIG_arg_fail(3)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11016 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxImage
*arg1
= (wxImage
*) 0 ;
11021 unsigned char result
;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "x",(char *) "y", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 arg2
= (int)(SWIG_As_int(obj1
));
11034 if (SWIG_arg_fail(2)) SWIG_fail
;
11037 arg3
= (int)(SWIG_As_int(obj2
));
11038 if (SWIG_arg_fail(3)) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11056 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxImage
*arg1
= (wxImage
*) 0 ;
11061 unsigned char result
;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "x",(char *) "y", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= (int)(SWIG_As_int(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11077 arg3
= (int)(SWIG_As_int(obj2
));
11078 if (SWIG_arg_fail(3)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11096 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxImage
*arg1
= (wxImage
*) 0 ;
11101 unsigned char arg4
;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 PyObject
* obj2
= 0 ;
11105 PyObject
* obj3
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11112 if (SWIG_arg_fail(1)) SWIG_fail
;
11114 arg2
= (int)(SWIG_As_int(obj1
));
11115 if (SWIG_arg_fail(2)) SWIG_fail
;
11118 arg3
= (int)(SWIG_As_int(obj2
));
11119 if (SWIG_arg_fail(3)) SWIG_fail
;
11122 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11123 if (SWIG_arg_fail(4)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 Py_INCREF(Py_None
); resultobj
= Py_None
;
11139 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxImage
*arg1
= (wxImage
*) 0 ;
11144 unsigned char result
;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 PyObject
* obj2
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self",(char *) "x",(char *) "y", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail
;
11156 arg2
= (int)(SWIG_As_int(obj1
));
11157 if (SWIG_arg_fail(2)) SWIG_fail
;
11160 arg3
= (int)(SWIG_As_int(obj2
));
11161 if (SWIG_arg_fail(3)) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11179 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxImage
*arg1
= (wxImage
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11190 if (SWIG_arg_fail(1)) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)(arg1
)->HasAlpha();
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11207 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxImage
*arg1
= (wxImage
*) 0 ;
11210 byte
*arg2
= (byte
*) 0 ;
11211 byte
*arg3
= (byte
*) 0 ;
11212 byte
*arg4
= (byte
*) 0 ;
11213 byte arg5
= (byte
) 0 ;
11214 byte arg6
= (byte
) 0 ;
11215 byte arg7
= (byte
) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 PyObject
* obj2
= 0 ;
11226 PyObject
* obj3
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11231 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11232 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11233 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11240 if (SWIG_arg_fail(5)) SWIG_fail
;
11245 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11246 if (SWIG_arg_fail(6)) SWIG_fail
;
11251 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11252 if (SWIG_arg_fail(7)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11265 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11266 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11267 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11268 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11269 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11270 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11277 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxImage
*arg1
= (wxImage
*) 0 ;
11280 byte arg2
= (byte
) 128 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "threshold", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11293 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11294 if (SWIG_arg_fail(2)) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11313 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxImage
*arg1
= (wxImage
*) 0 ;
11316 unsigned char arg2
;
11317 unsigned char arg3
;
11318 unsigned char arg4
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 PyObject
* obj3
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11330 if (SWIG_arg_fail(1)) SWIG_fail
;
11332 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11333 if (SWIG_arg_fail(2)) SWIG_fail
;
11336 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11337 if (SWIG_arg_fail(3)) SWIG_fail
;
11340 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11341 if (SWIG_arg_fail(4)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11359 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxImage
*arg1
= (wxImage
*) 0 ;
11362 wxImage
*arg2
= 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 PyObject
* obj3
= 0 ;
11371 PyObject
* obj4
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11382 if (arg2
== NULL
) {
11383 SWIG_null_ref("wxImage");
11385 if (SWIG_arg_fail(2)) SWIG_fail
;
11388 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11389 if (SWIG_arg_fail(3)) SWIG_fail
;
11392 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11393 if (SWIG_arg_fail(4)) SWIG_fail
;
11396 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11397 if (SWIG_arg_fail(5)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11415 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxString
*arg1
= 0 ;
11419 bool temp1
= false ;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "name", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11427 arg1
= wxString_in_helper(obj0
);
11428 if (arg1
== NULL
) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11455 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxString
*arg1
= 0 ;
11458 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11460 bool temp1
= false ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "name",(char *) "type", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11469 arg1
= wxString_in_helper(obj0
);
11470 if (arg1
== NULL
) SWIG_fail
;
11475 arg2
= (long)(SWIG_As_long(obj1
));
11476 if (SWIG_arg_fail(2)) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_From_int((int)(result
));
11503 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxImage
*arg1
= (wxImage
*) 0 ;
11506 wxString
*arg2
= 0 ;
11507 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11508 int arg4
= (int) -1 ;
11510 bool temp2
= false ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 PyObject
* obj2
= 0 ;
11514 PyObject
* obj3
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 arg2
= wxString_in_helper(obj1
);
11524 if (arg2
== NULL
) SWIG_fail
;
11529 arg3
= (long)(SWIG_As_long(obj2
));
11530 if (SWIG_arg_fail(3)) SWIG_fail
;
11535 arg4
= (int)(SWIG_As_int(obj3
));
11536 if (SWIG_arg_fail(4)) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11563 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxImage
*arg1
= (wxImage
*) 0 ;
11566 wxString
*arg2
= 0 ;
11567 wxString
*arg3
= 0 ;
11568 int arg4
= (int) -1 ;
11570 bool temp2
= false ;
11571 bool temp3
= false ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 PyObject
* obj3
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail
;
11584 arg2
= wxString_in_helper(obj1
);
11585 if (arg2
== NULL
) SWIG_fail
;
11589 arg3
= wxString_in_helper(obj2
);
11590 if (arg3
== NULL
) SWIG_fail
;
11595 arg4
= (int)(SWIG_As_int(obj3
));
11596 if (SWIG_arg_fail(4)) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxImage
*arg1
= (wxImage
*) 0 ;
11634 wxString
*arg2
= 0 ;
11637 bool temp2
= false ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self",(char *) "name",(char *) "type", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail
;
11649 arg2
= wxString_in_helper(obj1
);
11650 if (arg2
== NULL
) SWIG_fail
;
11654 arg3
= (int)(SWIG_As_int(obj2
));
11655 if (SWIG_arg_fail(3)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxImage
*arg1
= (wxImage
*) 0 ;
11684 wxString
*arg2
= 0 ;
11685 wxString
*arg3
= 0 ;
11687 bool temp2
= false ;
11688 bool temp3
= false ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 arg2
= wxString_in_helper(obj1
);
11701 if (arg2
== NULL
) SWIG_fail
;
11705 arg3
= wxString_in_helper(obj2
);
11706 if (arg3
== NULL
) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxInputStream
*arg1
= 0 ;
11745 wxPyInputStream
*temp1
;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "stream", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11754 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11755 arg1
= temp1
->m_wxis
;
11758 PyErr_Clear(); // clear the failure of the wxPyConvert above
11759 arg1
= wxPyCBInputStream_create(obj0
, false);
11760 if (arg1
== NULL
) {
11761 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)wxImage::CanRead(*arg1
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11791 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxImage
*arg1
= (wxImage
*) 0 ;
11794 wxInputStream
*arg2
= 0 ;
11795 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11796 int arg4
= (int) -1 ;
11798 wxPyInputStream
*temp2
;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 PyObject
* obj3
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11810 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11813 arg2
= temp2
->m_wxis
;
11816 PyErr_Clear(); // clear the failure of the wxPyConvert above
11817 arg2
= wxPyCBInputStream_create(obj1
, false);
11818 if (arg2
== NULL
) {
11819 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11827 arg3
= (long)(SWIG_As_long(obj2
));
11828 if (SWIG_arg_fail(3)) SWIG_fail
;
11833 arg4
= (int)(SWIG_As_int(obj3
));
11834 if (SWIG_arg_fail(4)) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11861 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxImage
*arg1
= (wxImage
*) 0 ;
11864 wxInputStream
*arg2
= 0 ;
11865 wxString
*arg3
= 0 ;
11866 int arg4
= (int) -1 ;
11868 wxPyInputStream
*temp2
;
11870 bool temp3
= false ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11884 arg2
= temp2
->m_wxis
;
11887 PyErr_Clear(); // clear the failure of the wxPyConvert above
11888 arg2
= wxPyCBInputStream_create(obj1
, false);
11889 if (arg2
== NULL
) {
11890 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11897 arg3
= wxString_in_helper(obj2
);
11898 if (arg3
== NULL
) SWIG_fail
;
11903 arg4
= (int)(SWIG_As_int(obj3
));
11904 if (SWIG_arg_fail(4)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11939 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxImage
*arg1
= (wxImage
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (bool)(arg1
)->Ok();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11967 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxImage
*arg1
= (wxImage
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (int)(arg1
)->GetWidth();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_From_int((int)(result
));
11995 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxImage
*arg1
= (wxImage
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (int)(arg1
)->GetHeight();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_From_int((int)(result
));
12023 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxImage
*arg1
= (wxImage
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12034 if (SWIG_arg_fail(1)) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= wxImage_GetSize(arg1
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 wxSize
* resultptr
;
12044 resultptr
= new wxSize((wxSize
&)(result
));
12045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12053 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxImage
*arg1
= (wxImage
*) 0 ;
12057 SwigValueWrapper
<wxImage
> result
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "rect", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12070 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 wxImage
* resultptr
;
12081 resultptr
= new wxImage((wxImage
&)(result
));
12082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12090 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxImage
*arg1
= (wxImage
*) 0 ;
12093 SwigValueWrapper
<wxImage
> result
;
12094 PyObject
* obj0
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (arg1
)->Copy();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 wxImage
* resultptr
;
12111 resultptr
= new wxImage((wxImage
&)(result
));
12112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12120 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxImage
*arg1
= (wxImage
*) 0 ;
12123 wxImage
*arg2
= 0 ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 PyObject
* obj3
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12139 if (SWIG_arg_fail(2)) SWIG_fail
;
12140 if (arg2
== NULL
) {
12141 SWIG_null_ref("wxImage");
12143 if (SWIG_arg_fail(2)) SWIG_fail
;
12146 arg3
= (int)(SWIG_As_int(obj2
));
12147 if (SWIG_arg_fail(3)) SWIG_fail
;
12150 arg4
= (int)(SWIG_As_int(obj3
));
12151 if (SWIG_arg_fail(4)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxImage
*arg1
= (wxImage
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12178 if (SWIG_arg_fail(1)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (PyObject
*)wxImage_GetData(arg1
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= result
;
12193 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxImage
*arg1
= (wxImage
*) 0 ;
12196 PyObject
*arg2
= (PyObject
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self",(char *) "data", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12205 if (SWIG_arg_fail(1)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 wxImage_SetData(arg1
,arg2
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 Py_INCREF(Py_None
); resultobj
= Py_None
;
12221 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxImage
*arg1
= (wxImage
*) 0 ;
12225 PyObject
* obj0
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
;
12247 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxImage
*arg1
= (wxImage
*) 0 ;
12250 PyObject
*arg2
= (PyObject
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "data", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12259 if (SWIG_arg_fail(1)) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 wxImage_SetDataBuffer(arg1
,arg2
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 Py_INCREF(Py_None
); resultobj
= Py_None
;
12275 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxImage
*arg1
= (wxImage
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
;
12301 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxImage
*arg1
= (wxImage
*) 0 ;
12304 PyObject
*arg2
= (PyObject
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "data", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 wxImage_SetAlphaData(arg1
,arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 Py_INCREF(Py_None
); resultobj
= Py_None
;
12329 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxImage
*arg1
= (wxImage
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12340 if (SWIG_arg_fail(1)) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= result
;
12355 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxImage
*arg1
= (wxImage
*) 0 ;
12358 PyObject
*arg2
= (PyObject
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 PyObject
* obj1
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "data", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 wxImage_SetAlphaBuffer(arg1
,arg2
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxImage
*arg1
= (wxImage
*) 0 ;
12386 unsigned char arg2
;
12387 unsigned char arg3
;
12388 unsigned char arg4
;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 PyObject
* obj3
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12401 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12402 if (SWIG_arg_fail(2)) SWIG_fail
;
12405 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12406 if (SWIG_arg_fail(3)) SWIG_fail
;
12409 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12410 if (SWIG_arg_fail(4)) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxImage
*arg1
= (wxImage
*) 0 ;
12429 unsigned char result
;
12430 PyObject
* obj0
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12437 if (SWIG_arg_fail(1)) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (unsigned char)(arg1
)->GetMaskRed();
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12454 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxImage
*arg1
= (wxImage
*) 0 ;
12457 unsigned char result
;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (unsigned char)(arg1
)->GetMaskGreen();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12482 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxImage
*arg1
= (wxImage
*) 0 ;
12485 unsigned char result
;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (unsigned char)(arg1
)->GetMaskBlue();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12510 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxImage
*arg1
= (wxImage
*) 0 ;
12513 bool arg2
= (bool) true ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "mask", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12525 arg2
= (bool)(SWIG_As_bool(obj1
));
12526 if (SWIG_arg_fail(2)) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 (arg1
)->SetMask(arg2
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 Py_INCREF(Py_None
); resultobj
= Py_None
;
12543 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxImage
*arg1
= (wxImage
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (bool)(arg1
)->HasMask();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12571 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxImage
*arg1
= (wxImage
*) 0 ;
12575 wxPoint
*arg3
= 0 ;
12576 bool arg4
= (bool) true ;
12577 wxPoint
*arg5
= (wxPoint
*) NULL
;
12578 SwigValueWrapper
<wxImage
> result
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 PyObject
* obj4
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 arg2
= (double)(SWIG_As_double(obj1
));
12594 if (SWIG_arg_fail(2)) SWIG_fail
;
12598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12602 arg4
= (bool)(SWIG_As_bool(obj3
));
12603 if (SWIG_arg_fail(4)) SWIG_fail
;
12607 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12608 if (SWIG_arg_fail(5)) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12618 wxImage
* resultptr
;
12619 resultptr
= new wxImage((wxImage
&)(result
));
12620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12628 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxImage
*arg1
= (wxImage
*) 0 ;
12631 bool arg2
= (bool) true ;
12632 SwigValueWrapper
<wxImage
> result
;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self",(char *) "clockwise", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(1)) SWIG_fail
;
12644 arg2
= (bool)(SWIG_As_bool(obj1
));
12645 if (SWIG_arg_fail(2)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (arg1
)->Rotate90(arg2
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12656 wxImage
* resultptr
;
12657 resultptr
= new wxImage((wxImage
&)(result
));
12658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12666 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxImage
*arg1
= (wxImage
*) 0 ;
12669 bool arg2
= (bool) true ;
12670 SwigValueWrapper
<wxImage
> result
;
12671 PyObject
* obj0
= 0 ;
12672 PyObject
* obj1
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self",(char *) "horizontally", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= (bool)(SWIG_As_bool(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (arg1
)->Mirror(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 wxImage
* resultptr
;
12695 resultptr
= new wxImage((wxImage
&)(result
));
12696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12704 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxImage
*arg1
= (wxImage
*) 0 ;
12707 unsigned char arg2
;
12708 unsigned char arg3
;
12709 unsigned char arg4
;
12710 unsigned char arg5
;
12711 unsigned char arg6
;
12712 unsigned char arg7
;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 PyObject
* obj2
= 0 ;
12716 PyObject
* obj3
= 0 ;
12717 PyObject
* obj4
= 0 ;
12718 PyObject
* obj5
= 0 ;
12719 PyObject
* obj6
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(1)) SWIG_fail
;
12728 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12729 if (SWIG_arg_fail(2)) SWIG_fail
;
12732 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12733 if (SWIG_arg_fail(3)) SWIG_fail
;
12736 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12737 if (SWIG_arg_fail(4)) SWIG_fail
;
12740 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12741 if (SWIG_arg_fail(5)) SWIG_fail
;
12744 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12745 if (SWIG_arg_fail(6)) SWIG_fail
;
12748 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12749 if (SWIG_arg_fail(7)) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxImage
*arg1
= (wxImage
*) 0 ;
12768 unsigned char arg2
;
12769 unsigned char arg3
;
12770 unsigned char arg4
;
12771 SwigValueWrapper
<wxImage
> result
;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 PyObject
* obj2
= 0 ;
12775 PyObject
* obj3
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12785 if (SWIG_arg_fail(2)) SWIG_fail
;
12788 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12789 if (SWIG_arg_fail(3)) SWIG_fail
;
12792 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12793 if (SWIG_arg_fail(4)) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 wxImage
* resultptr
;
12804 resultptr
= new wxImage((wxImage
&)(result
));
12805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12813 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxImage
*arg1
= (wxImage
*) 0 ;
12816 wxString
*arg2
= 0 ;
12817 wxString
*arg3
= 0 ;
12818 bool temp2
= false ;
12819 bool temp3
= false ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "name",(char *) "value", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 arg2
= wxString_in_helper(obj1
);
12832 if (arg2
== NULL
) SWIG_fail
;
12836 arg3
= wxString_in_helper(obj2
);
12837 if (arg3
== NULL
) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxImage
*arg1
= (wxImage
*) 0 ;
12873 wxString
*arg2
= 0 ;
12875 bool temp2
= false ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 PyObject
* obj2
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self",(char *) "name",(char *) "value", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail
;
12887 arg2
= wxString_in_helper(obj1
);
12888 if (arg2
== NULL
) SWIG_fail
;
12892 arg3
= (int)(SWIG_As_int(obj2
));
12893 if (SWIG_arg_fail(3)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxImage
*arg1
= (wxImage
*) 0 ;
12920 wxString
*arg2
= 0 ;
12922 bool temp2
= false ;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self",(char *) "name", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12931 if (SWIG_arg_fail(1)) SWIG_fail
;
12933 arg2
= wxString_in_helper(obj1
);
12934 if (arg2
== NULL
) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12965 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxImage
*arg1
= (wxImage
*) 0 ;
12968 wxString
*arg2
= 0 ;
12970 bool temp2
= false ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "name", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12979 if (SWIG_arg_fail(1)) SWIG_fail
;
12981 arg2
= wxString_in_helper(obj1
);
12982 if (arg2
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_From_int((int)(result
));
13009 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxImage
*arg1
= (wxImage
*) 0 ;
13012 wxString
*arg2
= 0 ;
13014 bool temp2
= false ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "name", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 arg2
= wxString_in_helper(obj1
);
13026 if (arg2
== NULL
) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13053 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxImage
*arg1
= (wxImage
*) 0 ;
13056 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13057 unsigned long result
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "stopafter", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13066 if (SWIG_arg_fail(1)) SWIG_fail
;
13069 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13070 if (SWIG_arg_fail(2)) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13089 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxImage
*arg1
= (wxImage
*) 0 ;
13092 wxImageHistogram
*arg2
= 0 ;
13093 unsigned long result
;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self",(char *) "h", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13102 if (SWIG_arg_fail(1)) SWIG_fail
;
13104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13105 if (SWIG_arg_fail(2)) SWIG_fail
;
13106 if (arg2
== NULL
) {
13107 SWIG_null_ref("wxImageHistogram");
13109 if (SWIG_arg_fail(2)) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13127 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "handler", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 wxImage::AddHandler(arg1
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 Py_INCREF(Py_None
); resultobj
= Py_None
;
13152 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "handler", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 wxImage::InsertHandler(arg1
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 Py_INCREF(Py_None
); resultobj
= Py_None
;
13177 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxString
*arg1
= 0 ;
13181 bool temp1
= false ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "name", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13189 arg1
= wxString_in_helper(obj0
);
13190 if (arg1
== NULL
) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13220 char *kwnames
[] = {
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= wxImage::GetImageExtWildcard();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13245 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxImage
*arg1
= (wxImage
*) 0 ;
13248 int arg2
= (int) -1 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "depth", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13261 arg2
= (int)(SWIG_As_int(obj1
));
13262 if (SWIG_arg_fail(2)) SWIG_fail
;
13266 if (!wxPyCheckForApp()) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 wxBitmap
* resultptr
;
13275 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13284 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxImage
*arg1
= (wxImage
*) 0 ;
13287 unsigned char arg2
;
13288 unsigned char arg3
;
13289 unsigned char arg4
;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 PyObject
* obj2
= 0 ;
13294 PyObject
* obj3
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13303 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13304 if (SWIG_arg_fail(2)) SWIG_fail
;
13307 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13308 if (SWIG_arg_fail(3)) SWIG_fail
;
13311 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13312 if (SWIG_arg_fail(4)) SWIG_fail
;
13315 if (!wxPyCheckForApp()) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 wxBitmap
* resultptr
;
13324 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13333 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13336 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13338 return Py_BuildValue((char *)"");
13340 static int _wrap_NullImage_set(PyObject
*) {
13341 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13346 static PyObject
*_wrap_NullImage_get(void) {
13349 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13354 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13355 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13360 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13365 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13367 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13374 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13375 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13380 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13385 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13387 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13394 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13395 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13400 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13405 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13407 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13414 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13415 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13420 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13425 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13427 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13434 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13435 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13440 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13445 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13447 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13454 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxBMPHandler
*result
;
13457 char *kwnames
[] = {
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (wxBMPHandler
*)new wxBMPHandler();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13476 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13479 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13481 return Py_BuildValue((char *)"");
13483 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxICOHandler
*result
;
13486 char *kwnames
[] = {
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (wxICOHandler
*)new wxICOHandler();
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13505 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13508 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13510 return Py_BuildValue((char *)"");
13512 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxCURHandler
*result
;
13515 char *kwnames
[] = {
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (wxCURHandler
*)new wxCURHandler();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13534 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13537 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13539 return Py_BuildValue((char *)"");
13541 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxANIHandler
*result
;
13544 char *kwnames
[] = {
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxANIHandler
*)new wxANIHandler();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13563 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13566 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13568 return Py_BuildValue((char *)"");
13570 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxPNGHandler
*result
;
13573 char *kwnames
[] = {
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxPNGHandler
*)new wxPNGHandler();
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13592 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13595 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13597 return Py_BuildValue((char *)"");
13599 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxGIFHandler
*result
;
13602 char *kwnames
[] = {
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxGIFHandler
*)new wxGIFHandler();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13621 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13624 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13626 return Py_BuildValue((char *)"");
13628 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxPCXHandler
*result
;
13631 char *kwnames
[] = {
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (wxPCXHandler
*)new wxPCXHandler();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13650 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13653 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13655 return Py_BuildValue((char *)"");
13657 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxJPEGHandler
*result
;
13660 char *kwnames
[] = {
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13679 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13682 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13684 return Py_BuildValue((char *)"");
13686 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxPNMHandler
*result
;
13689 char *kwnames
[] = {
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (wxPNMHandler
*)new wxPNMHandler();
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13708 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13711 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13713 return Py_BuildValue((char *)"");
13715 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxXPMHandler
*result
;
13718 char *kwnames
[] = {
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (wxXPMHandler
*)new wxXPMHandler();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13737 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13740 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13742 return Py_BuildValue((char *)"");
13744 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxTIFFHandler
*result
;
13747 char *kwnames
[] = {
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13766 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13771 return Py_BuildValue((char *)"");
13773 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxImage
*arg1
= 0 ;
13776 wxImage
*arg2
= 0 ;
13777 int arg3
= (int) 236 ;
13778 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 PyObject
* obj2
= 0 ;
13783 PyObject
* obj3
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13791 if (SWIG_arg_fail(1)) SWIG_fail
;
13792 if (arg1
== NULL
) {
13793 SWIG_null_ref("wxImage");
13795 if (SWIG_arg_fail(1)) SWIG_fail
;
13798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13799 if (SWIG_arg_fail(2)) SWIG_fail
;
13800 if (arg2
== NULL
) {
13801 SWIG_null_ref("wxImage");
13803 if (SWIG_arg_fail(2)) SWIG_fail
;
13807 arg3
= (int)(SWIG_As_int(obj2
));
13808 if (SWIG_arg_fail(3)) SWIG_fail
;
13813 arg4
= (int)(SWIG_As_int(obj3
));
13814 if (SWIG_arg_fail(4)) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13833 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13836 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13838 return Py_BuildValue((char *)"");
13840 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxEvtHandler
*result
;
13843 char *kwnames
[] = {
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxEvtHandler
*)new wxEvtHandler();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13862 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13865 wxEvtHandler
*result
;
13866 PyObject
* obj0
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13873 if (SWIG_arg_fail(1)) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= wxPyMake_wxObject(result
, 0);
13890 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13893 wxEvtHandler
*result
;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13901 if (SWIG_arg_fail(1)) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= wxPyMake_wxObject(result
, 0);
13918 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13921 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self",(char *) "handler", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13932 if (SWIG_arg_fail(2)) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 (arg1
)->SetNextHandler(arg2
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13950 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self",(char *) "handler", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail
;
13960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13961 if (SWIG_arg_fail(2)) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->SetPreviousHandler(arg2
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13987 if (SWIG_arg_fail(1)) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14004 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "enabled", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 arg2
= (bool)(SWIG_As_bool(obj1
));
14019 if (SWIG_arg_fail(2)) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetEvtHandlerEnabled(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14038 wxEvent
*arg2
= 0 ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self",(char *) "event", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14048 if (SWIG_arg_fail(1)) SWIG_fail
;
14050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14051 if (SWIG_arg_fail(2)) SWIG_fail
;
14052 if (arg2
== NULL
) {
14053 SWIG_null_ref("wxEvent");
14055 if (SWIG_arg_fail(2)) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14073 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14076 wxEvent
*arg2
= 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self",(char *) "event", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail
;
14087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14088 if (SWIG_arg_fail(2)) SWIG_fail
;
14089 if (arg2
== NULL
) {
14090 SWIG_null_ref("wxEvent");
14092 if (SWIG_arg_fail(2)) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 (arg1
)->AddPendingEvent(*arg2
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14118 if (SWIG_arg_fail(1)) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 (arg1
)->ProcessPendingEvents();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14139 PyObject
*arg5
= (PyObject
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 PyObject
* obj2
= 0 ;
14143 PyObject
* obj3
= 0 ;
14144 PyObject
* obj4
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 arg2
= (int)(SWIG_As_int(obj1
));
14154 if (SWIG_arg_fail(2)) SWIG_fail
;
14157 arg3
= (int)(SWIG_As_int(obj2
));
14158 if (SWIG_arg_fail(3)) SWIG_fail
;
14161 arg4
= (int)(SWIG_As_int(obj3
));
14162 if (SWIG_arg_fail(4)) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14183 int arg3
= (int) -1 ;
14184 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 PyObject
* obj2
= 0 ;
14189 PyObject
* obj3
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14196 if (SWIG_arg_fail(1)) SWIG_fail
;
14198 arg2
= (int)(SWIG_As_int(obj1
));
14199 if (SWIG_arg_fail(2)) SWIG_fail
;
14203 arg3
= (int)(SWIG_As_int(obj2
));
14204 if (SWIG_arg_fail(3)) SWIG_fail
;
14209 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14210 if (SWIG_arg_fail(4)) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14229 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14232 PyObject
*arg2
= (PyObject
*) 0 ;
14233 bool arg3
= (bool) true ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 PyObject
* obj2
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "_self",(char *) "incref", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14243 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 arg3
= (bool)(SWIG_As_bool(obj2
));
14248 if (SWIG_arg_fail(3)) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14265 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14268 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14270 return Py_BuildValue((char *)"");
14272 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxEventType result
;
14275 char *kwnames
[] = {
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (wxEventType
)wxNewEventType();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= SWIG_From_int((int)(result
));
14296 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxEvent
*arg1
= (wxEvent
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14306 if (SWIG_arg_fail(1)) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxEvent
*arg1
= (wxEvent
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self",(char *) "typ", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14336 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->SetEventType(arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxEvent
*arg1
= (wxEvent
*) 0 ;
14355 wxEventType result
;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14363 if (SWIG_arg_fail(1)) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_From_int((int)(result
));
14380 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxEvent
*arg1
= (wxEvent
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14391 if (SWIG_arg_fail(1)) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= wxPyMake_wxObject(result
, 0);
14408 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxEvent
*arg1
= (wxEvent
*) 0 ;
14411 wxObject
*arg2
= (wxObject
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "obj", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail
;
14421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14422 if (SWIG_arg_fail(2)) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 (arg1
)->SetEventObject(arg2
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxEvent
*arg1
= (wxEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= SWIG_From_long((long)(result
));
14465 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxEvent
*arg1
= (wxEvent
*) 0 ;
14468 long arg2
= (long) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 PyObject
* obj1
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "ts", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail
;
14480 arg2
= (long)(SWIG_As_long(obj1
));
14481 if (SWIG_arg_fail(2)) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetTimestamp(arg2
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxEvent
*arg1
= (wxEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14509 if (SWIG_arg_fail(1)) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)((wxEvent
const *)arg1
)->GetId();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= SWIG_From_int((int)(result
));
14526 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxEvent
*arg1
= (wxEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 PyObject
* obj1
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self",(char *) "Id", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14538 if (SWIG_arg_fail(1)) SWIG_fail
;
14540 arg2
= (int)(SWIG_As_int(obj1
));
14541 if (SWIG_arg_fail(2)) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 (arg1
)->SetId(arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 Py_INCREF(Py_None
); resultobj
= Py_None
;
14557 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxEvent
*arg1
= (wxEvent
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14568 if (SWIG_arg_fail(1)) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14585 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxEvent
*arg1
= (wxEvent
*) 0 ;
14588 bool arg2
= (bool) true ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self",(char *) "skip", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail
;
14600 arg2
= (bool)(SWIG_As_bool(obj1
));
14601 if (SWIG_arg_fail(2)) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->Skip(arg2
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxEvent
*arg1
= (wxEvent
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14629 if (SWIG_arg_fail(1)) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14646 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxEvent
*arg1
= (wxEvent
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14657 if (SWIG_arg_fail(1)) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxEvent
*arg1
= (wxEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14685 if (SWIG_arg_fail(1)) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (int)(arg1
)->StopPropagation();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= SWIG_From_int((int)(result
));
14702 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxEvent
*arg1
= (wxEvent
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "propagationLevel", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14714 if (SWIG_arg_fail(1)) SWIG_fail
;
14716 arg2
= (int)(SWIG_As_int(obj1
));
14717 if (SWIG_arg_fail(2)) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->ResumePropagation(arg2
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxEvent
*arg1
= (wxEvent
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14744 if (SWIG_arg_fail(1)) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (wxEvent
*)(arg1
)->Clone();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14759 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14762 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14764 return Py_BuildValue((char *)"");
14766 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxEvent
*arg1
= 0 ;
14769 wxPropagationDisabler
*result
;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "event", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14778 if (SWIG_arg_fail(1)) SWIG_fail
;
14779 if (arg1
== NULL
) {
14780 SWIG_null_ref("wxEvent");
14782 if (SWIG_arg_fail(1)) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14798 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14808 if (SWIG_arg_fail(1)) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 Py_INCREF(Py_None
); resultobj
= Py_None
;
14823 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14826 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14828 return Py_BuildValue((char *)"");
14830 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxEvent
*arg1
= 0 ;
14833 wxPropagateOnce
*result
;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "event", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14842 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 if (arg1
== NULL
) {
14844 SWIG_null_ref("wxEvent");
14846 if (SWIG_arg_fail(1)) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14862 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14872 if (SWIG_arg_fail(1)) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 Py_INCREF(Py_None
); resultobj
= Py_None
;
14887 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14890 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14892 return Py_BuildValue((char *)"");
14894 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14897 int arg2
= (int) 0 ;
14898 wxCommandEvent
*result
;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "commandType",(char *) "winid", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14909 if (SWIG_arg_fail(1)) SWIG_fail
;
14914 arg2
= (int)(SWIG_As_int(obj1
));
14915 if (SWIG_arg_fail(2)) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14932 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14943 if (SWIG_arg_fail(1)) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_From_int((int)(result
));
14960 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14963 wxString
*arg2
= 0 ;
14964 bool temp2
= false ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self",(char *) "s", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14973 if (SWIG_arg_fail(1)) SWIG_fail
;
14975 arg2
= wxString_in_helper(obj1
);
14976 if (arg2
== NULL
) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->SetString((wxString
const &)*arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15012 if (SWIG_arg_fail(1)) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15033 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15061 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15089 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "extraLong", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15103 arg2
= (long)(SWIG_As_long(obj1
));
15104 if (SWIG_arg_fail(2)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetExtraLong(arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_long((long)(result
));
15148 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "i", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail
;
15162 arg2
= (int)(SWIG_As_int(obj1
));
15163 if (SWIG_arg_fail(2)) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetInt(arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_From_long((long)(result
));
15207 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15233 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15238 return Py_BuildValue((char *)"");
15240 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15243 int arg2
= (int) 0 ;
15244 wxNotifyEvent
*result
;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "commandType",(char *) "winid", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15255 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 arg2
= (int)(SWIG_As_int(obj1
));
15261 if (SWIG_arg_fail(2)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15278 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 Py_INCREF(Py_None
); resultobj
= Py_None
;
15303 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15339 if (SWIG_arg_fail(1)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)(arg1
)->IsAllowed();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15361 return Py_BuildValue((char *)"");
15363 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15366 int arg2
= (int) 0 ;
15367 int arg3
= (int) 0 ;
15368 int arg4
= (int) 0 ;
15369 wxScrollEvent
*result
;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 PyObject
* obj2
= 0 ;
15373 PyObject
* obj3
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15381 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15387 arg2
= (int)(SWIG_As_int(obj1
));
15388 if (SWIG_arg_fail(2)) SWIG_fail
;
15393 arg3
= (int)(SWIG_As_int(obj2
));
15394 if (SWIG_arg_fail(3)) SWIG_fail
;
15399 arg4
= (int)(SWIG_As_int(obj3
));
15400 if (SWIG_arg_fail(4)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15417 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_From_int((int)(result
));
15445 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15456 if (SWIG_arg_fail(1)) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= SWIG_From_int((int)(result
));
15473 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "orient", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15487 arg2
= (int)(SWIG_As_int(obj1
));
15488 if (SWIG_arg_fail(2)) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetOrientation(arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 Py_INCREF(Py_None
); resultobj
= Py_None
;
15504 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self",(char *) "pos", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15516 if (SWIG_arg_fail(1)) SWIG_fail
;
15518 arg2
= (int)(SWIG_As_int(obj1
));
15519 if (SWIG_arg_fail(2)) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->SetPosition(arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 Py_INCREF(Py_None
); resultobj
= Py_None
;
15535 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15538 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15540 return Py_BuildValue((char *)"");
15542 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15545 int arg2
= (int) 0 ;
15546 int arg3
= (int) 0 ;
15547 wxScrollWinEvent
*result
;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 PyObject
* obj2
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15558 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15559 if (SWIG_arg_fail(1)) SWIG_fail
;
15564 arg2
= (int)(SWIG_As_int(obj1
));
15565 if (SWIG_arg_fail(2)) SWIG_fail
;
15570 arg3
= (int)(SWIG_As_int(obj2
));
15571 if (SWIG_arg_fail(3)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15588 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15599 if (SWIG_arg_fail(1)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_From_int((int)(result
));
15616 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_From_int((int)(result
));
15644 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "orient", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 arg2
= (int)(SWIG_As_int(obj1
));
15659 if (SWIG_arg_fail(2)) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->SetOrientation(arg2
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self",(char *) "pos", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail
;
15689 arg2
= (int)(SWIG_As_int(obj1
));
15690 if (SWIG_arg_fail(2)) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetPosition(arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 Py_INCREF(Py_None
); resultobj
= Py_None
;
15706 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15711 return Py_BuildValue((char *)"");
15713 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15716 wxMouseEvent
*result
;
15717 PyObject
* obj0
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "mouseType", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15725 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15726 if (SWIG_arg_fail(1)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= wxPyMake_wxObject(result
, 1);
15745 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15776 int arg2
= (int) wxMOUSE_BTN_ANY
;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "but", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15786 if (SWIG_arg_fail(1)) SWIG_fail
;
15789 arg2
= (int)(SWIG_As_int(obj1
));
15790 if (SWIG_arg_fail(2)) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15809 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15812 int arg2
= (int) wxMOUSE_BTN_ANY
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self",(char *) "but", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15822 if (SWIG_arg_fail(1)) SWIG_fail
;
15825 arg2
= (int)(SWIG_As_int(obj1
));
15826 if (SWIG_arg_fail(2)) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15845 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15848 int arg2
= (int) wxMOUSE_BTN_ANY
;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "but", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15858 if (SWIG_arg_fail(1)) SWIG_fail
;
15861 arg2
= (int)(SWIG_As_int(obj1
));
15862 if (SWIG_arg_fail(2)) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15881 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self",(char *) "but", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15894 if (SWIG_arg_fail(1)) SWIG_fail
;
15896 arg2
= (int)(SWIG_As_int(obj1
));
15897 if (SWIG_arg_fail(2)) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15915 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self",(char *) "but", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail
;
15930 arg2
= (int)(SWIG_As_int(obj1
));
15931 if (SWIG_arg_fail(2)) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15949 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15960 if (SWIG_arg_fail(1)) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_From_int((int)(result
));
15977 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15988 if (SWIG_arg_fail(1)) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16044 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16061 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16089 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16117 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16156 if (SWIG_arg_fail(1)) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16173 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16201 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16212 if (SWIG_arg_fail(1)) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16240 if (SWIG_arg_fail(1)) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16341 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16369 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (bool)(arg1
)->LeftIsDown();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16397 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16408 if (SWIG_arg_fail(1)) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)(arg1
)->MiddleIsDown();
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (bool)(arg1
)->RightIsDown();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16453 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16464 if (SWIG_arg_fail(1)) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16481 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16492 if (SWIG_arg_fail(1)) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16537 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16541 PyObject
* obj0
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16548 if (SWIG_arg_fail(1)) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16565 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16576 if (SWIG_arg_fail(1)) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 result
= (arg1
)->GetPosition();
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16585 wxPoint
* resultptr
;
16586 resultptr
= new wxPoint((wxPoint
&)(result
));
16587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16595 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16598 long *arg2
= (long *) 0 ;
16599 long *arg3
= (long *) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16609 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16610 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 (arg1
)->GetPosition(arg2
,arg3
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 Py_INCREF(Py_None
); resultobj
= Py_None
;
16622 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16623 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16624 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16625 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16632 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "dc", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16645 if (SWIG_arg_fail(1)) SWIG_fail
;
16647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16648 if (SWIG_arg_fail(2)) SWIG_fail
;
16649 if (arg2
== NULL
) {
16650 SWIG_null_ref("wxDC");
16652 if (SWIG_arg_fail(2)) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16662 wxPoint
* resultptr
;
16663 resultptr
= new wxPoint((wxPoint
&)(result
));
16664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16672 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_From_int((int)(result
));
16700 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_From_int((int)(result
));
16728 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_From_int((int)(result
));
16756 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_From_int((int)(result
));
16784 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_From_int((int)(result
));
16812 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16840 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self",(char *) "m_x", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16852 if (SWIG_arg_fail(1)) SWIG_fail
;
16854 arg2
= (int)(SWIG_As_int(obj1
));
16855 if (SWIG_arg_fail(2)) SWIG_fail
;
16857 if (arg1
) (arg1
)->m_x
= arg2
;
16859 Py_INCREF(Py_None
); resultobj
= Py_None
;
16866 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16878 result
= (int) ((arg1
)->m_x
);
16881 resultobj
= SWIG_From_int((int)(result
));
16889 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self",(char *) "m_y", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16903 arg2
= (int)(SWIG_As_int(obj1
));
16904 if (SWIG_arg_fail(2)) SWIG_fail
;
16906 if (arg1
) (arg1
)->m_y
= arg2
;
16908 Py_INCREF(Py_None
); resultobj
= Py_None
;
16915 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16926 if (SWIG_arg_fail(1)) SWIG_fail
;
16927 result
= (int) ((arg1
)->m_y
);
16930 resultobj
= SWIG_From_int((int)(result
));
16938 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "m_leftDown", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail
;
16952 arg2
= (bool)(SWIG_As_bool(obj1
));
16953 if (SWIG_arg_fail(2)) SWIG_fail
;
16955 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16957 Py_INCREF(Py_None
); resultobj
= Py_None
;
16964 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16975 if (SWIG_arg_fail(1)) SWIG_fail
;
16976 result
= (bool) ((arg1
)->m_leftDown
);
16979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16987 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "m_middleDown", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail
;
17001 arg2
= (bool)(SWIG_As_bool(obj1
));
17002 if (SWIG_arg_fail(2)) SWIG_fail
;
17004 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17013 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17024 if (SWIG_arg_fail(1)) SWIG_fail
;
17025 result
= (bool) ((arg1
)->m_middleDown
);
17028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17036 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self",(char *) "m_rightDown", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail
;
17050 arg2
= (bool)(SWIG_As_bool(obj1
));
17051 if (SWIG_arg_fail(2)) SWIG_fail
;
17053 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17073 if (SWIG_arg_fail(1)) SWIG_fail
;
17074 result
= (bool) ((arg1
)->m_rightDown
);
17077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17085 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "m_controlDown", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 arg2
= (bool)(SWIG_As_bool(obj1
));
17100 if (SWIG_arg_fail(2)) SWIG_fail
;
17102 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17104 Py_INCREF(Py_None
); resultobj
= Py_None
;
17111 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail
;
17123 result
= (bool) ((arg1
)->m_controlDown
);
17126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17134 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "m_shiftDown", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 arg2
= (bool)(SWIG_As_bool(obj1
));
17149 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17153 Py_INCREF(Py_None
); resultobj
= Py_None
;
17160 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17171 if (SWIG_arg_fail(1)) SWIG_fail
;
17172 result
= (bool) ((arg1
)->m_shiftDown
);
17175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 PyObject
* obj1
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "m_altDown", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 arg2
= (bool)(SWIG_As_bool(obj1
));
17198 if (SWIG_arg_fail(2)) SWIG_fail
;
17200 if (arg1
) (arg1
)->m_altDown
= arg2
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail
;
17221 result
= (bool) ((arg1
)->m_altDown
);
17224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "m_metaDown", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17244 if (SWIG_arg_fail(1)) SWIG_fail
;
17246 arg2
= (bool)(SWIG_As_bool(obj1
));
17247 if (SWIG_arg_fail(2)) SWIG_fail
;
17249 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17251 Py_INCREF(Py_None
); resultobj
= Py_None
;
17258 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17269 if (SWIG_arg_fail(1)) SWIG_fail
;
17270 result
= (bool) ((arg1
)->m_metaDown
);
17273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17281 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "m_wheelRotation", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17295 arg2
= (int)(SWIG_As_int(obj1
));
17296 if (SWIG_arg_fail(2)) SWIG_fail
;
17298 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17300 Py_INCREF(Py_None
); resultobj
= Py_None
;
17307 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 result
= (int) ((arg1
)->m_wheelRotation
);
17322 resultobj
= SWIG_From_int((int)(result
));
17330 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "m_wheelDelta", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17342 if (SWIG_arg_fail(1)) SWIG_fail
;
17344 arg2
= (int)(SWIG_As_int(obj1
));
17345 if (SWIG_arg_fail(2)) SWIG_fail
;
17347 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17349 Py_INCREF(Py_None
); resultobj
= Py_None
;
17356 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17368 result
= (int) ((arg1
)->m_wheelDelta
);
17371 resultobj
= SWIG_From_int((int)(result
));
17379 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "m_linesPerAction", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17391 if (SWIG_arg_fail(1)) SWIG_fail
;
17393 arg2
= (int)(SWIG_As_int(obj1
));
17394 if (SWIG_arg_fail(2)) SWIG_fail
;
17396 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17416 if (SWIG_arg_fail(1)) SWIG_fail
;
17417 result
= (int) ((arg1
)->m_linesPerAction
);
17420 resultobj
= SWIG_From_int((int)(result
));
17428 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17431 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17433 return Py_BuildValue((char *)"");
17435 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 int arg1
= (int) 0 ;
17438 int arg2
= (int) 0 ;
17439 wxSetCursorEvent
*result
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "x",(char *) "y", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17449 arg1
= (int)(SWIG_As_int(obj0
));
17450 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 arg2
= (int)(SWIG_As_int(obj1
));
17456 if (SWIG_arg_fail(2)) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17473 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_From_int((int)(result
));
17501 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_From_int((int)(result
));
17529 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17532 wxCursor
*arg2
= 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "cursor", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17541 if (SWIG_arg_fail(1)) SWIG_fail
;
17543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(2)) SWIG_fail
;
17545 if (arg2
== NULL
) {
17546 SWIG_null_ref("wxCursor");
17548 if (SWIG_arg_fail(2)) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17580 result
= (wxCursor
*) &_result_ref
;
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 wxCursor
* resultptr
= new wxCursor(*result
);
17588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17596 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17607 if (SWIG_arg_fail(1)) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17629 return Py_BuildValue((char *)"");
17631 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17634 wxKeyEvent
*result
;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "keyType", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17643 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17661 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17672 if (SWIG_arg_fail(1)) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17689 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17693 PyObject
* obj0
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17717 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17728 if (SWIG_arg_fail(1)) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17745 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17784 if (SWIG_arg_fail(1)) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17801 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17812 if (SWIG_arg_fail(1)) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17829 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17840 if (SWIG_arg_fail(1)) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= SWIG_From_int((int)(result
));
17857 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_From_int((int)(result
));
17885 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17888 unsigned int result
;
17889 PyObject
* obj0
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17913 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17916 unsigned int result
;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17924 if (SWIG_arg_fail(1)) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17941 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17952 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (arg1
)->GetPosition();
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 wxPoint
* resultptr
;
17962 resultptr
= new wxPoint((wxPoint
&)(result
));
17963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17971 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17974 long *arg2
= (long *) 0 ;
17975 long *arg3
= (long *) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17986 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->GetPosition(arg2
,arg3
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17999 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18000 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18001 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18008 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_From_int((int)(result
));
18036 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18047 if (SWIG_arg_fail(1)) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_From_int((int)(result
));
18064 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "m_x", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 arg2
= (int)(SWIG_As_int(obj1
));
18079 if (SWIG_arg_fail(2)) SWIG_fail
;
18081 if (arg1
) (arg1
)->m_x
= arg2
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18102 result
= (int) ((arg1
)->m_x
);
18105 resultobj
= SWIG_From_int((int)(result
));
18113 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "m_y", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 arg2
= (int)(SWIG_As_int(obj1
));
18128 if (SWIG_arg_fail(2)) SWIG_fail
;
18130 if (arg1
) (arg1
)->m_y
= arg2
;
18132 Py_INCREF(Py_None
); resultobj
= Py_None
;
18139 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18151 result
= (int) ((arg1
)->m_y
);
18154 resultobj
= SWIG_From_int((int)(result
));
18162 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "m_keyCode", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 arg2
= (long)(SWIG_As_long(obj1
));
18177 if (SWIG_arg_fail(2)) SWIG_fail
;
18179 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18181 Py_INCREF(Py_None
); resultobj
= Py_None
;
18188 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18199 if (SWIG_arg_fail(1)) SWIG_fail
;
18200 result
= (long) ((arg1
)->m_keyCode
);
18203 resultobj
= SWIG_From_long((long)(result
));
18211 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "m_controlDown", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18223 if (SWIG_arg_fail(1)) SWIG_fail
;
18225 arg2
= (bool)(SWIG_As_bool(obj1
));
18226 if (SWIG_arg_fail(2)) SWIG_fail
;
18228 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18230 Py_INCREF(Py_None
); resultobj
= Py_None
;
18237 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18249 result
= (bool) ((arg1
)->m_controlDown
);
18252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18260 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "m_shiftDown", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18272 if (SWIG_arg_fail(1)) SWIG_fail
;
18274 arg2
= (bool)(SWIG_As_bool(obj1
));
18275 if (SWIG_arg_fail(2)) SWIG_fail
;
18277 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18286 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18298 result
= (bool) ((arg1
)->m_shiftDown
);
18301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18309 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "m_altDown", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 arg2
= (bool)(SWIG_As_bool(obj1
));
18324 if (SWIG_arg_fail(2)) SWIG_fail
;
18326 if (arg1
) (arg1
)->m_altDown
= arg2
;
18328 Py_INCREF(Py_None
); resultobj
= Py_None
;
18335 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18347 result
= (bool) ((arg1
)->m_altDown
);
18350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18358 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "m_metaDown", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18370 if (SWIG_arg_fail(1)) SWIG_fail
;
18372 arg2
= (bool)(SWIG_As_bool(obj1
));
18373 if (SWIG_arg_fail(2)) SWIG_fail
;
18375 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18377 Py_INCREF(Py_None
); resultobj
= Py_None
;
18384 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail
;
18396 result
= (bool) ((arg1
)->m_metaDown
);
18399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18407 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "m_scanCode", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 arg2
= (bool)(SWIG_As_bool(obj1
));
18422 if (SWIG_arg_fail(2)) SWIG_fail
;
18424 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18445 result
= (bool) ((arg1
)->m_scanCode
);
18448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18456 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18459 unsigned int arg2
;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "m_rawCode", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18471 if (SWIG_arg_fail(2)) SWIG_fail
;
18473 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18485 unsigned int result
;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",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
;
18494 result
= (unsigned int) ((arg1
)->m_rawCode
);
18497 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18505 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18508 unsigned int arg2
;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self",(char *) "m_rawFlags", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18517 if (SWIG_arg_fail(1)) SWIG_fail
;
18519 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18520 if (SWIG_arg_fail(2)) SWIG_fail
;
18522 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18524 Py_INCREF(Py_None
); resultobj
= Py_None
;
18531 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18534 unsigned int result
;
18535 PyObject
* obj0
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18543 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18546 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18554 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18557 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18559 return Py_BuildValue((char *)"");
18561 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18563 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18564 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18565 int arg2
= (int) 0 ;
18566 wxSizeEvent
*result
;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "sz",(char *) "winid", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18578 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18583 arg2
= (int)(SWIG_As_int(obj1
));
18584 if (SWIG_arg_fail(2)) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18601 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18612 if (SWIG_arg_fail(1)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 wxSize
* resultptr
;
18622 resultptr
= new wxSize((wxSize
&)(result
));
18623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18631 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18642 if (SWIG_arg_fail(1)) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 wxRect
* resultptr
;
18652 resultptr
= new wxRect((wxRect
&)(result
));
18653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18661 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "rect", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18676 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18677 if (SWIG_arg_fail(2)) SWIG_fail
;
18678 if (argp
== NULL
) {
18679 SWIG_null_ref("wxRect");
18681 if (SWIG_arg_fail(2)) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetRect(arg2
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self",(char *) "size", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail
;
18713 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18714 if (SWIG_arg_fail(2)) SWIG_fail
;
18715 if (argp
== NULL
) {
18716 SWIG_null_ref("wxSize");
18718 if (SWIG_arg_fail(2)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 wxSizeEvent_SetSize(arg1
,arg2
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 Py_INCREF(Py_None
); resultobj
= Py_None
;
18735 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18738 wxSize
*arg2
= (wxSize
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self",(char *) "m_size", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(1)) SWIG_fail
;
18748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18749 if (SWIG_arg_fail(2)) SWIG_fail
;
18750 if (arg1
) (arg1
)->m_size
= *arg2
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18771 result
= (wxSize
*)& ((arg1
)->m_size
);
18773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18780 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18783 wxRect
*arg2
= (wxRect
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "m_rect", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18794 if (SWIG_arg_fail(2)) SWIG_fail
;
18795 if (arg1
) (arg1
)->m_rect
= *arg2
;
18797 Py_INCREF(Py_None
); resultobj
= Py_None
;
18804 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18816 result
= (wxRect
*)& ((arg1
)->m_rect
);
18818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18825 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18828 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18830 return Py_BuildValue((char *)"");
18832 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18835 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18836 int arg2
= (int) 0 ;
18837 wxMoveEvent
*result
;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "pos",(char *) "winid", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18854 arg2
= (int)(SWIG_As_int(obj1
));
18855 if (SWIG_arg_fail(2)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18872 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 wxPoint
* resultptr
;
18893 resultptr
= new wxPoint((wxPoint
&)(result
));
18894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18902 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 wxRect
* resultptr
;
18923 resultptr
= new wxRect((wxRect
&)(result
));
18924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18932 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "rect", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18948 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->SetRect((wxRect
const &)*arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18967 wxPoint
*arg2
= 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "pos", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
18998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18999 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19001 return Py_BuildValue((char *)"");
19003 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 int arg1
= (int) 0 ;
19006 wxPaintEvent
*result
;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "Id", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19015 arg1
= (int)(SWIG_As_int(obj0
));
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19033 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19036 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19038 return Py_BuildValue((char *)"");
19040 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 int arg1
= (int) 0 ;
19043 wxNcPaintEvent
*result
;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "winid", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19052 arg1
= (int)(SWIG_As_int(obj0
));
19053 if (SWIG_arg_fail(1)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19070 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19073 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19075 return Py_BuildValue((char *)"");
19077 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 int arg1
= (int) 0 ;
19080 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19081 wxEraseEvent
*result
;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "Id",(char *) "dc", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 arg1
= (int)(SWIG_As_int(obj0
));
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19097 if (SWIG_arg_fail(2)) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19113 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19117 PyObject
* obj0
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19124 if (SWIG_arg_fail(1)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= wxPyMake_wxObject(result
, 0);
19141 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19144 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19146 return Py_BuildValue((char *)"");
19148 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19151 int arg2
= (int) 0 ;
19152 wxFocusEvent
*result
;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "type",(char *) "winid", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19168 arg2
= (int)(SWIG_As_int(obj1
));
19169 if (SWIG_arg_fail(2)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19186 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= wxPyMake_wxObject(result
, 0);
19214 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19217 wxWindow
*arg2
= (wxWindow
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self",(char *) "win", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail
;
19227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(2)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 (arg1
)->SetWindow(arg2
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 Py_INCREF(Py_None
); resultobj
= Py_None
;
19243 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19246 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19248 return Py_BuildValue((char *)"");
19250 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxWindow
*arg1
= (wxWindow
*) NULL
;
19253 wxChildFocusEvent
*result
;
19254 PyObject
* obj0
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "win", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19278 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19289 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= wxPyMake_wxObject(result
, 0);
19306 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19309 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19311 return Py_BuildValue((char *)"");
19313 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19316 bool arg2
= (bool) true ;
19317 int arg3
= (int) 0 ;
19318 wxActivateEvent
*result
;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 PyObject
* obj2
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "type",(char *) "active",(char *) "Id", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19329 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19330 if (SWIG_arg_fail(1)) SWIG_fail
;
19335 arg2
= (bool)(SWIG_As_bool(obj1
));
19336 if (SWIG_arg_fail(2)) SWIG_fail
;
19341 arg3
= (int)(SWIG_As_int(obj2
));
19342 if (SWIG_arg_fail(3)) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19359 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19370 if (SWIG_arg_fail(1)) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19387 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19390 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19392 return Py_BuildValue((char *)"");
19394 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 int arg1
= (int) 0 ;
19397 wxInitDialogEvent
*result
;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "Id", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19406 arg1
= (int)(SWIG_As_int(obj0
));
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19424 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19427 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19429 return Py_BuildValue((char *)"");
19431 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19434 int arg2
= (int) 0 ;
19435 wxMenu
*arg3
= (wxMenu
*) NULL
;
19436 wxMenuEvent
*result
;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 PyObject
* obj2
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "type",(char *) "winid",(char *) "menu", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19447 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19453 arg2
= (int)(SWIG_As_int(obj1
));
19454 if (SWIG_arg_fail(2)) SWIG_fail
;
19458 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19459 if (SWIG_arg_fail(3)) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19475 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19486 if (SWIG_arg_fail(1)) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_From_int((int)(result
));
19503 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19531 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= wxPyMake_wxObject(result
, 0);
19559 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19562 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19564 return Py_BuildValue((char *)"");
19566 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19569 int arg2
= (int) 0 ;
19570 wxCloseEvent
*result
;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "type",(char *) "winid", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19580 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19581 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 arg2
= (int)(SWIG_As_int(obj1
));
19587 if (SWIG_arg_fail(2)) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19604 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "logOff", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail
;
19618 arg2
= (bool)(SWIG_As_bool(obj1
));
19619 if (SWIG_arg_fail(2)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->SetLoggingOff(arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19635 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19663 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19666 bool arg2
= (bool) true ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "veto", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19675 if (SWIG_arg_fail(1)) SWIG_fail
;
19678 arg2
= (bool)(SWIG_As_bool(obj1
));
19679 if (SWIG_arg_fail(2)) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 (arg1
)->Veto(arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19696 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self",(char *) "canVeto", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail
;
19710 arg2
= (bool)(SWIG_As_bool(obj1
));
19711 if (SWIG_arg_fail(2)) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetCanVeto(arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 Py_INCREF(Py_None
); resultobj
= Py_None
;
19727 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19755 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19766 if (SWIG_arg_fail(1)) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19783 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19786 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19788 return Py_BuildValue((char *)"");
19790 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 int arg1
= (int) 0 ;
19793 bool arg2
= (bool) false ;
19794 wxShowEvent
*result
;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "winid",(char *) "show", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 arg1
= (int)(SWIG_As_int(obj0
));
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 arg2
= (bool)(SWIG_As_bool(obj1
));
19811 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19828 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "show", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 arg2
= (bool)(SWIG_As_bool(obj1
));
19843 if (SWIG_arg_fail(2)) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->SetShow(arg2
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 Py_INCREF(Py_None
); resultobj
= Py_None
;
19859 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19890 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19892 return Py_BuildValue((char *)"");
19894 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 int arg1
= (int) 0 ;
19897 bool arg2
= (bool) true ;
19898 wxIconizeEvent
*result
;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "id",(char *) "iconized", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 arg1
= (int)(SWIG_As_int(obj0
));
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19914 arg2
= (bool)(SWIG_As_bool(obj1
));
19915 if (SWIG_arg_fail(2)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
19932 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->Iconized();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19960 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19963 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
19965 return Py_BuildValue((char *)"");
19967 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 int arg1
= (int) 0 ;
19970 wxMaximizeEvent
*result
;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "id", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
19979 arg1
= (int)(SWIG_As_int(obj0
));
19980 if (SWIG_arg_fail(1)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
19997 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20000 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20002 return Py_BuildValue((char *)"");
20004 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (arg1
)->GetPosition();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 wxPoint
* resultptr
;
20025 resultptr
= new wxPoint((wxPoint
&)(result
));
20026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20034 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20045 if (SWIG_arg_fail(1)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (int)(arg1
)->GetNumberOfFiles();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_From_int((int)(result
));
20062 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= result
;
20088 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20091 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20093 return Py_BuildValue((char *)"");
20095 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 int arg1
= (int) 0 ;
20098 wxUpdateUIEvent
*result
;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "commandId", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20107 arg1
= (int)(SWIG_As_int(obj0
));
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20125 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20164 if (SWIG_arg_fail(1)) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20181 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20192 if (SWIG_arg_fail(1)) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20213 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20241 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20252 if (SWIG_arg_fail(1)) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20269 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20297 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 PyObject
* obj1
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self",(char *) "check", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 arg2
= (bool)(SWIG_As_bool(obj1
));
20312 if (SWIG_arg_fail(2)) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->Check(arg2
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 Py_INCREF(Py_None
); resultobj
= Py_None
;
20328 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "enable", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 arg2
= (bool)(SWIG_As_bool(obj1
));
20343 if (SWIG_arg_fail(2)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->Enable(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20362 wxString
*arg2
= 0 ;
20363 bool temp2
= false ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self",(char *) "text", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20372 if (SWIG_arg_fail(1)) SWIG_fail
;
20374 arg2
= wxString_in_helper(obj1
);
20375 if (arg2
== NULL
) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->SetText((wxString
const &)*arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 Py_INCREF(Py_None
); resultobj
= Py_None
;
20400 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "updateInterval", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20410 arg1
= (long)(SWIG_As_long(obj0
));
20411 if (SWIG_arg_fail(1)) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20430 char *kwnames
[] = {
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_From_long((long)(result
));
20451 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxWindow
*arg1
= (wxWindow
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "win", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20462 if (SWIG_arg_fail(1)) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20479 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 char *kwnames
[] = {
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 wxUpdateUIEvent::ResetUpdateTime();
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 Py_INCREF(Py_None
); resultobj
= Py_None
;
20500 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxUpdateUIMode arg1
;
20503 PyObject
* obj0
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "mode", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20510 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20511 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 Py_INCREF(Py_None
); resultobj
= Py_None
;
20527 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxUpdateUIMode result
;
20530 char *kwnames
[] = {
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_From_int((result
));
20549 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20552 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20554 return Py_BuildValue((char *)"");
20556 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxSysColourChangedEvent
*result
;
20559 char *kwnames
[] = {
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20578 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20581 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20583 return Py_BuildValue((char *)"");
20585 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 int arg1
= (int) 0 ;
20588 wxWindow
*arg2
= (wxWindow
*) NULL
;
20589 wxMouseCaptureChangedEvent
*result
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "winid",(char *) "gainedCapture", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20599 arg1
= (int)(SWIG_As_int(obj0
));
20600 if (SWIG_arg_fail(1)) SWIG_fail
;
20604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20605 if (SWIG_arg_fail(2)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20621 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20632 if (SWIG_arg_fail(1)) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= wxPyMake_wxObject(result
, 0);
20649 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20652 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20654 return Py_BuildValue((char *)"");
20656 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxDisplayChangedEvent
*result
;
20659 char *kwnames
[] = {
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20678 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20681 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20683 return Py_BuildValue((char *)"");
20685 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 int arg1
= (int) 0 ;
20688 wxPaletteChangedEvent
*result
;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "id", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20697 arg1
= (int)(SWIG_As_int(obj0
));
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20715 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20718 wxWindow
*arg2
= (wxWindow
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self",(char *) "win", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20727 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20729 if (SWIG_arg_fail(2)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 (arg1
)->SetChangedWindow(arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 Py_INCREF(Py_None
); resultobj
= Py_None
;
20744 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= wxPyMake_wxObject(result
, 0);
20772 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20775 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20777 return Py_BuildValue((char *)"");
20779 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 int arg1
= (int) 0 ;
20782 wxQueryNewPaletteEvent
*result
;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "winid", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20791 arg1
= (int)(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20809 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "realized", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 arg2
= (bool)(SWIG_As_bool(obj1
));
20824 if (SWIG_arg_fail(2)) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 (arg1
)->SetPaletteRealized(arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20868 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20871 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20873 return Py_BuildValue((char *)"");
20875 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxNavigationKeyEvent
*result
;
20878 char *kwnames
[] = {
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20897 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
20907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20908 if (SWIG_arg_fail(1)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "forward", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20937 if (SWIG_arg_fail(1)) SWIG_fail
;
20939 arg2
= (bool)(SWIG_As_bool(obj1
));
20940 if (SWIG_arg_fail(2)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->SetDirection(arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 Py_INCREF(Py_None
); resultobj
= Py_None
;
20956 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
20966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20967 if (SWIG_arg_fail(1)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20984 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 PyObject
* obj1
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self",(char *) "ischange", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
20995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20996 if (SWIG_arg_fail(1)) SWIG_fail
;
20998 arg2
= (bool)(SWIG_As_bool(obj1
));
20999 if (SWIG_arg_fail(2)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->SetWindowChange(arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "flags", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 arg2
= (long)(SWIG_As_long(obj1
));
21030 if (SWIG_arg_fail(2)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 (arg1
)->SetFlags(arg2
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 Py_INCREF(Py_None
); resultobj
= Py_None
;
21046 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21057 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= wxPyMake_wxObject(result
, 0);
21074 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21077 wxWindow
*arg2
= (wxWindow
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self",(char *) "win", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21086 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21088 if (SWIG_arg_fail(2)) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 (arg1
)->SetCurrentFocus(arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 Py_INCREF(Py_None
); resultobj
= Py_None
;
21103 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21106 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21108 return Py_BuildValue((char *)"");
21110 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxWindow
*arg1
= (wxWindow
*) NULL
;
21113 wxWindowCreateEvent
*result
;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "win", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21138 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21149 if (SWIG_arg_fail(1)) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= wxPyMake_wxObject(result
, 0);
21166 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21169 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21171 return Py_BuildValue((char *)"");
21173 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxWindow
*arg1
= (wxWindow
*) NULL
;
21176 wxWindowDestroyEvent
*result
;
21177 PyObject
* obj0
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "win", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21185 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21201 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 resultobj
= wxPyMake_wxObject(result
, 0);
21229 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21232 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21234 return Py_BuildValue((char *)"");
21236 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21239 int arg2
= (int) 0 ;
21240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21242 wxContextMenuEvent
*result
;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 PyObject
* obj2
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "type",(char *) "winid",(char *) "pt", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21254 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21255 if (SWIG_arg_fail(1)) SWIG_fail
;
21260 arg2
= (int)(SWIG_As_int(obj1
));
21261 if (SWIG_arg_fail(2)) SWIG_fail
;
21267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21284 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "self", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21295 if (SWIG_arg_fail(1)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21300 result
= (wxPoint
*) &_result_ref
;
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21313 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21316 wxPoint
*arg2
= 0 ;
21318 PyObject
* obj0
= 0 ;
21319 PyObject
* obj1
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self",(char *) "pos", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21326 if (SWIG_arg_fail(1)) SWIG_fail
;
21329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 Py_INCREF(Py_None
); resultobj
= Py_None
;
21345 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21348 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21350 return Py_BuildValue((char *)"");
21352 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxIdleEvent
*result
;
21355 char *kwnames
[] = {
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (wxIdleEvent
*)new wxIdleEvent();
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21374 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21377 bool arg2
= (bool) true ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "needMore", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21389 arg2
= (bool)(SWIG_As_bool(obj1
));
21390 if (SWIG_arg_fail(2)) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 (arg1
)->RequestMore(arg2
);
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 Py_INCREF(Py_None
); resultobj
= Py_None
;
21407 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21435 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "mode", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21445 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21446 if (SWIG_arg_fail(1)) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 Py_INCREF(Py_None
); resultobj
= Py_None
;
21462 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21465 char *kwnames
[] = {
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_From_int((result
));
21484 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxWindow
*arg1
= (wxWindow
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "win", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)wxIdleEvent::CanSend(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21515 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21517 return Py_BuildValue((char *)"");
21519 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 int arg1
= (int) 0 ;
21522 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "winid",(char *) "commandType", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 arg1
= (int)(SWIG_As_int(obj0
));
21534 if (SWIG_arg_fail(1)) SWIG_fail
;
21539 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21540 if (SWIG_arg_fail(2)) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21557 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21567 if (SWIG_arg_fail(1)) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 Py_INCREF(Py_None
); resultobj
= Py_None
;
21582 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21585 PyObject
*arg2
= (PyObject
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "self", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->SetSelf(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (PyObject
*)(arg1
)->GetSelf();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= result
;
21636 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21639 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21641 return Py_BuildValue((char *)"");
21643 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21646 int arg2
= (int) 0 ;
21647 wxPyCommandEvent
*result
;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "commandType",(char *) "id", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21657 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21658 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 arg2
= (int)(SWIG_As_int(obj1
));
21664 if (SWIG_arg_fail(2)) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21681 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21691 if (SWIG_arg_fail(1)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21709 PyObject
*arg2
= (PyObject
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self",(char *) "self", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21718 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->SetSelf(arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (PyObject
*)(arg1
)->GetSelf();
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= result
;
21760 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21763 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21765 return Py_BuildValue((char *)"");
21767 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21770 char *kwnames
[] = {
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (wxPyApp
*)new_wxPyApp();
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21789 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21817 PyObject
*arg2
= (PyObject
*) 0 ;
21818 PyObject
*arg3
= (PyObject
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 PyObject
* obj2
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "self",(char *) "_class", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21828 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21856 if (SWIG_arg_fail(1)) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21877 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21880 wxString
*arg2
= 0 ;
21881 bool temp2
= false ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "name", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21890 if (SWIG_arg_fail(1)) SWIG_fail
;
21892 arg2
= wxString_in_helper(obj1
);
21893 if (arg2
== NULL
) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->SetAppName((wxString
const &)*arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21918 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
21928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= ((wxPyApp
const *)arg1
)->GetClassName();
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21950 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21953 wxString
*arg2
= 0 ;
21954 bool temp2
= false ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "name", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 arg2
= wxString_in_helper(obj1
);
21966 if (arg2
== NULL
) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->SetClassName((wxString
const &)*arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22007 result
= (wxString
*) &_result_ref
;
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22017 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22026 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22029 wxString
*arg2
= 0 ;
22030 bool temp2
= false ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "name", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail
;
22041 arg2
= wxString_in_helper(obj1
);
22042 if (arg2
== NULL
) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22067 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22070 wxAppTraits
*result
;
22071 PyObject
* obj0
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22093 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22103 if (SWIG_arg_fail(1)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->ProcessPendingEvents();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 Py_INCREF(Py_None
); resultobj
= Py_None
;
22118 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22121 bool arg2
= (bool) false ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "onlyIfNeeded", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22131 if (SWIG_arg_fail(1)) SWIG_fail
;
22134 arg2
= (bool)(SWIG_As_bool(obj1
));
22135 if (SWIG_arg_fail(2)) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (bool)(arg1
)->Yield(arg2
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22154 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "self", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22164 if (SWIG_arg_fail(1)) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->WakeUpIdle();
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22179 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22182 char *kwnames
[] = {
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (bool)wxPyApp::IsMainLoopRunning();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22203 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (int)(arg1
)->MainLoop();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= SWIG_From_int((int)(result
));
22231 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22241 if (SWIG_arg_fail(1)) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 (arg1
)->ExitMainLoop();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 Py_INCREF(Py_None
); resultobj
= Py_None
;
22281 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22292 if (SWIG_arg_fail(1)) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (bool)(arg1
)->Pending();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22309 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22320 if (SWIG_arg_fail(1)) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (bool)(arg1
)->Dispatch();
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (bool)(arg1
)->ProcessIdle();
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22365 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22368 wxWindow
*arg2
= (wxWindow
*) 0 ;
22369 wxIdleEvent
*arg3
= 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 PyObject
* obj2
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "win",(char *) "event", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail
;
22381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22382 if (SWIG_arg_fail(2)) SWIG_fail
;
22384 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(3)) SWIG_fail
;
22386 if (arg3
== NULL
) {
22387 SWIG_null_ref("wxIdleEvent");
22389 if (SWIG_arg_fail(3)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22407 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22435 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22438 wxWindow
*arg2
= (wxWindow
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self",(char *) "win", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22449 if (SWIG_arg_fail(2)) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->SetTopWindow(arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 Py_INCREF(Py_None
); resultobj
= Py_None
;
22464 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= wxPyMake_wxObject(result
, 0);
22492 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "flag", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail
;
22506 arg2
= (bool)(SWIG_As_bool(obj1
));
22507 if (SWIG_arg_fail(2)) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 (arg1
)->SetExitOnFrameDelete(arg2
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 Py_INCREF(Py_None
); resultobj
= Py_None
;
22523 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22551 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self",(char *) "flag", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 arg2
= (bool)(SWIG_As_bool(obj1
));
22566 if (SWIG_arg_fail(2)) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 (arg1
)->SetUseBestVisual(arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 Py_INCREF(Py_None
); resultobj
= Py_None
;
22582 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22610 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "mode", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 arg2
= (int)(SWIG_As_int(obj1
));
22625 if (SWIG_arg_fail(2)) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->SetPrintMode(arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",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();
22655 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_From_int((int)(result
));
22669 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "mode", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 arg2
= (int)(SWIG_As_int(obj1
));
22684 if (SWIG_arg_fail(2)) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 (arg1
)->SetAssertMode(arg2
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 Py_INCREF(Py_None
); resultobj
= Py_None
;
22700 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (int)(arg1
)->GetAssertMode();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_From_int((int)(result
));
22728 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22731 char *kwnames
[] = {
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22755 char *kwnames
[] = {
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_From_long((long)(result
));
22776 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22779 char *kwnames
[] = {
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= SWIG_From_long((long)(result
));
22800 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22803 char *kwnames
[] = {
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (long)wxPyApp::GetMacExitMenuItemId();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_From_long((long)(result
));
22824 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22827 char *kwnames
[] = {
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= wxPyApp::GetMacHelpMenuTitleName();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22852 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22855 PyObject
* obj0
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "val", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22862 arg1
= (bool)(SWIG_As_bool(obj0
));
22863 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22879 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22882 PyObject
* obj0
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "val", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
22889 arg1
= (long)(SWIG_As_long(obj0
));
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 wxPyApp::SetMacAboutMenuItemId(arg1
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "val", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
22916 arg1
= (long)(SWIG_As_long(obj0
));
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "val", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
22943 arg1
= (long)(SWIG_As_long(obj0
));
22944 if (SWIG_arg_fail(1)) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 wxPyApp::SetMacExitMenuItemId(arg1
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxString
*arg1
= 0 ;
22963 bool temp1
= false ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "val", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
22971 arg1
= wxString_in_helper(obj0
);
22972 if (arg1
== NULL
) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "self", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23007 if (SWIG_arg_fail(1)) SWIG_fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 (arg1
)->_BootstrapApp();
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 Py_INCREF(Py_None
); resultobj
= Py_None
;
23022 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23025 char *kwnames
[] = {
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (int)PyApp_GetComCtl32Version();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_From_int((int)(result
));
23046 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23049 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23051 return Py_BuildValue((char *)"");
23053 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 char *kwnames
[] = {
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 Py_INCREF(Py_None
); resultobj
= Py_None
;
23074 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23077 char *kwnames
[] = {
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (bool)wxYield();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23098 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23101 char *kwnames
[] = {
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)wxYieldIfNeeded();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23122 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxWindow
*arg1
= (wxWindow
*) NULL
;
23125 bool arg2
= (bool) false ;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char *kwnames
[] = {
23130 (char *) "win",(char *) "onlyIfNeeded", NULL
23133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23136 if (SWIG_arg_fail(1)) SWIG_fail
;
23140 arg2
= (bool)(SWIG_As_bool(obj1
));
23141 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)wxSafeYield(arg1
,arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23160 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 char *kwnames
[] = {
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23184 wxEvent
*arg2
= 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "dest",(char *) "event", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail
;
23195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23196 if (SWIG_arg_fail(2)) SWIG_fail
;
23197 if (arg2
== NULL
) {
23198 SWIG_null_ref("wxEvent");
23200 if (SWIG_arg_fail(2)) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 wxPostEvent(arg1
,*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23216 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 char *kwnames
[] = {
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23240 char *kwnames
[] = {
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (wxPyApp
*)wxPyGetApp();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= wxPyMake_wxObject(result
, 0);
23261 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 char *arg1
= (char *) 0 ;
23264 PyObject
* obj0
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "encoding", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23270 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23271 SWIG_arg_fail(1);SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 wxSetDefaultPyEncoding((char const *)arg1
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 Py_INCREF(Py_None
); resultobj
= Py_None
;
23287 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23290 char *kwnames
[] = {
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (char *)wxGetDefaultPyEncoding();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_FromCharPtr(result
);
23309 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxEventLoop
*result
;
23312 char *kwnames
[] = {
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (wxEventLoop
*)new wxEventLoop();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23331 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23367 if (SWIG_arg_fail(1)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (int)(arg1
)->Run();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_From_int((int)(result
));
23384 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23387 int arg2
= (int) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "rc", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23399 arg2
= (int)(SWIG_As_int(obj1
));
23400 if (SWIG_arg_fail(2)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 (arg1
)->Exit(arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 Py_INCREF(Py_None
); resultobj
= Py_None
;
23417 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23428 if (SWIG_arg_fail(1)) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23445 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23456 if (SWIG_arg_fail(1)) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (bool)(arg1
)->Dispatch();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23473 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23501 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxEventLoop
*result
;
23504 char *kwnames
[] = {
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23523 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "loop", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 wxEventLoop::SetActive(arg1
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 Py_INCREF(Py_None
); resultobj
= Py_None
;
23548 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23551 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23553 return Py_BuildValue((char *)"");
23555 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 int arg1
= (int) 0 ;
23558 int arg2
= (int) 0 ;
23559 int arg3
= (int) 0 ;
23560 wxAcceleratorEntry
*result
;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 PyObject
* obj2
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23571 arg1
= (int)(SWIG_As_int(obj0
));
23572 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 arg2
= (int)(SWIG_As_int(obj1
));
23578 if (SWIG_arg_fail(2)) SWIG_fail
;
23583 arg3
= (int)(SWIG_As_int(obj2
));
23584 if (SWIG_arg_fail(3)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23601 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23604 PyObject
* obj0
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23611 if (SWIG_arg_fail(1)) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 Py_INCREF(Py_None
); resultobj
= Py_None
;
23626 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 PyObject
* obj2
= 0 ;
23635 PyObject
* obj3
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail
;
23644 arg2
= (int)(SWIG_As_int(obj1
));
23645 if (SWIG_arg_fail(2)) SWIG_fail
;
23648 arg3
= (int)(SWIG_As_int(obj2
));
23649 if (SWIG_arg_fail(3)) SWIG_fail
;
23652 arg4
= (int)(SWIG_As_int(obj3
));
23653 if (SWIG_arg_fail(4)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->Set(arg2
,arg3
,arg4
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (int)(arg1
)->GetFlags();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_From_int((int)(result
));
23697 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23708 if (SWIG_arg_fail(1)) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (int)(arg1
)->GetKeyCode();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_From_int((int)(result
));
23725 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (int)(arg1
)->GetCommand();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_From_int((int)(result
));
23753 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23756 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23758 return Py_BuildValue((char *)"");
23760 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23763 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23764 wxAcceleratorTable
*result
;
23765 PyObject
* obj0
= 0 ;
23766 char *kwnames
[] = {
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23772 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23773 if (arg2
) arg1
= PyList_Size(obj0
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23796 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23806 if (SWIG_arg_fail(1)) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23832 if (SWIG_arg_fail(1)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23852 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23854 return Py_BuildValue((char *)"");
23856 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23857 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23862 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23865 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23870 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxString
*arg1
= 0 ;
23873 wxAcceleratorEntry
*result
;
23874 bool temp1
= false ;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "label", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23882 arg1
= wxString_in_helper(obj0
);
23883 if (arg1
== NULL
) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
23908 static int _wrap_PanelNameStr_set(PyObject
*) {
23909 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
23914 static PyObject
*_wrap_PanelNameStr_get(void) {
23919 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
23921 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
23928 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxVisualAttributes
*result
;
23931 char *kwnames
[] = {
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
23950 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
23959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
23960 if (SWIG_arg_fail(1)) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 delete_wxVisualAttributes(arg1
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 Py_INCREF(Py_None
); resultobj
= Py_None
;
23975 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
23978 wxFont
*arg2
= (wxFont
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "font", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23989 if (SWIG_arg_fail(2)) SWIG_fail
;
23990 if (arg1
) (arg1
)->font
= *arg2
;
23992 Py_INCREF(Py_None
); resultobj
= Py_None
;
23999 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24010 if (SWIG_arg_fail(1)) SWIG_fail
;
24011 result
= (wxFont
*)& ((arg1
)->font
);
24013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24020 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24023 wxColour
*arg2
= (wxColour
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "colFg", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(1)) SWIG_fail
;
24033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24034 if (SWIG_arg_fail(2)) SWIG_fail
;
24035 if (arg1
) (arg1
)->colFg
= *arg2
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24055 if (SWIG_arg_fail(1)) SWIG_fail
;
24056 result
= (wxColour
*)& ((arg1
)->colFg
);
24058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24065 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24068 wxColour
*arg2
= (wxColour
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "colBg", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 if (arg1
) (arg1
)->colBg
= *arg2
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24100 if (SWIG_arg_fail(1)) SWIG_fail
;
24101 result
= (wxColour
*)& ((arg1
)->colBg
);
24103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24110 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24113 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24115 return Py_BuildValue((char *)"");
24117 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxWindow
*arg1
= (wxWindow
*) 0 ;
24120 int arg2
= (int) (int)-1 ;
24121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24125 long arg5
= (long) 0 ;
24126 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24131 bool temp6
= false ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 PyObject
* obj2
= 0 ;
24135 PyObject
* obj3
= 0 ;
24136 PyObject
* obj4
= 0 ;
24137 PyObject
* obj5
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(1)) SWIG_fail
;
24147 arg2
= (int const)(SWIG_As_int(obj1
));
24148 if (SWIG_arg_fail(2)) SWIG_fail
;
24154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24165 arg5
= (long)(SWIG_As_long(obj4
));
24166 if (SWIG_arg_fail(5)) SWIG_fail
;
24171 arg6
= wxString_in_helper(obj5
);
24172 if (arg6
== NULL
) SWIG_fail
;
24177 if (!wxPyCheckForApp()) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24199 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24202 char *kwnames
[] = {
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24208 if (!wxPyCheckForApp()) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxWindow
*)new wxWindow();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24222 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxWindow
*arg1
= (wxWindow
*) 0 ;
24225 wxWindow
*arg2
= (wxWindow
*) 0 ;
24226 int arg3
= (int) (int)-1 ;
24227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24231 long arg6
= (long) 0 ;
24232 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24233 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24237 bool temp7
= false ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 PyObject
* obj2
= 0 ;
24241 PyObject
* obj3
= 0 ;
24242 PyObject
* obj4
= 0 ;
24243 PyObject
* obj5
= 0 ;
24244 PyObject
* obj6
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail
;
24252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(2)) SWIG_fail
;
24256 arg3
= (int const)(SWIG_As_int(obj2
));
24257 if (SWIG_arg_fail(3)) SWIG_fail
;
24263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24274 arg6
= (long)(SWIG_As_long(obj5
));
24275 if (SWIG_arg_fail(6)) SWIG_fail
;
24280 arg7
= wxString_in_helper(obj6
);
24281 if (arg7
== NULL
) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24309 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxWindow
*arg1
= (wxWindow
*) 0 ;
24312 bool arg2
= (bool) false ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "force", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 arg2
= (bool)(SWIG_As_bool(obj1
));
24326 if (SWIG_arg_fail(2)) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (bool)(arg1
)->Close(arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24345 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
;
24347 wxWindow
*arg1
= (wxWindow
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24356 if (SWIG_arg_fail(1)) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (bool)(arg1
)->Destroy();
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24373 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxWindow
*arg1
= (wxWindow
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24384 if (SWIG_arg_fail(1)) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 result
= (bool)(arg1
)->DestroyChildren();
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24401 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24403 wxWindow
*arg1
= (wxWindow
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24429 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxWindow
*arg1
= (wxWindow
*) 0 ;
24432 wxString
*arg2
= 0 ;
24433 bool temp2
= false ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self",(char *) "title", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24442 if (SWIG_arg_fail(1)) SWIG_fail
;
24444 arg2
= wxString_in_helper(obj1
);
24445 if (arg2
== NULL
) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetTitle((wxString
const &)*arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxWindow
*arg1
= (wxWindow
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 result
= ((wxWindow
const *)arg1
)->GetTitle();
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24502 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 wxString
*arg2
= 0 ;
24506 bool temp2
= false ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "label", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 arg2
= wxString_in_helper(obj1
);
24518 if (arg2
== NULL
) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->SetLabel((wxString
const &)*arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24543 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxWindow
*arg1
= (wxWindow
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= ((wxWindow
const *)arg1
)->GetLabel();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24575 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24578 wxString
*arg2
= 0 ;
24579 bool temp2
= false ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "name", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24590 arg2
= wxString_in_helper(obj1
);
24591 if (arg2
== NULL
) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetName((wxString
const &)*arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 Py_INCREF(Py_None
); resultobj
= Py_None
;
24616 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxWindow
*arg1
= (wxWindow
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 char *kwnames
[] = {
24622 (char *) "self", NULL
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24627 if (SWIG_arg_fail(1)) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= ((wxWindow
const *)arg1
)->GetName();
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24648 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxWindow
*arg1
= (wxWindow
*) 0 ;
24651 wxWindowVariant arg2
;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "variant", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24660 if (SWIG_arg_fail(1)) SWIG_fail
;
24662 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24663 if (SWIG_arg_fail(2)) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 Py_INCREF(Py_None
); resultobj
= Py_None
;
24679 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxWindow
*arg1
= (wxWindow
*) 0 ;
24682 wxWindowVariant result
;
24683 PyObject
* obj0
= 0 ;
24684 char *kwnames
[] = {
24685 (char *) "self", NULL
24688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24690 if (SWIG_arg_fail(1)) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= SWIG_From_int((result
));
24705 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxWindow
*arg1
= (wxWindow
*) 0 ;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self",(char *) "winid", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24717 if (SWIG_arg_fail(1)) SWIG_fail
;
24719 arg2
= (int)(SWIG_As_int(obj1
));
24720 if (SWIG_arg_fail(2)) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->SetId(arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxWindow
*arg1
= (wxWindow
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24747 if (SWIG_arg_fail(1)) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (int)((wxWindow
const *)arg1
)->GetId();
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_From_int((int)(result
));
24764 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24767 char *kwnames
[] = {
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (int)wxWindow::NewControlId();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_From_int((int)(result
));
24788 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24792 PyObject
* obj0
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "winid", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24799 arg1
= (int)(SWIG_As_int(obj0
));
24800 if (SWIG_arg_fail(1)) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (int)wxWindow::NextControlId(arg1
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_From_int((int)(result
));
24818 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24822 PyObject
* obj0
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "winid", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24829 arg1
= (int)(SWIG_As_int(obj0
));
24830 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (int)wxWindow::PrevControlId(arg1
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= SWIG_From_int((int)(result
));
24848 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxWindow
*arg1
= (wxWindow
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "size", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 (arg1
)->SetSize((wxSize
const &)*arg2
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 Py_INCREF(Py_None
); resultobj
= Py_None
;
24880 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxWindow
*arg1
= (wxWindow
*) 0 ;
24887 int arg6
= (int) wxSIZE_AUTO
;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 PyObject
* obj3
= 0 ;
24892 PyObject
* obj4
= 0 ;
24893 PyObject
* obj5
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail
;
24902 arg2
= (int)(SWIG_As_int(obj1
));
24903 if (SWIG_arg_fail(2)) SWIG_fail
;
24906 arg3
= (int)(SWIG_As_int(obj2
));
24907 if (SWIG_arg_fail(3)) SWIG_fail
;
24910 arg4
= (int)(SWIG_As_int(obj3
));
24911 if (SWIG_arg_fail(4)) SWIG_fail
;
24914 arg5
= (int)(SWIG_As_int(obj4
));
24915 if (SWIG_arg_fail(5)) SWIG_fail
;
24919 arg6
= (int)(SWIG_As_int(obj5
));
24920 if (SWIG_arg_fail(6)) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxWindow
*arg1
= (wxWindow
*) 0 ;
24941 int arg3
= (int) wxSIZE_AUTO
;
24943 PyObject
* obj0
= 0 ;
24944 PyObject
* obj1
= 0 ;
24945 PyObject
* obj2
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24959 arg3
= (int)(SWIG_As_int(obj2
));
24960 if (SWIG_arg_fail(3)) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 Py_INCREF(Py_None
); resultobj
= Py_None
;
24977 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self",(char *) "width",(char *) "height", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail
;
24993 arg2
= (int)(SWIG_As_int(obj1
));
24994 if (SWIG_arg_fail(2)) SWIG_fail
;
24997 arg3
= (int)(SWIG_As_int(obj2
));
24998 if (SWIG_arg_fail(3)) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 (arg1
)->SetSize(arg2
,arg3
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 Py_INCREF(Py_None
); resultobj
= Py_None
;
25014 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxWindow
*arg1
= (wxWindow
*) 0 ;
25017 wxPoint
*arg2
= 0 ;
25018 int arg3
= (int) wxSIZE_USE_EXISTING
;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 PyObject
* obj2
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self",(char *) "pt",(char *) "flags", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25036 arg3
= (int)(SWIG_As_int(obj2
));
25037 if (SWIG_arg_fail(3)) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25054 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25059 int arg4
= (int) wxSIZE_USE_EXISTING
;
25060 PyObject
* obj0
= 0 ;
25061 PyObject
* obj1
= 0 ;
25062 PyObject
* obj2
= 0 ;
25063 PyObject
* obj3
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 arg2
= (int)(SWIG_As_int(obj1
));
25073 if (SWIG_arg_fail(2)) SWIG_fail
;
25076 arg3
= (int)(SWIG_As_int(obj2
));
25077 if (SWIG_arg_fail(3)) SWIG_fail
;
25081 arg4
= (int)(SWIG_As_int(obj3
));
25082 if (SWIG_arg_fail(4)) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 (arg1
)->Move(arg2
,arg3
,arg4
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 Py_INCREF(Py_None
); resultobj
= Py_None
;
25099 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxWindow
*arg1
= (wxWindow
*) 0 ;
25102 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25103 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "size", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25117 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxWindow
*arg1
= (wxWindow
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 Py_INCREF(Py_None
); resultobj
= Py_None
;
25159 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 Py_INCREF(Py_None
); resultobj
= Py_None
;
25184 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxWindow
*arg1
= (wxWindow
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "size", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25197 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 Py_INCREF(Py_None
); resultobj
= Py_None
;
25216 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxWindow
*arg1
= (wxWindow
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 PyObject
* obj2
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self",(char *) "width",(char *) "height", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail
;
25232 arg2
= (int)(SWIG_As_int(obj1
));
25233 if (SWIG_arg_fail(2)) SWIG_fail
;
25236 arg3
= (int)(SWIG_As_int(obj2
));
25237 if (SWIG_arg_fail(3)) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 (arg1
)->SetClientSize(arg2
,arg3
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25253 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 PyObject
* obj1
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self",(char *) "rect", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25266 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxWindow
*arg1
= (wxWindow
*) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25296 if (SWIG_arg_fail(1)) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (arg1
)->GetPosition();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 wxPoint
* resultptr
;
25306 resultptr
= new wxPoint((wxPoint
&)(result
));
25307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25315 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxWindow
*arg1
= (wxWindow
*) 0 ;
25318 int *arg2
= (int *) 0 ;
25319 int *arg3
= (int *) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25333 if (SWIG_arg_fail(1)) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->GetPosition(arg2
,arg3
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25343 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25344 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25345 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25352 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25363 if (SWIG_arg_fail(1)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= ((wxWindow
const *)arg1
)->GetSize();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 wxSize
* resultptr
;
25373 resultptr
= new wxSize((wxSize
&)(result
));
25374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25382 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25385 int *arg2
= (int *) 0 ;
25386 int *arg3
= (int *) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25400 if (SWIG_arg_fail(1)) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25410 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25412 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25419 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 char *kwnames
[] = {
25425 (char *) "self", NULL
25428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25430 if (SWIG_arg_fail(1)) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= ((wxWindow
const *)arg1
)->GetRect();
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25439 wxRect
* resultptr
;
25440 resultptr
= new wxRect((wxRect
&)(result
));
25441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25449 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxWindow
*arg1
= (wxWindow
*) 0 ;
25453 PyObject
* obj0
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 wxSize
* resultptr
;
25470 resultptr
= new wxSize((wxSize
&)(result
));
25471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25479 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 int *arg2
= (int *) 0 ;
25483 int *arg3
= (int *) 0 ;
25488 PyObject
* obj0
= 0 ;
25489 char *kwnames
[] = {
25490 (char *) "self", NULL
25493 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25494 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25497 if (SWIG_arg_fail(1)) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 Py_INCREF(Py_None
); resultobj
= Py_None
;
25506 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25507 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25508 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25509 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25516 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25520 PyObject
* obj0
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxPoint
* resultptr
;
25537 resultptr
= new wxPoint((wxPoint
&)(result
));
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25546 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxWindow
*arg1
= (wxWindow
*) 0 ;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25566 wxRect
* resultptr
;
25567 resultptr
= new wxRect((wxRect
&)(result
));
25568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25576 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxWindow
*arg1
= (wxWindow
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25587 if (SWIG_arg_fail(1)) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25596 wxSize
* resultptr
;
25597 resultptr
= new wxSize((wxSize
&)(result
));
25598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25606 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25609 int *arg2
= (int *) 0 ;
25610 int *arg3
= (int *) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self", NULL
25620 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25621 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 Py_INCREF(Py_None
); resultobj
= Py_None
;
25633 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25634 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25635 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25636 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25643 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxWindow
*arg1
= (wxWindow
*) 0 ;
25646 PyObject
* obj0
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25653 if (SWIG_arg_fail(1)) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 (arg1
)->InvalidateBestSize();
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 Py_INCREF(Py_None
); resultobj
= Py_None
;
25668 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxWindow
*arg1
= (wxWindow
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 wxSize
* resultptr
;
25689 resultptr
= new wxSize((wxSize
&)(result
));
25690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25698 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxWindow
*arg1
= (wxWindow
*) 0 ;
25702 PyObject
* obj0
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(1)) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25718 wxSize
* resultptr
;
25719 resultptr
= new wxSize((wxSize
&)(result
));
25720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25728 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxWindow
*arg1
= (wxWindow
*) 0 ;
25731 int arg2
= (int) wxBOTH
;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "direction", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 arg2
= (int)(SWIG_As_int(obj1
));
25744 if (SWIG_arg_fail(2)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 (arg1
)->Center(arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxWindow
*arg1
= (wxWindow
*) 0 ;
25764 int arg2
= (int) wxBOTH
;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self",(char *) "dir", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25773 if (SWIG_arg_fail(1)) SWIG_fail
;
25776 arg2
= (int)(SWIG_As_int(obj1
));
25777 if (SWIG_arg_fail(2)) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 (arg1
)->CenterOnScreen(arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25797 int arg2
= (int) wxBOTH
;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "dir", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail
;
25809 arg2
= (int)(SWIG_As_int(obj1
));
25810 if (SWIG_arg_fail(2)) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->CenterOnParent(arg2
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
25836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25837 if (SWIG_arg_fail(1)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 Py_INCREF(Py_None
); resultobj
= Py_None
;
25852 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxWindow
*arg1
= (wxWindow
*) 0 ;
25855 PyObject
* obj0
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25862 if (SWIG_arg_fail(1)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 (arg1
)->FitInside();
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 Py_INCREF(Py_None
); resultobj
= Py_None
;
25877 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxWindow
*arg1
= (wxWindow
*) 0 ;
25882 int arg4
= (int) -1 ;
25883 int arg5
= (int) -1 ;
25884 int arg6
= (int) -1 ;
25885 int arg7
= (int) -1 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 PyObject
* obj2
= 0 ;
25889 PyObject
* obj3
= 0 ;
25890 PyObject
* obj4
= 0 ;
25891 PyObject
* obj5
= 0 ;
25892 PyObject
* obj6
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 arg2
= (int)(SWIG_As_int(obj1
));
25902 if (SWIG_arg_fail(2)) SWIG_fail
;
25905 arg3
= (int)(SWIG_As_int(obj2
));
25906 if (SWIG_arg_fail(3)) SWIG_fail
;
25910 arg4
= (int)(SWIG_As_int(obj3
));
25911 if (SWIG_arg_fail(4)) SWIG_fail
;
25916 arg5
= (int)(SWIG_As_int(obj4
));
25917 if (SWIG_arg_fail(5)) SWIG_fail
;
25922 arg6
= (int)(SWIG_As_int(obj5
));
25923 if (SWIG_arg_fail(6)) SWIG_fail
;
25928 arg7
= (int)(SWIG_As_int(obj6
));
25929 if (SWIG_arg_fail(7)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 Py_INCREF(Py_None
); resultobj
= Py_None
;
25946 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxWindow
*arg1
= (wxWindow
*) 0 ;
25950 wxSize
const &arg3_defvalue
= wxDefaultSize
;
25951 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
25952 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25953 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 PyObject
* obj2
= 0 ;
25960 PyObject
* obj3
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail
;
25970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25975 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
25981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 int arg4
= (int) -1 ;
26004 int arg5
= (int) -1 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 PyObject
* obj3
= 0 ;
26009 PyObject
* obj4
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26016 if (SWIG_arg_fail(1)) SWIG_fail
;
26018 arg2
= (int)(SWIG_As_int(obj1
));
26019 if (SWIG_arg_fail(2)) SWIG_fail
;
26022 arg3
= (int)(SWIG_As_int(obj2
));
26023 if (SWIG_arg_fail(3)) SWIG_fail
;
26027 arg4
= (int)(SWIG_As_int(obj3
));
26028 if (SWIG_arg_fail(4)) SWIG_fail
;
26033 arg5
= (int)(SWIG_As_int(obj4
));
26034 if (SWIG_arg_fail(5)) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 Py_INCREF(Py_None
); resultobj
= Py_None
;
26051 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxWindow
*arg1
= (wxWindow
*) 0 ;
26055 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26056 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj1
= 0 ;
26061 PyObject
* obj2
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26068 if (SWIG_arg_fail(1)) SWIG_fail
;
26071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26076 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 Py_INCREF(Py_None
); resultobj
= Py_None
;
26093 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxWindow
*arg1
= (wxWindow
*) 0 ;
26097 PyObject
* obj0
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26113 wxSize
* resultptr
;
26114 resultptr
= new wxSize((wxSize
&)(result
));
26115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26123 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxWindow
*arg1
= (wxWindow
*) 0 ;
26127 PyObject
* obj0
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "self", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26134 if (SWIG_arg_fail(1)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 wxSize
* resultptr
;
26144 resultptr
= new wxSize((wxSize
&)(result
));
26145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26153 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxWindow
*arg1
= (wxWindow
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "minSize", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxWindow
*arg1
= (wxWindow
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self",(char *) "maxSize", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 Py_INCREF(Py_None
); resultobj
= Py_None
;
26217 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxWindow
*arg1
= (wxWindow
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_From_int((int)(result
));
26245 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxWindow
*arg1
= (wxWindow
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26256 if (SWIG_arg_fail(1)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_From_int((int)(result
));
26273 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxWindow
*arg1
= (wxWindow
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_From_int((int)(result
));
26301 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxWindow
*arg1
= (wxWindow
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_From_int((int)(result
));
26329 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char *kwnames
[] = {
26337 (char *) "self",(char *) "size", NULL
26340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26342 if (SWIG_arg_fail(1)) SWIG_fail
;
26345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 Py_INCREF(Py_None
); resultobj
= Py_None
;
26361 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxWindow
*arg1
= (wxWindow
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 PyObject
* obj2
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "w",(char *) "h", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26375 if (SWIG_arg_fail(1)) SWIG_fail
;
26377 arg2
= (int)(SWIG_As_int(obj1
));
26378 if (SWIG_arg_fail(2)) SWIG_fail
;
26381 arg3
= (int)(SWIG_As_int(obj2
));
26382 if (SWIG_arg_fail(3)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->SetVirtualSize(arg2
,arg3
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 Py_INCREF(Py_None
); resultobj
= Py_None
;
26398 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxWindow
*arg1
= (wxWindow
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26418 wxSize
* resultptr
;
26419 resultptr
= new wxSize((wxSize
&)(result
));
26420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26428 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxWindow
*arg1
= (wxWindow
*) 0 ;
26431 int *arg2
= (int *) 0 ;
26432 int *arg3
= (int *) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self", NULL
26442 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26443 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",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 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26456 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26457 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26458 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26465 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxWindow
*arg1
= (wxWindow
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 wxSize
* resultptr
;
26486 resultptr
= new wxSize((wxSize
&)(result
));
26487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26495 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxWindow
*arg1
= (wxWindow
*) 0 ;
26498 bool arg2
= (bool) true ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "show", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26511 arg2
= (bool)(SWIG_As_bool(obj1
));
26512 if (SWIG_arg_fail(2)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)(arg1
)->Show(arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26531 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxWindow
*arg1
= (wxWindow
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (bool)(arg1
)->Hide();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26559 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26562 bool arg2
= (bool) true ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "enable", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 arg2
= (bool)(SWIG_As_bool(obj1
));
26576 if (SWIG_arg_fail(2)) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 result
= (bool)(arg1
)->Enable(arg2
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26595 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxWindow
*arg1
= (wxWindow
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (bool)(arg1
)->Disable();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26623 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxWindow
*arg1
= (wxWindow
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26651 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxWindow
*arg1
= (wxWindow
*) 0 ;
26655 PyObject
* obj0
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26662 if (SWIG_arg_fail(1)) SWIG_fail
;
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 PyObject
* obj1
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "self",(char *) "style", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26691 if (SWIG_arg_fail(1)) SWIG_fail
;
26693 arg2
= (long)(SWIG_As_long(obj1
));
26694 if (SWIG_arg_fail(2)) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->SetWindowStyleFlag(arg2
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 Py_INCREF(Py_None
); resultobj
= Py_None
;
26710 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxWindow
*arg1
= (wxWindow
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",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 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_From_long((long)(result
));
26738 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "flag", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail
;
26753 arg2
= (int)(SWIG_As_int(obj1
));
26754 if (SWIG_arg_fail(2)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26772 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxWindow
*arg1
= (wxWindow
*) 0 ;
26776 PyObject
* obj0
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "exStyle", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26812 if (SWIG_arg_fail(1)) SWIG_fail
;
26814 arg2
= (long)(SWIG_As_long(obj1
));
26815 if (SWIG_arg_fail(2)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->SetExtraStyle(arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 Py_INCREF(Py_None
); resultobj
= Py_None
;
26831 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxWindow
*arg1
= (wxWindow
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_From_long((long)(result
));
26859 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxWindow
*arg1
= (wxWindow
*) 0 ;
26862 bool arg2
= (bool) true ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self",(char *) "modal", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail
;
26874 arg2
= (bool)(SWIG_As_bool(obj1
));
26875 if (SWIG_arg_fail(2)) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 (arg1
)->MakeModal(arg2
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 Py_INCREF(Py_None
); resultobj
= Py_None
;
26892 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxWindow
*arg1
= (wxWindow
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self",(char *) "enableTheme", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
26903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail
;
26906 arg2
= (bool)(SWIG_As_bool(obj1
));
26907 if (SWIG_arg_fail(2)) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 (arg1
)->SetThemeEnabled(arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 Py_INCREF(Py_None
); resultobj
= Py_None
;
26923 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxWindow
*arg1
= (wxWindow
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
26933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26934 if (SWIG_arg_fail(1)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26951 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxWindow
*arg1
= (wxWindow
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
26960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(1)) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 (arg1
)->SetFocus();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 Py_INCREF(Py_None
); resultobj
= Py_None
;
26976 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxWindow
*arg1
= (wxWindow
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
26985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 (arg1
)->SetFocusFromKbd();
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 Py_INCREF(Py_None
); resultobj
= Py_None
;
27001 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27004 char *kwnames
[] = {
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27010 if (!wxPyCheckForApp()) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (wxWindow
*)wxWindow::FindFocus();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= wxPyMake_wxObject(result
, 0);
27026 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxWindow
*arg1
= (wxWindow
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27054 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
;
27056 wxWindow
*arg1
= (wxWindow
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27082 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxWindow
*arg1
= (wxWindow
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27093 if (SWIG_arg_fail(1)) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= wxPyMake_wxObject(result
, 0);
27110 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
;
27112 wxWindow
*arg1
= (wxWindow
*) 0 ;
27113 wxWindow
*arg2
= (wxWindow
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "child", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27125 if (SWIG_arg_fail(2)) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= wxPyMake_wxObject(result
, 0);
27142 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxWindow
*arg1
= (wxWindow
*) 0 ;
27145 wxWindow
*arg2
= (wxWindow
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "win", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 (arg1
)->SetTmpDefaultItem(arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 Py_INCREF(Py_None
); resultobj
= Py_None
;
27171 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxWindow
*arg1
= (wxWindow
*) 0 ;
27174 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "flags", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 arg2
= (int)(SWIG_As_int(obj1
));
27188 if (SWIG_arg_fail(2)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (bool)(arg1
)->Navigate(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27207 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxWindow
*arg1
= (wxWindow
*) 0 ;
27210 wxWindow
*arg2
= (wxWindow
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "win", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->MoveAfterInTabOrder(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27236 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27239 wxWindow
*arg2
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self",(char *) "win", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(2)) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->MoveBeforeInTabOrder(arg2
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= result
;
27291 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxWindow
*arg1
= (wxWindow
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27302 if (SWIG_arg_fail(1)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= wxPyMake_wxObject(result
, 0);
27319 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxWindow
*arg1
= (wxWindow
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= wxPyMake_wxObject(result
, 0);
27347 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxWindow
*arg1
= (wxWindow
*) 0 ;
27351 PyObject
* obj0
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27358 if (SWIG_arg_fail(1)) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27375 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxWindow
*arg1
= (wxWindow
*) 0 ;
27378 wxWindow
*arg2
= (wxWindow
*) 0 ;
27380 PyObject
* obj0
= 0 ;
27381 PyObject
* obj1
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "newParent", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(1)) SWIG_fail
;
27389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27390 if (SWIG_arg_fail(2)) SWIG_fail
;
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (bool)(arg1
)->Reparent(arg2
);
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27407 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27409 wxWindow
*arg1
= (wxWindow
*) 0 ;
27410 wxWindow
*arg2
= (wxWindow
*) 0 ;
27411 PyObject
* obj0
= 0 ;
27412 PyObject
* obj1
= 0 ;
27413 char *kwnames
[] = {
27414 (char *) "self",(char *) "child", NULL
27417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail
;
27420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27421 if (SWIG_arg_fail(2)) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 (arg1
)->AddChild(arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 Py_INCREF(Py_None
); resultobj
= Py_None
;
27436 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
;
27438 wxWindow
*arg1
= (wxWindow
*) 0 ;
27439 wxWindow
*arg2
= (wxWindow
*) 0 ;
27440 PyObject
* obj0
= 0 ;
27441 PyObject
* obj1
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self",(char *) "child", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail
;
27449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27450 if (SWIG_arg_fail(2)) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 (arg1
)->RemoveChild(arg2
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 Py_INCREF(Py_None
); resultobj
= Py_None
;
27465 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 PyObject
* obj1
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self",(char *) "winid", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27478 if (SWIG_arg_fail(1)) SWIG_fail
;
27480 arg2
= (long)(SWIG_As_long(obj1
));
27481 if (SWIG_arg_fail(2)) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= wxPyMake_wxObject(result
, 0);
27499 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27502 wxString
*arg2
= 0 ;
27504 bool temp2
= false ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "name", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 arg2
= wxString_in_helper(obj1
);
27516 if (arg2
== NULL
) SWIG_fail
;
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 resultobj
= wxPyMake_wxObject(result
, 0);
27543 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxWindow
*arg1
= (wxWindow
*) 0 ;
27546 wxEvtHandler
*result
;
27547 PyObject
* obj0
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= wxPyMake_wxObject(result
, 0);
27571 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxWindow
*arg1
= (wxWindow
*) 0 ;
27574 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "handler", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27583 if (SWIG_arg_fail(1)) SWIG_fail
;
27584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27585 if (SWIG_arg_fail(2)) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->SetEventHandler(arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxWindow
*arg1
= (wxWindow
*) 0 ;
27603 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "handler", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(2)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->PushEventHandler(arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxWindow
*arg1
= (wxWindow
*) 0 ;
27632 bool arg2
= (bool) false ;
27633 wxEvtHandler
*result
;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "deleteHandler", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27642 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 arg2
= (bool)(SWIG_As_bool(obj1
));
27646 if (SWIG_arg_fail(2)) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= wxPyMake_wxObject(result
, 0);
27665 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxWindow
*arg1
= (wxWindow
*) 0 ;
27668 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "handler", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27680 if (SWIG_arg_fail(2)) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27697 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27700 wxValidator
*arg2
= 0 ;
27701 PyObject
* obj0
= 0 ;
27702 PyObject
* obj1
= 0 ;
27703 char *kwnames
[] = {
27704 (char *) "self",(char *) "validator", NULL
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27709 if (SWIG_arg_fail(1)) SWIG_fail
;
27711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27712 if (SWIG_arg_fail(2)) SWIG_fail
;
27713 if (arg2
== NULL
) {
27714 SWIG_null_ref("wxValidator");
27716 if (SWIG_arg_fail(2)) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 Py_INCREF(Py_None
); resultobj
= Py_None
;
27732 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 wxWindow
*arg1
= (wxWindow
*) 0 ;
27735 wxValidator
*result
;
27736 PyObject
* obj0
= 0 ;
27737 char *kwnames
[] = {
27738 (char *) "self", NULL
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27743 if (SWIG_arg_fail(1)) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (wxValidator
*)(arg1
)->GetValidator();
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= wxPyMake_wxObject(result
, 0);
27760 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 result
= (bool)(arg1
)->Validate();
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27788 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxWindow
*arg1
= (wxWindow
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= (bool)(arg1
)->TransferDataToWindow();
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27816 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
;
27818 wxWindow
*arg1
= (wxWindow
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(1)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (bool)(arg1
)->TransferDataFromWindow();
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27844 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxWindow
*arg1
= (wxWindow
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27854 if (SWIG_arg_fail(1)) SWIG_fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->InitDialog();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 Py_INCREF(Py_None
); resultobj
= Py_None
;
27869 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxWindow
*arg1
= (wxWindow
*) 0 ;
27872 wxAcceleratorTable
*arg2
= 0 ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self",(char *) "accel", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27881 if (SWIG_arg_fail(1)) SWIG_fail
;
27883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27884 if (SWIG_arg_fail(2)) SWIG_fail
;
27885 if (arg2
== NULL
) {
27886 SWIG_null_ref("wxAcceleratorTable");
27888 if (SWIG_arg_fail(2)) SWIG_fail
;
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 Py_INCREF(Py_None
); resultobj
= Py_None
;
27904 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxWindow
*arg1
= (wxWindow
*) 0 ;
27907 wxAcceleratorTable
*result
;
27908 PyObject
* obj0
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
27914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27915 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
27930 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 wxWindow
*arg1
= (wxWindow
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 PyObject
* obj2
= 0 ;
27940 PyObject
* obj3
= 0 ;
27941 char *kwnames
[] = {
27942 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
27945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27947 if (SWIG_arg_fail(1)) SWIG_fail
;
27949 arg2
= (int)(SWIG_As_int(obj1
));
27950 if (SWIG_arg_fail(2)) SWIG_fail
;
27953 arg3
= (int)(SWIG_As_int(obj2
));
27954 if (SWIG_arg_fail(3)) SWIG_fail
;
27957 arg4
= (int)(SWIG_As_int(obj3
));
27958 if (SWIG_arg_fail(4)) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "hotkeyId", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
27988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail
;
27991 arg2
= (int)(SWIG_As_int(obj1
));
27992 if (SWIG_arg_fail(2)) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28010 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxWindow
*arg1
= (wxWindow
*) 0 ;
28013 wxPoint
*arg2
= 0 ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 char *kwnames
[] = {
28019 (char *) "self",(char *) "pt", NULL
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28024 if (SWIG_arg_fail(1)) SWIG_fail
;
28027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 wxPoint
* resultptr
;
28038 resultptr
= new wxPoint((wxPoint
&)(result
));
28039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28047 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxWindow
*arg1
= (wxWindow
*) 0 ;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self",(char *) "sz", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28061 if (SWIG_arg_fail(1)) SWIG_fail
;
28064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28074 wxSize
* resultptr
;
28075 resultptr
= new wxSize((wxSize
&)(result
));
28076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28084 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxWindow
*arg1
= (wxWindow
*) 0 ;
28087 wxPoint
*arg2
= 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "pt", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 wxPoint
* resultptr
;
28112 resultptr
= new wxPoint((wxPoint
&)(result
));
28113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28121 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxWindow
*arg1
= (wxWindow
*) 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self",(char *) "sz", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28135 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 wxSize
* resultptr
;
28149 resultptr
= new wxSize((wxSize
&)(result
));
28150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28158 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxWindow
*arg1
= (wxWindow
*) 0 ;
28161 wxPoint
*arg2
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "pt", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28172 if (SWIG_arg_fail(1)) SWIG_fail
;
28175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 wxPoint
* resultptr
;
28186 resultptr
= new wxPoint((wxPoint
&)(result
));
28187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28195 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
;
28197 wxWindow
*arg1
= (wxWindow
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self",(char *) "sz", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28209 if (SWIG_arg_fail(1)) SWIG_fail
;
28212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 wxSize
* resultptr
;
28223 resultptr
= new wxSize((wxSize
&)(result
));
28224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28232 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxWindow
*arg1
= (wxWindow
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 PyObject
* obj2
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "x",(char *) "y", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28246 if (SWIG_arg_fail(1)) SWIG_fail
;
28248 arg2
= (int)(SWIG_As_int(obj1
));
28249 if (SWIG_arg_fail(2)) SWIG_fail
;
28252 arg3
= (int)(SWIG_As_int(obj2
));
28253 if (SWIG_arg_fail(3)) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->WarpPointer(arg2
,arg3
);
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 Py_INCREF(Py_None
); resultobj
= Py_None
;
28269 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
;
28271 wxWindow
*arg1
= (wxWindow
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28279 if (SWIG_arg_fail(1)) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 (arg1
)->CaptureMouse();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 Py_INCREF(Py_None
); resultobj
= Py_None
;
28294 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxWindow
*arg1
= (wxWindow
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28304 if (SWIG_arg_fail(1)) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 (arg1
)->ReleaseMouse();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28312 Py_INCREF(Py_None
); resultobj
= Py_None
;
28319 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28322 char *kwnames
[] = {
28326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28328 if (!wxPyCheckForApp()) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 result
= (wxWindow
*)wxWindow::GetCapture();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= wxPyMake_wxObject(result
, 0);
28344 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxWindow
*arg1
= (wxWindow
*) 0 ;
28348 PyObject
* obj0
= 0 ;
28349 char *kwnames
[] = {
28350 (char *) "self", NULL
28353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28355 if (SWIG_arg_fail(1)) SWIG_fail
;
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28372 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
;
28374 wxWindow
*arg1
= (wxWindow
*) 0 ;
28375 bool arg2
= (bool) true ;
28376 wxRect
*arg3
= (wxRect
*) NULL
;
28377 PyObject
* obj0
= 0 ;
28378 PyObject
* obj1
= 0 ;
28379 PyObject
* obj2
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28386 if (SWIG_arg_fail(1)) SWIG_fail
;
28389 arg2
= (bool)(SWIG_As_bool(obj1
));
28390 if (SWIG_arg_fail(2)) SWIG_fail
;
28394 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28395 if (SWIG_arg_fail(3)) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 Py_INCREF(Py_None
); resultobj
= Py_None
;
28411 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxWindow
*arg1
= (wxWindow
*) 0 ;
28415 bool arg3
= (bool) true ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 PyObject
* obj2
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28429 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28433 arg3
= (bool)(SWIG_As_bool(obj2
));
28434 if (SWIG_arg_fail(3)) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28444 Py_INCREF(Py_None
); resultobj
= Py_None
;
28451 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxWindow
*arg1
= (wxWindow
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28461 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 Py_INCREF(Py_None
); resultobj
= Py_None
;
28476 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxWindow
*arg1
= (wxWindow
*) 0 ;
28479 PyObject
* obj0
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28486 if (SWIG_arg_fail(1)) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->ClearBackground();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 Py_INCREF(Py_None
); resultobj
= Py_None
;
28501 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxWindow
*arg1
= (wxWindow
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28511 if (SWIG_arg_fail(1)) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 Py_INCREF(Py_None
); resultobj
= Py_None
;
28526 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxWindow
*arg1
= (wxWindow
*) 0 ;
28529 PyObject
* obj0
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28536 if (SWIG_arg_fail(1)) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 Py_INCREF(Py_None
); resultobj
= Py_None
;
28551 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxWindow
*arg1
= (wxWindow
*) 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self",(char *) "dc", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(1)) SWIG_fail
;
28565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28566 if (SWIG_arg_fail(2)) SWIG_fail
;
28567 if (arg2
== NULL
) {
28568 SWIG_null_ref("wxDC");
28570 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->PrepareDC(*arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 Py_INCREF(Py_None
); resultobj
= Py_None
;
28586 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxWindow
*arg1
= (wxWindow
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28602 result
= (wxRegion
*) &_result_ref
;
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28615 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 PyObject
* obj0
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 wxRect
* resultptr
;
28636 resultptr
= new wxRect((wxRect
&)(result
));
28637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28645 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxWindow
*arg1
= (wxWindow
*) 0 ;
28650 int arg4
= (int) 1 ;
28651 int arg5
= (int) 1 ;
28653 PyObject
* obj0
= 0 ;
28654 PyObject
* obj1
= 0 ;
28655 PyObject
* obj2
= 0 ;
28656 PyObject
* obj3
= 0 ;
28657 PyObject
* obj4
= 0 ;
28658 char *kwnames
[] = {
28659 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28664 if (SWIG_arg_fail(1)) SWIG_fail
;
28666 arg2
= (int)(SWIG_As_int(obj1
));
28667 if (SWIG_arg_fail(2)) SWIG_fail
;
28670 arg3
= (int)(SWIG_As_int(obj2
));
28671 if (SWIG_arg_fail(3)) SWIG_fail
;
28675 arg4
= (int)(SWIG_As_int(obj3
));
28676 if (SWIG_arg_fail(4)) SWIG_fail
;
28681 arg5
= (int)(SWIG_As_int(obj4
));
28682 if (SWIG_arg_fail(5)) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28701 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28703 wxWindow
*arg1
= (wxWindow
*) 0 ;
28704 wxPoint
*arg2
= 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self",(char *) "pt", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28715 if (SWIG_arg_fail(1)) SWIG_fail
;
28718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28736 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28742 PyObject
* obj0
= 0 ;
28743 PyObject
* obj1
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self",(char *) "rect", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28753 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28771 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxWindow
*arg1
= (wxWindow
*) 0 ;
28774 wxVisualAttributes result
;
28775 PyObject
* obj0
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28782 if (SWIG_arg_fail(1)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28791 wxVisualAttributes
* resultptr
;
28792 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28801 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28804 wxVisualAttributes result
;
28805 PyObject
* obj0
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "variant", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28813 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28818 if (!wxPyCheckForApp()) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28826 wxVisualAttributes
* resultptr
;
28827 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28836 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxWindow
*arg1
= (wxWindow
*) 0 ;
28839 wxColour
*arg2
= 0 ;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self",(char *) "colour", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28850 if (SWIG_arg_fail(1)) SWIG_fail
;
28853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28871 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxWindow
*arg1
= (wxWindow
*) 0 ;
28874 wxColour
*arg2
= 0 ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 char *kwnames
[] = {
28879 (char *) "self",(char *) "colour", NULL
28882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28884 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 Py_INCREF(Py_None
); resultobj
= Py_None
;
28903 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxWindow
*arg1
= (wxWindow
*) 0 ;
28906 wxColour
*arg2
= 0 ;
28909 PyObject
* obj0
= 0 ;
28910 PyObject
* obj1
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self",(char *) "colour", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28938 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxWindow
*arg1
= (wxWindow
*) 0 ;
28941 wxColour
*arg2
= 0 ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self",(char *) "colour", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28951 if (SWIG_arg_fail(1)) SWIG_fail
;
28954 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 Py_INCREF(Py_None
); resultobj
= Py_None
;
28970 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxWindow
*arg1
= (wxWindow
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28981 if (SWIG_arg_fail(1)) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 wxColour
* resultptr
;
28991 resultptr
= new wxColour((wxColour
&)(result
));
28992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29000 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxWindow
*arg1
= (wxWindow
*) 0 ;
29004 PyObject
* obj0
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29011 if (SWIG_arg_fail(1)) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29020 wxColour
* resultptr
;
29021 resultptr
= new wxColour((wxColour
&)(result
));
29022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29030 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxWindow
*arg1
= (wxWindow
*) 0 ;
29033 wxBackgroundStyle arg2
;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self",(char *) "style", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29043 if (SWIG_arg_fail(1)) SWIG_fail
;
29045 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29046 if (SWIG_arg_fail(2)) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29064 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxWindow
*arg1
= (wxWindow
*) 0 ;
29067 wxBackgroundStyle result
;
29068 PyObject
* obj0
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29075 if (SWIG_arg_fail(1)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= SWIG_From_int((result
));
29090 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxWindow
*arg1
= (wxWindow
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (bool)(arg1
)->HasTransparentBackground();
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29118 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
;
29120 wxWindow
*arg1
= (wxWindow
*) 0 ;
29121 wxCursor
*arg2
= 0 ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self",(char *) "cursor", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29131 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(2)) SWIG_fail
;
29135 if (arg2
== NULL
) {
29136 SWIG_null_ref("wxCursor");
29138 if (SWIG_arg_fail(2)) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29156 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxWindow
*arg1
= (wxWindow
*) 0 ;
29160 PyObject
* obj0
= 0 ;
29161 char *kwnames
[] = {
29162 (char *) "self", NULL
29165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29167 if (SWIG_arg_fail(1)) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (arg1
)->GetCursor();
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29176 wxCursor
* resultptr
;
29177 resultptr
= new wxCursor((wxCursor
&)(result
));
29178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29186 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxWindow
*arg1
= (wxWindow
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 char *kwnames
[] = {
29194 (char *) "self",(char *) "font", NULL
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29199 if (SWIG_arg_fail(1)) SWIG_fail
;
29201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29202 if (SWIG_arg_fail(2)) SWIG_fail
;
29203 if (arg2
== NULL
) {
29204 SWIG_null_ref("wxFont");
29206 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29212 wxPyEndAllowThreads(__tstate
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29224 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
;
29226 wxWindow
*arg1
= (wxWindow
*) 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 char *kwnames
[] = {
29231 (char *) "self",(char *) "font", NULL
29234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29236 if (SWIG_arg_fail(1)) SWIG_fail
;
29238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29239 if (SWIG_arg_fail(2)) SWIG_fail
;
29240 if (arg2
== NULL
) {
29241 SWIG_null_ref("wxFont");
29243 if (SWIG_arg_fail(2)) SWIG_fail
;
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29249 wxPyEndAllowThreads(__tstate
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 Py_INCREF(Py_None
); resultobj
= Py_None
;
29259 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29260 PyObject
*resultobj
;
29261 wxWindow
*arg1
= (wxWindow
*) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (arg1
)->GetFont();
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 wxFont
* resultptr
;
29280 resultptr
= new wxFont((wxFont
&)(result
));
29281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29289 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxWindow
*arg1
= (wxWindow
*) 0 ;
29292 wxCaret
*arg2
= (wxCaret
*) 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self",(char *) "caret", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(1)) SWIG_fail
;
29302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(2)) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->SetCaret(arg2
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 Py_INCREF(Py_None
); resultobj
= Py_None
;
29318 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxWindow
*arg1
= (wxWindow
*) 0 ;
29322 PyObject
* obj0
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29329 if (SWIG_arg_fail(1)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29344 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxWindow
*arg1
= (wxWindow
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29355 if (SWIG_arg_fail(1)) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_From_int((int)(result
));
29372 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxWindow
*arg1
= (wxWindow
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29383 if (SWIG_arg_fail(1)) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_From_int((int)(result
));
29400 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxWindow
*arg1
= (wxWindow
*) 0 ;
29403 wxString
*arg2
= 0 ;
29404 int *arg3
= (int *) 0 ;
29405 int *arg4
= (int *) 0 ;
29406 bool temp2
= false ;
29411 PyObject
* obj0
= 0 ;
29412 PyObject
* obj1
= 0 ;
29413 char *kwnames
[] = {
29414 (char *) "self",(char *) "string", NULL
29417 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29418 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29421 if (SWIG_arg_fail(1)) SWIG_fail
;
29423 arg2
= wxString_in_helper(obj1
);
29424 if (arg2
== NULL
) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 Py_INCREF(Py_None
); resultobj
= Py_None
;
29435 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29436 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29437 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29438 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29453 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxWindow
*arg1
= (wxWindow
*) 0 ;
29456 wxString
*arg2
= 0 ;
29457 int *arg3
= (int *) 0 ;
29458 int *arg4
= (int *) 0 ;
29459 int *arg5
= (int *) 0 ;
29460 int *arg6
= (int *) 0 ;
29461 wxFont
*arg7
= (wxFont
*) NULL
;
29462 bool temp2
= false ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 char *kwnames
[] = {
29475 (char *) "self",(char *) "string",(char *) "font", NULL
29478 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29479 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29480 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29481 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29484 if (SWIG_arg_fail(1)) SWIG_fail
;
29486 arg2
= wxString_in_helper(obj1
);
29487 if (arg2
== NULL
) SWIG_fail
;
29491 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29492 if (SWIG_arg_fail(7)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 Py_INCREF(Py_None
); resultobj
= Py_None
;
29502 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29503 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29504 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29505 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29506 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29507 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29508 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29509 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29524 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxWindow
*arg1
= (wxWindow
*) 0 ;
29527 int *arg2
= (int *) 0 ;
29528 int *arg3
= (int *) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "x",(char *) "y", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29544 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29545 temp2
= SWIG_As_int(obj1
);
29546 if (SWIG_arg_fail(2)) SWIG_fail
;
29548 res2
= SWIG_NEWOBJ
;
29552 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29553 temp3
= SWIG_As_int(obj2
);
29554 if (SWIG_arg_fail(3)) SWIG_fail
;
29556 res3
= SWIG_NEWOBJ
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29566 Py_INCREF(Py_None
); resultobj
= Py_None
;
29567 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29568 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29569 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29570 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29577 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxWindow
*arg1
= (wxWindow
*) 0 ;
29580 int *arg2
= (int *) 0 ;
29581 int *arg3
= (int *) 0 ;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "x",(char *) "y", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29598 temp2
= SWIG_As_int(obj1
);
29599 if (SWIG_arg_fail(2)) SWIG_fail
;
29601 res2
= SWIG_NEWOBJ
;
29605 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29606 temp3
= SWIG_As_int(obj2
);
29607 if (SWIG_arg_fail(3)) SWIG_fail
;
29609 res3
= SWIG_NEWOBJ
;
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 Py_INCREF(Py_None
); resultobj
= Py_None
;
29620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29630 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxWindow
*arg1
= (wxWindow
*) 0 ;
29633 wxPoint
*arg2
= 0 ;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "self",(char *) "pt", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(1)) SWIG_fail
;
29647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 wxPoint
* resultptr
;
29658 resultptr
= new wxPoint((wxPoint
&)(result
));
29659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29667 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxWindow
*arg1
= (wxWindow
*) 0 ;
29670 wxPoint
*arg2
= 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char *kwnames
[] = {
29676 (char *) "self",(char *) "pt", NULL
29679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29681 if (SWIG_arg_fail(1)) SWIG_fail
;
29684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 wxPoint
* resultptr
;
29695 resultptr
= new wxPoint((wxPoint
&)(result
));
29696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29704 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxWindow
*arg1
= (wxWindow
*) 0 ;
29710 PyObject
* obj0
= 0 ;
29711 PyObject
* obj1
= 0 ;
29712 PyObject
* obj2
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "x",(char *) "y", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29719 if (SWIG_arg_fail(1)) SWIG_fail
;
29721 arg2
= (int)(SWIG_As_int(obj1
));
29722 if (SWIG_arg_fail(2)) SWIG_fail
;
29725 arg3
= (int)(SWIG_As_int(obj2
));
29726 if (SWIG_arg_fail(3)) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_From_int((result
));
29742 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxWindow
*arg1
= (wxWindow
*) 0 ;
29745 wxPoint
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "pt", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail
;
29759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= SWIG_From_int((result
));
29775 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29776 PyObject
*resultobj
;
29777 wxWindow
*arg1
= (wxWindow
*) 0 ;
29780 PyObject
* obj0
= 0 ;
29781 PyObject
* obj1
= 0 ;
29783 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29785 if (SWIG_arg_fail(1)) SWIG_fail
;
29787 arg2
= (long)(SWIG_As_long(obj1
));
29788 if (SWIG_arg_fail(2)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_From_int((result
));
29804 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29805 PyObject
*resultobj
;
29806 wxWindow
*arg1
= (wxWindow
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29810 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_From_int((result
));
29827 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29832 argc
= PyObject_Length(args
);
29833 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29834 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29848 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29855 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29863 _v
= SWIG_Check_long(argv
[1]);
29865 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29870 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29875 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxWindow
*arg1
= (wxWindow
*) 0 ;
29878 long arg2
= (long) wxUPDATE_UI_NONE
;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "flags", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29887 if (SWIG_arg_fail(1)) SWIG_fail
;
29890 arg2
= (long)(SWIG_As_long(obj1
));
29891 if (SWIG_arg_fail(2)) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->UpdateWindowUI(arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 Py_INCREF(Py_None
); resultobj
= Py_None
;
29908 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxWindow
*arg1
= (wxWindow
*) 0 ;
29911 wxMenu
*arg2
= (wxMenu
*) 0 ;
29912 int arg3
= (int) -1 ;
29913 int arg4
= (int) -1 ;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 PyObject
* obj3
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail
;
29926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(2)) SWIG_fail
;
29930 arg3
= (int)(SWIG_As_int(obj2
));
29931 if (SWIG_arg_fail(3)) SWIG_fail
;
29936 arg4
= (int)(SWIG_As_int(obj3
));
29937 if (SWIG_arg_fail(4)) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29956 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxWindow
*arg1
= (wxWindow
*) 0 ;
29959 wxMenu
*arg2
= (wxMenu
*) 0 ;
29960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29964 PyObject
* obj0
= 0 ;
29965 PyObject
* obj1
= 0 ;
29966 PyObject
* obj2
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self",(char *) "menu",(char *) "pos", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29973 if (SWIG_arg_fail(1)) SWIG_fail
;
29974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29975 if (SWIG_arg_fail(2)) SWIG_fail
;
29979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29998 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxWindow
*arg1
= (wxWindow
*) 0 ;
30002 PyObject
* obj0
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(1)) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= (long)wxWindow_GetHandle(arg1
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_From_long((long)(result
));
30026 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxWindow
*arg1
= (wxWindow
*) 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "self",(char *) "handle", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30038 if (SWIG_arg_fail(1)) SWIG_fail
;
30040 arg2
= (long)(SWIG_As_long(obj1
));
30041 if (SWIG_arg_fail(2)) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 wxWindow_AssociateHandle(arg1
,arg2
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 Py_INCREF(Py_None
); resultobj
= Py_None
;
30057 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
;
30059 wxWindow
*arg1
= (wxWindow
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30067 if (SWIG_arg_fail(1)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 (arg1
)->DissociateHandle();
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 Py_INCREF(Py_None
); resultobj
= Py_None
;
30082 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxWindow
*arg1
= (wxWindow
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "orient", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(1)) SWIG_fail
;
30097 arg2
= (int)(SWIG_As_int(obj1
));
30098 if (SWIG_arg_fail(2)) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30116 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
;
30118 wxWindow
*arg1
= (wxWindow
*) 0 ;
30123 bool arg6
= (bool) true ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 PyObject
* obj3
= 0 ;
30128 PyObject
* obj4
= 0 ;
30129 PyObject
* obj5
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail
;
30138 arg2
= (int)(SWIG_As_int(obj1
));
30139 if (SWIG_arg_fail(2)) SWIG_fail
;
30142 arg3
= (int)(SWIG_As_int(obj2
));
30143 if (SWIG_arg_fail(3)) SWIG_fail
;
30146 arg4
= (int)(SWIG_As_int(obj3
));
30147 if (SWIG_arg_fail(4)) SWIG_fail
;
30150 arg5
= (int)(SWIG_As_int(obj4
));
30151 if (SWIG_arg_fail(5)) SWIG_fail
;
30155 arg6
= (bool)(SWIG_As_bool(obj5
));
30156 if (SWIG_arg_fail(6)) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 Py_INCREF(Py_None
); resultobj
= Py_None
;
30173 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxWindow
*arg1
= (wxWindow
*) 0 ;
30178 bool arg4
= (bool) true ;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 PyObject
* obj2
= 0 ;
30182 PyObject
* obj3
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(1)) SWIG_fail
;
30191 arg2
= (int)(SWIG_As_int(obj1
));
30192 if (SWIG_arg_fail(2)) SWIG_fail
;
30195 arg3
= (int)(SWIG_As_int(obj2
));
30196 if (SWIG_arg_fail(3)) SWIG_fail
;
30200 arg4
= (bool)(SWIG_As_bool(obj3
));
30201 if (SWIG_arg_fail(4)) SWIG_fail
;
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 Py_INCREF(Py_None
); resultobj
= Py_None
;
30218 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
;
30220 wxWindow
*arg1
= (wxWindow
*) 0 ;
30223 PyObject
* obj0
= 0 ;
30224 PyObject
* obj1
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "orientation", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30231 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 arg2
= (int)(SWIG_As_int(obj1
));
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_From_int((int)(result
));
30252 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxWindow
*arg1
= (wxWindow
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 char *kwnames
[] = {
30260 (char *) "self",(char *) "orientation", NULL
30263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(1)) SWIG_fail
;
30267 arg2
= (int)(SWIG_As_int(obj1
));
30268 if (SWIG_arg_fail(2)) SWIG_fail
;
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_From_int((int)(result
));
30286 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
;
30288 wxWindow
*arg1
= (wxWindow
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "orientation", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 arg2
= (int)(SWIG_As_int(obj1
));
30302 if (SWIG_arg_fail(2)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= SWIG_From_int((int)(result
));
30320 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxWindow
*arg1
= (wxWindow
*) 0 ;
30325 wxRect
*arg4
= (wxRect
*) NULL
;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 PyObject
* obj3
= 0 ;
30330 char *kwnames
[] = {
30331 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
= (int)(SWIG_As_int(obj1
));
30339 if (SWIG_arg_fail(2)) SWIG_fail
;
30342 arg3
= (int)(SWIG_As_int(obj2
));
30343 if (SWIG_arg_fail(3)) SWIG_fail
;
30346 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30347 if (SWIG_arg_fail(4)) SWIG_fail
;
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 Py_INCREF(Py_None
); resultobj
= Py_None
;
30363 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
;
30365 wxWindow
*arg1
= (wxWindow
*) 0 ;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "lines", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30376 if (SWIG_arg_fail(1)) SWIG_fail
;
30378 arg2
= (int)(SWIG_As_int(obj1
));
30379 if (SWIG_arg_fail(2)) SWIG_fail
;
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (bool)(arg1
)->ScrollLines(arg2
);
30385 wxPyEndAllowThreads(__tstate
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30397 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxWindow
*arg1
= (wxWindow
*) 0 ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 char *kwnames
[] = {
30405 (char *) "self",(char *) "pages", NULL
30408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30410 if (SWIG_arg_fail(1)) SWIG_fail
;
30412 arg2
= (int)(SWIG_As_int(obj1
));
30413 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 result
= (bool)(arg1
)->ScrollPages(arg2
);
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30431 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxWindow
*arg1
= (wxWindow
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30442 if (SWIG_arg_fail(1)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (bool)(arg1
)->LineUp();
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30459 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxWindow
*arg1
= (wxWindow
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= (bool)(arg1
)->LineDown();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30487 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxWindow
*arg1
= (wxWindow
*) 0 ;
30491 PyObject
* obj0
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(1)) SWIG_fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (bool)(arg1
)->PageUp();
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30515 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxWindow
*arg1
= (wxWindow
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(1)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (bool)(arg1
)->PageDown();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30543 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxWindow
*arg1
= (wxWindow
*) 0 ;
30546 wxString
*arg2
= 0 ;
30547 bool temp2
= false ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "text", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30556 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 arg2
= wxString_in_helper(obj1
);
30559 if (arg2
== NULL
) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 Py_INCREF(Py_None
); resultobj
= Py_None
;
30584 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
;
30586 wxWindow
*arg1
= (wxWindow
*) 0 ;
30587 wxString
*arg2
= 0 ;
30588 bool temp2
= false ;
30589 PyObject
* obj0
= 0 ;
30590 PyObject
* obj1
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self",(char *) "text", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 arg2
= wxString_in_helper(obj1
);
30600 if (arg2
== NULL
) SWIG_fail
;
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30627 wxWindow
*arg1
= (wxWindow
*) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 char *kwnames
[] = {
30631 (char *) "self", NULL
30634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30636 if (SWIG_arg_fail(1)) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30657 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxWindow
*arg1
= (wxWindow
*) 0 ;
30660 wxString
*arg2
= 0 ;
30661 bool temp2
= false ;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 char *kwnames
[] = {
30665 (char *) "self",(char *) "tip", NULL
30668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 arg2
= wxString_in_helper(obj1
);
30673 if (arg2
== NULL
) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 Py_INCREF(Py_None
); resultobj
= Py_None
;
30698 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
;
30700 wxWindow
*arg1
= (wxWindow
*) 0 ;
30701 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self",(char *) "tip", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30710 if (SWIG_arg_fail(1)) SWIG_fail
;
30711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30712 if (SWIG_arg_fail(2)) SWIG_fail
;
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 (arg1
)->SetToolTip(arg2
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 Py_INCREF(Py_None
); resultobj
= Py_None
;
30727 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
;
30729 wxWindow
*arg1
= (wxWindow
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "self", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30738 if (SWIG_arg_fail(1)) SWIG_fail
;
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= wxPyMake_wxObject(result
, 0);
30755 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxWindow
*arg1
= (wxWindow
*) 0 ;
30758 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char *kwnames
[] = {
30762 (char *) "self",(char *) "dropTarget", NULL
30765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30767 if (SWIG_arg_fail(1)) SWIG_fail
;
30768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30769 if (SWIG_arg_fail(2)) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 (arg1
)->SetDropTarget(arg2
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 Py_INCREF(Py_None
); resultobj
= Py_None
;
30784 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
;
30786 wxWindow
*arg1
= (wxWindow
*) 0 ;
30787 wxPyDropTarget
*result
;
30788 PyObject
* obj0
= 0 ;
30789 char *kwnames
[] = {
30790 (char *) "self", NULL
30793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30795 if (SWIG_arg_fail(1)) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30810 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
;
30812 wxWindow
*arg1
= (wxWindow
*) 0 ;
30813 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self",(char *) "constraints", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail
;
30823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 (arg1
)->SetConstraints(arg2
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 Py_INCREF(Py_None
); resultobj
= Py_None
;
30839 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxWindow
*arg1
= (wxWindow
*) 0 ;
30842 wxLayoutConstraints
*result
;
30843 PyObject
* obj0
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30865 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxWindow
*arg1
= (wxWindow
*) 0 ;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "autoLayout", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
30876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail
;
30879 arg2
= (bool)(SWIG_As_bool(obj1
));
30880 if (SWIG_arg_fail(2)) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 (arg1
)->SetAutoLayout(arg2
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 Py_INCREF(Py_None
); resultobj
= Py_None
;
30896 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxWindow
*arg1
= (wxWindow
*) 0 ;
30900 PyObject
* obj0
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
30906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30907 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30924 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxWindow
*arg1
= (wxWindow
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
30934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30935 if (SWIG_arg_fail(1)) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (bool)(arg1
)->Layout();
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30952 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxWindow
*arg1
= (wxWindow
*) 0 ;
30955 wxSizer
*arg2
= (wxSizer
*) 0 ;
30956 bool arg3
= (bool) true ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 PyObject
* obj2
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30966 if (SWIG_arg_fail(1)) SWIG_fail
;
30967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
30968 if (SWIG_arg_fail(2)) SWIG_fail
;
30971 arg3
= (bool)(SWIG_As_bool(obj2
));
30972 if (SWIG_arg_fail(3)) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 (arg1
)->SetSizer(arg2
,arg3
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxWindow
*arg1
= (wxWindow
*) 0 ;
30992 wxSizer
*arg2
= (wxSizer
*) 0 ;
30993 bool arg3
= (bool) true ;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 PyObject
* obj2
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31003 if (SWIG_arg_fail(1)) SWIG_fail
;
31004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31005 if (SWIG_arg_fail(2)) SWIG_fail
;
31008 arg3
= (bool)(SWIG_As_bool(obj2
));
31009 if (SWIG_arg_fail(3)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 Py_INCREF(Py_None
); resultobj
= Py_None
;
31026 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
;
31028 wxWindow
*arg1
= (wxWindow
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= wxPyMake_wxSizer(result
, 0);
31054 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
;
31056 wxWindow
*arg1
= (wxWindow
*) 0 ;
31057 wxSizer
*arg2
= (wxSizer
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "sizer", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31066 if (SWIG_arg_fail(1)) SWIG_fail
;
31067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31068 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->SetContainingSizer(arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxWindow
*arg1
= (wxWindow
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= wxPyMake_wxSizer(result
, 0);
31111 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
;
31113 wxWindow
*arg1
= (wxWindow
*) 0 ;
31114 PyObject
* obj0
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31121 if (SWIG_arg_fail(1)) SWIG_fail
;
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31124 (arg1
)->InheritAttributes();
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 Py_INCREF(Py_None
); resultobj
= Py_None
;
31136 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
;
31138 wxWindow
*arg1
= (wxWindow
*) 0 ;
31140 PyObject
* obj0
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31147 if (SWIG_arg_fail(1)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31164 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31167 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31169 return Py_BuildValue((char *)"");
31171 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31174 wxWindow
*arg2
= (wxWindow
*) NULL
;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "id",(char *) "parent", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31184 arg1
= (long)(SWIG_As_long(obj0
));
31185 if (SWIG_arg_fail(1)) SWIG_fail
;
31188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31189 if (SWIG_arg_fail(2)) SWIG_fail
;
31192 if (!wxPyCheckForApp()) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= wxPyMake_wxObject(result
, 0);
31208 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxString
*arg1
= 0 ;
31211 wxWindow
*arg2
= (wxWindow
*) NULL
;
31213 bool temp1
= false ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "name",(char *) "parent", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31222 arg1
= wxString_in_helper(obj0
);
31223 if (arg1
== NULL
) SWIG_fail
;
31227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31228 if (SWIG_arg_fail(2)) SWIG_fail
;
31231 if (!wxPyCheckForApp()) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= wxPyMake_wxObject(result
, 0);
31255 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxString
*arg1
= 0 ;
31258 wxWindow
*arg2
= (wxWindow
*) NULL
;
31260 bool temp1
= false ;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 char *kwnames
[] = {
31264 (char *) "label",(char *) "parent", NULL
31267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31269 arg1
= wxString_in_helper(obj0
);
31270 if (arg1
== NULL
) SWIG_fail
;
31274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31275 if (SWIG_arg_fail(2)) SWIG_fail
;
31278 if (!wxPyCheckForApp()) SWIG_fail
;
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31282 wxPyEndAllowThreads(__tstate
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= wxPyMake_wxObject(result
, 0);
31302 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
;
31304 wxWindow
*arg1
= (wxWindow
*) 0 ;
31305 unsigned long arg2
;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char *kwnames
[] = {
31310 (char *) "parent",(char *) "_hWnd", NULL
31313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31315 if (SWIG_arg_fail(1)) SWIG_fail
;
31317 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31318 if (SWIG_arg_fail(2)) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= wxPyMake_wxObject(result
, 0);
31336 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
;
31338 wxValidator
*result
;
31339 char *kwnames
[] = {
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (wxValidator
*)new wxValidator();
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31358 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxValidator
*arg1
= (wxValidator
*) 0 ;
31361 wxValidator
*result
;
31362 PyObject
* obj0
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (wxValidator
*)(arg1
)->Clone();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= wxPyMake_wxObject(result
, 0);
31386 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
;
31388 wxValidator
*arg1
= (wxValidator
*) 0 ;
31389 wxWindow
*arg2
= (wxWindow
*) 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self",(char *) "parent", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31399 if (SWIG_arg_fail(1)) SWIG_fail
;
31400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31401 if (SWIG_arg_fail(2)) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)(arg1
)->Validate(arg2
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31418 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxValidator
*arg1
= (wxValidator
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (bool)(arg1
)->TransferToWindow();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31446 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxValidator
*arg1
= (wxValidator
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (bool)(arg1
)->TransferFromWindow();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31474 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxValidator
*arg1
= (wxValidator
*) 0 ;
31478 PyObject
* obj0
= 0 ;
31479 char *kwnames
[] = {
31480 (char *) "self", NULL
31483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31485 if (SWIG_arg_fail(1)) SWIG_fail
;
31487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31488 result
= (wxWindow
*)(arg1
)->GetWindow();
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= wxPyMake_wxObject(result
, 0);
31502 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
;
31504 wxValidator
*arg1
= (wxValidator
*) 0 ;
31505 wxWindow
*arg2
= (wxWindow
*) 0 ;
31506 PyObject
* obj0
= 0 ;
31507 PyObject
* obj1
= 0 ;
31508 char *kwnames
[] = {
31509 (char *) "self",(char *) "window", NULL
31512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31514 if (SWIG_arg_fail(1)) SWIG_fail
;
31515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31516 if (SWIG_arg_fail(2)) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->SetWindow(arg2
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 Py_INCREF(Py_None
); resultobj
= Py_None
;
31531 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31534 char *kwnames
[] = {
31538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 result
= (bool)wxValidator::IsSilent();
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31555 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 int arg1
= (int) true ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "doIt", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31566 arg1
= (int)(SWIG_As_int(obj0
));
31567 if (SWIG_arg_fail(1)) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 wxValidator::SetBellOnError(arg1
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 Py_INCREF(Py_None
); resultobj
= Py_None
;
31584 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31587 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31589 return Py_BuildValue((char *)"");
31591 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
;
31593 wxPyValidator
*result
;
31594 char *kwnames
[] = {
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 result
= (wxPyValidator
*)new wxPyValidator();
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31613 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
;
31615 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31616 PyObject
*arg2
= (PyObject
*) 0 ;
31617 PyObject
*arg3
= (PyObject
*) 0 ;
31618 int arg4
= (int) true ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 PyObject
* obj2
= 0 ;
31622 PyObject
* obj3
= 0 ;
31623 char *kwnames
[] = {
31624 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31629 if (SWIG_arg_fail(1)) SWIG_fail
;
31634 arg4
= (int)(SWIG_As_int(obj3
));
31635 if (SWIG_arg_fail(4)) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 Py_INCREF(Py_None
); resultobj
= Py_None
;
31652 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31655 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31657 return Py_BuildValue((char *)"");
31659 static int _wrap_DefaultValidator_set(PyObject
*) {
31660 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31665 static PyObject
*_wrap_DefaultValidator_get(void) {
31668 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31673 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31676 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31677 long arg2
= (long) 0 ;
31679 bool temp1
= false ;
31680 PyObject
* obj0
= 0 ;
31681 PyObject
* obj1
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "title",(char *) "style", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31689 arg1
= wxString_in_helper(obj0
);
31690 if (arg1
== NULL
) SWIG_fail
;
31696 arg2
= (long)(SWIG_As_long(obj1
));
31697 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 if (!wxPyCheckForApp()) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31723 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxMenu
*arg1
= (wxMenu
*) 0 ;
31727 wxString
*arg3
= 0 ;
31728 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31730 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31731 wxMenuItem
*result
;
31732 bool temp3
= false ;
31733 bool temp4
= false ;
31734 PyObject
* obj0
= 0 ;
31735 PyObject
* obj1
= 0 ;
31736 PyObject
* obj2
= 0 ;
31737 PyObject
* obj3
= 0 ;
31738 PyObject
* obj4
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31747 arg2
= (int)(SWIG_As_int(obj1
));
31748 if (SWIG_arg_fail(2)) SWIG_fail
;
31751 arg3
= wxString_in_helper(obj2
);
31752 if (arg3
== NULL
) SWIG_fail
;
31757 arg4
= wxString_in_helper(obj3
);
31758 if (arg4
== NULL
) SWIG_fail
;
31764 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31765 if (SWIG_arg_fail(5)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= wxPyMake_wxObject(result
, 0);
31800 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxMenu
*arg1
= (wxMenu
*) 0 ;
31803 wxMenuItem
*result
;
31804 PyObject
* obj0
= 0 ;
31805 char *kwnames
[] = {
31806 (char *) "self", NULL
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31811 if (SWIG_arg_fail(1)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= wxPyMake_wxObject(result
, 0);
31828 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxMenu
*arg1
= (wxMenu
*) 0 ;
31832 wxString
*arg3
= 0 ;
31833 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31834 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31835 wxMenuItem
*result
;
31836 bool temp3
= false ;
31837 bool temp4
= false ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 PyObject
* obj2
= 0 ;
31841 PyObject
* obj3
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail
;
31850 arg2
= (int)(SWIG_As_int(obj1
));
31851 if (SWIG_arg_fail(2)) SWIG_fail
;
31854 arg3
= wxString_in_helper(obj2
);
31855 if (arg3
== NULL
) SWIG_fail
;
31860 arg4
= wxString_in_helper(obj3
);
31861 if (arg4
== NULL
) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31873 resultobj
= wxPyMake_wxObject(result
, 0);
31897 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
;
31899 wxMenu
*arg1
= (wxMenu
*) 0 ;
31901 wxString
*arg3
= 0 ;
31902 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31903 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31904 wxMenuItem
*result
;
31905 bool temp3
= false ;
31906 bool temp4
= false ;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 PyObject
* obj2
= 0 ;
31910 PyObject
* obj3
= 0 ;
31911 char *kwnames
[] = {
31912 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31917 if (SWIG_arg_fail(1)) SWIG_fail
;
31919 arg2
= (int)(SWIG_As_int(obj1
));
31920 if (SWIG_arg_fail(2)) SWIG_fail
;
31923 arg3
= wxString_in_helper(obj2
);
31924 if (arg3
== NULL
) SWIG_fail
;
31929 arg4
= wxString_in_helper(obj3
);
31930 if (arg4
== NULL
) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= wxPyMake_wxObject(result
, 0);
31966 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
;
31968 wxMenu
*arg1
= (wxMenu
*) 0 ;
31970 wxString
*arg3
= 0 ;
31971 wxMenu
*arg4
= (wxMenu
*) 0 ;
31972 wxString
const &arg5_defvalue
= wxPyEmptyString
;
31973 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
31974 wxMenuItem
*result
;
31975 bool temp3
= false ;
31976 bool temp5
= false ;
31977 PyObject
* obj0
= 0 ;
31978 PyObject
* obj1
= 0 ;
31979 PyObject
* obj2
= 0 ;
31980 PyObject
* obj3
= 0 ;
31981 PyObject
* obj4
= 0 ;
31982 char *kwnames
[] = {
31983 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
31986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31988 if (SWIG_arg_fail(1)) SWIG_fail
;
31990 arg2
= (int)(SWIG_As_int(obj1
));
31991 if (SWIG_arg_fail(2)) SWIG_fail
;
31994 arg3
= wxString_in_helper(obj2
);
31995 if (arg3
== NULL
) SWIG_fail
;
31998 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31999 if (SWIG_arg_fail(4)) SWIG_fail
;
32002 arg5
= wxString_in_helper(obj4
);
32003 if (arg5
== NULL
) SWIG_fail
;
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= wxPyMake_wxObject(result
, 0);
32039 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
;
32041 wxMenu
*arg1
= (wxMenu
*) 0 ;
32042 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32043 wxMenuItem
*result
;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 char *kwnames
[] = {
32047 (char *) "self",(char *) "item", NULL
32050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(1)) SWIG_fail
;
32053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32054 if (SWIG_arg_fail(2)) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= wxPyMake_wxObject(result
, 0);
32071 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
;
32073 wxMenu
*arg1
= (wxMenu
*) 0 ;
32074 PyObject
* obj0
= 0 ;
32075 char *kwnames
[] = {
32076 (char *) "self", NULL
32079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32081 if (SWIG_arg_fail(1)) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32089 Py_INCREF(Py_None
); resultobj
= Py_None
;
32096 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32097 PyObject
*resultobj
;
32098 wxMenu
*arg1
= (wxMenu
*) 0 ;
32100 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32101 wxMenuItem
*result
;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 PyObject
* obj2
= 0 ;
32105 char *kwnames
[] = {
32106 (char *) "self",(char *) "pos",(char *) "item", NULL
32109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32111 if (SWIG_arg_fail(1)) SWIG_fail
;
32113 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32114 if (SWIG_arg_fail(2)) SWIG_fail
;
32116 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32117 if (SWIG_arg_fail(3)) SWIG_fail
;
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= wxPyMake_wxObject(result
, 0);
32134 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32135 PyObject
*resultobj
;
32136 wxMenu
*arg1
= (wxMenu
*) 0 ;
32139 wxString
*arg4
= 0 ;
32140 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32141 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32142 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32143 wxMenuItem
*result
;
32144 bool temp4
= false ;
32145 bool temp5
= false ;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 PyObject
* obj2
= 0 ;
32149 PyObject
* obj3
= 0 ;
32150 PyObject
* obj4
= 0 ;
32151 PyObject
* obj5
= 0 ;
32152 char *kwnames
[] = {
32153 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32158 if (SWIG_arg_fail(1)) SWIG_fail
;
32160 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32161 if (SWIG_arg_fail(2)) SWIG_fail
;
32164 arg3
= (int)(SWIG_As_int(obj2
));
32165 if (SWIG_arg_fail(3)) SWIG_fail
;
32168 arg4
= wxString_in_helper(obj3
);
32169 if (arg4
== NULL
) SWIG_fail
;
32174 arg5
= wxString_in_helper(obj4
);
32175 if (arg5
== NULL
) SWIG_fail
;
32181 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32182 if (SWIG_arg_fail(6)) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= wxPyMake_wxObject(result
, 0);
32217 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
;
32219 wxMenu
*arg1
= (wxMenu
*) 0 ;
32221 wxMenuItem
*result
;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "self",(char *) "pos", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32230 if (SWIG_arg_fail(1)) SWIG_fail
;
32232 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32233 if (SWIG_arg_fail(2)) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= wxPyMake_wxObject(result
, 0);
32251 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxMenu
*arg1
= (wxMenu
*) 0 ;
32256 wxString
*arg4
= 0 ;
32257 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32258 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32259 wxMenuItem
*result
;
32260 bool temp4
= false ;
32261 bool temp5
= false ;
32262 PyObject
* obj0
= 0 ;
32263 PyObject
* obj1
= 0 ;
32264 PyObject
* obj2
= 0 ;
32265 PyObject
* obj3
= 0 ;
32266 PyObject
* obj4
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32273 if (SWIG_arg_fail(1)) SWIG_fail
;
32275 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32276 if (SWIG_arg_fail(2)) SWIG_fail
;
32279 arg3
= (int)(SWIG_As_int(obj2
));
32280 if (SWIG_arg_fail(3)) SWIG_fail
;
32283 arg4
= wxString_in_helper(obj3
);
32284 if (arg4
== NULL
) SWIG_fail
;
32289 arg5
= wxString_in_helper(obj4
);
32290 if (arg5
== NULL
) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32302 resultobj
= wxPyMake_wxObject(result
, 0);
32326 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32327 PyObject
*resultobj
;
32328 wxMenu
*arg1
= (wxMenu
*) 0 ;
32331 wxString
*arg4
= 0 ;
32332 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32333 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32334 wxMenuItem
*result
;
32335 bool temp4
= false ;
32336 bool temp5
= false ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 PyObject
* obj2
= 0 ;
32340 PyObject
* obj3
= 0 ;
32341 PyObject
* obj4
= 0 ;
32342 char *kwnames
[] = {
32343 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32348 if (SWIG_arg_fail(1)) SWIG_fail
;
32350 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32351 if (SWIG_arg_fail(2)) SWIG_fail
;
32354 arg3
= (int)(SWIG_As_int(obj2
));
32355 if (SWIG_arg_fail(3)) SWIG_fail
;
32358 arg4
= wxString_in_helper(obj3
);
32359 if (arg4
== NULL
) SWIG_fail
;
32364 arg5
= wxString_in_helper(obj4
);
32365 if (arg5
== NULL
) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= wxPyMake_wxObject(result
, 0);
32401 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxMenu
*arg1
= (wxMenu
*) 0 ;
32406 wxString
*arg4
= 0 ;
32407 wxMenu
*arg5
= (wxMenu
*) 0 ;
32408 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32409 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32410 wxMenuItem
*result
;
32411 bool temp4
= false ;
32412 bool temp6
= false ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 PyObject
* obj2
= 0 ;
32416 PyObject
* obj3
= 0 ;
32417 PyObject
* obj4
= 0 ;
32418 PyObject
* obj5
= 0 ;
32419 char *kwnames
[] = {
32420 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(1)) SWIG_fail
;
32427 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32428 if (SWIG_arg_fail(2)) SWIG_fail
;
32431 arg3
= (int)(SWIG_As_int(obj2
));
32432 if (SWIG_arg_fail(3)) SWIG_fail
;
32435 arg4
= wxString_in_helper(obj3
);
32436 if (arg4
== NULL
) SWIG_fail
;
32439 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32440 if (SWIG_arg_fail(5)) SWIG_fail
;
32443 arg6
= wxString_in_helper(obj5
);
32444 if (arg6
== NULL
) SWIG_fail
;
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= wxPyMake_wxObject(result
, 0);
32480 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
;
32482 wxMenu
*arg1
= (wxMenu
*) 0 ;
32483 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32484 wxMenuItem
*result
;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char *kwnames
[] = {
32488 (char *) "self",(char *) "item", NULL
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32493 if (SWIG_arg_fail(1)) SWIG_fail
;
32494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32495 if (SWIG_arg_fail(2)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= wxPyMake_wxObject(result
, 0);
32512 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxMenu
*arg1
= (wxMenu
*) 0 ;
32516 wxString
*arg3
= 0 ;
32517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32519 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32520 wxMenuItem
*result
;
32521 bool temp3
= false ;
32522 bool temp4
= false ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 PyObject
* obj2
= 0 ;
32526 PyObject
* obj3
= 0 ;
32527 PyObject
* obj4
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32534 if (SWIG_arg_fail(1)) SWIG_fail
;
32536 arg2
= (int)(SWIG_As_int(obj1
));
32537 if (SWIG_arg_fail(2)) SWIG_fail
;
32540 arg3
= wxString_in_helper(obj2
);
32541 if (arg3
== NULL
) SWIG_fail
;
32546 arg4
= wxString_in_helper(obj3
);
32547 if (arg4
== NULL
) SWIG_fail
;
32553 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32554 if (SWIG_arg_fail(5)) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= wxPyMake_wxObject(result
, 0);
32589 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32590 PyObject
*resultobj
;
32591 wxMenu
*arg1
= (wxMenu
*) 0 ;
32592 wxMenuItem
*result
;
32593 PyObject
* obj0
= 0 ;
32594 char *kwnames
[] = {
32595 (char *) "self", NULL
32598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32600 if (SWIG_arg_fail(1)) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= wxPyMake_wxObject(result
, 0);
32617 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxMenu
*arg1
= (wxMenu
*) 0 ;
32621 wxString
*arg3
= 0 ;
32622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32624 wxMenuItem
*result
;
32625 bool temp3
= false ;
32626 bool temp4
= false ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 PyObject
* obj2
= 0 ;
32630 PyObject
* obj3
= 0 ;
32631 char *kwnames
[] = {
32632 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32637 if (SWIG_arg_fail(1)) SWIG_fail
;
32639 arg2
= (int)(SWIG_As_int(obj1
));
32640 if (SWIG_arg_fail(2)) SWIG_fail
;
32643 arg3
= wxString_in_helper(obj2
);
32644 if (arg3
== NULL
) SWIG_fail
;
32649 arg4
= wxString_in_helper(obj3
);
32650 if (arg4
== NULL
) SWIG_fail
;
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= wxPyMake_wxObject(result
, 0);
32686 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
;
32688 wxMenu
*arg1
= (wxMenu
*) 0 ;
32690 wxString
*arg3
= 0 ;
32691 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32692 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32693 wxMenuItem
*result
;
32694 bool temp3
= false ;
32695 bool temp4
= false ;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 PyObject
* obj2
= 0 ;
32699 PyObject
* obj3
= 0 ;
32700 char *kwnames
[] = {
32701 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32706 if (SWIG_arg_fail(1)) SWIG_fail
;
32708 arg2
= (int)(SWIG_As_int(obj1
));
32709 if (SWIG_arg_fail(2)) SWIG_fail
;
32712 arg3
= wxString_in_helper(obj2
);
32713 if (arg3
== NULL
) SWIG_fail
;
32718 arg4
= wxString_in_helper(obj3
);
32719 if (arg4
== NULL
) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= wxPyMake_wxObject(result
, 0);
32755 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
;
32757 wxMenu
*arg1
= (wxMenu
*) 0 ;
32759 wxString
*arg3
= 0 ;
32760 wxMenu
*arg4
= (wxMenu
*) 0 ;
32761 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32762 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32763 wxMenuItem
*result
;
32764 bool temp3
= false ;
32765 bool temp5
= false ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 PyObject
* obj2
= 0 ;
32769 PyObject
* obj3
= 0 ;
32770 PyObject
* obj4
= 0 ;
32771 char *kwnames
[] = {
32772 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32777 if (SWIG_arg_fail(1)) SWIG_fail
;
32779 arg2
= (int)(SWIG_As_int(obj1
));
32780 if (SWIG_arg_fail(2)) SWIG_fail
;
32783 arg3
= wxString_in_helper(obj2
);
32784 if (arg3
== NULL
) SWIG_fail
;
32787 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32788 if (SWIG_arg_fail(4)) SWIG_fail
;
32791 arg5
= wxString_in_helper(obj4
);
32792 if (arg5
== NULL
) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= wxPyMake_wxObject(result
, 0);
32828 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32829 PyObject
*resultobj
;
32830 wxMenu
*arg1
= (wxMenu
*) 0 ;
32832 wxMenuItem
*result
;
32833 PyObject
* obj0
= 0 ;
32834 PyObject
* obj1
= 0 ;
32835 char *kwnames
[] = {
32836 (char *) "self",(char *) "id", NULL
32839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32841 if (SWIG_arg_fail(1)) SWIG_fail
;
32843 arg2
= (int)(SWIG_As_int(obj1
));
32844 if (SWIG_arg_fail(2)) SWIG_fail
;
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32854 resultobj
= wxPyMake_wxObject(result
, 0);
32862 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32863 PyObject
*resultobj
;
32864 wxMenu
*arg1
= (wxMenu
*) 0 ;
32865 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32866 wxMenuItem
*result
;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 char *kwnames
[] = {
32870 (char *) "self",(char *) "item", NULL
32873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32875 if (SWIG_arg_fail(1)) SWIG_fail
;
32876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32877 if (SWIG_arg_fail(2)) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= wxPyMake_wxObject(result
, 0);
32894 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
;
32896 wxMenu
*arg1
= (wxMenu
*) 0 ;
32899 PyObject
* obj0
= 0 ;
32900 PyObject
* obj1
= 0 ;
32901 char *kwnames
[] = {
32902 (char *) "self",(char *) "id", NULL
32905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32907 if (SWIG_arg_fail(1)) SWIG_fail
;
32909 arg2
= (int)(SWIG_As_int(obj1
));
32910 if (SWIG_arg_fail(2)) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 result
= (bool)(arg1
)->Delete(arg2
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32928 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32929 PyObject
*resultobj
;
32930 wxMenu
*arg1
= (wxMenu
*) 0 ;
32931 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32933 PyObject
* obj0
= 0 ;
32934 PyObject
* obj1
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self",(char *) "item", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail
;
32942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32943 if (SWIG_arg_fail(2)) SWIG_fail
;
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 result
= (bool)(arg1
)->Delete(arg2
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32960 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
;
32962 wxMenu
*arg1
= (wxMenu
*) 0 ;
32963 PyObject
* obj0
= 0 ;
32964 char *kwnames
[] = {
32965 (char *) "self", NULL
32968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
32969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32970 if (SWIG_arg_fail(1)) SWIG_fail
;
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 wxMenu_Destroy(arg1
);
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 Py_INCREF(Py_None
); resultobj
= Py_None
;
32985 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
;
32987 wxMenu
*arg1
= (wxMenu
*) 0 ;
32990 PyObject
* obj0
= 0 ;
32991 PyObject
* obj1
= 0 ;
32992 char *kwnames
[] = {
32993 (char *) "self",(char *) "id", NULL
32996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
32997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32998 if (SWIG_arg_fail(1)) SWIG_fail
;
33000 arg2
= (int)(SWIG_As_int(obj1
));
33001 if (SWIG_arg_fail(2)) SWIG_fail
;
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 result
= (bool)(arg1
)->Destroy(arg2
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33019 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33020 PyObject
*resultobj
;
33021 wxMenu
*arg1
= (wxMenu
*) 0 ;
33022 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char *kwnames
[] = {
33027 (char *) "self",(char *) "item", NULL
33030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33032 if (SWIG_arg_fail(1)) SWIG_fail
;
33033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33034 if (SWIG_arg_fail(2)) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 result
= (bool)(arg1
)->Destroy(arg2
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33051 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33052 PyObject
*resultobj
;
33053 wxMenu
*arg1
= (wxMenu
*) 0 ;
33055 PyObject
* obj0
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33079 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxMenu
*arg1
= (wxMenu
*) 0 ;
33083 PyObject
* obj0
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33090 if (SWIG_arg_fail(1)) SWIG_fail
;
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= result
;
33105 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
;
33107 wxMenu
*arg1
= (wxMenu
*) 0 ;
33108 wxString
*arg2
= 0 ;
33110 bool temp2
= false ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self",(char *) "item", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail
;
33121 arg2
= wxString_in_helper(obj1
);
33122 if (arg2
== NULL
) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_From_int((int)(result
));
33149 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
;
33151 wxMenu
*arg1
= (wxMenu
*) 0 ;
33153 wxMenuItem
*result
;
33154 PyObject
* obj0
= 0 ;
33155 PyObject
* obj1
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "self",(char *) "id", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33162 if (SWIG_arg_fail(1)) SWIG_fail
;
33164 arg2
= (int)(SWIG_As_int(obj1
));
33165 if (SWIG_arg_fail(2)) SWIG_fail
;
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33171 wxPyEndAllowThreads(__tstate
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33175 resultobj
= wxPyMake_wxObject(result
, 0);
33183 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33184 PyObject
*resultobj
;
33185 wxMenu
*arg1
= (wxMenu
*) 0 ;
33187 wxMenuItem
*result
;
33188 PyObject
* obj0
= 0 ;
33189 PyObject
* obj1
= 0 ;
33190 char *kwnames
[] = {
33191 (char *) "self",(char *) "position", NULL
33194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33196 if (SWIG_arg_fail(1)) SWIG_fail
;
33198 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33199 if (SWIG_arg_fail(2)) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= wxPyMake_wxObject(result
, 0);
33217 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
;
33219 wxMenu
*arg1
= (wxMenu
*) 0 ;
33222 PyObject
* obj0
= 0 ;
33223 PyObject
* obj1
= 0 ;
33224 PyObject
* obj2
= 0 ;
33225 char *kwnames
[] = {
33226 (char *) "self",(char *) "id",(char *) "enable", NULL
33229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33231 if (SWIG_arg_fail(1)) SWIG_fail
;
33233 arg2
= (int)(SWIG_As_int(obj1
));
33234 if (SWIG_arg_fail(2)) SWIG_fail
;
33237 arg3
= (bool)(SWIG_As_bool(obj2
));
33238 if (SWIG_arg_fail(3)) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 (arg1
)->Enable(arg2
,arg3
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 Py_INCREF(Py_None
); resultobj
= Py_None
;
33254 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxMenu
*arg1
= (wxMenu
*) 0 ;
33259 PyObject
* obj0
= 0 ;
33260 PyObject
* obj1
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self",(char *) "id", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33267 if (SWIG_arg_fail(1)) SWIG_fail
;
33269 arg2
= (int)(SWIG_As_int(obj1
));
33270 if (SWIG_arg_fail(2)) SWIG_fail
;
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33288 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33289 PyObject
*resultobj
;
33290 wxMenu
*arg1
= (wxMenu
*) 0 ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 PyObject
* obj2
= 0 ;
33296 char *kwnames
[] = {
33297 (char *) "self",(char *) "id",(char *) "check", NULL
33300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33302 if (SWIG_arg_fail(1)) SWIG_fail
;
33304 arg2
= (int)(SWIG_As_int(obj1
));
33305 if (SWIG_arg_fail(2)) SWIG_fail
;
33308 arg3
= (bool)(SWIG_As_bool(obj2
));
33309 if (SWIG_arg_fail(3)) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 (arg1
)->Check(arg2
,arg3
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 Py_INCREF(Py_None
); resultobj
= Py_None
;
33325 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
;
33327 wxMenu
*arg1
= (wxMenu
*) 0 ;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 char *kwnames
[] = {
33333 (char *) "self",(char *) "id", NULL
33336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33338 if (SWIG_arg_fail(1)) SWIG_fail
;
33340 arg2
= (int)(SWIG_As_int(obj1
));
33341 if (SWIG_arg_fail(2)) SWIG_fail
;
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33347 wxPyEndAllowThreads(__tstate
);
33348 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33359 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxMenu
*arg1
= (wxMenu
*) 0 ;
33363 wxString
*arg3
= 0 ;
33364 bool temp3
= false ;
33365 PyObject
* obj0
= 0 ;
33366 PyObject
* obj1
= 0 ;
33367 PyObject
* obj2
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "self",(char *) "id",(char *) "label", NULL
33372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33374 if (SWIG_arg_fail(1)) SWIG_fail
;
33376 arg2
= (int)(SWIG_As_int(obj1
));
33377 if (SWIG_arg_fail(2)) SWIG_fail
;
33380 arg3
= wxString_in_helper(obj2
);
33381 if (arg3
== NULL
) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33388 wxPyEndAllowThreads(__tstate
);
33389 if (PyErr_Occurred()) SWIG_fail
;
33391 Py_INCREF(Py_None
); resultobj
= Py_None
;
33406 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
;
33408 wxMenu
*arg1
= (wxMenu
*) 0 ;
33411 PyObject
* obj0
= 0 ;
33412 PyObject
* obj1
= 0 ;
33413 char *kwnames
[] = {
33414 (char *) "self",(char *) "id", NULL
33417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33419 if (SWIG_arg_fail(1)) SWIG_fail
;
33421 arg2
= (int)(SWIG_As_int(obj1
));
33422 if (SWIG_arg_fail(2)) SWIG_fail
;
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33444 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
;
33446 wxMenu
*arg1
= (wxMenu
*) 0 ;
33448 wxString
*arg3
= 0 ;
33449 bool temp3
= false ;
33450 PyObject
* obj0
= 0 ;
33451 PyObject
* obj1
= 0 ;
33452 PyObject
* obj2
= 0 ;
33453 char *kwnames
[] = {
33454 (char *) "self",(char *) "id",(char *) "helpString", NULL
33457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33459 if (SWIG_arg_fail(1)) SWIG_fail
;
33461 arg2
= (int)(SWIG_As_int(obj1
));
33462 if (SWIG_arg_fail(2)) SWIG_fail
;
33465 arg3
= wxString_in_helper(obj2
);
33466 if (arg3
== NULL
) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33473 wxPyEndAllowThreads(__tstate
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33476 Py_INCREF(Py_None
); resultobj
= Py_None
;
33491 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33492 PyObject
*resultobj
;
33493 wxMenu
*arg1
= (wxMenu
*) 0 ;
33496 PyObject
* obj0
= 0 ;
33497 PyObject
* obj1
= 0 ;
33498 char *kwnames
[] = {
33499 (char *) "self",(char *) "id", NULL
33502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33504 if (SWIG_arg_fail(1)) SWIG_fail
;
33506 arg2
= (int)(SWIG_As_int(obj1
));
33507 if (SWIG_arg_fail(2)) SWIG_fail
;
33510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33529 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
;
33531 wxMenu
*arg1
= (wxMenu
*) 0 ;
33532 wxString
*arg2
= 0 ;
33533 bool temp2
= false ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 char *kwnames
[] = {
33537 (char *) "self",(char *) "title", NULL
33540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33542 if (SWIG_arg_fail(1)) SWIG_fail
;
33544 arg2
= wxString_in_helper(obj1
);
33545 if (arg2
== NULL
) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 (arg1
)->SetTitle((wxString
const &)*arg2
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 Py_INCREF(Py_None
); resultobj
= Py_None
;
33570 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
;
33572 wxMenu
*arg1
= (wxMenu
*) 0 ;
33574 PyObject
* obj0
= 0 ;
33575 char *kwnames
[] = {
33576 (char *) "self", NULL
33579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail
;
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 result
= ((wxMenu
const *)arg1
)->GetTitle();
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33602 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33603 PyObject
*resultobj
;
33604 wxMenu
*arg1
= (wxMenu
*) 0 ;
33605 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 char *kwnames
[] = {
33609 (char *) "self",(char *) "handler", NULL
33612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33614 if (SWIG_arg_fail(1)) SWIG_fail
;
33615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33616 if (SWIG_arg_fail(2)) SWIG_fail
;
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 (arg1
)->SetEventHandler(arg2
);
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33624 Py_INCREF(Py_None
); resultobj
= Py_None
;
33631 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33632 PyObject
*resultobj
;
33633 wxMenu
*arg1
= (wxMenu
*) 0 ;
33634 wxEvtHandler
*result
;
33635 PyObject
* obj0
= 0 ;
33636 char *kwnames
[] = {
33637 (char *) "self", NULL
33640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33642 if (SWIG_arg_fail(1)) SWIG_fail
;
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33651 resultobj
= wxPyMake_wxObject(result
, 0);
33659 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
;
33661 wxMenu
*arg1
= (wxMenu
*) 0 ;
33662 wxWindow
*arg2
= (wxWindow
*) 0 ;
33663 PyObject
* obj0
= 0 ;
33664 PyObject
* obj1
= 0 ;
33665 char *kwnames
[] = {
33666 (char *) "self",(char *) "win", NULL
33669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33671 if (SWIG_arg_fail(1)) SWIG_fail
;
33672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33673 if (SWIG_arg_fail(2)) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->SetInvokingWindow(arg2
);
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33681 Py_INCREF(Py_None
); resultobj
= Py_None
;
33688 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33689 PyObject
*resultobj
;
33690 wxMenu
*arg1
= (wxMenu
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33699 if (SWIG_arg_fail(1)) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33708 resultobj
= wxPyMake_wxObject(result
, 0);
33716 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33717 PyObject
*resultobj
;
33718 wxMenu
*arg1
= (wxMenu
*) 0 ;
33720 PyObject
* obj0
= 0 ;
33721 char *kwnames
[] = {
33722 (char *) "self", NULL
33725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33727 if (SWIG_arg_fail(1)) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33736 resultobj
= SWIG_From_long((long)(result
));
33744 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
;
33746 wxMenu
*arg1
= (wxMenu
*) 0 ;
33747 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33748 PyObject
* obj0
= 0 ;
33749 PyObject
* obj1
= 0 ;
33750 char *kwnames
[] = {
33751 (char *) "self",(char *) "source", NULL
33754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33756 if (SWIG_arg_fail(1)) SWIG_fail
;
33758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33759 if (SWIG_arg_fail(2)) SWIG_fail
;
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 (arg1
)->UpdateUI(arg2
);
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33768 Py_INCREF(Py_None
); resultobj
= Py_None
;
33775 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33776 PyObject
*resultobj
;
33777 wxMenu
*arg1
= (wxMenu
*) 0 ;
33779 PyObject
* obj0
= 0 ;
33780 char *kwnames
[] = {
33781 (char *) "self", NULL
33784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33786 if (SWIG_arg_fail(1)) SWIG_fail
;
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33795 resultobj
= wxPyMake_wxObject(result
, 0);
33803 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
;
33805 wxMenu
*arg1
= (wxMenu
*) 0 ;
33806 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 char *kwnames
[] = {
33810 (char *) "self",(char *) "menubar", NULL
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33815 if (SWIG_arg_fail(1)) SWIG_fail
;
33816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33817 if (SWIG_arg_fail(2)) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 (arg1
)->Attach(arg2
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 Py_INCREF(Py_None
); resultobj
= Py_None
;
33832 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxMenu
*arg1
= (wxMenu
*) 0 ;
33835 PyObject
* obj0
= 0 ;
33836 char *kwnames
[] = {
33837 (char *) "self", NULL
33840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33842 if (SWIG_arg_fail(1)) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 Py_INCREF(Py_None
); resultobj
= Py_None
;
33857 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxMenu
*arg1
= (wxMenu
*) 0 ;
33861 PyObject
* obj0
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "self", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33868 if (SWIG_arg_fail(1)) SWIG_fail
;
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33885 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxMenu
*arg1
= (wxMenu
*) 0 ;
33888 wxMenu
*arg2
= (wxMenu
*) 0 ;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "self",(char *) "parent", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
33896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(1)) SWIG_fail
;
33898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33899 if (SWIG_arg_fail(2)) SWIG_fail
;
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 (arg1
)->SetParent(arg2
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33907 Py_INCREF(Py_None
); resultobj
= Py_None
;
33914 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxMenu
*arg1
= (wxMenu
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 char *kwnames
[] = {
33920 (char *) "self", NULL
33923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
33924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33925 if (SWIG_arg_fail(1)) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33934 resultobj
= wxPyMake_wxObject(result
, 0);
33942 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
33944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33945 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
33947 return Py_BuildValue((char *)"");
33949 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 long arg1
= (long) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 char *kwnames
[] = {
33955 (char *) "style", NULL
33958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
33961 arg1
= (long)(SWIG_As_long(obj0
));
33962 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 if (!wxPyCheckForApp()) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
33980 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
33983 wxMenu
*arg2
= (wxMenu
*) 0 ;
33984 wxString
*arg3
= 0 ;
33986 bool temp3
= false ;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 PyObject
* obj2
= 0 ;
33990 char *kwnames
[] = {
33991 (char *) "self",(char *) "menu",(char *) "title", NULL
33994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
33996 if (SWIG_arg_fail(1)) SWIG_fail
;
33997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33998 if (SWIG_arg_fail(2)) SWIG_fail
;
34000 arg3
= wxString_in_helper(obj2
);
34001 if (arg3
== NULL
) SWIG_fail
;
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34028 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34029 PyObject
*resultobj
;
34030 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34032 wxMenu
*arg3
= (wxMenu
*) 0 ;
34033 wxString
*arg4
= 0 ;
34035 bool temp4
= false ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 PyObject
* obj2
= 0 ;
34039 PyObject
* obj3
= 0 ;
34040 char *kwnames
[] = {
34041 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34046 if (SWIG_arg_fail(1)) SWIG_fail
;
34048 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34049 if (SWIG_arg_fail(2)) SWIG_fail
;
34051 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(3)) SWIG_fail
;
34054 arg4
= wxString_in_helper(obj3
);
34055 if (arg4
== NULL
) SWIG_fail
;
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34062 wxPyEndAllowThreads(__tstate
);
34063 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34082 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail
;
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34110 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34115 PyObject
* obj0
= 0 ;
34116 PyObject
* obj1
= 0 ;
34117 char *kwnames
[] = {
34118 (char *) "self",(char *) "pos", NULL
34121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34123 if (SWIG_arg_fail(1)) SWIG_fail
;
34125 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34126 if (SWIG_arg_fail(2)) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= wxPyMake_wxObject(result
, 0);
34144 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34148 wxMenu
*arg3
= (wxMenu
*) 0 ;
34149 wxString
*arg4
= 0 ;
34151 bool temp4
= false ;
34152 PyObject
* obj0
= 0 ;
34153 PyObject
* obj1
= 0 ;
34154 PyObject
* obj2
= 0 ;
34155 PyObject
* obj3
= 0 ;
34156 char *kwnames
[] = {
34157 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34162 if (SWIG_arg_fail(1)) SWIG_fail
;
34164 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34165 if (SWIG_arg_fail(2)) SWIG_fail
;
34167 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34168 if (SWIG_arg_fail(3)) SWIG_fail
;
34170 arg4
= wxString_in_helper(obj3
);
34171 if (arg4
== NULL
) SWIG_fail
;
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34182 resultobj
= wxPyMake_wxObject(result
, 0);
34198 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "self",(char *) "pos", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34211 if (SWIG_arg_fail(1)) SWIG_fail
;
34213 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34214 if (SWIG_arg_fail(2)) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= wxPyMake_wxObject(result
, 0);
34232 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
;
34234 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34237 PyObject
* obj0
= 0 ;
34238 PyObject
* obj1
= 0 ;
34239 PyObject
* obj2
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "pos",(char *) "enable", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail
;
34248 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34249 if (SWIG_arg_fail(2)) SWIG_fail
;
34252 arg3
= (bool)(SWIG_As_bool(obj2
));
34253 if (SWIG_arg_fail(3)) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->EnableTop(arg2
,arg3
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 Py_INCREF(Py_None
); resultobj
= Py_None
;
34269 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
;
34271 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self",(char *) "pos", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34282 if (SWIG_arg_fail(1)) SWIG_fail
;
34284 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34285 if (SWIG_arg_fail(2)) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34303 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34307 wxString
*arg3
= 0 ;
34308 bool temp3
= false ;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 PyObject
* obj2
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "pos",(char *) "label", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34318 if (SWIG_arg_fail(1)) SWIG_fail
;
34320 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34321 if (SWIG_arg_fail(2)) SWIG_fail
;
34324 arg3
= wxString_in_helper(obj2
);
34325 if (arg3
== NULL
) SWIG_fail
;
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 Py_INCREF(Py_None
); resultobj
= Py_None
;
34350 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self",(char *) "pos", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34363 if (SWIG_arg_fail(1)) SWIG_fail
;
34365 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34366 if (SWIG_arg_fail(2)) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34388 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
;
34390 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34391 wxString
*arg2
= 0 ;
34392 wxString
*arg3
= 0 ;
34394 bool temp2
= false ;
34395 bool temp3
= false ;
34396 PyObject
* obj0
= 0 ;
34397 PyObject
* obj1
= 0 ;
34398 PyObject
* obj2
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "menu",(char *) "item", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34407 arg2
= wxString_in_helper(obj1
);
34408 if (arg2
== NULL
) SWIG_fail
;
34412 arg3
= wxString_in_helper(obj2
);
34413 if (arg3
== NULL
) SWIG_fail
;
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34424 resultobj
= SWIG_From_int((int)(result
));
34448 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34452 wxMenuItem
*result
;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 char *kwnames
[] = {
34456 (char *) "self",(char *) "id", NULL
34459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34461 if (SWIG_arg_fail(1)) SWIG_fail
;
34463 arg2
= (int)(SWIG_As_int(obj1
));
34464 if (SWIG_arg_fail(2)) SWIG_fail
;
34467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34468 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34470 wxPyEndAllowThreads(__tstate
);
34471 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= wxPyMake_wxObject(result
, 0);
34482 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
;
34484 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34485 wxString
*arg2
= 0 ;
34487 bool temp2
= false ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 char *kwnames
[] = {
34491 (char *) "self",(char *) "title", NULL
34494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34496 if (SWIG_arg_fail(1)) SWIG_fail
;
34498 arg2
= wxString_in_helper(obj1
);
34499 if (arg2
== NULL
) SWIG_fail
;
34503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34504 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34510 resultobj
= SWIG_From_int((int)(result
));
34526 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
;
34528 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34531 PyObject
* obj0
= 0 ;
34532 PyObject
* obj1
= 0 ;
34533 PyObject
* obj2
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self",(char *) "id",(char *) "enable", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34540 if (SWIG_arg_fail(1)) SWIG_fail
;
34542 arg2
= (int)(SWIG_As_int(obj1
));
34543 if (SWIG_arg_fail(2)) SWIG_fail
;
34546 arg3
= (bool)(SWIG_As_bool(obj2
));
34547 if (SWIG_arg_fail(3)) SWIG_fail
;
34550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34551 (arg1
)->Enable(arg2
,arg3
);
34553 wxPyEndAllowThreads(__tstate
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34556 Py_INCREF(Py_None
); resultobj
= Py_None
;
34563 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
;
34565 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34568 PyObject
* obj0
= 0 ;
34569 PyObject
* obj1
= 0 ;
34570 PyObject
* obj2
= 0 ;
34571 char *kwnames
[] = {
34572 (char *) "self",(char *) "id",(char *) "check", NULL
34575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34577 if (SWIG_arg_fail(1)) SWIG_fail
;
34579 arg2
= (int)(SWIG_As_int(obj1
));
34580 if (SWIG_arg_fail(2)) SWIG_fail
;
34583 arg3
= (bool)(SWIG_As_bool(obj2
));
34584 if (SWIG_arg_fail(3)) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 (arg1
)->Check(arg2
,arg3
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34593 Py_INCREF(Py_None
); resultobj
= Py_None
;
34600 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34601 PyObject
*resultobj
;
34602 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 char *kwnames
[] = {
34608 (char *) "self",(char *) "id", NULL
34611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34613 if (SWIG_arg_fail(1)) SWIG_fail
;
34615 arg2
= (int)(SWIG_As_int(obj1
));
34616 if (SWIG_arg_fail(2)) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34634 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 PyObject
* obj1
= 0 ;
34641 char *kwnames
[] = {
34642 (char *) "self",(char *) "id", NULL
34645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34647 if (SWIG_arg_fail(1)) SWIG_fail
;
34649 arg2
= (int)(SWIG_As_int(obj1
));
34650 if (SWIG_arg_fail(2)) SWIG_fail
;
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34668 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
;
34670 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34672 wxString
*arg3
= 0 ;
34673 bool temp3
= false ;
34674 PyObject
* obj0
= 0 ;
34675 PyObject
* obj1
= 0 ;
34676 PyObject
* obj2
= 0 ;
34677 char *kwnames
[] = {
34678 (char *) "self",(char *) "id",(char *) "label", NULL
34681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34683 if (SWIG_arg_fail(1)) SWIG_fail
;
34685 arg2
= (int)(SWIG_As_int(obj1
));
34686 if (SWIG_arg_fail(2)) SWIG_fail
;
34689 arg3
= wxString_in_helper(obj2
);
34690 if (arg3
== NULL
) SWIG_fail
;
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34700 Py_INCREF(Py_None
); resultobj
= Py_None
;
34715 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34716 PyObject
*resultobj
;
34717 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 char *kwnames
[] = {
34723 (char *) "self",(char *) "id", NULL
34726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34728 if (SWIG_arg_fail(1)) SWIG_fail
;
34730 arg2
= (int)(SWIG_As_int(obj1
));
34731 if (SWIG_arg_fail(2)) SWIG_fail
;
34734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34735 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34737 wxPyEndAllowThreads(__tstate
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34753 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34754 PyObject
*resultobj
;
34755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34757 wxString
*arg3
= 0 ;
34758 bool temp3
= false ;
34759 PyObject
* obj0
= 0 ;
34760 PyObject
* obj1
= 0 ;
34761 PyObject
* obj2
= 0 ;
34762 char *kwnames
[] = {
34763 (char *) "self",(char *) "id",(char *) "helpString", NULL
34766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34768 if (SWIG_arg_fail(1)) SWIG_fail
;
34770 arg2
= (int)(SWIG_As_int(obj1
));
34771 if (SWIG_arg_fail(2)) SWIG_fail
;
34774 arg3
= wxString_in_helper(obj2
);
34775 if (arg3
== NULL
) SWIG_fail
;
34779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34780 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34785 Py_INCREF(Py_None
); resultobj
= Py_None
;
34800 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34805 PyObject
* obj0
= 0 ;
34806 PyObject
* obj1
= 0 ;
34807 char *kwnames
[] = {
34808 (char *) "self",(char *) "id", NULL
34811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34813 if (SWIG_arg_fail(1)) SWIG_fail
;
34815 arg2
= (int)(SWIG_As_int(obj1
));
34816 if (SWIG_arg_fail(2)) SWIG_fail
;
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34838 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34842 PyObject
* obj0
= 0 ;
34843 char *kwnames
[] = {
34844 (char *) "self", NULL
34847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34849 if (SWIG_arg_fail(1)) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= wxPyMake_wxObject(result
, 0);
34866 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
;
34868 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34870 PyObject
* obj0
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
34876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34877 if (SWIG_arg_fail(1)) SWIG_fail
;
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
34882 wxPyEndAllowThreads(__tstate
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34894 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
;
34896 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34897 wxFrame
*arg2
= (wxFrame
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self",(char *) "frame", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34906 if (SWIG_arg_fail(1)) SWIG_fail
;
34907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
34908 if (SWIG_arg_fail(2)) SWIG_fail
;
34910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34911 (arg1
)->Attach(arg2
);
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 Py_INCREF(Py_None
); resultobj
= Py_None
;
34923 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
;
34925 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
34932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34933 if (SWIG_arg_fail(1)) SWIG_fail
;
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 Py_INCREF(Py_None
); resultobj
= Py_None
;
34948 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
34950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34951 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
34953 return Py_BuildValue((char *)"");
34955 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34956 PyObject
*resultobj
;
34957 wxMenu
*arg1
= (wxMenu
*) NULL
;
34958 int arg2
= (int) wxID_ANY
;
34959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
34960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
34961 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34962 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34963 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34964 wxMenu
*arg6
= (wxMenu
*) NULL
;
34965 wxMenuItem
*result
;
34966 bool temp3
= false ;
34967 bool temp4
= false ;
34968 PyObject
* obj0
= 0 ;
34969 PyObject
* obj1
= 0 ;
34970 PyObject
* obj2
= 0 ;
34971 PyObject
* obj3
= 0 ;
34972 PyObject
* obj4
= 0 ;
34973 PyObject
* obj5
= 0 ;
34974 char *kwnames
[] = {
34975 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
34978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34981 if (SWIG_arg_fail(1)) SWIG_fail
;
34985 arg2
= (int)(SWIG_As_int(obj1
));
34986 if (SWIG_arg_fail(2)) SWIG_fail
;
34991 arg3
= wxString_in_helper(obj2
);
34992 if (arg3
== NULL
) SWIG_fail
;
34998 arg4
= wxString_in_helper(obj3
);
34999 if (arg4
== NULL
) SWIG_fail
;
35005 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35006 if (SWIG_arg_fail(5)) SWIG_fail
;
35010 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35011 if (SWIG_arg_fail(6)) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= wxPyMake_wxObject(result
, 1);
35045 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35046 PyObject
*resultobj
;
35047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35049 PyObject
* obj0
= 0 ;
35050 char *kwnames
[] = {
35051 (char *) "self", NULL
35054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35056 if (SWIG_arg_fail(1)) SWIG_fail
;
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35065 resultobj
= wxPyMake_wxObject(result
, 0);
35073 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35074 PyObject
*resultobj
;
35075 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35076 wxMenu
*arg2
= (wxMenu
*) 0 ;
35077 PyObject
* obj0
= 0 ;
35078 PyObject
* obj1
= 0 ;
35079 char *kwnames
[] = {
35080 (char *) "self",(char *) "menu", NULL
35083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35085 if (SWIG_arg_fail(1)) SWIG_fail
;
35086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35087 if (SWIG_arg_fail(2)) SWIG_fail
;
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 (arg1
)->SetMenu(arg2
);
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35095 Py_INCREF(Py_None
); resultobj
= Py_None
;
35102 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35103 PyObject
*resultobj
;
35104 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35106 PyObject
* obj0
= 0 ;
35107 PyObject
* obj1
= 0 ;
35108 char *kwnames
[] = {
35109 (char *) "self",(char *) "id", NULL
35112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35114 if (SWIG_arg_fail(1)) SWIG_fail
;
35116 arg2
= (int)(SWIG_As_int(obj1
));
35117 if (SWIG_arg_fail(2)) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 (arg1
)->SetId(arg2
);
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 Py_INCREF(Py_None
); resultobj
= Py_None
;
35133 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
;
35135 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35137 PyObject
* obj0
= 0 ;
35138 char *kwnames
[] = {
35139 (char *) "self", NULL
35142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35144 if (SWIG_arg_fail(1)) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35153 resultobj
= SWIG_From_int((int)(result
));
35161 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
;
35163 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 char *kwnames
[] = {
35167 (char *) "self", NULL
35170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35172 if (SWIG_arg_fail(1)) SWIG_fail
;
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35189 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35190 PyObject
*resultobj
;
35191 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35192 wxString
*arg2
= 0 ;
35193 bool temp2
= false ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self",(char *) "str", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35202 if (SWIG_arg_fail(1)) SWIG_fail
;
35204 arg2
= wxString_in_helper(obj1
);
35205 if (arg2
== NULL
) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->SetText((wxString
const &)*arg2
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 Py_INCREF(Py_None
); resultobj
= Py_None
;
35230 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35234 PyObject
* obj0
= 0 ;
35235 char *kwnames
[] = {
35236 (char *) "self", NULL
35239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35241 if (SWIG_arg_fail(1)) SWIG_fail
;
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35262 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
;
35264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35266 PyObject
* obj0
= 0 ;
35267 char *kwnames
[] = {
35268 (char *) "self", NULL
35271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35273 if (SWIG_arg_fail(1)) SWIG_fail
;
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35278 result
= (wxString
*) &_result_ref
;
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35297 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxString
*arg1
= 0 ;
35301 bool temp1
= false ;
35302 PyObject
* obj0
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "text", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35309 arg1
= wxString_in_helper(obj0
);
35310 if (arg1
== NULL
) SWIG_fail
;
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35341 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
;
35343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35345 PyObject
* obj0
= 0 ;
35346 char *kwnames
[] = {
35347 (char *) "self", NULL
35350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35352 if (SWIG_arg_fail(1)) SWIG_fail
;
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35357 wxPyEndAllowThreads(__tstate
);
35358 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= SWIG_From_int((result
));
35367 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
;
35369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 char *kwnames
[] = {
35374 (char *) "self",(char *) "kind", NULL
35377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35379 if (SWIG_arg_fail(1)) SWIG_fail
;
35381 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35382 if (SWIG_arg_fail(2)) SWIG_fail
;
35385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35386 (arg1
)->SetKind((wxItemKind
)arg2
);
35388 wxPyEndAllowThreads(__tstate
);
35389 if (PyErr_Occurred()) SWIG_fail
;
35391 Py_INCREF(Py_None
); resultobj
= Py_None
;
35398 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35399 PyObject
*resultobj
;
35400 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35402 PyObject
* obj0
= 0 ;
35403 PyObject
* obj1
= 0 ;
35404 char *kwnames
[] = {
35405 (char *) "self",(char *) "checkable", NULL
35408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35410 if (SWIG_arg_fail(1)) SWIG_fail
;
35412 arg2
= (bool)(SWIG_As_bool(obj1
));
35413 if (SWIG_arg_fail(2)) SWIG_fail
;
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 (arg1
)->SetCheckable(arg2
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 Py_INCREF(Py_None
); resultobj
= Py_None
;
35429 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
;
35431 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35433 PyObject
* obj0
= 0 ;
35434 char *kwnames
[] = {
35435 (char *) "self", NULL
35438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35440 if (SWIG_arg_fail(1)) SWIG_fail
;
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35457 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
;
35459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35461 PyObject
* obj0
= 0 ;
35462 char *kwnames
[] = {
35463 (char *) "self", NULL
35466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35468 if (SWIG_arg_fail(1)) SWIG_fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35485 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
;
35487 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35488 wxMenu
*arg2
= (wxMenu
*) 0 ;
35489 PyObject
* obj0
= 0 ;
35490 PyObject
* obj1
= 0 ;
35491 char *kwnames
[] = {
35492 (char *) "self",(char *) "menu", NULL
35495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35497 if (SWIG_arg_fail(1)) SWIG_fail
;
35498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35499 if (SWIG_arg_fail(2)) SWIG_fail
;
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 (arg1
)->SetSubMenu(arg2
);
35504 wxPyEndAllowThreads(__tstate
);
35505 if (PyErr_Occurred()) SWIG_fail
;
35507 Py_INCREF(Py_None
); resultobj
= Py_None
;
35514 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35515 PyObject
*resultobj
;
35516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35518 PyObject
* obj0
= 0 ;
35519 char *kwnames
[] = {
35520 (char *) "self", NULL
35523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35525 if (SWIG_arg_fail(1)) SWIG_fail
;
35527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35528 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35534 resultobj
= wxPyMake_wxObject(result
, 0);
35542 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35543 PyObject
*resultobj
;
35544 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35545 bool arg2
= (bool) true ;
35546 PyObject
* obj0
= 0 ;
35547 PyObject
* obj1
= 0 ;
35548 char *kwnames
[] = {
35549 (char *) "self",(char *) "enable", NULL
35552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35554 if (SWIG_arg_fail(1)) SWIG_fail
;
35557 arg2
= (bool)(SWIG_As_bool(obj1
));
35558 if (SWIG_arg_fail(2)) SWIG_fail
;
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 (arg1
)->Enable(arg2
);
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 Py_INCREF(Py_None
); resultobj
= Py_None
;
35575 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
;
35577 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35579 PyObject
* obj0
= 0 ;
35580 char *kwnames
[] = {
35581 (char *) "self", NULL
35584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35586 if (SWIG_arg_fail(1)) SWIG_fail
;
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35603 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
;
35605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35606 bool arg2
= (bool) true ;
35607 PyObject
* obj0
= 0 ;
35608 PyObject
* obj1
= 0 ;
35609 char *kwnames
[] = {
35610 (char *) "self",(char *) "check", NULL
35613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35615 if (SWIG_arg_fail(1)) SWIG_fail
;
35618 arg2
= (bool)(SWIG_As_bool(obj1
));
35619 if (SWIG_arg_fail(2)) SWIG_fail
;
35623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35624 (arg1
)->Check(arg2
);
35626 wxPyEndAllowThreads(__tstate
);
35627 if (PyErr_Occurred()) SWIG_fail
;
35629 Py_INCREF(Py_None
); resultobj
= Py_None
;
35636 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35637 PyObject
*resultobj
;
35638 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35640 PyObject
* obj0
= 0 ;
35641 char *kwnames
[] = {
35642 (char *) "self", NULL
35645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35647 if (SWIG_arg_fail(1)) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35664 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
;
35666 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35667 PyObject
* obj0
= 0 ;
35668 char *kwnames
[] = {
35669 (char *) "self", NULL
35672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35674 if (SWIG_arg_fail(1)) SWIG_fail
;
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35682 Py_INCREF(Py_None
); resultobj
= Py_None
;
35689 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35690 PyObject
*resultobj
;
35691 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35692 wxString
*arg2
= 0 ;
35693 bool temp2
= false ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self",(char *) "str", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35702 if (SWIG_arg_fail(1)) SWIG_fail
;
35704 arg2
= wxString_in_helper(obj1
);
35705 if (arg2
== NULL
) SWIG_fail
;
35709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35710 (arg1
)->SetHelp((wxString
const &)*arg2
);
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35715 Py_INCREF(Py_None
); resultobj
= Py_None
;
35730 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
;
35732 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35734 PyObject
* obj0
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35741 if (SWIG_arg_fail(1)) SWIG_fail
;
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35746 result
= (wxString
*) &_result_ref
;
35749 wxPyEndAllowThreads(__tstate
);
35750 if (PyErr_Occurred()) SWIG_fail
;
35754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35765 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
;
35767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35768 wxAcceleratorEntry
*result
;
35769 PyObject
* obj0
= 0 ;
35770 char *kwnames
[] = {
35771 (char *) "self", NULL
35774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35776 if (SWIG_arg_fail(1)) SWIG_fail
;
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35791 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35792 PyObject
*resultobj
;
35793 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35794 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35795 PyObject
* obj0
= 0 ;
35796 PyObject
* obj1
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "self",(char *) "accel", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35803 if (SWIG_arg_fail(1)) SWIG_fail
;
35804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35805 if (SWIG_arg_fail(2)) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 (arg1
)->SetAccel(arg2
);
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 Py_INCREF(Py_None
); resultobj
= Py_None
;
35820 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35823 char *kwnames
[] = {
35827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
35829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35830 result
= (int)MenuItem_GetDefaultMarginWidth();
35832 wxPyEndAllowThreads(__tstate
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_From_int((int)(result
));
35844 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35847 wxBitmap
*arg2
= 0 ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 char *kwnames
[] = {
35851 (char *) "self",(char *) "bitmap", NULL
35854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35856 if (SWIG_arg_fail(1)) SWIG_fail
;
35858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35859 if (SWIG_arg_fail(2)) SWIG_fail
;
35860 if (arg2
== NULL
) {
35861 SWIG_null_ref("wxBitmap");
35863 if (SWIG_arg_fail(2)) SWIG_fail
;
35866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35867 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
35869 wxPyEndAllowThreads(__tstate
);
35870 if (PyErr_Occurred()) SWIG_fail
;
35872 Py_INCREF(Py_None
); resultobj
= Py_None
;
35879 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35880 PyObject
*resultobj
;
35881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35883 PyObject
* obj0
= 0 ;
35884 char *kwnames
[] = {
35885 (char *) "self", NULL
35888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
35889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35890 if (SWIG_arg_fail(1)) SWIG_fail
;
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
35895 result
= (wxBitmap
*) &_result_ref
;
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35902 wxBitmap
* resultptr
= new wxBitmap(*result
);
35903 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
35911 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
35913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35914 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
35916 return Py_BuildValue((char *)"");
35918 static int _wrap_ControlNameStr_set(PyObject
*) {
35919 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
35924 static PyObject
*_wrap_ControlNameStr_get(void) {
35929 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
35931 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
35938 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35939 PyObject
*resultobj
;
35940 wxWindow
*arg1
= (wxWindow
*) 0 ;
35941 int arg2
= (int) -1 ;
35942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
35945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
35946 long arg5
= (long) 0 ;
35947 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
35948 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
35949 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
35950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
35954 bool temp7
= false ;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 PyObject
* obj2
= 0 ;
35958 PyObject
* obj3
= 0 ;
35959 PyObject
* obj4
= 0 ;
35960 PyObject
* obj5
= 0 ;
35961 PyObject
* obj6
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35968 if (SWIG_arg_fail(1)) SWIG_fail
;
35971 arg2
= (int)(SWIG_As_int(obj1
));
35972 if (SWIG_arg_fail(2)) SWIG_fail
;
35978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35989 arg5
= (long)(SWIG_As_long(obj4
));
35990 if (SWIG_arg_fail(5)) SWIG_fail
;
35995 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35996 if (SWIG_arg_fail(6)) SWIG_fail
;
35997 if (arg6
== NULL
) {
35998 SWIG_null_ref("wxValidator");
36000 if (SWIG_arg_fail(6)) SWIG_fail
;
36005 arg7
= wxString_in_helper(obj6
);
36006 if (arg7
== NULL
) SWIG_fail
;
36011 if (!wxPyCheckForApp()) SWIG_fail
;
36012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36013 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36033 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36036 char *kwnames
[] = {
36040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36042 if (!wxPyCheckForApp()) SWIG_fail
;
36043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36044 result
= (wxControl
*)new wxControl();
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36056 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
;
36058 wxControl
*arg1
= (wxControl
*) 0 ;
36059 wxWindow
*arg2
= (wxWindow
*) 0 ;
36060 int arg3
= (int) -1 ;
36061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36065 long arg6
= (long) 0 ;
36066 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36067 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36068 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36073 bool temp8
= false ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 PyObject
* obj2
= 0 ;
36077 PyObject
* obj3
= 0 ;
36078 PyObject
* obj4
= 0 ;
36079 PyObject
* obj5
= 0 ;
36080 PyObject
* obj6
= 0 ;
36081 PyObject
* obj7
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36088 if (SWIG_arg_fail(1)) SWIG_fail
;
36089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36090 if (SWIG_arg_fail(2)) SWIG_fail
;
36093 arg3
= (int)(SWIG_As_int(obj2
));
36094 if (SWIG_arg_fail(3)) SWIG_fail
;
36100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36111 arg6
= (long)(SWIG_As_long(obj5
));
36112 if (SWIG_arg_fail(6)) SWIG_fail
;
36117 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36118 if (SWIG_arg_fail(7)) SWIG_fail
;
36119 if (arg7
== NULL
) {
36120 SWIG_null_ref("wxValidator");
36122 if (SWIG_arg_fail(7)) SWIG_fail
;
36127 arg8
= wxString_in_helper(obj7
);
36128 if (arg8
== NULL
) SWIG_fail
;
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36136 wxPyEndAllowThreads(__tstate
);
36137 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36156 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxControl
*arg1
= (wxControl
*) 0 ;
36159 wxCommandEvent
*arg2
= 0 ;
36160 PyObject
* obj0
= 0 ;
36161 PyObject
* obj1
= 0 ;
36162 char *kwnames
[] = {
36163 (char *) "self",(char *) "event", NULL
36166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36168 if (SWIG_arg_fail(1)) SWIG_fail
;
36170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36171 if (SWIG_arg_fail(2)) SWIG_fail
;
36172 if (arg2
== NULL
) {
36173 SWIG_null_ref("wxCommandEvent");
36175 if (SWIG_arg_fail(2)) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 (arg1
)->Command(*arg2
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36184 Py_INCREF(Py_None
); resultobj
= Py_None
;
36191 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
;
36193 wxControl
*arg1
= (wxControl
*) 0 ;
36195 PyObject
* obj0
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36202 if (SWIG_arg_fail(1)) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= (arg1
)->GetLabel();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36223 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36224 PyObject
*resultobj
;
36225 wxControl
*arg1
= (wxControl
*) 0 ;
36226 wxString
*arg2
= 0 ;
36227 bool temp2
= false ;
36228 PyObject
* obj0
= 0 ;
36229 PyObject
* obj1
= 0 ;
36230 char *kwnames
[] = {
36231 (char *) "self",(char *) "label", NULL
36234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36236 if (SWIG_arg_fail(1)) SWIG_fail
;
36238 arg2
= wxString_in_helper(obj1
);
36239 if (arg2
== NULL
) SWIG_fail
;
36243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36244 (arg1
)->SetLabel((wxString
const &)*arg2
);
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 Py_INCREF(Py_None
); resultobj
= Py_None
;
36264 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36265 PyObject
*resultobj
;
36266 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36267 wxVisualAttributes result
;
36268 PyObject
* obj0
= 0 ;
36269 char *kwnames
[] = {
36270 (char *) "variant", NULL
36273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36276 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36277 if (SWIG_arg_fail(1)) SWIG_fail
;
36281 if (!wxPyCheckForApp()) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36285 wxPyEndAllowThreads(__tstate
);
36286 if (PyErr_Occurred()) SWIG_fail
;
36289 wxVisualAttributes
* resultptr
;
36290 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36299 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36302 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36304 return Py_BuildValue((char *)"");
36306 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36307 PyObject
*resultobj
;
36308 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36309 wxString
*arg2
= 0 ;
36310 PyObject
*arg3
= (PyObject
*) NULL
;
36312 bool temp2
= false ;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 PyObject
* obj2
= 0 ;
36316 char *kwnames
[] = {
36317 (char *) "self",(char *) "item",(char *) "clientData", NULL
36320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36322 if (SWIG_arg_fail(1)) SWIG_fail
;
36324 arg2
= wxString_in_helper(obj1
);
36325 if (arg2
== NULL
) SWIG_fail
;
36332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36333 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= SWIG_From_int((int)(result
));
36355 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36356 PyObject
*resultobj
;
36357 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36358 wxArrayString
*arg2
= 0 ;
36359 bool temp2
= false ;
36360 PyObject
* obj0
= 0 ;
36361 PyObject
* obj1
= 0 ;
36362 char *kwnames
[] = {
36363 (char *) "self",(char *) "strings", NULL
36366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36368 if (SWIG_arg_fail(1)) SWIG_fail
;
36370 if (! PySequence_Check(obj1
)) {
36371 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36374 arg2
= new wxArrayString
;
36376 int i
, len
=PySequence_Length(obj1
);
36377 for (i
=0; i
<len
; i
++) {
36378 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36380 PyObject
* str
= PyObject_Unicode(item
);
36382 PyObject
* str
= PyObject_Str(item
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36385 arg2
->Add(Py2wxString(str
));
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->Append((wxArrayString
const &)*arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 Py_INCREF(Py_None
); resultobj
= Py_None
;
36399 if (temp2
) delete arg2
;
36404 if (temp2
) delete arg2
;
36410 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
;
36412 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36413 wxString
*arg2
= 0 ;
36415 PyObject
*arg4
= (PyObject
*) NULL
;
36417 bool temp2
= false ;
36418 PyObject
* obj0
= 0 ;
36419 PyObject
* obj1
= 0 ;
36420 PyObject
* obj2
= 0 ;
36421 PyObject
* obj3
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36428 if (SWIG_arg_fail(1)) SWIG_fail
;
36430 arg2
= wxString_in_helper(obj1
);
36431 if (arg2
== NULL
) SWIG_fail
;
36435 arg3
= (int)(SWIG_As_int(obj2
));
36436 if (SWIG_arg_fail(3)) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= SWIG_From_int((int)(result
));
36465 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36466 PyObject
*resultobj
;
36467 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36468 PyObject
* obj0
= 0 ;
36469 char *kwnames
[] = {
36470 (char *) "self", NULL
36473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
36474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36475 if (SWIG_arg_fail(1)) SWIG_fail
;
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 Py_INCREF(Py_None
); resultobj
= Py_None
;
36490 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
;
36492 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 char *kwnames
[] = {
36497 (char *) "self",(char *) "n", NULL
36500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
36501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36502 if (SWIG_arg_fail(1)) SWIG_fail
;
36504 arg2
= (int)(SWIG_As_int(obj1
));
36505 if (SWIG_arg_fail(2)) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 (arg1
)->Delete(arg2
);
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 Py_INCREF(Py_None
); resultobj
= Py_None
;
36521 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36523 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36525 PyObject
* obj0
= 0 ;
36526 char *kwnames
[] = {
36527 (char *) "self", NULL
36530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
36531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36532 if (SWIG_arg_fail(1)) SWIG_fail
;
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_From_int((int)(result
));
36549 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36550 PyObject
*resultobj
;
36551 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36553 PyObject
* obj0
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
36559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36560 if (SWIG_arg_fail(1)) SWIG_fail
;
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
36565 wxPyEndAllowThreads(__tstate
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36577 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
;
36579 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36582 PyObject
* obj0
= 0 ;
36583 PyObject
* obj1
= 0 ;
36584 char *kwnames
[] = {
36585 (char *) "self",(char *) "n", NULL
36588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
36589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36590 if (SWIG_arg_fail(1)) SWIG_fail
;
36592 arg2
= (int)(SWIG_As_int(obj1
));
36593 if (SWIG_arg_fail(2)) SWIG_fail
;
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36615 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36616 PyObject
*resultobj
;
36617 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36618 wxArrayString result
;
36619 PyObject
* obj0
= 0 ;
36620 char *kwnames
[] = {
36621 (char *) "self", NULL
36624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
36625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36626 if (SWIG_arg_fail(1)) SWIG_fail
;
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= wxArrayString2PyList_helper(result
);
36643 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36644 PyObject
*resultobj
;
36645 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36647 wxString
*arg3
= 0 ;
36648 bool temp3
= false ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 PyObject
* obj2
= 0 ;
36652 char *kwnames
[] = {
36653 (char *) "self",(char *) "n",(char *) "s", NULL
36656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36658 if (SWIG_arg_fail(1)) SWIG_fail
;
36660 arg2
= (int)(SWIG_As_int(obj1
));
36661 if (SWIG_arg_fail(2)) SWIG_fail
;
36664 arg3
= wxString_in_helper(obj2
);
36665 if (arg3
== NULL
) SWIG_fail
;
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 Py_INCREF(Py_None
); resultobj
= Py_None
;
36690 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
;
36692 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36693 wxString
*arg2
= 0 ;
36695 bool temp2
= false ;
36696 PyObject
* obj0
= 0 ;
36697 PyObject
* obj1
= 0 ;
36698 char *kwnames
[] = {
36699 (char *) "self",(char *) "s", NULL
36702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
36703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36704 if (SWIG_arg_fail(1)) SWIG_fail
;
36706 arg2
= wxString_in_helper(obj1
);
36707 if (arg2
== NULL
) SWIG_fail
;
36711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36712 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
36714 wxPyEndAllowThreads(__tstate
);
36715 if (PyErr_Occurred()) SWIG_fail
;
36718 resultobj
= SWIG_From_int((int)(result
));
36734 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36735 PyObject
*resultobj
;
36736 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36738 PyObject
* obj0
= 0 ;
36739 PyObject
* obj1
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self",(char *) "n", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
36745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36746 if (SWIG_arg_fail(1)) SWIG_fail
;
36748 arg2
= (int)(SWIG_As_int(obj1
));
36749 if (SWIG_arg_fail(2)) SWIG_fail
;
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->Select(arg2
);
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 Py_INCREF(Py_None
); resultobj
= Py_None
;
36765 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36766 PyObject
*resultobj
;
36767 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36769 PyObject
* obj0
= 0 ;
36770 char *kwnames
[] = {
36771 (char *) "self", NULL
36774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
36775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36776 if (SWIG_arg_fail(1)) SWIG_fail
;
36778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36779 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
36781 wxPyEndAllowThreads(__tstate
);
36782 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_From_int((int)(result
));
36793 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
;
36795 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36797 PyObject
* obj0
= 0 ;
36798 char *kwnames
[] = {
36799 (char *) "self", NULL
36802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
36803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36804 if (SWIG_arg_fail(1)) SWIG_fail
;
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36825 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36826 PyObject
*resultobj
;
36827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36830 PyObject
* obj0
= 0 ;
36831 PyObject
* obj1
= 0 ;
36832 char *kwnames
[] = {
36833 (char *) "self",(char *) "n", NULL
36836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
36837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36838 if (SWIG_arg_fail(1)) SWIG_fail
;
36840 arg2
= (int)(SWIG_As_int(obj1
));
36841 if (SWIG_arg_fail(2)) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 resultobj
= result
;
36857 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
;
36859 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36861 PyObject
*arg3
= (PyObject
*) 0 ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 PyObject
* obj2
= 0 ;
36865 char *kwnames
[] = {
36866 (char *) "self",(char *) "n",(char *) "clientData", NULL
36869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36871 if (SWIG_arg_fail(1)) SWIG_fail
;
36873 arg2
= (int)(SWIG_As_int(obj1
));
36874 if (SWIG_arg_fail(2)) SWIG_fail
;
36878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36879 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 Py_INCREF(Py_None
); resultobj
= Py_None
;
36891 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
36893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36894 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
36896 return Py_BuildValue((char *)"");
36898 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
36900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36901 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
36903 return Py_BuildValue((char *)"");
36905 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
;
36907 wxSizerItem
*result
;
36908 char *kwnames
[] = {
36912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 result
= (wxSizerItem
*)new wxSizerItem();
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
36927 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxWindow
*arg1
= (wxWindow
*) 0 ;
36933 PyObject
*arg5
= (PyObject
*) NULL
;
36934 wxSizerItem
*result
;
36935 PyObject
* obj0
= 0 ;
36936 PyObject
* obj1
= 0 ;
36937 PyObject
* obj2
= 0 ;
36938 PyObject
* obj3
= 0 ;
36939 PyObject
* obj4
= 0 ;
36940 char *kwnames
[] = {
36941 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36946 if (SWIG_arg_fail(1)) SWIG_fail
;
36948 arg2
= (int)(SWIG_As_int(obj1
));
36949 if (SWIG_arg_fail(2)) SWIG_fail
;
36952 arg3
= (int)(SWIG_As_int(obj2
));
36953 if (SWIG_arg_fail(3)) SWIG_fail
;
36956 arg4
= (int)(SWIG_As_int(obj3
));
36957 if (SWIG_arg_fail(4)) SWIG_fail
;
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
36976 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
;
36983 PyObject
*arg6
= (PyObject
*) NULL
;
36984 wxSizerItem
*result
;
36985 PyObject
* obj0
= 0 ;
36986 PyObject
* obj1
= 0 ;
36987 PyObject
* obj2
= 0 ;
36988 PyObject
* obj3
= 0 ;
36989 PyObject
* obj4
= 0 ;
36990 PyObject
* obj5
= 0 ;
36991 char *kwnames
[] = {
36992 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36997 arg1
= (int)(SWIG_As_int(obj0
));
36998 if (SWIG_arg_fail(1)) SWIG_fail
;
37001 arg2
= (int)(SWIG_As_int(obj1
));
37002 if (SWIG_arg_fail(2)) SWIG_fail
;
37005 arg3
= (int)(SWIG_As_int(obj2
));
37006 if (SWIG_arg_fail(3)) SWIG_fail
;
37009 arg4
= (int)(SWIG_As_int(obj3
));
37010 if (SWIG_arg_fail(4)) SWIG_fail
;
37013 arg5
= (int)(SWIG_As_int(obj4
));
37014 if (SWIG_arg_fail(5)) SWIG_fail
;
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37033 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
;
37035 wxSizer
*arg1
= (wxSizer
*) 0 ;
37039 PyObject
*arg5
= (PyObject
*) NULL
;
37040 wxSizerItem
*result
;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 PyObject
* obj2
= 0 ;
37044 PyObject
* obj3
= 0 ;
37045 PyObject
* obj4
= 0 ;
37046 char *kwnames
[] = {
37047 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37052 if (SWIG_arg_fail(1)) SWIG_fail
;
37054 arg2
= (int)(SWIG_As_int(obj1
));
37055 if (SWIG_arg_fail(2)) SWIG_fail
;
37058 arg3
= (int)(SWIG_As_int(obj2
));
37059 if (SWIG_arg_fail(3)) SWIG_fail
;
37062 arg4
= (int)(SWIG_As_int(obj3
));
37063 if (SWIG_arg_fail(4)) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37082 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
;
37084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37085 PyObject
* obj0
= 0 ;
37086 char *kwnames
[] = {
37087 (char *) "self", NULL
37090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37092 if (SWIG_arg_fail(1)) SWIG_fail
;
37094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 (arg1
)->DeleteWindows();
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 Py_INCREF(Py_None
); resultobj
= Py_None
;
37107 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
;
37109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37110 PyObject
* obj0
= 0 ;
37111 char *kwnames
[] = {
37112 (char *) "self", NULL
37115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37117 if (SWIG_arg_fail(1)) SWIG_fail
;
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 (arg1
)->DetachSizer();
37122 wxPyEndAllowThreads(__tstate
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37125 Py_INCREF(Py_None
); resultobj
= Py_None
;
37132 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37133 PyObject
*resultobj
;
37134 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37136 PyObject
* obj0
= 0 ;
37137 char *kwnames
[] = {
37138 (char *) "self", NULL
37141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37143 if (SWIG_arg_fail(1)) SWIG_fail
;
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 result
= (arg1
)->GetSize();
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37152 wxSize
* resultptr
;
37153 resultptr
= new wxSize((wxSize
&)(result
));
37154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37162 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37163 PyObject
*resultobj
;
37164 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37166 PyObject
* obj0
= 0 ;
37167 char *kwnames
[] = {
37168 (char *) "self", NULL
37171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37173 if (SWIG_arg_fail(1)) SWIG_fail
;
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 result
= (arg1
)->CalcMin();
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37182 wxSize
* resultptr
;
37183 resultptr
= new wxSize((wxSize
&)(result
));
37184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37192 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37193 PyObject
*resultobj
;
37194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37197 PyObject
* obj0
= 0 ;
37198 PyObject
* obj1
= 0 ;
37199 PyObject
* obj2
= 0 ;
37200 char *kwnames
[] = {
37201 (char *) "self",(char *) "pos",(char *) "size", NULL
37204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37206 if (SWIG_arg_fail(1)) SWIG_fail
;
37209 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37210 if (SWIG_arg_fail(2)) SWIG_fail
;
37211 if (argp
== NULL
) {
37212 SWIG_null_ref("wxPoint");
37214 if (SWIG_arg_fail(2)) SWIG_fail
;
37219 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37220 if (SWIG_arg_fail(3)) SWIG_fail
;
37221 if (argp
== NULL
) {
37222 SWIG_null_ref("wxSize");
37224 if (SWIG_arg_fail(3)) SWIG_fail
;
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 (arg1
)->SetDimension(arg2
,arg3
);
37231 wxPyEndAllowThreads(__tstate
);
37232 if (PyErr_Occurred()) SWIG_fail
;
37234 Py_INCREF(Py_None
); resultobj
= Py_None
;
37241 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37242 PyObject
*resultobj
;
37243 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37245 PyObject
* obj0
= 0 ;
37246 char *kwnames
[] = {
37247 (char *) "self", NULL
37250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37252 if (SWIG_arg_fail(1)) SWIG_fail
;
37254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37255 result
= (arg1
)->GetMinSize();
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37261 wxSize
* resultptr
;
37262 resultptr
= new wxSize((wxSize
&)(result
));
37263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37271 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37272 PyObject
*resultobj
;
37273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37275 PyObject
* obj0
= 0 ;
37276 char *kwnames
[] = {
37277 (char *) "self", NULL
37280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37282 if (SWIG_arg_fail(1)) SWIG_fail
;
37284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37285 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37291 wxSize
* resultptr
;
37292 resultptr
= new wxSize((wxSize
&)(result
));
37293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37301 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37302 PyObject
*resultobj
;
37303 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37306 PyObject
* obj0
= 0 ;
37307 PyObject
* obj1
= 0 ;
37308 PyObject
* obj2
= 0 ;
37309 char *kwnames
[] = {
37310 (char *) "self",(char *) "x",(char *) "y", NULL
37313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37315 if (SWIG_arg_fail(1)) SWIG_fail
;
37317 arg2
= (int)(SWIG_As_int(obj1
));
37318 if (SWIG_arg_fail(2)) SWIG_fail
;
37321 arg3
= (int)(SWIG_As_int(obj2
));
37322 if (SWIG_arg_fail(3)) SWIG_fail
;
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 (arg1
)->SetInitSize(arg2
,arg3
);
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37331 Py_INCREF(Py_None
); resultobj
= Py_None
;
37338 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
;
37340 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 PyObject
* obj2
= 0 ;
37346 char *kwnames
[] = {
37347 (char *) "self",(char *) "width",(char *) "height", NULL
37350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37352 if (SWIG_arg_fail(1)) SWIG_fail
;
37354 arg2
= (int)(SWIG_As_int(obj1
));
37355 if (SWIG_arg_fail(2)) SWIG_fail
;
37358 arg3
= (int)(SWIG_As_int(obj2
));
37359 if (SWIG_arg_fail(3)) SWIG_fail
;
37362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 (arg1
)->SetRatio(arg2
,arg3
);
37365 wxPyEndAllowThreads(__tstate
);
37366 if (PyErr_Occurred()) SWIG_fail
;
37368 Py_INCREF(Py_None
); resultobj
= Py_None
;
37375 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37379 PyObject
* obj0
= 0 ;
37380 PyObject
* obj1
= 0 ;
37381 char *kwnames
[] = {
37382 (char *) "self",(char *) "size", NULL
37385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37387 if (SWIG_arg_fail(1)) SWIG_fail
;
37390 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37391 if (SWIG_arg_fail(2)) SWIG_fail
;
37392 if (argp
== NULL
) {
37393 SWIG_null_ref("wxSize");
37395 if (SWIG_arg_fail(2)) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 (arg1
)->SetRatio(arg2
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 Py_INCREF(Py_None
); resultobj
= Py_None
;
37412 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37413 PyObject
*resultobj
;
37414 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37416 PyObject
* obj0
= 0 ;
37417 PyObject
* obj1
= 0 ;
37418 char *kwnames
[] = {
37419 (char *) "self",(char *) "ratio", NULL
37422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37424 if (SWIG_arg_fail(1)) SWIG_fail
;
37426 arg2
= (float)(SWIG_As_float(obj1
));
37427 if (SWIG_arg_fail(2)) SWIG_fail
;
37430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37431 (arg1
)->SetRatio(arg2
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 Py_INCREF(Py_None
); resultobj
= Py_None
;
37443 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
;
37445 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37447 PyObject
* obj0
= 0 ;
37448 char *kwnames
[] = {
37449 (char *) "self", NULL
37452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
37453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37454 if (SWIG_arg_fail(1)) SWIG_fail
;
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 result
= (float)(arg1
)->GetRatio();
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37463 resultobj
= SWIG_From_float((float)(result
));
37471 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37472 PyObject
*resultobj
;
37473 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37475 PyObject
* obj0
= 0 ;
37476 char *kwnames
[] = {
37477 (char *) "self", NULL
37480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
37481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37482 if (SWIG_arg_fail(1)) SWIG_fail
;
37484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37485 result
= (arg1
)->GetRect();
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37491 wxRect
* resultptr
;
37492 resultptr
= new wxRect((wxRect
&)(result
));
37493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
37501 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37502 PyObject
*resultobj
;
37503 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37505 PyObject
* obj0
= 0 ;
37506 char *kwnames
[] = {
37507 (char *) "self", NULL
37510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
37511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37512 if (SWIG_arg_fail(1)) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 result
= (bool)(arg1
)->IsWindow();
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37529 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
;
37531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37533 PyObject
* obj0
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
37539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37540 if (SWIG_arg_fail(1)) SWIG_fail
;
37542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37543 result
= (bool)(arg1
)->IsSizer();
37545 wxPyEndAllowThreads(__tstate
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37557 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37558 PyObject
*resultobj
;
37559 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37561 PyObject
* obj0
= 0 ;
37562 char *kwnames
[] = {
37563 (char *) "self", NULL
37566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
37567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37568 if (SWIG_arg_fail(1)) SWIG_fail
;
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 result
= (bool)(arg1
)->IsSpacer();
37573 wxPyEndAllowThreads(__tstate
);
37574 if (PyErr_Occurred()) SWIG_fail
;
37577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37585 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37586 PyObject
*resultobj
;
37587 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 PyObject
* obj1
= 0 ;
37591 char *kwnames
[] = {
37592 (char *) "self",(char *) "proportion", NULL
37595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
37596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37597 if (SWIG_arg_fail(1)) SWIG_fail
;
37599 arg2
= (int)(SWIG_As_int(obj1
));
37600 if (SWIG_arg_fail(2)) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 (arg1
)->SetProportion(arg2
);
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 Py_INCREF(Py_None
); resultobj
= Py_None
;
37616 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37620 PyObject
* obj0
= 0 ;
37621 char *kwnames
[] = {
37622 (char *) "self", NULL
37625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
37626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37627 if (SWIG_arg_fail(1)) SWIG_fail
;
37629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37630 result
= (int)(arg1
)->GetProportion();
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= SWIG_From_int((int)(result
));
37644 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37645 PyObject
*resultobj
;
37646 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37648 PyObject
* obj0
= 0 ;
37649 PyObject
* obj1
= 0 ;
37650 char *kwnames
[] = {
37651 (char *) "self",(char *) "flag", NULL
37654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
37655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37656 if (SWIG_arg_fail(1)) SWIG_fail
;
37658 arg2
= (int)(SWIG_As_int(obj1
));
37659 if (SWIG_arg_fail(2)) SWIG_fail
;
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 (arg1
)->SetFlag(arg2
);
37665 wxPyEndAllowThreads(__tstate
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37668 Py_INCREF(Py_None
); resultobj
= Py_None
;
37675 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37676 PyObject
*resultobj
;
37677 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37679 PyObject
* obj0
= 0 ;
37680 char *kwnames
[] = {
37681 (char *) "self", NULL
37684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
37685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37686 if (SWIG_arg_fail(1)) SWIG_fail
;
37688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 result
= (int)(arg1
)->GetFlag();
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= SWIG_From_int((int)(result
));
37703 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37704 PyObject
*resultobj
;
37705 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37707 PyObject
* obj0
= 0 ;
37708 PyObject
* obj1
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "self",(char *) "border", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
37714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37715 if (SWIG_arg_fail(1)) SWIG_fail
;
37717 arg2
= (int)(SWIG_As_int(obj1
));
37718 if (SWIG_arg_fail(2)) SWIG_fail
;
37721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37722 (arg1
)->SetBorder(arg2
);
37724 wxPyEndAllowThreads(__tstate
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37727 Py_INCREF(Py_None
); resultobj
= Py_None
;
37734 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37735 PyObject
*resultobj
;
37736 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37738 PyObject
* obj0
= 0 ;
37739 char *kwnames
[] = {
37740 (char *) "self", NULL
37743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
37744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37745 if (SWIG_arg_fail(1)) SWIG_fail
;
37747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37748 result
= (int)(arg1
)->GetBorder();
37750 wxPyEndAllowThreads(__tstate
);
37751 if (PyErr_Occurred()) SWIG_fail
;
37754 resultobj
= SWIG_From_int((int)(result
));
37762 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37763 PyObject
*resultobj
;
37764 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37766 PyObject
* obj0
= 0 ;
37767 char *kwnames
[] = {
37768 (char *) "self", NULL
37771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
37772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37773 if (SWIG_arg_fail(1)) SWIG_fail
;
37775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37776 result
= (wxWindow
*)(arg1
)->GetWindow();
37778 wxPyEndAllowThreads(__tstate
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37782 resultobj
= wxPyMake_wxObject(result
, 0);
37790 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
;
37792 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37793 wxWindow
*arg2
= (wxWindow
*) 0 ;
37794 PyObject
* obj0
= 0 ;
37795 PyObject
* obj1
= 0 ;
37796 char *kwnames
[] = {
37797 (char *) "self",(char *) "window", NULL
37800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
37801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37802 if (SWIG_arg_fail(1)) SWIG_fail
;
37803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37804 if (SWIG_arg_fail(2)) SWIG_fail
;
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 (arg1
)->SetWindow(arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 Py_INCREF(Py_None
); resultobj
= Py_None
;
37819 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
;
37821 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37823 PyObject
* obj0
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
37829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37830 if (SWIG_arg_fail(1)) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 result
= (wxSizer
*)(arg1
)->GetSizer();
37835 wxPyEndAllowThreads(__tstate
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37839 resultobj
= wxPyMake_wxSizer(result
, 0);
37847 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37848 PyObject
*resultobj
;
37849 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37850 wxSizer
*arg2
= (wxSizer
*) 0 ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37853 char *kwnames
[] = {
37854 (char *) "self",(char *) "sizer", NULL
37857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37859 if (SWIG_arg_fail(1)) SWIG_fail
;
37860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37861 if (SWIG_arg_fail(2)) SWIG_fail
;
37863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37864 (arg1
)->SetSizer(arg2
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37869 Py_INCREF(Py_None
); resultobj
= Py_None
;
37876 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
;
37878 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37880 PyObject
* obj0
= 0 ;
37881 char *kwnames
[] = {
37882 (char *) "self", NULL
37885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
37886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37887 if (SWIG_arg_fail(1)) SWIG_fail
;
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
37892 result
= (wxSize
*) &_result_ref
;
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
37905 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37906 PyObject
*resultobj
;
37907 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37910 PyObject
* obj0
= 0 ;
37911 PyObject
* obj1
= 0 ;
37912 char *kwnames
[] = {
37913 (char *) "self",(char *) "size", NULL
37916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
37917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37918 if (SWIG_arg_fail(1)) SWIG_fail
;
37921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 Py_INCREF(Py_None
); resultobj
= Py_None
;
37937 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 PyObject
* obj1
= 0 ;
37943 char *kwnames
[] = {
37944 (char *) "self",(char *) "show", NULL
37947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
37948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37949 if (SWIG_arg_fail(1)) SWIG_fail
;
37951 arg2
= (bool)(SWIG_As_bool(obj1
));
37952 if (SWIG_arg_fail(2)) SWIG_fail
;
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 (arg1
)->Show(arg2
);
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37961 Py_INCREF(Py_None
); resultobj
= Py_None
;
37968 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
;
37970 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37972 PyObject
* obj0
= 0 ;
37973 char *kwnames
[] = {
37974 (char *) "self", NULL
37977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
37978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37979 if (SWIG_arg_fail(1)) SWIG_fail
;
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 result
= (bool)(arg1
)->IsShown();
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37996 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37997 PyObject
*resultobj
;
37998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38000 PyObject
* obj0
= 0 ;
38001 char *kwnames
[] = {
38002 (char *) "self", NULL
38005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38007 if (SWIG_arg_fail(1)) SWIG_fail
;
38009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38010 result
= (arg1
)->GetPosition();
38012 wxPyEndAllowThreads(__tstate
);
38013 if (PyErr_Occurred()) SWIG_fail
;
38016 wxPoint
* resultptr
;
38017 resultptr
= new wxPoint((wxPoint
&)(result
));
38018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38026 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38027 PyObject
*resultobj
;
38028 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38030 PyObject
* obj0
= 0 ;
38031 char *kwnames
[] = {
38032 (char *) "self", NULL
38035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38037 if (SWIG_arg_fail(1)) SWIG_fail
;
38039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38040 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38042 wxPyEndAllowThreads(__tstate
);
38043 if (PyErr_Occurred()) SWIG_fail
;
38045 resultobj
= result
;
38052 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38055 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38057 return Py_BuildValue((char *)"");
38059 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38060 PyObject
*resultobj
;
38061 wxSizer
*arg1
= (wxSizer
*) 0 ;
38062 PyObject
*arg2
= (PyObject
*) 0 ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 char *kwnames
[] = {
38066 (char *) "self",(char *) "_self", NULL
38069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38071 if (SWIG_arg_fail(1)) SWIG_fail
;
38074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38075 wxSizer__setOORInfo(arg1
,arg2
);
38077 wxPyEndAllowThreads(__tstate
);
38078 if (PyErr_Occurred()) SWIG_fail
;
38080 Py_INCREF(Py_None
); resultobj
= Py_None
;
38087 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38088 PyObject
*resultobj
;
38089 wxSizer
*arg1
= (wxSizer
*) 0 ;
38090 PyObject
*arg2
= (PyObject
*) 0 ;
38091 int arg3
= (int) 0 ;
38092 int arg4
= (int) 0 ;
38093 int arg5
= (int) 0 ;
38094 PyObject
*arg6
= (PyObject
*) NULL
;
38095 wxSizerItem
*result
;
38096 PyObject
* obj0
= 0 ;
38097 PyObject
* obj1
= 0 ;
38098 PyObject
* obj2
= 0 ;
38099 PyObject
* obj3
= 0 ;
38100 PyObject
* obj4
= 0 ;
38101 PyObject
* obj5
= 0 ;
38102 char *kwnames
[] = {
38103 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38108 if (SWIG_arg_fail(1)) SWIG_fail
;
38112 arg3
= (int)(SWIG_As_int(obj2
));
38113 if (SWIG_arg_fail(3)) SWIG_fail
;
38118 arg4
= (int)(SWIG_As_int(obj3
));
38119 if (SWIG_arg_fail(4)) SWIG_fail
;
38124 arg5
= (int)(SWIG_As_int(obj4
));
38125 if (SWIG_arg_fail(5)) SWIG_fail
;
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38135 wxPyEndAllowThreads(__tstate
);
38136 if (PyErr_Occurred()) SWIG_fail
;
38138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38145 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
;
38147 wxSizer
*arg1
= (wxSizer
*) 0 ;
38149 PyObject
*arg3
= (PyObject
*) 0 ;
38150 int arg4
= (int) 0 ;
38151 int arg5
= (int) 0 ;
38152 int arg6
= (int) 0 ;
38153 PyObject
*arg7
= (PyObject
*) NULL
;
38154 wxSizerItem
*result
;
38155 PyObject
* obj0
= 0 ;
38156 PyObject
* obj1
= 0 ;
38157 PyObject
* obj2
= 0 ;
38158 PyObject
* obj3
= 0 ;
38159 PyObject
* obj4
= 0 ;
38160 PyObject
* obj5
= 0 ;
38161 PyObject
* obj6
= 0 ;
38162 char *kwnames
[] = {
38163 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38168 if (SWIG_arg_fail(1)) SWIG_fail
;
38170 arg2
= (int)(SWIG_As_int(obj1
));
38171 if (SWIG_arg_fail(2)) SWIG_fail
;
38176 arg4
= (int)(SWIG_As_int(obj3
));
38177 if (SWIG_arg_fail(4)) SWIG_fail
;
38182 arg5
= (int)(SWIG_As_int(obj4
));
38183 if (SWIG_arg_fail(5)) SWIG_fail
;
38188 arg6
= (int)(SWIG_As_int(obj5
));
38189 if (SWIG_arg_fail(6)) SWIG_fail
;
38196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38197 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38209 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38210 PyObject
*resultobj
;
38211 wxSizer
*arg1
= (wxSizer
*) 0 ;
38212 PyObject
*arg2
= (PyObject
*) 0 ;
38213 int arg3
= (int) 0 ;
38214 int arg4
= (int) 0 ;
38215 int arg5
= (int) 0 ;
38216 PyObject
*arg6
= (PyObject
*) NULL
;
38217 wxSizerItem
*result
;
38218 PyObject
* obj0
= 0 ;
38219 PyObject
* obj1
= 0 ;
38220 PyObject
* obj2
= 0 ;
38221 PyObject
* obj3
= 0 ;
38222 PyObject
* obj4
= 0 ;
38223 PyObject
* obj5
= 0 ;
38224 char *kwnames
[] = {
38225 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38230 if (SWIG_arg_fail(1)) SWIG_fail
;
38234 arg3
= (int)(SWIG_As_int(obj2
));
38235 if (SWIG_arg_fail(3)) SWIG_fail
;
38240 arg4
= (int)(SWIG_As_int(obj3
));
38241 if (SWIG_arg_fail(4)) SWIG_fail
;
38246 arg5
= (int)(SWIG_As_int(obj4
));
38247 if (SWIG_arg_fail(5)) SWIG_fail
;
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38267 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
;
38269 wxSizer
*arg1
= (wxSizer
*) 0 ;
38270 PyObject
*arg2
= (PyObject
*) 0 ;
38272 PyObject
* obj0
= 0 ;
38273 PyObject
* obj1
= 0 ;
38274 char *kwnames
[] = {
38275 (char *) "self",(char *) "item", NULL
38278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38280 if (SWIG_arg_fail(1)) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38298 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38299 PyObject
*resultobj
;
38300 wxSizer
*arg1
= (wxSizer
*) 0 ;
38301 PyObject
*arg2
= (PyObject
*) 0 ;
38303 PyObject
* obj0
= 0 ;
38304 PyObject
* obj1
= 0 ;
38305 char *kwnames
[] = {
38306 (char *) "self",(char *) "item", NULL
38309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38311 if (SWIG_arg_fail(1)) SWIG_fail
;
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38329 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
;
38331 wxSizer
*arg1
= (wxSizer
*) 0 ;
38332 PyObject
*arg2
= (PyObject
*) 0 ;
38333 wxSizerItem
*result
;
38334 PyObject
* obj0
= 0 ;
38335 PyObject
* obj1
= 0 ;
38336 char *kwnames
[] = {
38337 (char *) "self",(char *) "item", NULL
38340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38342 if (SWIG_arg_fail(1)) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38358 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38359 PyObject
*resultobj
;
38360 wxSizer
*arg1
= (wxSizer
*) 0 ;
38361 PyObject
*arg2
= (PyObject
*) 0 ;
38364 PyObject
* obj0
= 0 ;
38365 PyObject
* obj1
= 0 ;
38366 PyObject
* obj2
= 0 ;
38367 char *kwnames
[] = {
38368 (char *) "self",(char *) "item",(char *) "size", NULL
38371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38373 if (SWIG_arg_fail(1)) SWIG_fail
;
38377 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38383 wxPyEndAllowThreads(__tstate
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38386 Py_INCREF(Py_None
); resultobj
= Py_None
;
38393 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38394 PyObject
*resultobj
;
38395 wxSizer
*arg1
= (wxSizer
*) 0 ;
38396 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38397 wxSizerItem
*result
;
38398 PyObject
* obj0
= 0 ;
38399 PyObject
* obj1
= 0 ;
38400 char *kwnames
[] = {
38401 (char *) "self",(char *) "item", NULL
38404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38406 if (SWIG_arg_fail(1)) SWIG_fail
;
38407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38408 if (SWIG_arg_fail(2)) SWIG_fail
;
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38413 wxPyEndAllowThreads(__tstate
);
38414 if (PyErr_Occurred()) SWIG_fail
;
38416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38423 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38424 PyObject
*resultobj
;
38425 wxSizer
*arg1
= (wxSizer
*) 0 ;
38427 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
38428 wxSizerItem
*result
;
38429 PyObject
* obj0
= 0 ;
38430 PyObject
* obj1
= 0 ;
38431 PyObject
* obj2
= 0 ;
38432 char *kwnames
[] = {
38433 (char *) "self",(char *) "index",(char *) "item", NULL
38436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38438 if (SWIG_arg_fail(1)) SWIG_fail
;
38440 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
38441 if (SWIG_arg_fail(2)) SWIG_fail
;
38443 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38444 if (SWIG_arg_fail(3)) SWIG_fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38459 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38460 PyObject
*resultobj
;
38461 wxSizer
*arg1
= (wxSizer
*) 0 ;
38462 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38463 wxSizerItem
*result
;
38464 PyObject
* obj0
= 0 ;
38465 PyObject
* obj1
= 0 ;
38466 char *kwnames
[] = {
38467 (char *) "self",(char *) "item", NULL
38470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38472 if (SWIG_arg_fail(1)) SWIG_fail
;
38473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38474 if (SWIG_arg_fail(2)) SWIG_fail
;
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38477 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38489 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38490 PyObject
*resultobj
;
38491 wxSizer
*arg1
= (wxSizer
*) 0 ;
38496 PyObject
* obj0
= 0 ;
38497 PyObject
* obj1
= 0 ;
38498 PyObject
* obj2
= 0 ;
38499 PyObject
* obj3
= 0 ;
38500 PyObject
* obj4
= 0 ;
38501 char *kwnames
[] = {
38502 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38507 if (SWIG_arg_fail(1)) SWIG_fail
;
38509 arg2
= (int)(SWIG_As_int(obj1
));
38510 if (SWIG_arg_fail(2)) SWIG_fail
;
38513 arg3
= (int)(SWIG_As_int(obj2
));
38514 if (SWIG_arg_fail(3)) SWIG_fail
;
38517 arg4
= (int)(SWIG_As_int(obj3
));
38518 if (SWIG_arg_fail(4)) SWIG_fail
;
38521 arg5
= (int)(SWIG_As_int(obj4
));
38522 if (SWIG_arg_fail(5)) SWIG_fail
;
38525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38526 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 Py_INCREF(Py_None
); resultobj
= Py_None
;
38538 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38539 PyObject
*resultobj
;
38540 wxSizer
*arg1
= (wxSizer
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 char *kwnames
[] = {
38546 (char *) "self",(char *) "size", NULL
38549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38551 if (SWIG_arg_fail(1)) SWIG_fail
;
38554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38558 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
38560 wxPyEndAllowThreads(__tstate
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38563 Py_INCREF(Py_None
); resultobj
= Py_None
;
38570 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38571 PyObject
*resultobj
;
38572 wxSizer
*arg1
= (wxSizer
*) 0 ;
38574 PyObject
* obj0
= 0 ;
38575 char *kwnames
[] = {
38576 (char *) "self", NULL
38579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
38580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38581 if (SWIG_arg_fail(1)) SWIG_fail
;
38583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38584 result
= (arg1
)->GetSize();
38586 wxPyEndAllowThreads(__tstate
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38590 wxSize
* resultptr
;
38591 resultptr
= new wxSize((wxSize
&)(result
));
38592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38600 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
;
38602 wxSizer
*arg1
= (wxSizer
*) 0 ;
38604 PyObject
* obj0
= 0 ;
38605 char *kwnames
[] = {
38606 (char *) "self", NULL
38609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
38610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38611 if (SWIG_arg_fail(1)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 result
= (arg1
)->GetPosition();
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38620 wxPoint
* resultptr
;
38621 resultptr
= new wxPoint((wxPoint
&)(result
));
38622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38630 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
;
38632 wxSizer
*arg1
= (wxSizer
*) 0 ;
38634 PyObject
* obj0
= 0 ;
38635 char *kwnames
[] = {
38636 (char *) "self", NULL
38639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
38640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38641 if (SWIG_arg_fail(1)) SWIG_fail
;
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 result
= (arg1
)->GetMinSize();
38646 wxPyEndAllowThreads(__tstate
);
38647 if (PyErr_Occurred()) SWIG_fail
;
38650 wxSize
* resultptr
;
38651 resultptr
= new wxSize((wxSize
&)(result
));
38652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38660 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
;
38662 wxSizer
*arg1
= (wxSizer
*) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38670 if (SWIG_arg_fail(1)) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 (arg1
)->RecalcSizes();
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38678 Py_INCREF(Py_None
); resultobj
= Py_None
;
38685 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
;
38687 wxSizer
*arg1
= (wxSizer
*) 0 ;
38689 PyObject
* obj0
= 0 ;
38690 char *kwnames
[] = {
38691 (char *) "self", NULL
38694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38696 if (SWIG_arg_fail(1)) SWIG_fail
;
38698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38699 result
= (arg1
)->CalcMin();
38701 wxPyEndAllowThreads(__tstate
);
38702 if (PyErr_Occurred()) SWIG_fail
;
38705 wxSize
* resultptr
;
38706 resultptr
= new wxSize((wxSize
&)(result
));
38707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38715 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38716 PyObject
*resultobj
;
38717 wxSizer
*arg1
= (wxSizer
*) 0 ;
38718 PyObject
* obj0
= 0 ;
38719 char *kwnames
[] = {
38720 (char *) "self", NULL
38723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
38724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38725 if (SWIG_arg_fail(1)) SWIG_fail
;
38727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 wxPyEndAllowThreads(__tstate
);
38731 if (PyErr_Occurred()) SWIG_fail
;
38733 Py_INCREF(Py_None
); resultobj
= Py_None
;
38740 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38741 PyObject
*resultobj
;
38742 wxSizer
*arg1
= (wxSizer
*) 0 ;
38743 wxWindow
*arg2
= (wxWindow
*) 0 ;
38745 PyObject
* obj0
= 0 ;
38746 PyObject
* obj1
= 0 ;
38747 char *kwnames
[] = {
38748 (char *) "self",(char *) "window", NULL
38751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
38752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38753 if (SWIG_arg_fail(1)) SWIG_fail
;
38754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38755 if (SWIG_arg_fail(2)) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 result
= (arg1
)->Fit(arg2
);
38760 wxPyEndAllowThreads(__tstate
);
38761 if (PyErr_Occurred()) SWIG_fail
;
38764 wxSize
* resultptr
;
38765 resultptr
= new wxSize((wxSize
&)(result
));
38766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38774 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38775 PyObject
*resultobj
;
38776 wxSizer
*arg1
= (wxSizer
*) 0 ;
38777 wxWindow
*arg2
= (wxWindow
*) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 char *kwnames
[] = {
38781 (char *) "self",(char *) "window", NULL
38784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
38785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38786 if (SWIG_arg_fail(1)) SWIG_fail
;
38787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38788 if (SWIG_arg_fail(2)) SWIG_fail
;
38790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38791 (arg1
)->FitInside(arg2
);
38793 wxPyEndAllowThreads(__tstate
);
38794 if (PyErr_Occurred()) SWIG_fail
;
38796 Py_INCREF(Py_None
); resultobj
= Py_None
;
38803 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38804 PyObject
*resultobj
;
38805 wxSizer
*arg1
= (wxSizer
*) 0 ;
38806 wxWindow
*arg2
= (wxWindow
*) 0 ;
38807 PyObject
* obj0
= 0 ;
38808 PyObject
* obj1
= 0 ;
38809 char *kwnames
[] = {
38810 (char *) "self",(char *) "window", NULL
38813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38815 if (SWIG_arg_fail(1)) SWIG_fail
;
38816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38817 if (SWIG_arg_fail(2)) SWIG_fail
;
38819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38820 (arg1
)->SetSizeHints(arg2
);
38822 wxPyEndAllowThreads(__tstate
);
38823 if (PyErr_Occurred()) SWIG_fail
;
38825 Py_INCREF(Py_None
); resultobj
= Py_None
;
38832 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38833 PyObject
*resultobj
;
38834 wxSizer
*arg1
= (wxSizer
*) 0 ;
38835 wxWindow
*arg2
= (wxWindow
*) 0 ;
38836 PyObject
* obj0
= 0 ;
38837 PyObject
* obj1
= 0 ;
38838 char *kwnames
[] = {
38839 (char *) "self",(char *) "window", NULL
38842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38844 if (SWIG_arg_fail(1)) SWIG_fail
;
38845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38846 if (SWIG_arg_fail(2)) SWIG_fail
;
38848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38849 (arg1
)->SetVirtualSizeHints(arg2
);
38851 wxPyEndAllowThreads(__tstate
);
38852 if (PyErr_Occurred()) SWIG_fail
;
38854 Py_INCREF(Py_None
); resultobj
= Py_None
;
38861 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38862 PyObject
*resultobj
;
38863 wxSizer
*arg1
= (wxSizer
*) 0 ;
38864 bool arg2
= (bool) false ;
38865 PyObject
* obj0
= 0 ;
38866 PyObject
* obj1
= 0 ;
38867 char *kwnames
[] = {
38868 (char *) "self",(char *) "deleteWindows", NULL
38871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
38872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38873 if (SWIG_arg_fail(1)) SWIG_fail
;
38876 arg2
= (bool)(SWIG_As_bool(obj1
));
38877 if (SWIG_arg_fail(2)) SWIG_fail
;
38881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38882 (arg1
)->Clear(arg2
);
38884 wxPyEndAllowThreads(__tstate
);
38885 if (PyErr_Occurred()) SWIG_fail
;
38887 Py_INCREF(Py_None
); resultobj
= Py_None
;
38894 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
;
38896 wxSizer
*arg1
= (wxSizer
*) 0 ;
38897 PyObject
* obj0
= 0 ;
38898 char *kwnames
[] = {
38899 (char *) "self", NULL
38902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38904 if (SWIG_arg_fail(1)) SWIG_fail
;
38906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38907 (arg1
)->DeleteWindows();
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 Py_INCREF(Py_None
); resultobj
= Py_None
;
38919 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxSizer
*arg1
= (wxSizer
*) 0 ;
38923 PyObject
* obj0
= 0 ;
38924 char *kwnames
[] = {
38925 (char *) "self", NULL
38928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
38929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38930 if (SWIG_arg_fail(1)) SWIG_fail
;
38932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38933 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
38935 wxPyEndAllowThreads(__tstate
);
38936 if (PyErr_Occurred()) SWIG_fail
;
38938 resultobj
= result
;
38945 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38946 PyObject
*resultobj
;
38947 wxSizer
*arg1
= (wxSizer
*) 0 ;
38948 PyObject
*arg2
= (PyObject
*) 0 ;
38949 bool arg3
= (bool) true ;
38950 bool arg4
= (bool) false ;
38952 PyObject
* obj0
= 0 ;
38953 PyObject
* obj1
= 0 ;
38954 PyObject
* obj2
= 0 ;
38955 PyObject
* obj3
= 0 ;
38956 char *kwnames
[] = {
38957 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
38960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38962 if (SWIG_arg_fail(1)) SWIG_fail
;
38966 arg3
= (bool)(SWIG_As_bool(obj2
));
38967 if (SWIG_arg_fail(3)) SWIG_fail
;
38972 arg4
= (bool)(SWIG_As_bool(obj3
));
38973 if (SWIG_arg_fail(4)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38992 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxSizer
*arg1
= (wxSizer
*) 0 ;
38995 PyObject
*arg2
= (PyObject
*) 0 ;
38997 PyObject
* obj0
= 0 ;
38998 PyObject
* obj1
= 0 ;
38999 char *kwnames
[] = {
39000 (char *) "self",(char *) "item", NULL
39003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39005 if (SWIG_arg_fail(1)) SWIG_fail
;
39008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39009 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39011 wxPyEndAllowThreads(__tstate
);
39012 if (PyErr_Occurred()) SWIG_fail
;
39015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39023 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39024 PyObject
*resultobj
;
39025 wxSizer
*arg1
= (wxSizer
*) 0 ;
39027 PyObject
* obj0
= 0 ;
39028 PyObject
* obj1
= 0 ;
39029 char *kwnames
[] = {
39030 (char *) "self",(char *) "show", NULL
39033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39035 if (SWIG_arg_fail(1)) SWIG_fail
;
39037 arg2
= (bool)(SWIG_As_bool(obj1
));
39038 if (SWIG_arg_fail(2)) SWIG_fail
;
39041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39042 (arg1
)->ShowItems(arg2
);
39044 wxPyEndAllowThreads(__tstate
);
39045 if (PyErr_Occurred()) SWIG_fail
;
39047 Py_INCREF(Py_None
); resultobj
= Py_None
;
39054 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39057 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39059 return Py_BuildValue((char *)"");
39061 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39062 PyObject
*resultobj
;
39064 char *kwnames
[] = {
39068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (wxPySizer
*)new wxPySizer();
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39083 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39084 PyObject
*resultobj
;
39085 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39086 PyObject
*arg2
= (PyObject
*) 0 ;
39087 PyObject
*arg3
= (PyObject
*) 0 ;
39088 PyObject
* obj0
= 0 ;
39089 PyObject
* obj1
= 0 ;
39090 PyObject
* obj2
= 0 ;
39091 char *kwnames
[] = {
39092 (char *) "self",(char *) "self",(char *) "_class", NULL
39095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39097 if (SWIG_arg_fail(1)) SWIG_fail
;
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39107 Py_INCREF(Py_None
); resultobj
= Py_None
;
39114 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39117 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39119 return Py_BuildValue((char *)"");
39121 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
;
39123 int arg1
= (int) wxHORIZONTAL
;
39124 wxBoxSizer
*result
;
39125 PyObject
* obj0
= 0 ;
39126 char *kwnames
[] = {
39127 (char *) "orient", NULL
39130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39133 arg1
= (int)(SWIG_As_int(obj0
));
39134 if (SWIG_arg_fail(1)) SWIG_fail
;
39138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39139 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39141 wxPyEndAllowThreads(__tstate
);
39142 if (PyErr_Occurred()) SWIG_fail
;
39144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39151 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39152 PyObject
*resultobj
;
39153 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39155 PyObject
* obj0
= 0 ;
39156 char *kwnames
[] = {
39157 (char *) "self", NULL
39160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39162 if (SWIG_arg_fail(1)) SWIG_fail
;
39164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39165 result
= (int)(arg1
)->GetOrientation();
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39171 resultobj
= SWIG_From_int((int)(result
));
39179 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39180 PyObject
*resultobj
;
39181 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 char *kwnames
[] = {
39186 (char *) "self",(char *) "orient", NULL
39189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39191 if (SWIG_arg_fail(1)) SWIG_fail
;
39193 arg2
= (int)(SWIG_As_int(obj1
));
39194 if (SWIG_arg_fail(2)) SWIG_fail
;
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 (arg1
)->SetOrientation(arg2
);
39200 wxPyEndAllowThreads(__tstate
);
39201 if (PyErr_Occurred()) SWIG_fail
;
39203 Py_INCREF(Py_None
); resultobj
= Py_None
;
39210 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39213 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39215 return Py_BuildValue((char *)"");
39217 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
;
39219 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39220 int arg2
= (int) wxHORIZONTAL
;
39221 wxStaticBoxSizer
*result
;
39222 PyObject
* obj0
= 0 ;
39223 PyObject
* obj1
= 0 ;
39224 char *kwnames
[] = {
39225 (char *) "box",(char *) "orient", NULL
39228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39230 if (SWIG_arg_fail(1)) SWIG_fail
;
39233 arg2
= (int)(SWIG_As_int(obj1
));
39234 if (SWIG_arg_fail(2)) SWIG_fail
;
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39251 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39252 PyObject
*resultobj
;
39253 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39254 wxStaticBox
*result
;
39255 PyObject
* obj0
= 0 ;
39256 char *kwnames
[] = {
39257 (char *) "self", NULL
39260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39262 if (SWIG_arg_fail(1)) SWIG_fail
;
39264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39265 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39267 wxPyEndAllowThreads(__tstate
);
39268 if (PyErr_Occurred()) SWIG_fail
;
39271 resultobj
= wxPyMake_wxObject(result
, 0);
39279 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39282 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39284 return Py_BuildValue((char *)"");
39286 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39287 PyObject
*resultobj
;
39288 int arg1
= (int) 1 ;
39289 int arg2
= (int) 0 ;
39290 int arg3
= (int) 0 ;
39291 int arg4
= (int) 0 ;
39292 wxGridSizer
*result
;
39293 PyObject
* obj0
= 0 ;
39294 PyObject
* obj1
= 0 ;
39295 PyObject
* obj2
= 0 ;
39296 PyObject
* obj3
= 0 ;
39297 char *kwnames
[] = {
39298 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39304 arg1
= (int)(SWIG_As_int(obj0
));
39305 if (SWIG_arg_fail(1)) SWIG_fail
;
39310 arg2
= (int)(SWIG_As_int(obj1
));
39311 if (SWIG_arg_fail(2)) SWIG_fail
;
39316 arg3
= (int)(SWIG_As_int(obj2
));
39317 if (SWIG_arg_fail(3)) SWIG_fail
;
39322 arg4
= (int)(SWIG_As_int(obj3
));
39323 if (SWIG_arg_fail(4)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39340 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 char *kwnames
[] = {
39347 (char *) "self",(char *) "cols", NULL
39350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39352 if (SWIG_arg_fail(1)) SWIG_fail
;
39354 arg2
= (int)(SWIG_As_int(obj1
));
39355 if (SWIG_arg_fail(2)) SWIG_fail
;
39358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39359 (arg1
)->SetCols(arg2
);
39361 wxPyEndAllowThreads(__tstate
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39364 Py_INCREF(Py_None
); resultobj
= Py_None
;
39371 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39372 PyObject
*resultobj
;
39373 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39375 PyObject
* obj0
= 0 ;
39376 PyObject
* obj1
= 0 ;
39377 char *kwnames
[] = {
39378 (char *) "self",(char *) "rows", NULL
39381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39383 if (SWIG_arg_fail(1)) SWIG_fail
;
39385 arg2
= (int)(SWIG_As_int(obj1
));
39386 if (SWIG_arg_fail(2)) SWIG_fail
;
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 (arg1
)->SetRows(arg2
);
39392 wxPyEndAllowThreads(__tstate
);
39393 if (PyErr_Occurred()) SWIG_fail
;
39395 Py_INCREF(Py_None
); resultobj
= Py_None
;
39402 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39403 PyObject
*resultobj
;
39404 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39406 PyObject
* obj0
= 0 ;
39407 PyObject
* obj1
= 0 ;
39408 char *kwnames
[] = {
39409 (char *) "self",(char *) "gap", NULL
39412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39414 if (SWIG_arg_fail(1)) SWIG_fail
;
39416 arg2
= (int)(SWIG_As_int(obj1
));
39417 if (SWIG_arg_fail(2)) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 (arg1
)->SetVGap(arg2
);
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 Py_INCREF(Py_None
); resultobj
= Py_None
;
39433 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39434 PyObject
*resultobj
;
39435 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39437 PyObject
* obj0
= 0 ;
39438 PyObject
* obj1
= 0 ;
39439 char *kwnames
[] = {
39440 (char *) "self",(char *) "gap", NULL
39443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39445 if (SWIG_arg_fail(1)) SWIG_fail
;
39447 arg2
= (int)(SWIG_As_int(obj1
));
39448 if (SWIG_arg_fail(2)) SWIG_fail
;
39451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39452 (arg1
)->SetHGap(arg2
);
39454 wxPyEndAllowThreads(__tstate
);
39455 if (PyErr_Occurred()) SWIG_fail
;
39457 Py_INCREF(Py_None
); resultobj
= Py_None
;
39464 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
;
39466 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 char *kwnames
[] = {
39470 (char *) "self", NULL
39473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
39474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39475 if (SWIG_arg_fail(1)) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39478 result
= (int)(arg1
)->GetCols();
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39484 resultobj
= SWIG_From_int((int)(result
));
39492 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39493 PyObject
*resultobj
;
39494 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39496 PyObject
* obj0
= 0 ;
39497 char *kwnames
[] = {
39498 (char *) "self", NULL
39501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
39502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39503 if (SWIG_arg_fail(1)) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 result
= (int)(arg1
)->GetRows();
39508 wxPyEndAllowThreads(__tstate
);
39509 if (PyErr_Occurred()) SWIG_fail
;
39512 resultobj
= SWIG_From_int((int)(result
));
39520 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
;
39522 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39524 PyObject
* obj0
= 0 ;
39525 char *kwnames
[] = {
39526 (char *) "self", NULL
39529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
39530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39531 if (SWIG_arg_fail(1)) SWIG_fail
;
39533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39534 result
= (int)(arg1
)->GetVGap();
39536 wxPyEndAllowThreads(__tstate
);
39537 if (PyErr_Occurred()) SWIG_fail
;
39540 resultobj
= SWIG_From_int((int)(result
));
39548 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39549 PyObject
*resultobj
;
39550 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39552 PyObject
* obj0
= 0 ;
39553 char *kwnames
[] = {
39554 (char *) "self", NULL
39557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
39558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39559 if (SWIG_arg_fail(1)) SWIG_fail
;
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 result
= (int)(arg1
)->GetHGap();
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39568 resultobj
= SWIG_From_int((int)(result
));
39576 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
39578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39579 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
39581 return Py_BuildValue((char *)"");
39583 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39584 PyObject
*resultobj
;
39585 int arg1
= (int) 1 ;
39586 int arg2
= (int) 0 ;
39587 int arg3
= (int) 0 ;
39588 int arg4
= (int) 0 ;
39589 wxFlexGridSizer
*result
;
39590 PyObject
* obj0
= 0 ;
39591 PyObject
* obj1
= 0 ;
39592 PyObject
* obj2
= 0 ;
39593 PyObject
* obj3
= 0 ;
39594 char *kwnames
[] = {
39595 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39601 arg1
= (int)(SWIG_As_int(obj0
));
39602 if (SWIG_arg_fail(1)) SWIG_fail
;
39607 arg2
= (int)(SWIG_As_int(obj1
));
39608 if (SWIG_arg_fail(2)) SWIG_fail
;
39613 arg3
= (int)(SWIG_As_int(obj2
));
39614 if (SWIG_arg_fail(3)) SWIG_fail
;
39619 arg4
= (int)(SWIG_As_int(obj3
));
39620 if (SWIG_arg_fail(4)) SWIG_fail
;
39624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39625 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
39627 wxPyEndAllowThreads(__tstate
);
39628 if (PyErr_Occurred()) SWIG_fail
;
39630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
39637 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39638 PyObject
*resultobj
;
39639 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39641 int arg3
= (int) 0 ;
39642 PyObject
* obj0
= 0 ;
39643 PyObject
* obj1
= 0 ;
39644 PyObject
* obj2
= 0 ;
39645 char *kwnames
[] = {
39646 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39651 if (SWIG_arg_fail(1)) SWIG_fail
;
39653 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39654 if (SWIG_arg_fail(2)) SWIG_fail
;
39658 arg3
= (int)(SWIG_As_int(obj2
));
39659 if (SWIG_arg_fail(3)) SWIG_fail
;
39663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39664 (arg1
)->AddGrowableRow(arg2
,arg3
);
39666 wxPyEndAllowThreads(__tstate
);
39667 if (PyErr_Occurred()) SWIG_fail
;
39669 Py_INCREF(Py_None
); resultobj
= Py_None
;
39676 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39677 PyObject
*resultobj
;
39678 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39680 PyObject
* obj0
= 0 ;
39681 PyObject
* obj1
= 0 ;
39682 char *kwnames
[] = {
39683 (char *) "self",(char *) "idx", NULL
39686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
39687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39688 if (SWIG_arg_fail(1)) SWIG_fail
;
39690 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39691 if (SWIG_arg_fail(2)) SWIG_fail
;
39694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39695 (arg1
)->RemoveGrowableRow(arg2
);
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 Py_INCREF(Py_None
); resultobj
= Py_None
;
39707 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39708 PyObject
*resultobj
;
39709 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39711 int arg3
= (int) 0 ;
39712 PyObject
* obj0
= 0 ;
39713 PyObject
* obj1
= 0 ;
39714 PyObject
* obj2
= 0 ;
39715 char *kwnames
[] = {
39716 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39721 if (SWIG_arg_fail(1)) SWIG_fail
;
39723 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39724 if (SWIG_arg_fail(2)) SWIG_fail
;
39728 arg3
= (int)(SWIG_As_int(obj2
));
39729 if (SWIG_arg_fail(3)) SWIG_fail
;
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 (arg1
)->AddGrowableCol(arg2
,arg3
);
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 Py_INCREF(Py_None
); resultobj
= Py_None
;
39746 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
;
39748 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 char *kwnames
[] = {
39753 (char *) "self",(char *) "idx", NULL
39756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
39757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39758 if (SWIG_arg_fail(1)) SWIG_fail
;
39760 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39761 if (SWIG_arg_fail(2)) SWIG_fail
;
39764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39765 (arg1
)->RemoveGrowableCol(arg2
);
39767 wxPyEndAllowThreads(__tstate
);
39768 if (PyErr_Occurred()) SWIG_fail
;
39770 Py_INCREF(Py_None
); resultobj
= Py_None
;
39777 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39778 PyObject
*resultobj
;
39779 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39781 PyObject
* obj0
= 0 ;
39782 PyObject
* obj1
= 0 ;
39783 char *kwnames
[] = {
39784 (char *) "self",(char *) "direction", NULL
39787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
39788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39789 if (SWIG_arg_fail(1)) SWIG_fail
;
39791 arg2
= (int)(SWIG_As_int(obj1
));
39792 if (SWIG_arg_fail(2)) SWIG_fail
;
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39796 (arg1
)->SetFlexibleDirection(arg2
);
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 Py_INCREF(Py_None
); resultobj
= Py_None
;
39808 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
39818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39819 if (SWIG_arg_fail(1)) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (int)(arg1
)->GetFlexibleDirection();
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39828 resultobj
= SWIG_From_int((int)(result
));
39836 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39837 PyObject
*resultobj
;
39838 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39839 wxFlexSizerGrowMode arg2
;
39840 PyObject
* obj0
= 0 ;
39841 PyObject
* obj1
= 0 ;
39842 char *kwnames
[] = {
39843 (char *) "self",(char *) "mode", NULL
39846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
39847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39848 if (SWIG_arg_fail(1)) SWIG_fail
;
39850 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
39851 if (SWIG_arg_fail(2)) SWIG_fail
;
39854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39855 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
39857 wxPyEndAllowThreads(__tstate
);
39858 if (PyErr_Occurred()) SWIG_fail
;
39860 Py_INCREF(Py_None
); resultobj
= Py_None
;
39867 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39868 PyObject
*resultobj
;
39869 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39870 wxFlexSizerGrowMode result
;
39871 PyObject
* obj0
= 0 ;
39872 char *kwnames
[] = {
39873 (char *) "self", NULL
39876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
39877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39878 if (SWIG_arg_fail(1)) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
39883 wxPyEndAllowThreads(__tstate
);
39884 if (PyErr_Occurred()) SWIG_fail
;
39886 resultobj
= SWIG_From_int((result
));
39893 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
;
39895 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39896 wxArrayInt
*result
;
39897 PyObject
* obj0
= 0 ;
39898 char *kwnames
[] = {
39899 (char *) "self", NULL
39902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
39903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39904 if (SWIG_arg_fail(1)) SWIG_fail
;
39906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39908 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
39909 result
= (wxArrayInt
*) &_result_ref
;
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39916 resultobj
= PyList_New(0);
39918 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
39919 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
39920 PyList_Append(resultobj
, val
);
39930 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
;
39932 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39933 wxArrayInt
*result
;
39934 PyObject
* obj0
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
39940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39941 if (SWIG_arg_fail(1)) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39945 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
39946 result
= (wxArrayInt
*) &_result_ref
;
39949 wxPyEndAllowThreads(__tstate
);
39950 if (PyErr_Occurred()) SWIG_fail
;
39953 resultobj
= PyList_New(0);
39955 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
39956 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
39957 PyList_Append(resultobj
, val
);
39967 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
39969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39970 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
39972 return Py_BuildValue((char *)"");
39974 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39975 PyObject
*resultobj
;
39976 wxStdDialogButtonSizer
*result
;
39977 char *kwnames
[] = {
39981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
39996 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39997 PyObject
*resultobj
;
39998 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
39999 wxButton
*arg2
= (wxButton
*) 0 ;
40000 PyObject
* obj0
= 0 ;
40001 PyObject
* obj1
= 0 ;
40002 char *kwnames
[] = {
40003 (char *) "self",(char *) "button", NULL
40006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40008 if (SWIG_arg_fail(1)) SWIG_fail
;
40009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40010 if (SWIG_arg_fail(2)) SWIG_fail
;
40012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40013 (arg1
)->AddButton(arg2
);
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40018 Py_INCREF(Py_None
); resultobj
= Py_None
;
40025 static PyObject
*_wrap_StdDialogButtonSizer_Finalise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
;
40027 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40028 PyObject
* obj0
= 0 ;
40029 char *kwnames
[] = {
40030 (char *) "self", NULL
40033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Finalise",kwnames
,&obj0
)) goto fail
;
40034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40035 if (SWIG_arg_fail(1)) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->Finalise();
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40053 wxButton
*arg2
= (wxButton
*) 0 ;
40054 PyObject
* obj0
= 0 ;
40055 PyObject
* obj1
= 0 ;
40056 char *kwnames
[] = {
40057 (char *) "self",(char *) "button", NULL
40060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40062 if (SWIG_arg_fail(1)) SWIG_fail
;
40063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40064 if (SWIG_arg_fail(2)) SWIG_fail
;
40066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40067 (arg1
)->SetAffirmativeButton(arg2
);
40069 wxPyEndAllowThreads(__tstate
);
40070 if (PyErr_Occurred()) SWIG_fail
;
40072 Py_INCREF(Py_None
); resultobj
= Py_None
;
40079 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40080 PyObject
*resultobj
;
40081 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40082 wxButton
*arg2
= (wxButton
*) 0 ;
40083 PyObject
* obj0
= 0 ;
40084 PyObject
* obj1
= 0 ;
40085 char *kwnames
[] = {
40086 (char *) "self",(char *) "button", NULL
40089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40091 if (SWIG_arg_fail(1)) SWIG_fail
;
40092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40093 if (SWIG_arg_fail(2)) SWIG_fail
;
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 (arg1
)->SetNegativeButton(arg2
);
40098 wxPyEndAllowThreads(__tstate
);
40099 if (PyErr_Occurred()) SWIG_fail
;
40101 Py_INCREF(Py_None
); resultobj
= Py_None
;
40108 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40109 PyObject
*resultobj
;
40110 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40111 wxButton
*arg2
= (wxButton
*) 0 ;
40112 PyObject
* obj0
= 0 ;
40113 PyObject
* obj1
= 0 ;
40114 char *kwnames
[] = {
40115 (char *) "self",(char *) "button", NULL
40118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40120 if (SWIG_arg_fail(1)) SWIG_fail
;
40121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40122 if (SWIG_arg_fail(2)) SWIG_fail
;
40124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40125 (arg1
)->SetCancelButton(arg2
);
40127 wxPyEndAllowThreads(__tstate
);
40128 if (PyErr_Occurred()) SWIG_fail
;
40130 Py_INCREF(Py_None
); resultobj
= Py_None
;
40137 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
;
40139 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40141 PyObject
* obj0
= 0 ;
40142 char *kwnames
[] = {
40143 (char *) "self", NULL
40146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40148 if (SWIG_arg_fail(1)) SWIG_fail
;
40150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40151 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40153 wxPyEndAllowThreads(__tstate
);
40154 if (PyErr_Occurred()) SWIG_fail
;
40157 resultobj
= wxPyMake_wxObject(result
, 0);
40165 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 char *kwnames
[] = {
40171 (char *) "self", NULL
40174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40176 if (SWIG_arg_fail(1)) SWIG_fail
;
40178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40179 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40181 wxPyEndAllowThreads(__tstate
);
40182 if (PyErr_Occurred()) SWIG_fail
;
40185 resultobj
= wxPyMake_wxObject(result
, 0);
40193 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40194 PyObject
*resultobj
;
40195 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40197 PyObject
* obj0
= 0 ;
40198 char *kwnames
[] = {
40199 (char *) "self", NULL
40202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40204 if (SWIG_arg_fail(1)) SWIG_fail
;
40206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40207 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40209 wxPyEndAllowThreads(__tstate
);
40210 if (PyErr_Occurred()) SWIG_fail
;
40213 resultobj
= wxPyMake_wxObject(result
, 0);
40221 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40222 PyObject
*resultobj
;
40223 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40225 PyObject
* obj0
= 0 ;
40226 char *kwnames
[] = {
40227 (char *) "self", NULL
40230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40232 if (SWIG_arg_fail(1)) SWIG_fail
;
40234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40235 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40237 wxPyEndAllowThreads(__tstate
);
40238 if (PyErr_Occurred()) SWIG_fail
;
40241 resultobj
= wxPyMake_wxObject(result
, 0);
40249 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
;
40251 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40253 PyObject
* obj0
= 0 ;
40254 char *kwnames
[] = {
40255 (char *) "self", NULL
40258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40260 if (SWIG_arg_fail(1)) SWIG_fail
;
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40263 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40269 resultobj
= wxPyMake_wxObject(result
, 0);
40277 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40280 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40282 return Py_BuildValue((char *)"");
40284 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40285 PyObject
*resultobj
;
40286 int arg1
= (int) 0 ;
40287 int arg2
= (int) 0 ;
40288 wxGBPosition
*result
;
40289 PyObject
* obj0
= 0 ;
40290 PyObject
* obj1
= 0 ;
40291 char *kwnames
[] = {
40292 (char *) "row",(char *) "col", NULL
40295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40298 arg1
= (int)(SWIG_As_int(obj0
));
40299 if (SWIG_arg_fail(1)) SWIG_fail
;
40304 arg2
= (int)(SWIG_As_int(obj1
));
40305 if (SWIG_arg_fail(2)) SWIG_fail
;
40309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40310 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40312 wxPyEndAllowThreads(__tstate
);
40313 if (PyErr_Occurred()) SWIG_fail
;
40315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40322 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40323 PyObject
*resultobj
;
40324 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40326 PyObject
* obj0
= 0 ;
40327 char *kwnames
[] = {
40328 (char *) "self", NULL
40331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40333 if (SWIG_arg_fail(1)) SWIG_fail
;
40335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40336 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= SWIG_From_int((int)(result
));
40350 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
;
40352 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40354 PyObject
* obj0
= 0 ;
40355 char *kwnames
[] = {
40356 (char *) "self", NULL
40359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40361 if (SWIG_arg_fail(1)) SWIG_fail
;
40363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40364 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40370 resultobj
= SWIG_From_int((int)(result
));
40378 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40379 PyObject
*resultobj
;
40380 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40382 PyObject
* obj0
= 0 ;
40383 PyObject
* obj1
= 0 ;
40384 char *kwnames
[] = {
40385 (char *) "self",(char *) "row", NULL
40388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40390 if (SWIG_arg_fail(1)) SWIG_fail
;
40392 arg2
= (int)(SWIG_As_int(obj1
));
40393 if (SWIG_arg_fail(2)) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 (arg1
)->SetRow(arg2
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 Py_INCREF(Py_None
); resultobj
= Py_None
;
40409 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 char *kwnames
[] = {
40416 (char *) "self",(char *) "col", NULL
40419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40421 if (SWIG_arg_fail(1)) SWIG_fail
;
40423 arg2
= (int)(SWIG_As_int(obj1
));
40424 if (SWIG_arg_fail(2)) SWIG_fail
;
40427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40428 (arg1
)->SetCol(arg2
);
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 Py_INCREF(Py_None
); resultobj
= Py_None
;
40440 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
;
40442 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40443 wxGBPosition
*arg2
= 0 ;
40445 wxGBPosition temp2
;
40446 PyObject
* obj0
= 0 ;
40447 PyObject
* obj1
= 0 ;
40448 char *kwnames
[] = {
40449 (char *) "self",(char *) "other", NULL
40452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40454 if (SWIG_arg_fail(1)) SWIG_fail
;
40457 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40461 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40463 wxPyEndAllowThreads(__tstate
);
40464 if (PyErr_Occurred()) SWIG_fail
;
40467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40475 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40476 PyObject
*resultobj
;
40477 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40478 wxGBPosition
*arg2
= 0 ;
40480 wxGBPosition temp2
;
40481 PyObject
* obj0
= 0 ;
40482 PyObject
* obj1
= 0 ;
40483 char *kwnames
[] = {
40484 (char *) "self",(char *) "other", NULL
40487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40489 if (SWIG_arg_fail(1)) SWIG_fail
;
40492 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40496 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40498 wxPyEndAllowThreads(__tstate
);
40499 if (PyErr_Occurred()) SWIG_fail
;
40502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40510 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40511 PyObject
*resultobj
;
40512 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40513 int arg2
= (int) 0 ;
40514 int arg3
= (int) 0 ;
40515 PyObject
* obj0
= 0 ;
40516 PyObject
* obj1
= 0 ;
40517 PyObject
* obj2
= 0 ;
40518 char *kwnames
[] = {
40519 (char *) "self",(char *) "row",(char *) "col", NULL
40522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40524 if (SWIG_arg_fail(1)) SWIG_fail
;
40527 arg2
= (int)(SWIG_As_int(obj1
));
40528 if (SWIG_arg_fail(2)) SWIG_fail
;
40533 arg3
= (int)(SWIG_As_int(obj2
));
40534 if (SWIG_arg_fail(3)) SWIG_fail
;
40538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40539 wxGBPosition_Set(arg1
,arg2
,arg3
);
40541 wxPyEndAllowThreads(__tstate
);
40542 if (PyErr_Occurred()) SWIG_fail
;
40544 Py_INCREF(Py_None
); resultobj
= Py_None
;
40551 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
;
40553 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40555 PyObject
* obj0
= 0 ;
40556 char *kwnames
[] = {
40557 (char *) "self", NULL
40560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
40561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40562 if (SWIG_arg_fail(1)) SWIG_fail
;
40564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40565 result
= (PyObject
*)wxGBPosition_Get(arg1
);
40567 wxPyEndAllowThreads(__tstate
);
40568 if (PyErr_Occurred()) SWIG_fail
;
40570 resultobj
= result
;
40577 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
40579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40580 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
40582 return Py_BuildValue((char *)"");
40584 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
;
40586 int arg1
= (int) 1 ;
40587 int arg2
= (int) 1 ;
40589 PyObject
* obj0
= 0 ;
40590 PyObject
* obj1
= 0 ;
40591 char *kwnames
[] = {
40592 (char *) "rowspan",(char *) "colspan", NULL
40595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
40598 arg1
= (int)(SWIG_As_int(obj0
));
40599 if (SWIG_arg_fail(1)) SWIG_fail
;
40604 arg2
= (int)(SWIG_As_int(obj1
));
40605 if (SWIG_arg_fail(2)) SWIG_fail
;
40609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40610 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
40612 wxPyEndAllowThreads(__tstate
);
40613 if (PyErr_Occurred()) SWIG_fail
;
40615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
40622 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40623 PyObject
*resultobj
;
40624 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40626 PyObject
* obj0
= 0 ;
40627 char *kwnames
[] = {
40628 (char *) "self", NULL
40631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
40632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40633 if (SWIG_arg_fail(1)) SWIG_fail
;
40635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40636 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
40638 wxPyEndAllowThreads(__tstate
);
40639 if (PyErr_Occurred()) SWIG_fail
;
40642 resultobj
= SWIG_From_int((int)(result
));
40650 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40651 PyObject
*resultobj
;
40652 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40654 PyObject
* obj0
= 0 ;
40655 char *kwnames
[] = {
40656 (char *) "self", NULL
40659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
40660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40661 if (SWIG_arg_fail(1)) SWIG_fail
;
40663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40664 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
40666 wxPyEndAllowThreads(__tstate
);
40667 if (PyErr_Occurred()) SWIG_fail
;
40670 resultobj
= SWIG_From_int((int)(result
));
40678 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40679 PyObject
*resultobj
;
40680 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40682 PyObject
* obj0
= 0 ;
40683 PyObject
* obj1
= 0 ;
40684 char *kwnames
[] = {
40685 (char *) "self",(char *) "rowspan", NULL
40688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40690 if (SWIG_arg_fail(1)) SWIG_fail
;
40692 arg2
= (int)(SWIG_As_int(obj1
));
40693 if (SWIG_arg_fail(2)) SWIG_fail
;
40696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40697 (arg1
)->SetRowspan(arg2
);
40699 wxPyEndAllowThreads(__tstate
);
40700 if (PyErr_Occurred()) SWIG_fail
;
40702 Py_INCREF(Py_None
); resultobj
= Py_None
;
40709 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40710 PyObject
*resultobj
;
40711 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40713 PyObject
* obj0
= 0 ;
40714 PyObject
* obj1
= 0 ;
40715 char *kwnames
[] = {
40716 (char *) "self",(char *) "colspan", NULL
40719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40721 if (SWIG_arg_fail(1)) SWIG_fail
;
40723 arg2
= (int)(SWIG_As_int(obj1
));
40724 if (SWIG_arg_fail(2)) SWIG_fail
;
40727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40728 (arg1
)->SetColspan(arg2
);
40730 wxPyEndAllowThreads(__tstate
);
40731 if (PyErr_Occurred()) SWIG_fail
;
40733 Py_INCREF(Py_None
); resultobj
= Py_None
;
40740 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40741 PyObject
*resultobj
;
40742 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40743 wxGBSpan
*arg2
= 0 ;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 char *kwnames
[] = {
40749 (char *) "self",(char *) "other", NULL
40752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40754 if (SWIG_arg_fail(1)) SWIG_fail
;
40757 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
40763 wxPyEndAllowThreads(__tstate
);
40764 if (PyErr_Occurred()) SWIG_fail
;
40767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40775 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40776 PyObject
*resultobj
;
40777 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40778 wxGBSpan
*arg2
= 0 ;
40781 PyObject
* obj0
= 0 ;
40782 PyObject
* obj1
= 0 ;
40783 char *kwnames
[] = {
40784 (char *) "self",(char *) "other", NULL
40787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40789 if (SWIG_arg_fail(1)) SWIG_fail
;
40792 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40796 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
40798 wxPyEndAllowThreads(__tstate
);
40799 if (PyErr_Occurred()) SWIG_fail
;
40802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40810 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
;
40812 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40813 int arg2
= (int) 1 ;
40814 int arg3
= (int) 1 ;
40815 PyObject
* obj0
= 0 ;
40816 PyObject
* obj1
= 0 ;
40817 PyObject
* obj2
= 0 ;
40818 char *kwnames
[] = {
40819 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
40822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40824 if (SWIG_arg_fail(1)) SWIG_fail
;
40827 arg2
= (int)(SWIG_As_int(obj1
));
40828 if (SWIG_arg_fail(2)) SWIG_fail
;
40833 arg3
= (int)(SWIG_As_int(obj2
));
40834 if (SWIG_arg_fail(3)) SWIG_fail
;
40838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40839 wxGBSpan_Set(arg1
,arg2
,arg3
);
40841 wxPyEndAllowThreads(__tstate
);
40842 if (PyErr_Occurred()) SWIG_fail
;
40844 Py_INCREF(Py_None
); resultobj
= Py_None
;
40851 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
;
40853 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40855 PyObject
* obj0
= 0 ;
40856 char *kwnames
[] = {
40857 (char *) "self", NULL
40860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
40861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40862 if (SWIG_arg_fail(1)) SWIG_fail
;
40864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40865 result
= (PyObject
*)wxGBSpan_Get(arg1
);
40867 wxPyEndAllowThreads(__tstate
);
40868 if (PyErr_Occurred()) SWIG_fail
;
40870 resultobj
= result
;
40877 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
40879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40880 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
40882 return Py_BuildValue((char *)"");
40884 static int _wrap_DefaultSpan_set(PyObject
*) {
40885 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
40890 static PyObject
*_wrap_DefaultSpan_get(void) {
40893 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
40898 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40899 PyObject
*resultobj
;
40900 wxGBSizerItem
*result
;
40901 char *kwnames
[] = {
40905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
40907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40908 result
= (wxGBSizerItem
*)new wxGBSizerItem();
40910 wxPyEndAllowThreads(__tstate
);
40911 if (PyErr_Occurred()) SWIG_fail
;
40913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40920 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40921 PyObject
*resultobj
;
40922 wxWindow
*arg1
= (wxWindow
*) 0 ;
40923 wxGBPosition
*arg2
= 0 ;
40924 wxGBSpan
*arg3
= 0 ;
40927 PyObject
*arg6
= (PyObject
*) NULL
;
40928 wxGBSizerItem
*result
;
40929 wxGBPosition temp2
;
40931 PyObject
* obj0
= 0 ;
40932 PyObject
* obj1
= 0 ;
40933 PyObject
* obj2
= 0 ;
40934 PyObject
* obj3
= 0 ;
40935 PyObject
* obj4
= 0 ;
40936 PyObject
* obj5
= 0 ;
40937 char *kwnames
[] = {
40938 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40943 if (SWIG_arg_fail(1)) SWIG_fail
;
40946 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40950 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40953 arg4
= (int)(SWIG_As_int(obj3
));
40954 if (SWIG_arg_fail(4)) SWIG_fail
;
40957 arg5
= (int)(SWIG_As_int(obj4
));
40958 if (SWIG_arg_fail(5)) SWIG_fail
;
40964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40965 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
40967 wxPyEndAllowThreads(__tstate
);
40968 if (PyErr_Occurred()) SWIG_fail
;
40970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40977 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxSizer
*arg1
= (wxSizer
*) 0 ;
40980 wxGBPosition
*arg2
= 0 ;
40981 wxGBSpan
*arg3
= 0 ;
40984 PyObject
*arg6
= (PyObject
*) NULL
;
40985 wxGBSizerItem
*result
;
40986 wxGBPosition temp2
;
40988 PyObject
* obj0
= 0 ;
40989 PyObject
* obj1
= 0 ;
40990 PyObject
* obj2
= 0 ;
40991 PyObject
* obj3
= 0 ;
40992 PyObject
* obj4
= 0 ;
40993 PyObject
* obj5
= 0 ;
40994 char *kwnames
[] = {
40995 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41000 if (SWIG_arg_fail(1)) SWIG_fail
;
41003 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41007 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41010 arg4
= (int)(SWIG_As_int(obj3
));
41011 if (SWIG_arg_fail(4)) SWIG_fail
;
41014 arg5
= (int)(SWIG_As_int(obj4
));
41015 if (SWIG_arg_fail(5)) SWIG_fail
;
41021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41022 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41034 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41035 PyObject
*resultobj
;
41038 wxGBPosition
*arg3
= 0 ;
41039 wxGBSpan
*arg4
= 0 ;
41042 PyObject
*arg7
= (PyObject
*) NULL
;
41043 wxGBSizerItem
*result
;
41044 wxGBPosition temp3
;
41046 PyObject
* obj0
= 0 ;
41047 PyObject
* obj1
= 0 ;
41048 PyObject
* obj2
= 0 ;
41049 PyObject
* obj3
= 0 ;
41050 PyObject
* obj4
= 0 ;
41051 PyObject
* obj5
= 0 ;
41052 PyObject
* obj6
= 0 ;
41053 char *kwnames
[] = {
41054 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41059 arg1
= (int)(SWIG_As_int(obj0
));
41060 if (SWIG_arg_fail(1)) SWIG_fail
;
41063 arg2
= (int)(SWIG_As_int(obj1
));
41064 if (SWIG_arg_fail(2)) SWIG_fail
;
41068 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41072 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41075 arg5
= (int)(SWIG_As_int(obj4
));
41076 if (SWIG_arg_fail(5)) SWIG_fail
;
41079 arg6
= (int)(SWIG_As_int(obj5
));
41080 if (SWIG_arg_fail(6)) SWIG_fail
;
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41089 wxPyEndAllowThreads(__tstate
);
41090 if (PyErr_Occurred()) SWIG_fail
;
41092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41099 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41100 PyObject
*resultobj
;
41101 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41102 wxGBPosition result
;
41103 PyObject
* obj0
= 0 ;
41104 char *kwnames
[] = {
41105 (char *) "self", NULL
41108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41110 if (SWIG_arg_fail(1)) SWIG_fail
;
41112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41113 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41115 wxPyEndAllowThreads(__tstate
);
41116 if (PyErr_Occurred()) SWIG_fail
;
41119 wxGBPosition
* resultptr
;
41120 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41129 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41130 PyObject
*resultobj
;
41131 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41133 PyObject
* obj0
= 0 ;
41134 char *kwnames
[] = {
41135 (char *) "self", NULL
41138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41140 if (SWIG_arg_fail(1)) SWIG_fail
;
41142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41143 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41145 wxPyEndAllowThreads(__tstate
);
41146 if (PyErr_Occurred()) SWIG_fail
;
41149 wxGBSpan
* resultptr
;
41150 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41159 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41160 PyObject
*resultobj
;
41161 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41162 wxGBPosition
*arg2
= 0 ;
41164 wxGBPosition temp2
;
41165 PyObject
* obj0
= 0 ;
41166 PyObject
* obj1
= 0 ;
41167 char *kwnames
[] = {
41168 (char *) "self",(char *) "pos", NULL
41171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41173 if (SWIG_arg_fail(1)) SWIG_fail
;
41176 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41180 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41182 wxPyEndAllowThreads(__tstate
);
41183 if (PyErr_Occurred()) SWIG_fail
;
41186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41194 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41195 PyObject
*resultobj
;
41196 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41197 wxGBSpan
*arg2
= 0 ;
41200 PyObject
* obj0
= 0 ;
41201 PyObject
* obj1
= 0 ;
41202 char *kwnames
[] = {
41203 (char *) "self",(char *) "span", NULL
41206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41208 if (SWIG_arg_fail(1)) SWIG_fail
;
41211 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41215 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41217 wxPyEndAllowThreads(__tstate
);
41218 if (PyErr_Occurred()) SWIG_fail
;
41221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41229 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41230 PyObject
*resultobj
;
41231 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41232 wxGBSizerItem
*arg2
= 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 char *kwnames
[] = {
41237 (char *) "self",(char *) "other", NULL
41240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41242 if (SWIG_arg_fail(1)) SWIG_fail
;
41244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41245 if (SWIG_arg_fail(2)) SWIG_fail
;
41246 if (arg2
== NULL
) {
41247 SWIG_null_ref("wxGBSizerItem");
41249 if (SWIG_arg_fail(2)) SWIG_fail
;
41252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41253 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41255 wxPyEndAllowThreads(__tstate
);
41256 if (PyErr_Occurred()) SWIG_fail
;
41259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41267 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41268 PyObject
*resultobj
;
41269 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41270 wxGBPosition
*arg2
= 0 ;
41271 wxGBSpan
*arg3
= 0 ;
41273 wxGBPosition temp2
;
41275 PyObject
* obj0
= 0 ;
41276 PyObject
* obj1
= 0 ;
41277 PyObject
* obj2
= 0 ;
41278 char *kwnames
[] = {
41279 (char *) "self",(char *) "pos",(char *) "span", NULL
41282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41284 if (SWIG_arg_fail(1)) SWIG_fail
;
41287 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41291 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41295 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41297 wxPyEndAllowThreads(__tstate
);
41298 if (PyErr_Occurred()) SWIG_fail
;
41301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41309 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41310 PyObject
*resultobj
;
41311 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41312 wxGBPosition result
;
41313 PyObject
* obj0
= 0 ;
41314 char *kwnames
[] = {
41315 (char *) "self", NULL
41318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41320 if (SWIG_arg_fail(1)) SWIG_fail
;
41322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41323 result
= wxGBSizerItem_GetEndPos(arg1
);
41325 wxPyEndAllowThreads(__tstate
);
41326 if (PyErr_Occurred()) SWIG_fail
;
41329 wxGBPosition
* resultptr
;
41330 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41339 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41340 PyObject
*resultobj
;
41341 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41342 wxGridBagSizer
*result
;
41343 PyObject
* obj0
= 0 ;
41344 char *kwnames
[] = {
41345 (char *) "self", NULL
41348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41350 if (SWIG_arg_fail(1)) SWIG_fail
;
41352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41353 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41355 wxPyEndAllowThreads(__tstate
);
41356 if (PyErr_Occurred()) SWIG_fail
;
41358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41365 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41366 PyObject
*resultobj
;
41367 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41368 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41369 PyObject
* obj0
= 0 ;
41370 PyObject
* obj1
= 0 ;
41371 char *kwnames
[] = {
41372 (char *) "self",(char *) "sizer", NULL
41375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41377 if (SWIG_arg_fail(1)) SWIG_fail
;
41378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41379 if (SWIG_arg_fail(2)) SWIG_fail
;
41381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41382 (arg1
)->SetGBSizer(arg2
);
41384 wxPyEndAllowThreads(__tstate
);
41385 if (PyErr_Occurred()) SWIG_fail
;
41387 Py_INCREF(Py_None
); resultobj
= Py_None
;
41394 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41397 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41399 return Py_BuildValue((char *)"");
41401 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41402 PyObject
*resultobj
;
41403 int arg1
= (int) 0 ;
41404 int arg2
= (int) 0 ;
41405 wxGridBagSizer
*result
;
41406 PyObject
* obj0
= 0 ;
41407 PyObject
* obj1
= 0 ;
41408 char *kwnames
[] = {
41409 (char *) "vgap",(char *) "hgap", NULL
41412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41415 arg1
= (int)(SWIG_As_int(obj0
));
41416 if (SWIG_arg_fail(1)) SWIG_fail
;
41421 arg2
= (int)(SWIG_As_int(obj1
));
41422 if (SWIG_arg_fail(2)) SWIG_fail
;
41426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41427 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41429 wxPyEndAllowThreads(__tstate
);
41430 if (PyErr_Occurred()) SWIG_fail
;
41432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41439 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41440 PyObject
*resultobj
;
41441 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41442 PyObject
*arg2
= (PyObject
*) 0 ;
41443 wxGBPosition
*arg3
= 0 ;
41444 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41445 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41446 int arg5
= (int) 0 ;
41447 int arg6
= (int) 0 ;
41448 PyObject
*arg7
= (PyObject
*) NULL
;
41449 wxGBSizerItem
*result
;
41450 wxGBPosition temp3
;
41452 PyObject
* obj0
= 0 ;
41453 PyObject
* obj1
= 0 ;
41454 PyObject
* obj2
= 0 ;
41455 PyObject
* obj3
= 0 ;
41456 PyObject
* obj4
= 0 ;
41457 PyObject
* obj5
= 0 ;
41458 PyObject
* obj6
= 0 ;
41459 char *kwnames
[] = {
41460 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41465 if (SWIG_arg_fail(1)) SWIG_fail
;
41469 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41474 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41479 arg5
= (int)(SWIG_As_int(obj4
));
41480 if (SWIG_arg_fail(5)) SWIG_fail
;
41485 arg6
= (int)(SWIG_As_int(obj5
));
41486 if (SWIG_arg_fail(6)) SWIG_fail
;
41493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41494 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41496 wxPyEndAllowThreads(__tstate
);
41497 if (PyErr_Occurred()) SWIG_fail
;
41499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41506 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41507 PyObject
*resultobj
;
41508 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41509 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41510 wxGBSizerItem
*result
;
41511 PyObject
* obj0
= 0 ;
41512 PyObject
* obj1
= 0 ;
41513 char *kwnames
[] = {
41514 (char *) "self",(char *) "item", NULL
41517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
41518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41519 if (SWIG_arg_fail(1)) SWIG_fail
;
41520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41521 if (SWIG_arg_fail(2)) SWIG_fail
;
41523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41524 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
41526 wxPyEndAllowThreads(__tstate
);
41527 if (PyErr_Occurred()) SWIG_fail
;
41529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41536 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41537 PyObject
*resultobj
;
41538 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41542 PyObject
* obj0
= 0 ;
41543 PyObject
* obj1
= 0 ;
41544 PyObject
* obj2
= 0 ;
41545 char *kwnames
[] = {
41546 (char *) "self",(char *) "row",(char *) "col", NULL
41549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41551 if (SWIG_arg_fail(1)) SWIG_fail
;
41553 arg2
= (int)(SWIG_As_int(obj1
));
41554 if (SWIG_arg_fail(2)) SWIG_fail
;
41557 arg3
= (int)(SWIG_As_int(obj2
));
41558 if (SWIG_arg_fail(3)) SWIG_fail
;
41561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41562 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
41564 wxPyEndAllowThreads(__tstate
);
41565 if (PyErr_Occurred()) SWIG_fail
;
41568 wxSize
* resultptr
;
41569 resultptr
= new wxSize((wxSize
&)(result
));
41570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41578 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41579 PyObject
*resultobj
;
41580 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41582 PyObject
* obj0
= 0 ;
41583 char *kwnames
[] = {
41584 (char *) "self", NULL
41587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
41588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41589 if (SWIG_arg_fail(1)) SWIG_fail
;
41591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41592 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
41594 wxPyEndAllowThreads(__tstate
);
41595 if (PyErr_Occurred()) SWIG_fail
;
41598 wxSize
* resultptr
;
41599 resultptr
= new wxSize((wxSize
&)(result
));
41600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41608 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41609 PyObject
*resultobj
;
41610 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41613 PyObject
* obj0
= 0 ;
41614 PyObject
* obj1
= 0 ;
41615 char *kwnames
[] = {
41616 (char *) "self",(char *) "sz", NULL
41619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
41620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41621 if (SWIG_arg_fail(1)) SWIG_fail
;
41624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
41627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41628 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
41630 wxPyEndAllowThreads(__tstate
);
41631 if (PyErr_Occurred()) SWIG_fail
;
41633 Py_INCREF(Py_None
); resultobj
= Py_None
;
41640 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41641 PyObject
*resultobj
;
41642 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41643 wxWindow
*arg2
= (wxWindow
*) 0 ;
41644 wxGBPosition result
;
41645 PyObject
* obj0
= 0 ;
41646 PyObject
* obj1
= 0 ;
41648 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41650 if (SWIG_arg_fail(1)) SWIG_fail
;
41651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41652 if (SWIG_arg_fail(2)) SWIG_fail
;
41654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41655 result
= (arg1
)->GetItemPosition(arg2
);
41657 wxPyEndAllowThreads(__tstate
);
41658 if (PyErr_Occurred()) SWIG_fail
;
41661 wxGBPosition
* resultptr
;
41662 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41671 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41672 PyObject
*resultobj
;
41673 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41674 wxSizer
*arg2
= (wxSizer
*) 0 ;
41675 wxGBPosition result
;
41676 PyObject
* obj0
= 0 ;
41677 PyObject
* obj1
= 0 ;
41679 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41681 if (SWIG_arg_fail(1)) SWIG_fail
;
41682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41683 if (SWIG_arg_fail(2)) SWIG_fail
;
41685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41686 result
= (arg1
)->GetItemPosition(arg2
);
41688 wxPyEndAllowThreads(__tstate
);
41689 if (PyErr_Occurred()) SWIG_fail
;
41692 wxGBPosition
* resultptr
;
41693 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41702 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41703 PyObject
*resultobj
;
41704 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41706 wxGBPosition result
;
41707 PyObject
* obj0
= 0 ;
41708 PyObject
* obj1
= 0 ;
41710 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41712 if (SWIG_arg_fail(1)) SWIG_fail
;
41714 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41715 if (SWIG_arg_fail(2)) SWIG_fail
;
41718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41719 result
= (arg1
)->GetItemPosition(arg2
);
41721 wxPyEndAllowThreads(__tstate
);
41722 if (PyErr_Occurred()) SWIG_fail
;
41725 wxGBPosition
* resultptr
;
41726 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41735 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
41740 argc
= PyObject_Length(args
);
41741 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
41742 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41748 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41758 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41766 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
41774 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41784 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41792 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
41800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41808 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
41810 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
41815 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
41820 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41821 PyObject
*resultobj
;
41822 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41823 wxWindow
*arg2
= (wxWindow
*) 0 ;
41824 wxGBPosition
*arg3
= 0 ;
41826 wxGBPosition temp3
;
41827 PyObject
* obj0
= 0 ;
41828 PyObject
* obj1
= 0 ;
41829 PyObject
* obj2
= 0 ;
41831 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41833 if (SWIG_arg_fail(1)) SWIG_fail
;
41834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41835 if (SWIG_arg_fail(2)) SWIG_fail
;
41838 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41842 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41844 wxPyEndAllowThreads(__tstate
);
41845 if (PyErr_Occurred()) SWIG_fail
;
41848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41856 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41857 PyObject
*resultobj
;
41858 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41859 wxSizer
*arg2
= (wxSizer
*) 0 ;
41860 wxGBPosition
*arg3
= 0 ;
41862 wxGBPosition temp3
;
41863 PyObject
* obj0
= 0 ;
41864 PyObject
* obj1
= 0 ;
41865 PyObject
* obj2
= 0 ;
41867 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41869 if (SWIG_arg_fail(1)) SWIG_fail
;
41870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41871 if (SWIG_arg_fail(2)) SWIG_fail
;
41874 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41878 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41892 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41893 PyObject
*resultobj
;
41894 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41896 wxGBPosition
*arg3
= 0 ;
41898 wxGBPosition temp3
;
41899 PyObject
* obj0
= 0 ;
41900 PyObject
* obj1
= 0 ;
41901 PyObject
* obj2
= 0 ;
41903 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41905 if (SWIG_arg_fail(1)) SWIG_fail
;
41907 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41908 if (SWIG_arg_fail(2)) SWIG_fail
;
41912 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41916 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41918 wxPyEndAllowThreads(__tstate
);
41919 if (PyErr_Occurred()) SWIG_fail
;
41922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41930 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
41935 argc
= PyObject_Length(args
);
41936 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
41937 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41943 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41953 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41962 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41965 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
41974 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41984 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41993 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41996 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42013 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42016 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42019 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42025 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42030 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42031 PyObject
*resultobj
;
42032 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42033 wxWindow
*arg2
= (wxWindow
*) 0 ;
42035 PyObject
* obj0
= 0 ;
42036 PyObject
* obj1
= 0 ;
42038 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42040 if (SWIG_arg_fail(1)) SWIG_fail
;
42041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42042 if (SWIG_arg_fail(2)) SWIG_fail
;
42044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42045 result
= (arg1
)->GetItemSpan(arg2
);
42047 wxPyEndAllowThreads(__tstate
);
42048 if (PyErr_Occurred()) SWIG_fail
;
42051 wxGBSpan
* resultptr
;
42052 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42061 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42062 PyObject
*resultobj
;
42063 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42064 wxSizer
*arg2
= (wxSizer
*) 0 ;
42066 PyObject
* obj0
= 0 ;
42067 PyObject
* obj1
= 0 ;
42069 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42071 if (SWIG_arg_fail(1)) SWIG_fail
;
42072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42073 if (SWIG_arg_fail(2)) SWIG_fail
;
42075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42076 result
= (arg1
)->GetItemSpan(arg2
);
42078 wxPyEndAllowThreads(__tstate
);
42079 if (PyErr_Occurred()) SWIG_fail
;
42082 wxGBSpan
* resultptr
;
42083 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42092 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42093 PyObject
*resultobj
;
42094 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42097 PyObject
* obj0
= 0 ;
42098 PyObject
* obj1
= 0 ;
42100 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42102 if (SWIG_arg_fail(1)) SWIG_fail
;
42104 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42105 if (SWIG_arg_fail(2)) SWIG_fail
;
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 result
= (arg1
)->GetItemSpan(arg2
);
42111 wxPyEndAllowThreads(__tstate
);
42112 if (PyErr_Occurred()) SWIG_fail
;
42115 wxGBSpan
* resultptr
;
42116 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42125 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42130 argc
= PyObject_Length(args
);
42131 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42132 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42138 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42148 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42156 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42182 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42190 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42198 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42200 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42205 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42210 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42211 PyObject
*resultobj
;
42212 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42213 wxWindow
*arg2
= (wxWindow
*) 0 ;
42214 wxGBSpan
*arg3
= 0 ;
42217 PyObject
* obj0
= 0 ;
42218 PyObject
* obj1
= 0 ;
42219 PyObject
* obj2
= 0 ;
42221 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42223 if (SWIG_arg_fail(1)) SWIG_fail
;
42224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42225 if (SWIG_arg_fail(2)) SWIG_fail
;
42228 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42234 wxPyEndAllowThreads(__tstate
);
42235 if (PyErr_Occurred()) SWIG_fail
;
42238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42246 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42247 PyObject
*resultobj
;
42248 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42249 wxSizer
*arg2
= (wxSizer
*) 0 ;
42250 wxGBSpan
*arg3
= 0 ;
42253 PyObject
* obj0
= 0 ;
42254 PyObject
* obj1
= 0 ;
42255 PyObject
* obj2
= 0 ;
42257 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42259 if (SWIG_arg_fail(1)) SWIG_fail
;
42260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42261 if (SWIG_arg_fail(2)) SWIG_fail
;
42264 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42268 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42270 wxPyEndAllowThreads(__tstate
);
42271 if (PyErr_Occurred()) SWIG_fail
;
42274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42282 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42283 PyObject
*resultobj
;
42284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42286 wxGBSpan
*arg3
= 0 ;
42289 PyObject
* obj0
= 0 ;
42290 PyObject
* obj1
= 0 ;
42291 PyObject
* obj2
= 0 ;
42293 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42295 if (SWIG_arg_fail(1)) SWIG_fail
;
42297 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42298 if (SWIG_arg_fail(2)) SWIG_fail
;
42302 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42306 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42308 wxPyEndAllowThreads(__tstate
);
42309 if (PyErr_Occurred()) SWIG_fail
;
42312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42320 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42325 argc
= PyObject_Length(args
);
42326 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42327 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42343 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42352 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42355 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42364 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42374 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42383 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42386 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42395 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42403 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42406 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42409 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42415 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42420 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42421 PyObject
*resultobj
;
42422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42423 wxWindow
*arg2
= (wxWindow
*) 0 ;
42424 wxGBSizerItem
*result
;
42425 PyObject
* obj0
= 0 ;
42426 PyObject
* obj1
= 0 ;
42428 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42430 if (SWIG_arg_fail(1)) SWIG_fail
;
42431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42432 if (SWIG_arg_fail(2)) SWIG_fail
;
42434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42435 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42437 wxPyEndAllowThreads(__tstate
);
42438 if (PyErr_Occurred()) SWIG_fail
;
42440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42447 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42448 PyObject
*resultobj
;
42449 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42450 wxSizer
*arg2
= (wxSizer
*) 0 ;
42451 wxGBSizerItem
*result
;
42452 PyObject
* obj0
= 0 ;
42453 PyObject
* obj1
= 0 ;
42455 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42457 if (SWIG_arg_fail(1)) SWIG_fail
;
42458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42459 if (SWIG_arg_fail(2)) SWIG_fail
;
42461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42462 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42464 wxPyEndAllowThreads(__tstate
);
42465 if (PyErr_Occurred()) SWIG_fail
;
42467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42474 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42479 argc
= PyObject_Length(args
);
42480 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42497 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42505 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
42513 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42523 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42531 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
42536 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
42541 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42542 PyObject
*resultobj
;
42543 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42544 wxGBPosition
*arg2
= 0 ;
42545 wxGBSizerItem
*result
;
42546 wxGBPosition temp2
;
42547 PyObject
* obj0
= 0 ;
42548 PyObject
* obj1
= 0 ;
42549 char *kwnames
[] = {
42550 (char *) "self",(char *) "pos", NULL
42553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42555 if (SWIG_arg_fail(1)) SWIG_fail
;
42558 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42562 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
42564 wxPyEndAllowThreads(__tstate
);
42565 if (PyErr_Occurred()) SWIG_fail
;
42567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42574 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42575 PyObject
*resultobj
;
42576 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42577 wxPoint
*arg2
= 0 ;
42578 wxGBSizerItem
*result
;
42580 PyObject
* obj0
= 0 ;
42581 PyObject
* obj1
= 0 ;
42582 char *kwnames
[] = {
42583 (char *) "self",(char *) "pt", NULL
42586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
42587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42588 if (SWIG_arg_fail(1)) SWIG_fail
;
42591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
42594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42595 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
42597 wxPyEndAllowThreads(__tstate
);
42598 if (PyErr_Occurred()) SWIG_fail
;
42600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42607 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42608 PyObject
*resultobj
;
42609 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42610 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42611 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
42613 PyObject
* obj0
= 0 ;
42614 PyObject
* obj1
= 0 ;
42615 PyObject
* obj2
= 0 ;
42616 char *kwnames
[] = {
42617 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
42620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42622 if (SWIG_arg_fail(1)) SWIG_fail
;
42623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42624 if (SWIG_arg_fail(2)) SWIG_fail
;
42626 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42627 if (SWIG_arg_fail(3)) SWIG_fail
;
42630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42631 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
42633 wxPyEndAllowThreads(__tstate
);
42634 if (PyErr_Occurred()) SWIG_fail
;
42637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42645 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42646 PyObject
*resultobj
;
42647 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42648 wxGBPosition
*arg2
= 0 ;
42649 wxGBSpan
*arg3
= 0 ;
42650 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
42652 wxGBPosition temp2
;
42654 PyObject
* obj0
= 0 ;
42655 PyObject
* obj1
= 0 ;
42656 PyObject
* obj2
= 0 ;
42657 PyObject
* obj3
= 0 ;
42658 char *kwnames
[] = {
42659 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
42662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42664 if (SWIG_arg_fail(1)) SWIG_fail
;
42667 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42671 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42674 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42675 if (SWIG_arg_fail(4)) SWIG_fail
;
42678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42679 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
42681 wxPyEndAllowThreads(__tstate
);
42682 if (PyErr_Occurred()) SWIG_fail
;
42685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42693 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
42695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42696 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
42698 return Py_BuildValue((char *)"");
42700 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42701 PyObject
*resultobj
;
42702 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42703 wxRelationship arg2
;
42704 wxWindow
*arg3
= (wxWindow
*) 0 ;
42706 int arg5
= (int) 0 ;
42707 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
42708 PyObject
* obj0
= 0 ;
42709 PyObject
* obj1
= 0 ;
42710 PyObject
* obj2
= 0 ;
42711 PyObject
* obj3
= 0 ;
42712 PyObject
* obj4
= 0 ;
42713 PyObject
* obj5
= 0 ;
42714 char *kwnames
[] = {
42715 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
42718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42720 if (SWIG_arg_fail(1)) SWIG_fail
;
42722 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
42723 if (SWIG_arg_fail(2)) SWIG_fail
;
42725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42726 if (SWIG_arg_fail(3)) SWIG_fail
;
42728 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
42729 if (SWIG_arg_fail(4)) SWIG_fail
;
42733 arg5
= (int)(SWIG_As_int(obj4
));
42734 if (SWIG_arg_fail(5)) SWIG_fail
;
42739 arg6
= (int)(SWIG_As_int(obj5
));
42740 if (SWIG_arg_fail(6)) SWIG_fail
;
42744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
42747 wxPyEndAllowThreads(__tstate
);
42748 if (PyErr_Occurred()) SWIG_fail
;
42750 Py_INCREF(Py_None
); resultobj
= Py_None
;
42757 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42758 PyObject
*resultobj
;
42759 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42760 wxWindow
*arg2
= (wxWindow
*) 0 ;
42761 int arg3
= (int) 0 ;
42762 PyObject
* obj0
= 0 ;
42763 PyObject
* obj1
= 0 ;
42764 PyObject
* obj2
= 0 ;
42765 char *kwnames
[] = {
42766 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42771 if (SWIG_arg_fail(1)) SWIG_fail
;
42772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42773 if (SWIG_arg_fail(2)) SWIG_fail
;
42776 arg3
= (int)(SWIG_As_int(obj2
));
42777 if (SWIG_arg_fail(3)) SWIG_fail
;
42781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42782 (arg1
)->LeftOf(arg2
,arg3
);
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42787 Py_INCREF(Py_None
); resultobj
= Py_None
;
42794 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42795 PyObject
*resultobj
;
42796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42797 wxWindow
*arg2
= (wxWindow
*) 0 ;
42798 int arg3
= (int) 0 ;
42799 PyObject
* obj0
= 0 ;
42800 PyObject
* obj1
= 0 ;
42801 PyObject
* obj2
= 0 ;
42802 char *kwnames
[] = {
42803 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42808 if (SWIG_arg_fail(1)) SWIG_fail
;
42809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42810 if (SWIG_arg_fail(2)) SWIG_fail
;
42813 arg3
= (int)(SWIG_As_int(obj2
));
42814 if (SWIG_arg_fail(3)) SWIG_fail
;
42818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42819 (arg1
)->RightOf(arg2
,arg3
);
42821 wxPyEndAllowThreads(__tstate
);
42822 if (PyErr_Occurred()) SWIG_fail
;
42824 Py_INCREF(Py_None
); resultobj
= Py_None
;
42831 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42832 PyObject
*resultobj
;
42833 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42834 wxWindow
*arg2
= (wxWindow
*) 0 ;
42835 int arg3
= (int) 0 ;
42836 PyObject
* obj0
= 0 ;
42837 PyObject
* obj1
= 0 ;
42838 PyObject
* obj2
= 0 ;
42839 char *kwnames
[] = {
42840 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42845 if (SWIG_arg_fail(1)) SWIG_fail
;
42846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42847 if (SWIG_arg_fail(2)) SWIG_fail
;
42850 arg3
= (int)(SWIG_As_int(obj2
));
42851 if (SWIG_arg_fail(3)) SWIG_fail
;
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 (arg1
)->Above(arg2
,arg3
);
42858 wxPyEndAllowThreads(__tstate
);
42859 if (PyErr_Occurred()) SWIG_fail
;
42861 Py_INCREF(Py_None
); resultobj
= Py_None
;
42868 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42869 PyObject
*resultobj
;
42870 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42871 wxWindow
*arg2
= (wxWindow
*) 0 ;
42872 int arg3
= (int) 0 ;
42873 PyObject
* obj0
= 0 ;
42874 PyObject
* obj1
= 0 ;
42875 PyObject
* obj2
= 0 ;
42876 char *kwnames
[] = {
42877 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42882 if (SWIG_arg_fail(1)) SWIG_fail
;
42883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42884 if (SWIG_arg_fail(2)) SWIG_fail
;
42887 arg3
= (int)(SWIG_As_int(obj2
));
42888 if (SWIG_arg_fail(3)) SWIG_fail
;
42892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42893 (arg1
)->Below(arg2
,arg3
);
42895 wxPyEndAllowThreads(__tstate
);
42896 if (PyErr_Occurred()) SWIG_fail
;
42898 Py_INCREF(Py_None
); resultobj
= Py_None
;
42905 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42906 PyObject
*resultobj
;
42907 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42908 wxWindow
*arg2
= (wxWindow
*) 0 ;
42910 int arg4
= (int) 0 ;
42911 PyObject
* obj0
= 0 ;
42912 PyObject
* obj1
= 0 ;
42913 PyObject
* obj2
= 0 ;
42914 PyObject
* obj3
= 0 ;
42915 char *kwnames
[] = {
42916 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
42919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42921 if (SWIG_arg_fail(1)) SWIG_fail
;
42922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42923 if (SWIG_arg_fail(2)) SWIG_fail
;
42925 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42926 if (SWIG_arg_fail(3)) SWIG_fail
;
42930 arg4
= (int)(SWIG_As_int(obj3
));
42931 if (SWIG_arg_fail(4)) SWIG_fail
;
42935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42936 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
42938 wxPyEndAllowThreads(__tstate
);
42939 if (PyErr_Occurred()) SWIG_fail
;
42941 Py_INCREF(Py_None
); resultobj
= Py_None
;
42948 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42949 PyObject
*resultobj
;
42950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42951 wxWindow
*arg2
= (wxWindow
*) 0 ;
42954 PyObject
* obj0
= 0 ;
42955 PyObject
* obj1
= 0 ;
42956 PyObject
* obj2
= 0 ;
42957 PyObject
* obj3
= 0 ;
42958 char *kwnames
[] = {
42959 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
42962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42964 if (SWIG_arg_fail(1)) SWIG_fail
;
42965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42966 if (SWIG_arg_fail(2)) SWIG_fail
;
42968 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42969 if (SWIG_arg_fail(3)) SWIG_fail
;
42972 arg4
= (int)(SWIG_As_int(obj3
));
42973 if (SWIG_arg_fail(4)) SWIG_fail
;
42976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42977 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
42979 wxPyEndAllowThreads(__tstate
);
42980 if (PyErr_Occurred()) SWIG_fail
;
42982 Py_INCREF(Py_None
); resultobj
= Py_None
;
42989 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42990 PyObject
*resultobj
;
42991 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42993 PyObject
* obj0
= 0 ;
42994 PyObject
* obj1
= 0 ;
42995 char *kwnames
[] = {
42996 (char *) "self",(char *) "val", NULL
42999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43001 if (SWIG_arg_fail(1)) SWIG_fail
;
43003 arg2
= (int)(SWIG_As_int(obj1
));
43004 if (SWIG_arg_fail(2)) SWIG_fail
;
43007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 (arg1
)->Absolute(arg2
);
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43013 Py_INCREF(Py_None
); resultobj
= Py_None
;
43020 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
;
43022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43023 PyObject
* obj0
= 0 ;
43024 char *kwnames
[] = {
43025 (char *) "self", NULL
43028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43030 if (SWIG_arg_fail(1)) SWIG_fail
;
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43033 (arg1
)->Unconstrained();
43035 wxPyEndAllowThreads(__tstate
);
43036 if (PyErr_Occurred()) SWIG_fail
;
43038 Py_INCREF(Py_None
); resultobj
= Py_None
;
43045 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43046 PyObject
*resultobj
;
43047 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43048 PyObject
* obj0
= 0 ;
43049 char *kwnames
[] = {
43050 (char *) "self", NULL
43053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43055 if (SWIG_arg_fail(1)) SWIG_fail
;
43057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43060 wxPyEndAllowThreads(__tstate
);
43061 if (PyErr_Occurred()) SWIG_fail
;
43063 Py_INCREF(Py_None
); resultobj
= Py_None
;
43070 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43071 PyObject
*resultobj
;
43072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43074 PyObject
* obj0
= 0 ;
43075 char *kwnames
[] = {
43076 (char *) "self", NULL
43079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43081 if (SWIG_arg_fail(1)) SWIG_fail
;
43083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43084 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43086 wxPyEndAllowThreads(__tstate
);
43087 if (PyErr_Occurred()) SWIG_fail
;
43090 resultobj
= wxPyMake_wxObject(result
, 0);
43098 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43099 PyObject
*resultobj
;
43100 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43102 PyObject
* obj0
= 0 ;
43103 char *kwnames
[] = {
43104 (char *) "self", NULL
43107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43109 if (SWIG_arg_fail(1)) SWIG_fail
;
43111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43112 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43114 wxPyEndAllowThreads(__tstate
);
43115 if (PyErr_Occurred()) SWIG_fail
;
43117 resultobj
= SWIG_From_int((result
));
43124 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43125 PyObject
*resultobj
;
43126 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43128 PyObject
* obj0
= 0 ;
43129 PyObject
* obj1
= 0 ;
43130 char *kwnames
[] = {
43131 (char *) "self",(char *) "which", NULL
43134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43136 if (SWIG_arg_fail(1)) SWIG_fail
;
43138 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43139 if (SWIG_arg_fail(2)) SWIG_fail
;
43142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43143 (arg1
)->SetEdge((wxEdge
)arg2
);
43145 wxPyEndAllowThreads(__tstate
);
43146 if (PyErr_Occurred()) SWIG_fail
;
43148 Py_INCREF(Py_None
); resultobj
= Py_None
;
43155 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43156 PyObject
*resultobj
;
43157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43159 PyObject
* obj0
= 0 ;
43160 PyObject
* obj1
= 0 ;
43161 char *kwnames
[] = {
43162 (char *) "self",(char *) "v", NULL
43165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43167 if (SWIG_arg_fail(1)) SWIG_fail
;
43169 arg2
= (int)(SWIG_As_int(obj1
));
43170 if (SWIG_arg_fail(2)) SWIG_fail
;
43173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43174 (arg1
)->SetValue(arg2
);
43176 wxPyEndAllowThreads(__tstate
);
43177 if (PyErr_Occurred()) SWIG_fail
;
43179 Py_INCREF(Py_None
); resultobj
= Py_None
;
43186 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43187 PyObject
*resultobj
;
43188 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43190 PyObject
* obj0
= 0 ;
43191 char *kwnames
[] = {
43192 (char *) "self", NULL
43195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43197 if (SWIG_arg_fail(1)) SWIG_fail
;
43199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43200 result
= (int)(arg1
)->GetMargin();
43202 wxPyEndAllowThreads(__tstate
);
43203 if (PyErr_Occurred()) SWIG_fail
;
43206 resultobj
= SWIG_From_int((int)(result
));
43214 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43215 PyObject
*resultobj
;
43216 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43218 PyObject
* obj0
= 0 ;
43219 PyObject
* obj1
= 0 ;
43220 char *kwnames
[] = {
43221 (char *) "self",(char *) "m", NULL
43224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43226 if (SWIG_arg_fail(1)) SWIG_fail
;
43228 arg2
= (int)(SWIG_As_int(obj1
));
43229 if (SWIG_arg_fail(2)) SWIG_fail
;
43232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43233 (arg1
)->SetMargin(arg2
);
43235 wxPyEndAllowThreads(__tstate
);
43236 if (PyErr_Occurred()) SWIG_fail
;
43238 Py_INCREF(Py_None
); resultobj
= Py_None
;
43245 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43246 PyObject
*resultobj
;
43247 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43249 PyObject
* obj0
= 0 ;
43250 char *kwnames
[] = {
43251 (char *) "self", NULL
43254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43256 if (SWIG_arg_fail(1)) SWIG_fail
;
43258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43259 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43261 wxPyEndAllowThreads(__tstate
);
43262 if (PyErr_Occurred()) SWIG_fail
;
43265 resultobj
= SWIG_From_int((int)(result
));
43273 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43274 PyObject
*resultobj
;
43275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43277 PyObject
* obj0
= 0 ;
43278 char *kwnames
[] = {
43279 (char *) "self", NULL
43282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43284 if (SWIG_arg_fail(1)) SWIG_fail
;
43286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43287 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43289 wxPyEndAllowThreads(__tstate
);
43290 if (PyErr_Occurred()) SWIG_fail
;
43293 resultobj
= SWIG_From_int((int)(result
));
43301 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43302 PyObject
*resultobj
;
43303 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43305 PyObject
* obj0
= 0 ;
43306 char *kwnames
[] = {
43307 (char *) "self", NULL
43310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43312 if (SWIG_arg_fail(1)) SWIG_fail
;
43314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43315 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43317 wxPyEndAllowThreads(__tstate
);
43318 if (PyErr_Occurred()) SWIG_fail
;
43321 resultobj
= SWIG_From_int((int)(result
));
43329 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43330 PyObject
*resultobj
;
43331 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43333 PyObject
* obj0
= 0 ;
43334 char *kwnames
[] = {
43335 (char *) "self", NULL
43338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43340 if (SWIG_arg_fail(1)) SWIG_fail
;
43342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43343 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43345 wxPyEndAllowThreads(__tstate
);
43346 if (PyErr_Occurred()) SWIG_fail
;
43349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43357 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43358 PyObject
*resultobj
;
43359 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43361 PyObject
* obj0
= 0 ;
43362 PyObject
* obj1
= 0 ;
43363 char *kwnames
[] = {
43364 (char *) "self",(char *) "d", NULL
43367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43369 if (SWIG_arg_fail(1)) SWIG_fail
;
43371 arg2
= (bool)(SWIG_As_bool(obj1
));
43372 if (SWIG_arg_fail(2)) SWIG_fail
;
43375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43376 (arg1
)->SetDone(arg2
);
43378 wxPyEndAllowThreads(__tstate
);
43379 if (PyErr_Occurred()) SWIG_fail
;
43381 Py_INCREF(Py_None
); resultobj
= Py_None
;
43388 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43389 PyObject
*resultobj
;
43390 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43391 wxRelationship result
;
43392 PyObject
* obj0
= 0 ;
43393 char *kwnames
[] = {
43394 (char *) "self", NULL
43397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43399 if (SWIG_arg_fail(1)) SWIG_fail
;
43401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43402 result
= (wxRelationship
)(arg1
)->GetRelationship();
43404 wxPyEndAllowThreads(__tstate
);
43405 if (PyErr_Occurred()) SWIG_fail
;
43407 resultobj
= SWIG_From_int((result
));
43414 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43415 PyObject
*resultobj
;
43416 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43417 wxRelationship arg2
;
43418 PyObject
* obj0
= 0 ;
43419 PyObject
* obj1
= 0 ;
43420 char *kwnames
[] = {
43421 (char *) "self",(char *) "r", NULL
43424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43426 if (SWIG_arg_fail(1)) SWIG_fail
;
43428 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43429 if (SWIG_arg_fail(2)) SWIG_fail
;
43432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43433 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43435 wxPyEndAllowThreads(__tstate
);
43436 if (PyErr_Occurred()) SWIG_fail
;
43438 Py_INCREF(Py_None
); resultobj
= Py_None
;
43445 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43446 PyObject
*resultobj
;
43447 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43448 wxWindow
*arg2
= (wxWindow
*) 0 ;
43450 PyObject
* obj0
= 0 ;
43451 PyObject
* obj1
= 0 ;
43452 char *kwnames
[] = {
43453 (char *) "self",(char *) "otherW", NULL
43456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43458 if (SWIG_arg_fail(1)) SWIG_fail
;
43459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43460 if (SWIG_arg_fail(2)) SWIG_fail
;
43462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43463 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43465 wxPyEndAllowThreads(__tstate
);
43466 if (PyErr_Occurred()) SWIG_fail
;
43469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43477 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43478 PyObject
*resultobj
;
43479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43480 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43481 wxWindow
*arg3
= (wxWindow
*) 0 ;
43483 PyObject
* obj0
= 0 ;
43484 PyObject
* obj1
= 0 ;
43485 PyObject
* obj2
= 0 ;
43486 char *kwnames
[] = {
43487 (char *) "self",(char *) "constraints",(char *) "win", NULL
43490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43492 if (SWIG_arg_fail(1)) SWIG_fail
;
43493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43494 if (SWIG_arg_fail(2)) SWIG_fail
;
43495 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43496 if (SWIG_arg_fail(3)) SWIG_fail
;
43498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43499 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43501 wxPyEndAllowThreads(__tstate
);
43502 if (PyErr_Occurred()) SWIG_fail
;
43505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43513 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43514 PyObject
*resultobj
;
43515 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43517 wxWindow
*arg3
= (wxWindow
*) 0 ;
43518 wxWindow
*arg4
= (wxWindow
*) 0 ;
43520 PyObject
* obj0
= 0 ;
43521 PyObject
* obj1
= 0 ;
43522 PyObject
* obj2
= 0 ;
43523 PyObject
* obj3
= 0 ;
43524 char *kwnames
[] = {
43525 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
43528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43530 if (SWIG_arg_fail(1)) SWIG_fail
;
43532 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43533 if (SWIG_arg_fail(2)) SWIG_fail
;
43535 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43536 if (SWIG_arg_fail(3)) SWIG_fail
;
43537 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43538 if (SWIG_arg_fail(4)) SWIG_fail
;
43540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43541 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
43543 wxPyEndAllowThreads(__tstate
);
43544 if (PyErr_Occurred()) SWIG_fail
;
43547 resultobj
= SWIG_From_int((int)(result
));
43555 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
43557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43558 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
43560 return Py_BuildValue((char *)"");
43562 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43563 PyObject
*resultobj
;
43564 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43565 wxIndividualLayoutConstraint
*result
;
43566 PyObject
* obj0
= 0 ;
43567 char *kwnames
[] = {
43568 (char *) "self", NULL
43571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
43572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43573 if (SWIG_arg_fail(1)) SWIG_fail
;
43574 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
43576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43583 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43584 PyObject
*resultobj
;
43585 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43586 wxIndividualLayoutConstraint
*result
;
43587 PyObject
* obj0
= 0 ;
43588 char *kwnames
[] = {
43589 (char *) "self", NULL
43592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
43593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43594 if (SWIG_arg_fail(1)) SWIG_fail
;
43595 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
43597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43604 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43605 PyObject
*resultobj
;
43606 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43607 wxIndividualLayoutConstraint
*result
;
43608 PyObject
* obj0
= 0 ;
43609 char *kwnames
[] = {
43610 (char *) "self", NULL
43613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
43614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43615 if (SWIG_arg_fail(1)) SWIG_fail
;
43616 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
43618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43625 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43626 PyObject
*resultobj
;
43627 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43628 wxIndividualLayoutConstraint
*result
;
43629 PyObject
* obj0
= 0 ;
43630 char *kwnames
[] = {
43631 (char *) "self", NULL
43634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
43635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43636 if (SWIG_arg_fail(1)) SWIG_fail
;
43637 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
43639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43646 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43647 PyObject
*resultobj
;
43648 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43649 wxIndividualLayoutConstraint
*result
;
43650 PyObject
* obj0
= 0 ;
43651 char *kwnames
[] = {
43652 (char *) "self", NULL
43655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
43656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43657 if (SWIG_arg_fail(1)) SWIG_fail
;
43658 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
43660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43667 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43668 PyObject
*resultobj
;
43669 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43670 wxIndividualLayoutConstraint
*result
;
43671 PyObject
* obj0
= 0 ;
43672 char *kwnames
[] = {
43673 (char *) "self", NULL
43676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
43677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43678 if (SWIG_arg_fail(1)) SWIG_fail
;
43679 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
43681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43688 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43689 PyObject
*resultobj
;
43690 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43691 wxIndividualLayoutConstraint
*result
;
43692 PyObject
* obj0
= 0 ;
43693 char *kwnames
[] = {
43694 (char *) "self", NULL
43697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
43698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43699 if (SWIG_arg_fail(1)) SWIG_fail
;
43700 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
43702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43709 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43710 PyObject
*resultobj
;
43711 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43712 wxIndividualLayoutConstraint
*result
;
43713 PyObject
* obj0
= 0 ;
43714 char *kwnames
[] = {
43715 (char *) "self", NULL
43718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
43719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43720 if (SWIG_arg_fail(1)) SWIG_fail
;
43721 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
43723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43730 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43731 PyObject
*resultobj
;
43732 wxLayoutConstraints
*result
;
43733 char *kwnames
[] = {
43737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
43739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43740 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
43742 wxPyEndAllowThreads(__tstate
);
43743 if (PyErr_Occurred()) SWIG_fail
;
43745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
43752 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43753 PyObject
*resultobj
;
43754 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43755 wxWindow
*arg2
= (wxWindow
*) 0 ;
43756 int *arg3
= (int *) 0 ;
43760 PyObject
* obj0
= 0 ;
43761 PyObject
* obj1
= 0 ;
43762 char *kwnames
[] = {
43763 (char *) "self",(char *) "win", NULL
43766 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
43767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
43768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43769 if (SWIG_arg_fail(1)) SWIG_fail
;
43770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43771 if (SWIG_arg_fail(2)) SWIG_fail
;
43773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43774 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
43776 wxPyEndAllowThreads(__tstate
);
43777 if (PyErr_Occurred()) SWIG_fail
;
43780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43782 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
43783 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
43790 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43791 PyObject
*resultobj
;
43792 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43794 PyObject
* obj0
= 0 ;
43795 char *kwnames
[] = {
43796 (char *) "self", NULL
43799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
43800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43801 if (SWIG_arg_fail(1)) SWIG_fail
;
43803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43804 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
43806 wxPyEndAllowThreads(__tstate
);
43807 if (PyErr_Occurred()) SWIG_fail
;
43810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43818 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
43820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43821 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
43823 return Py_BuildValue((char *)"");
43825 static PyMethodDef SwigMethods
[] = {
43826 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
43827 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
43828 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43829 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43830 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
43831 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43832 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43833 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43834 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43835 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43836 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43837 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43838 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43839 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43840 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43841 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43842 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43843 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43844 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43845 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43846 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43847 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43848 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43849 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43850 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43851 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
43852 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43853 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43854 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43855 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43856 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43857 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43858 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43859 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43860 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43861 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43862 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43863 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43864 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
43865 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43866 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43867 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43868 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43869 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43870 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43871 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43872 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43873 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43874 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43875 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43876 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43877 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43878 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43879 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
43880 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43881 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43882 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43883 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43884 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43885 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43886 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43887 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43888 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43889 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43890 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43891 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43892 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43893 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43894 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43895 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43896 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43897 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43898 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43899 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43900 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43901 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43902 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43903 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43904 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43905 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43906 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43907 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43908 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43909 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43910 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43911 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43912 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43913 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43914 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43915 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43916 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43917 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43918 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43919 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43920 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43921 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43922 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43923 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43924 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43925 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43926 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43927 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43928 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43929 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43930 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43931 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43932 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
43933 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43934 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43935 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43936 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43937 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43938 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43939 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43940 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43941 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43942 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43943 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43944 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43945 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43946 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43947 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43948 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43949 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43950 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43951 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43952 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43953 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43954 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43955 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43956 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43957 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43958 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43959 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43960 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
43961 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43962 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43963 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43964 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43965 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43966 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43967 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43968 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43969 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43970 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43971 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43972 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43973 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43974 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43975 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43976 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43977 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43978 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43979 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
43980 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43981 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
43982 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43983 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43984 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43985 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43986 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43987 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43988 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43989 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
43990 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
43991 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43992 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43993 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43994 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43995 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43996 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43997 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43998 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43999 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44000 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44001 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44002 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44003 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44004 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44005 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44006 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44007 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44008 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44009 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44010 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44011 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44012 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44013 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44014 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44015 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44016 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44017 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44018 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44019 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44020 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44021 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44022 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44023 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44024 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44025 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44026 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44027 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44028 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44029 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44030 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44031 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44032 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44033 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44034 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44035 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44036 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44037 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44038 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44039 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44040 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44041 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44042 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44043 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44044 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44045 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44046 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44047 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44048 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44049 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44050 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44051 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44052 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44053 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44054 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44055 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44056 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44057 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44058 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44059 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44060 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44061 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44062 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44063 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44064 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44065 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44066 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44067 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44068 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44069 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44070 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44071 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44072 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44073 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44074 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44075 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44076 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44077 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44078 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44079 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44080 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44081 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44082 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44083 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44084 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44085 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44086 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44087 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44088 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44089 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44090 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44091 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44092 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44093 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44094 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44095 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44096 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44097 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44098 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44099 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44100 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44101 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44102 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44103 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44104 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44105 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44106 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44107 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44108 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44109 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44110 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44111 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44112 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44113 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44114 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44115 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44116 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44117 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44118 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44119 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44120 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44121 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44122 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44123 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44124 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44125 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44126 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44127 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44128 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44129 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44130 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44131 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44132 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44133 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44134 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44135 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44136 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44137 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44138 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44139 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44140 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44141 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44142 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44143 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44144 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44145 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44146 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44147 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44148 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44149 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44150 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44151 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44152 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44153 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44154 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44155 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44156 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44157 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44158 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44159 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44160 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44161 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44162 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44163 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44164 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44165 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44166 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44167 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44168 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44169 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44170 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44171 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44172 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44173 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44174 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44175 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44176 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44177 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44178 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44179 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44180 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44181 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44182 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44183 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44184 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44185 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44186 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44187 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44188 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44189 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44190 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44191 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44192 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44193 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44194 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44195 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44196 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44197 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44198 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44199 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44200 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44201 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44202 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44203 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44204 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44205 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44206 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44207 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44208 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44209 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44210 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44211 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44212 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44213 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44214 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44215 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44216 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44217 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44218 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44219 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44220 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44221 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44222 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44223 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44224 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44225 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44226 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44227 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44228 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44229 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44230 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44231 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44232 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44233 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44234 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44235 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44236 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44237 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44238 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44239 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44240 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44241 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44242 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44243 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44244 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44245 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44246 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44247 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44248 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44249 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44250 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44251 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44252 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44253 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44254 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44255 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44256 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44257 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44258 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44259 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44260 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44261 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44262 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44263 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44264 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44265 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44266 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44267 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44268 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44269 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44270 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44271 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44272 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44273 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44274 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44275 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44276 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44277 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44278 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44279 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44280 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44281 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44282 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44283 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44284 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44285 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44286 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44287 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44288 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44289 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44290 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44291 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44292 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44293 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44294 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44295 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44296 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44297 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44298 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44299 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44300 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44301 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44302 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44303 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44304 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44305 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44306 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44307 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44308 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44309 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44310 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44311 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44312 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44313 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44314 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44315 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44316 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44317 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44319 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44320 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44322 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44326 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44328 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44329 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44330 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44332 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44334 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44335 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44336 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44338 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44339 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44340 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44343 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44347 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44350 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44353 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44355 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44360 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44368 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44372 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44375 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44377 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44381 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44388 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44390 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44392 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44398 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44400 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44401 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44402 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44403 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44404 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44405 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44409 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44410 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44411 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44413 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44422 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44423 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44424 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44425 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44428 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44432 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44439 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44444 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44445 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44449 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44465 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44493 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44494 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44503 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44504 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
44514 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
44521 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
44525 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
44535 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44635 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
44705 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
44745 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
44759 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
44762 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
44817 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
44844 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
44874 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
44882 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
44899 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
44900 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
44937 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
44967 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
44970 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
44974 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
44977 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
44987 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
44999 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"StdDialogButtonSizer_Finalise", (PyCFunction
) _wrap_StdDialogButtonSizer_Finalise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45011 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45021 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45031 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45045 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45052 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45053 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45054 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45055 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45056 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45061 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45088 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45100 { NULL
, NULL
, 0, NULL
}
45104 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45106 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45107 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45109 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45110 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45112 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45113 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45115 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45116 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45118 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45119 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45121 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45122 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45124 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45125 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45127 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45128 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45130 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45131 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45133 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45134 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45136 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45139 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45140 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45142 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45143 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45145 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45146 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45148 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45149 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45151 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45152 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45154 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45155 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45157 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45160 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45161 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45163 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45166 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45167 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45169 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45172 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45173 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45175 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45176 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45178 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45179 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45181 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45182 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45184 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45185 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45187 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45188 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45190 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45191 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45193 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45194 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45196 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45199 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45200 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45202 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45203 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45205 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45206 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45208 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45209 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45211 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45212 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45214 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45215 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45217 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45220 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45221 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45223 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45224 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45226 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45229 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45230 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45232 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45233 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45235 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45236 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45238 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45239 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45241 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45242 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45244 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45245 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45247 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45248 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45250 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45251 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45253 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45254 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45256 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45259 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45260 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45265 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45266 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45268 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45269 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45272 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45274 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45280 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45281 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45283 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45284 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45286 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45287 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45289 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45290 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45292 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45293 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45295 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45296 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45298 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45299 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45301 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45302 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45304 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45305 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45307 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45308 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45310 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45311 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45313 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45314 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45316 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45317 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45319 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45320 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45322 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45323 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45325 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45326 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45328 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45329 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45331 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45332 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45334 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45335 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45337 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45338 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45340 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45341 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45343 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45344 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45346 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45347 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45349 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45350 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45352 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45355 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45356 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45358 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45359 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45361 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45362 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45364 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45365 return (void *)((wxObject
*) ((wxSizer
*) x
));
45367 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45368 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45370 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45373 static void *_p_wxEventTo_p_wxObject(void *x
) {
45374 return (void *)((wxObject
*) ((wxEvent
*) x
));
45376 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45377 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45379 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45380 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45382 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45383 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45385 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45386 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45388 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45389 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45391 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45392 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45394 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45395 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45397 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45398 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45400 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45401 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45403 static void *_p_wxControlTo_p_wxObject(void *x
) {
45404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45406 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45407 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45409 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45410 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45412 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45413 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45415 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45416 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45418 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45419 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45421 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45422 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45424 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45425 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45427 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45428 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45430 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45433 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45434 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45436 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45437 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45439 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45440 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45442 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45443 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45445 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45446 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45448 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45449 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45451 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45454 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45457 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45460 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45463 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45466 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45469 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45470 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45472 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45473 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45475 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45476 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45478 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45481 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45482 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45484 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45487 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45488 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45490 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
45491 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45493 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45494 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
45496 static void *_p_wxImageTo_p_wxObject(void *x
) {
45497 return (void *)((wxObject
*) ((wxImage
*) x
));
45499 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
45500 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
45502 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
45503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45505 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
45506 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45508 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
45509 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
45511 static void *_p_wxWindowTo_p_wxObject(void *x
) {
45512 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
45514 static void *_p_wxMenuTo_p_wxObject(void *x
) {
45515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
45517 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
45518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
45520 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
45521 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
45523 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
45524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45526 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
45527 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
45529 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
45530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
45532 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
45533 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
45535 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
45536 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
45538 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
45539 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
45541 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
45542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45544 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
45545 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
45547 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
45548 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
45550 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
45551 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
45553 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
45554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45556 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
45557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45559 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
45560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
45562 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
45563 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
45565 static void *_p_wxControlTo_p_wxWindow(void *x
) {
45566 return (void *)((wxWindow
*) ((wxControl
*) x
));
45568 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
45569 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
45571 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
45572 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
45574 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
45575 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45577 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
45578 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
45580 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
45581 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45583 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
45584 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45586 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
45587 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45589 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
45590 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45592 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
45593 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45595 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
45596 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45598 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
45599 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
45601 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}};
45602 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}};
45603 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}};
45604 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}};
45605 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}};
45606 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}};
45607 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}};
45608 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}};
45609 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}};
45610 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}};
45611 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}};
45612 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}};
45613 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}};
45614 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_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_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_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_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}};
45615 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}};
45616 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}};
45617 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}};
45618 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}};
45619 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}};
45620 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}};
45621 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}};
45622 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}};
45623 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}};
45624 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}};
45625 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}};
45626 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}};
45627 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}};
45628 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}};
45629 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}};
45630 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}};
45631 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}};
45632 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}};
45633 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}};
45634 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}};
45635 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}};
45636 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}};
45637 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}};
45638 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}};
45639 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}};
45640 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}};
45641 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}};
45642 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}};
45643 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}};
45644 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}};
45645 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}};
45646 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}};
45647 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}};
45648 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}};
45649 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}};
45650 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}};
45651 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}};
45652 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}};
45653 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}};
45654 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}};
45655 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}};
45656 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}};
45657 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}};
45658 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}};
45659 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}};
45660 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}};
45661 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}};
45662 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}};
45663 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}};
45664 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}};
45665 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}};
45666 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}};
45667 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}};
45668 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}};
45669 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}};
45670 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}};
45671 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}};
45672 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}};
45673 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}};
45674 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}};
45675 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}};
45676 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}};
45677 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}};
45678 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}};
45679 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}};
45680 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}};
45681 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}};
45682 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}};
45683 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}};
45684 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}};
45685 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}};
45686 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}};
45687 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}};
45688 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}};
45689 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}};
45690 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}};
45691 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}};
45692 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}};
45693 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}};
45694 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_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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}};
45695 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}};
45696 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}};
45697 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}};
45698 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}};
45699 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}};
45700 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}};
45701 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}};
45702 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}};
45703 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}};
45704 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}};
45705 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}};
45706 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}};
45707 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}};
45708 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}};
45709 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}};
45710 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}};
45711 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}};
45712 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}};
45713 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}};
45714 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}};
45715 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}};
45716 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_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}};
45717 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}};
45718 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}};
45719 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}};
45720 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}};
45721 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}};
45722 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}};
45723 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}};
45724 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}};
45725 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}};
45726 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}};
45728 static swig_type_info
*swig_types_initial
[] = {
45729 _swigt__p_wxLayoutConstraints
,
45730 _swigt__p_wxRealPoint
,
45731 _swigt__p_wxSizerItem
,
45732 _swigt__p_wxGBSizerItem
,
45733 _swigt__p_wxScrollEvent
,
45734 _swigt__p_wxEventLoop
,
45735 _swigt__p_wxIndividualLayoutConstraint
,
45737 _swigt__p_wxBoxSizer
,
45738 _swigt__p_wxStaticBoxSizer
,
45739 _swigt__p_wxGridBagSizer
,
45740 _swigt__p_wxAcceleratorEntry
,
45741 _swigt__p_wxUpdateUIEvent
,
45744 _swigt__p_wxGridSizer
,
45745 _swigt__p_wxFlexGridSizer
,
45746 _swigt__p_wxInitDialogEvent
,
45747 _swigt__p_wxItemContainer
,
45748 _swigt__p_wxNcPaintEvent
,
45749 _swigt__p_wxPaintEvent
,
45750 _swigt__p_wxSysColourChangedEvent
,
45751 _swigt__p_wxMouseCaptureChangedEvent
,
45752 _swigt__p_wxDisplayChangedEvent
,
45753 _swigt__p_wxPaletteChangedEvent
,
45754 _swigt__p_wxControl
,
45756 _swigt__p_wxMenuBarBase
,
45757 _swigt__p_wxSetCursorEvent
,
45758 _swigt__p_wxFSFile
,
45761 _swigt__std__ptrdiff_t
,
45762 _swigt__p_wxRegion
,
45763 _swigt__p_wxPoint2D
,
45767 _swigt__p_wxPySizer
,
45768 _swigt__p_wxVisualAttributes
,
45769 _swigt__p_wxNotifyEvent
,
45770 _swigt__p_wxPyEvent
,
45771 _swigt__p_wxPropagationDisabler
,
45772 _swigt__p_form_ops_t
,
45773 _swigt__p_wxAppTraits
,
45774 _swigt__p_wxArrayString
,
45775 _swigt__p_wxShowEvent
,
45776 _swigt__p_wxToolTip
,
45777 _swigt__p_wxMoveEvent
,
45778 _swigt__p_wxSizeEvent
,
45779 _swigt__p_wxActivateEvent
,
45780 _swigt__p_wxIconizeEvent
,
45781 _swigt__p_wxMaximizeEvent
,
45782 _swigt__p_wxQueryNewPaletteEvent
,
45783 _swigt__p_wxWindowCreateEvent
,
45784 _swigt__p_wxIdleEvent
,
45785 _swigt__p_wxMenuItem
,
45786 _swigt__p_wxStaticBox
,
45788 _swigt__p_wxDuplexMode
,
45789 _swigt__p_wxTIFFHandler
,
45790 _swigt__p_wxXPMHandler
,
45791 _swigt__p_wxPNMHandler
,
45792 _swigt__p_wxJPEGHandler
,
45793 _swigt__p_wxPCXHandler
,
45794 _swigt__p_wxGIFHandler
,
45795 _swigt__p_wxPNGHandler
,
45796 _swigt__p_wxANIHandler
,
45797 _swigt__p_wxMemoryFSHandler
,
45798 _swigt__p_wxZipFSHandler
,
45799 _swigt__p_wxInternetFSHandler
,
45800 _swigt__p_wxPyFileSystemHandler
,
45801 _swigt__p_wxEvtHandler
,
45802 _swigt__p_wxCURHandler
,
45803 _swigt__p_wxICOHandler
,
45804 _swigt__p_wxBMPHandler
,
45805 _swigt__p_wxImageHandler
,
45806 _swigt__p_wxFileSystemHandler
,
45808 _swigt__p_wxButton
,
45809 _swigt__p_wxGBSpan
,
45810 _swigt__p_wxPropagateOnce
,
45811 _swigt__p_wxAcceleratorTable
,
45812 _swigt__p_wxStdDialogButtonSizer
,
45814 _swigt__p_wxGBPosition
,
45817 _swigt__p_wxScrollWinEvent
,
45818 _swigt__p_wxPaperSize
,
45819 _swigt__p_wxImageHistogram
,
45821 _swigt__p_wxCursor
,
45822 _swigt__p_wxObject
,
45823 _swigt__p_wxInputStream
,
45824 _swigt__p_wxOutputStream
,
45825 _swigt__p_wxPyInputStream
,
45826 _swigt__p_wxDateTime
,
45827 _swigt__p_wxKeyEvent
,
45828 _swigt__p_wxNavigationKeyEvent
,
45829 _swigt__p_wxWindowDestroyEvent
,
45830 _swigt__p_unsigned_long
,
45831 _swigt__p_wxWindow
,
45832 _swigt__p_wxMenuBar
,
45833 _swigt__p_wxFileSystem
,
45834 _swigt__p_wxBitmap
,
45835 _swigt__unsigned_int
,
45836 _swigt__p_unsigned_int
,
45837 _swigt__p_wxMenuEvent
,
45838 _swigt__p_wxContextMenuEvent
,
45839 _swigt__p_unsigned_char
,
45840 _swigt__p_wxEraseEvent
,
45841 _swigt__p_wxMouseEvent
,
45842 _swigt__p_wxCloseEvent
,
45844 _swigt__p_wxCommandEvent
,
45845 _swigt__p_wxPyCommandEvent
,
45846 _swigt__p_wxPyDropTarget
,
45847 _swigt__p_wxQuantize
,
45848 _swigt__p_wxChildFocusEvent
,
45849 _swigt__p_wxFocusEvent
,
45850 _swigt__p_wxDropFilesEvent
,
45851 _swigt__p_wxControlWithItems
,
45852 _swigt__p_wxColour
,
45853 _swigt__p_wxValidator
,
45854 _swigt__p_wxPyValidator
,
45859 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
45861 static swig_const_info swig_const_table
[] = {
45862 {0, 0, 0, 0.0, 0, 0}};
45873 /* Python-specific SWIG API */
45874 #define SWIG_newvarlink() SWIG_Python_newvarlink()
45875 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45876 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45878 /* -----------------------------------------------------------------------------
45879 * global variable support code.
45880 * ----------------------------------------------------------------------------- */
45882 typedef struct swig_globalvar
{
45883 char *name
; /* Name of global variable */
45884 PyObject
*(*get_attr
)(); /* Return the current value */
45885 int (*set_attr
)(PyObject
*); /* Set the value */
45886 struct swig_globalvar
*next
;
45889 typedef struct swig_varlinkobject
{
45891 swig_globalvar
*vars
;
45892 } swig_varlinkobject
;
45895 swig_varlink_repr(swig_varlinkobject
*v
) {
45897 return PyString_FromString("<Swig global variables>");
45901 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
45902 swig_globalvar
*var
;
45904 fprintf(fp
,"Swig global variables { ");
45905 for (var
= v
->vars
; var
; var
=var
->next
) {
45906 fprintf(fp
,"%s", var
->name
);
45907 if (var
->next
) fprintf(fp
,", ");
45909 fprintf(fp
," }\n");
45914 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
45915 swig_globalvar
*var
= v
->vars
;
45917 if (strcmp(var
->name
,n
) == 0) {
45918 return (*var
->get_attr
)();
45922 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45927 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
45928 swig_globalvar
*var
= v
->vars
;
45930 if (strcmp(var
->name
,n
) == 0) {
45931 return (*var
->set_attr
)(p
);
45935 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45939 static PyTypeObject varlinktype
= {
45940 PyObject_HEAD_INIT(0)
45941 0, /* Number of items in variable part (ob_size) */
45942 (char *)"swigvarlink", /* Type name (tp_name) */
45943 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
45944 0, /* Itemsize (tp_itemsize) */
45945 0, /* Deallocator (tp_dealloc) */
45946 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
45947 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
45948 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
45949 0, /* tp_compare */
45950 (reprfunc
) swig_varlink_repr
, /* tp_repr */
45951 0, /* tp_as_number */
45952 0, /* tp_as_sequence */
45953 0, /* tp_as_mapping */
45957 0, /* tp_getattro */
45958 0, /* tp_setattro */
45959 0, /* tp_as_buffer */
45962 #if PY_VERSION_HEX >= 0x02000000
45963 0, /* tp_traverse */
45966 #if PY_VERSION_HEX >= 0x02010000
45967 0, /* tp_richcompare */
45968 0, /* tp_weaklistoffset */
45970 #if PY_VERSION_HEX >= 0x02020000
45971 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45973 #if PY_VERSION_HEX >= 0x02030000
45976 #ifdef COUNT_ALLOCS
45977 0,0,0,0 /* tp_alloc -> tp_next */
45981 /* Create a variable linking object for use later */
45983 SWIG_Python_newvarlink(void) {
45984 swig_varlinkobject
*result
= 0;
45985 result
= PyMem_NEW(swig_varlinkobject
,1);
45986 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
45987 result
->ob_type
= &varlinktype
;
45989 result
->ob_refcnt
= 0;
45990 Py_XINCREF((PyObject
*) result
);
45991 return ((PyObject
*) result
);
45995 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45996 swig_varlinkobject
*v
;
45997 swig_globalvar
*gv
;
45998 v
= (swig_varlinkobject
*) p
;
45999 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46000 gv
->name
= (char *) malloc(strlen(name
)+1);
46001 strcpy(gv
->name
,name
);
46002 gv
->get_attr
= get_attr
;
46003 gv
->set_attr
= set_attr
;
46004 gv
->next
= v
->vars
;
46008 /* -----------------------------------------------------------------------------
46009 * constants/methods manipulation
46010 * ----------------------------------------------------------------------------- */
46012 /* Install Constants */
46014 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46017 for (i
= 0; constants
[i
].type
; i
++) {
46018 switch(constants
[i
].type
) {
46020 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46022 case SWIG_PY_FLOAT
:
46023 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46025 case SWIG_PY_STRING
:
46026 if (constants
[i
].pvalue
) {
46027 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46029 Py_INCREF(Py_None
);
46033 case SWIG_PY_POINTER
:
46034 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46036 case SWIG_PY_BINARY
:
46037 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46044 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46050 /* -----------------------------------------------------------------------------*/
46051 /* Fix SwigMethods to carry the callback ptrs when needed */
46052 /* -----------------------------------------------------------------------------*/
46055 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46056 swig_const_info
*const_table
,
46057 swig_type_info
**types
,
46058 swig_type_info
**types_initial
) {
46060 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46061 char *c
= methods
[i
].ml_doc
;
46062 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46064 swig_const_info
*ci
= 0;
46065 char *name
= c
+ 10;
46066 for (j
= 0; const_table
[j
].type
; j
++) {
46067 if (strncmp(const_table
[j
].name
, name
,
46068 strlen(const_table
[j
].name
)) == 0) {
46069 ci
= &(const_table
[j
]);
46074 size_t shift
= (ci
->ptype
) - types
;
46075 swig_type_info
*ty
= types_initial
[shift
];
46076 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46077 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46078 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46080 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46081 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46083 strncpy(buff
, "swig_ptr: ", 10);
46085 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46086 methods
[i
].ml_doc
= ndoc
;
46092 /* -----------------------------------------------------------------------------*
46093 * Initialize type list
46094 * -----------------------------------------------------------------------------*/
46096 #if PY_MAJOR_VERSION < 2
46097 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46098 is copied out of Python/modsupport.c in python version 2.3.4 */
46100 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46103 if (!PyModule_Check(m
)) {
46104 PyErr_SetString(PyExc_TypeError
,
46105 "PyModule_AddObject() needs module as first arg");
46109 PyErr_SetString(PyExc_TypeError
,
46110 "PyModule_AddObject() needs non-NULL value");
46114 dict
= PyModule_GetDict(m
);
46115 if (dict
== NULL
) {
46116 /* Internal error -- modules must have a dict! */
46117 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46118 PyModule_GetName(m
));
46121 if (PyDict_SetItemString(dict
, name
, o
))
46128 static swig_type_info
**
46129 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46130 static PyMethodDef swig_empty_runtime_method_table
[] = {
46132 NULL
, NULL
, 0, NULL
46136 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46137 swig_empty_runtime_method_table
);
46138 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46139 if (pointer
&& module) {
46140 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46142 return type_list_handle
;
46145 static swig_type_info
**
46146 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46147 swig_type_info
**type_pointer
;
46149 /* first check if module already created */
46150 type_pointer
= SWIG_Python_GetTypeListHandle();
46151 if (type_pointer
) {
46152 return type_pointer
;
46154 /* create a new module and variable */
46155 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46163 /* -----------------------------------------------------------------------------*
46164 * Partial Init method
46165 * -----------------------------------------------------------------------------*/
46167 #ifdef SWIG_LINK_RUNTIME
46171 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46177 SWIGEXPORT(void) SWIG_init(void) {
46178 static PyObject
*SWIG_globals
= 0;
46179 static int typeinit
= 0;
46182 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46184 /* Fix SwigMethods to carry the callback ptrs when needed */
46185 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46187 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46188 d
= PyModule_GetDict(m
);
46191 #ifdef SWIG_LINK_RUNTIME
46192 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46194 # ifndef SWIG_STATIC_RUNTIME
46195 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46198 for (i
= 0; swig_types_initial
[i
]; i
++) {
46199 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46203 SWIG_InstallConstants(d
,swig_const_table
);
46206 #ifndef wxPyUSE_EXPORT
46207 // Make our API structure a CObject so other modules can import it
46208 // from this module.
46209 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46210 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46215 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46218 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46221 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46224 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46227 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46230 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46233 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46236 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46239 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46242 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46245 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46248 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46251 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46254 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46257 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46260 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46263 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46266 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46269 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46272 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46275 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46278 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46281 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46284 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46287 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46290 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46293 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46296 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46299 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46302 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46305 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46308 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46311 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46314 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46317 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46320 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46323 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46326 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46329 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46332 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46335 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46338 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46341 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46344 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46347 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46350 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46353 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46356 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46359 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
46362 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46365 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46368 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46371 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46374 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
46377 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46380 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46383 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46386 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46389 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46392 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46395 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46398 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46401 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46404 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46407 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46410 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46413 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46416 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46419 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46422 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46425 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46428 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46431 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46434 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46437 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46440 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46443 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46446 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46449 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46452 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46455 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46458 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46461 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46464 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46467 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46470 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
46473 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
46476 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
46479 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
46482 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
46485 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
46488 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
46491 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
46494 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
46497 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
46500 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
46503 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
46506 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
46509 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
46512 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
46515 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
46518 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
46521 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
46524 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
46527 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
46530 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
46533 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
46536 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
46539 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
46542 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
46545 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
46548 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
46551 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
46554 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
46557 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
46560 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
46563 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
46566 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
46569 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
46572 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
46575 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
46578 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
46581 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
46584 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
46587 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
46590 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
46593 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
46596 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
46599 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
46602 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
46605 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
46608 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
46611 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
46614 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
46617 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
46620 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
46623 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
46626 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
46629 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
46632 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
46635 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
46638 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
46641 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
46644 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
46647 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
46650 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
46653 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
46656 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
46659 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
46662 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
46665 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
46668 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
46671 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
46674 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
46677 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
46680 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
46683 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
46686 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
46689 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
46692 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
46695 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
46698 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
46701 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
46704 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
46707 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
46710 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
46713 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
46716 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
46719 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
46722 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
46725 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
46728 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
46731 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
46734 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
46737 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
46740 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
46743 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
46746 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
46749 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
46752 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
46755 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
46758 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
46761 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
46764 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
46767 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
46770 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
46773 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
46776 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
46779 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
46782 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
46785 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
46788 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
46791 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
46794 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
46797 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
46800 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
46803 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
46806 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
46809 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
46812 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
46815 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
46818 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
46821 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
46824 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
46827 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
46830 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
46833 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
46836 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
46839 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
46842 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
46845 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
46848 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
46851 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
46854 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
46857 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
46860 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
46863 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
46866 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
46869 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
46872 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
46875 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
46878 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
46881 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
46884 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
46887 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
46890 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
46893 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
46896 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
46899 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
46902 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
46905 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
46908 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
46911 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
46914 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
46917 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
46920 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
46923 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
46926 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
46929 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
46932 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
46935 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
46938 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
46941 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
46944 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
46947 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
46950 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
46953 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
46956 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
46959 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
46962 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
46965 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
46968 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
46971 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
46974 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
46977 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
46980 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
46983 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
46986 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
46989 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
46992 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
46995 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
46998 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47001 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47004 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47007 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47010 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47013 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47016 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47019 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47022 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47025 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47028 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47031 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47034 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47037 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47040 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47043 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47046 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47049 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47052 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47055 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47058 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47061 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47064 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47067 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47070 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47073 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47076 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47079 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47082 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47085 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47088 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47091 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47094 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47097 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47100 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47103 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47106 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47109 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47112 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47115 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47118 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47121 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47124 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47127 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47130 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47133 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47136 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47139 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47142 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47145 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47148 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47151 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47154 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47157 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47160 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47163 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47166 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47169 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47172 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47175 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47178 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47181 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47184 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47187 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47190 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47193 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47196 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47199 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47202 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47205 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47208 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47211 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47214 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47217 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47220 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47223 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47226 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47229 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47232 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47235 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47238 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47241 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47244 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47247 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47250 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47253 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47256 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47259 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47262 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47265 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47268 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47271 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47274 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47277 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47280 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47283 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47286 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47289 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47292 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47295 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47298 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47301 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47304 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47307 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47310 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47313 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47316 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47319 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47322 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47325 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47328 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47331 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47334 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47337 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47340 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47343 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47346 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47349 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47352 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47355 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47358 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47361 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47364 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47367 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47370 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47373 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47376 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47379 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47382 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47385 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47388 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47391 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47394 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47397 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47400 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47403 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47406 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47409 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47412 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47415 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47418 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47421 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47424 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47427 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47430 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47433 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47436 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47439 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47442 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47445 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47448 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47451 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47454 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47457 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47460 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47463 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47466 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47469 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
47472 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
47475 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
47478 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
47481 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
47484 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
47487 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
47490 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
47493 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
47496 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
47499 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
47502 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
47505 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
47508 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
47511 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
47514 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
47517 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
47520 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
47523 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
47526 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
47529 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
47532 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
47535 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
47538 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
47541 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
47544 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
47547 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
47550 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
47553 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
47556 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
47559 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
47562 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
47565 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
47568 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
47571 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
47574 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
47577 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
47580 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
47583 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
47586 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
47589 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
47592 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
47595 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
47598 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
47601 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
47604 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
47607 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
47610 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
47613 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
47616 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
47619 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
47622 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
47625 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
47628 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
47631 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
47634 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
47637 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
47640 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
47643 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
47646 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
47649 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
47652 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
47655 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
47658 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
47661 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
47664 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
47667 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
47670 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
47673 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
47676 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
47679 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
47682 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
47685 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
47688 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
47691 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
47694 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
47697 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
47700 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
47703 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
47706 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
47709 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
47712 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
47715 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
47718 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
47721 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
47724 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
47727 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
47730 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
47733 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
47736 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
47739 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
47742 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
47745 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
47748 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
47751 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
47754 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
47757 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
47760 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
47763 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
47766 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
47769 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
47772 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
47775 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
47778 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
47781 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
47784 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
47787 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
47790 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
47793 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
47796 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
47799 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
47802 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
47805 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
47808 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
47811 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
47814 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
47817 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
47819 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
47820 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
47822 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
47825 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
47828 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
47831 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
47834 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
47837 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
47840 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
47843 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
47846 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
47849 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
47852 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
47855 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
47858 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
47861 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
47864 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
47867 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
47870 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
47873 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
47876 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
47879 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
47882 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
47885 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
47888 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
47891 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
47894 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
47897 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
47900 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
47903 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
47906 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
47909 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
47912 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
47915 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
47918 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
47921 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
47924 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
47927 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
47930 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
47933 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
47936 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
47939 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
47942 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
47945 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
47948 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
47951 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
47954 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
47957 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
47960 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
47963 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
47966 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
47969 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
47972 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
47974 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
47975 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
47977 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
47980 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
47983 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
47986 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
47989 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
47991 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
47992 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
47993 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
47994 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
47995 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
47996 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
47998 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48001 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48004 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48007 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48010 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48013 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48016 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48019 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48022 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48025 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48028 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48031 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48034 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48037 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48040 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48042 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48043 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48044 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48045 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48046 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48047 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48050 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48051 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48052 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48053 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48054 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48055 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48056 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48057 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48058 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48061 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48062 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48063 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48064 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48065 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48066 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48067 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48068 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48069 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48070 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48071 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48072 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48073 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48074 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48075 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48076 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48077 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48078 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48079 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48080 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48081 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48082 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48083 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48084 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48085 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48086 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48087 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48088 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48089 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48090 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48091 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48092 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48093 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48094 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48095 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48096 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48097 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48098 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48099 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48100 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48101 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48102 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48103 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48104 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48105 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48106 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48107 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48108 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48109 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48110 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48111 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48112 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48113 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48114 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48115 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48116 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48117 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48118 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48119 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48120 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48121 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48122 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48123 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48124 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48125 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48126 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48127 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48128 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48129 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48130 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48131 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48132 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48133 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48134 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48135 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48136 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48137 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48138 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48139 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48140 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48141 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48142 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48143 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48144 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48145 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48146 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48147 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48148 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48151 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48152 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48153 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48154 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48155 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48157 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48160 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48163 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48166 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48169 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48172 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48175 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48178 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48181 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48184 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48187 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48190 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48193 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48196 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48199 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48202 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48205 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48208 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48210 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48211 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48213 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48216 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48219 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48222 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48225 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48227 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48228 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48230 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48233 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48236 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48238 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48240 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48243 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48246 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48249 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48252 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48255 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48258 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48261 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48264 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48267 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48270 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48273 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48276 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48279 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48282 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48285 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48288 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48291 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48294 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48297 // Initialize threading, some globals and such
48301 // Although these are defined in __version__ they need to be here too so
48302 // that an assert can be done to ensure that the wxPython and the wxWindows
48304 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48305 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48306 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));