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 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "rect", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28424 if (SWIG_arg_fail(1)) SWIG_fail
;
28427 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 Py_INCREF(Py_None
); resultobj
= Py_None
;
28443 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28453 if (SWIG_arg_fail(1)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28478 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->ClearBackground();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 Py_INCREF(Py_None
); resultobj
= Py_None
;
28493 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxWindow
*arg1
= (wxWindow
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "self", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28503 if (SWIG_arg_fail(1)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 Py_INCREF(Py_None
); resultobj
= Py_None
;
28518 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxWindow
*arg1
= (wxWindow
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 Py_INCREF(Py_None
); resultobj
= Py_None
;
28543 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxWindow
*arg1
= (wxWindow
*) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char *kwnames
[] = {
28550 (char *) "self",(char *) "dc", NULL
28553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(1)) SWIG_fail
;
28557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(2)) SWIG_fail
;
28559 if (arg2
== NULL
) {
28560 SWIG_null_ref("wxDC");
28562 if (SWIG_arg_fail(2)) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->PrepareDC(*arg2
);
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 Py_INCREF(Py_None
); resultobj
= Py_None
;
28578 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxWindow
*arg1
= (wxWindow
*) 0 ;
28582 PyObject
* obj0
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28589 if (SWIG_arg_fail(1)) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28594 result
= (wxRegion
*) &_result_ref
;
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28607 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxWindow
*arg1
= (wxWindow
*) 0 ;
28611 PyObject
* obj0
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28618 if (SWIG_arg_fail(1)) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28627 wxRect
* resultptr
;
28628 resultptr
= new wxRect((wxRect
&)(result
));
28629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28637 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxWindow
*arg1
= (wxWindow
*) 0 ;
28642 int arg4
= (int) 1 ;
28643 int arg5
= (int) 1 ;
28645 PyObject
* obj0
= 0 ;
28646 PyObject
* obj1
= 0 ;
28647 PyObject
* obj2
= 0 ;
28648 PyObject
* obj3
= 0 ;
28649 PyObject
* obj4
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 arg2
= (int)(SWIG_As_int(obj1
));
28659 if (SWIG_arg_fail(2)) SWIG_fail
;
28662 arg3
= (int)(SWIG_As_int(obj2
));
28663 if (SWIG_arg_fail(3)) SWIG_fail
;
28667 arg4
= (int)(SWIG_As_int(obj3
));
28668 if (SWIG_arg_fail(4)) SWIG_fail
;
28673 arg5
= (int)(SWIG_As_int(obj4
));
28674 if (SWIG_arg_fail(5)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28693 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
;
28695 wxWindow
*arg1
= (wxWindow
*) 0 ;
28696 wxPoint
*arg2
= 0 ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self",(char *) "pt", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28707 if (SWIG_arg_fail(1)) SWIG_fail
;
28710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28728 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxWindow
*arg1
= (wxWindow
*) 0 ;
28734 PyObject
* obj0
= 0 ;
28735 PyObject
* obj1
= 0 ;
28736 char *kwnames
[] = {
28737 (char *) "self",(char *) "rect", NULL
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail
;
28745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28763 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxWindow
*arg1
= (wxWindow
*) 0 ;
28766 wxVisualAttributes result
;
28767 PyObject
* obj0
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28774 if (SWIG_arg_fail(1)) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 wxVisualAttributes
* resultptr
;
28784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28793 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
;
28795 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28796 wxVisualAttributes result
;
28797 PyObject
* obj0
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "variant", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28805 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28806 if (SWIG_arg_fail(1)) SWIG_fail
;
28810 if (!wxPyCheckForApp()) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 wxVisualAttributes
* resultptr
;
28819 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28828 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxWindow
*arg1
= (wxWindow
*) 0 ;
28831 wxColour
*arg2
= 0 ;
28834 PyObject
* obj0
= 0 ;
28835 PyObject
* obj1
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self",(char *) "colour", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28842 if (SWIG_arg_fail(1)) SWIG_fail
;
28845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28863 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxWindow
*arg1
= (wxWindow
*) 0 ;
28866 wxColour
*arg2
= 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char *kwnames
[] = {
28871 (char *) "self",(char *) "colour", NULL
28874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28876 if (SWIG_arg_fail(1)) SWIG_fail
;
28879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28895 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxWindow
*arg1
= (wxWindow
*) 0 ;
28898 wxColour
*arg2
= 0 ;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "self",(char *) "colour", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail
;
28912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28930 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
;
28932 wxWindow
*arg1
= (wxWindow
*) 0 ;
28933 wxColour
*arg2
= 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "colour", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28946 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 wxColour
* resultptr
;
28983 resultptr
= new wxColour((wxColour
&)(result
));
28984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28992 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxWindow
*arg1
= (wxWindow
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29012 wxColour
* resultptr
;
29013 resultptr
= new wxColour((wxColour
&)(result
));
29014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29022 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
;
29024 wxWindow
*arg1
= (wxWindow
*) 0 ;
29025 wxBackgroundStyle arg2
;
29027 PyObject
* obj0
= 0 ;
29028 PyObject
* obj1
= 0 ;
29029 char *kwnames
[] = {
29030 (char *) "self",(char *) "style", NULL
29033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29035 if (SWIG_arg_fail(1)) SWIG_fail
;
29037 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29038 if (SWIG_arg_fail(2)) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29056 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxWindow
*arg1
= (wxWindow
*) 0 ;
29059 wxBackgroundStyle result
;
29060 PyObject
* obj0
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "self", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29067 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_From_int((result
));
29082 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxWindow
*arg1
= (wxWindow
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29093 if (SWIG_arg_fail(1)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= (bool)(arg1
)->HasTransparentBackground();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29110 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
;
29112 wxWindow
*arg1
= (wxWindow
*) 0 ;
29113 wxCursor
*arg2
= 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 char *kwnames
[] = {
29118 (char *) "self",(char *) "cursor", NULL
29121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29123 if (SWIG_arg_fail(1)) SWIG_fail
;
29125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29126 if (SWIG_arg_fail(2)) SWIG_fail
;
29127 if (arg2
== NULL
) {
29128 SWIG_null_ref("wxCursor");
29130 if (SWIG_arg_fail(2)) SWIG_fail
;
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29148 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxWindow
*arg1
= (wxWindow
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29159 if (SWIG_arg_fail(1)) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 result
= (arg1
)->GetCursor();
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29168 wxCursor
* resultptr
;
29169 resultptr
= new wxCursor((wxCursor
&)(result
));
29170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29178 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxWindow
*arg1
= (wxWindow
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "font", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(1)) SWIG_fail
;
29193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 if (arg2
== NULL
) {
29196 SWIG_null_ref("wxFont");
29198 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxWindow
*arg1
= (wxWindow
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 char *kwnames
[] = {
29223 (char *) "self",(char *) "font", NULL
29226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29228 if (SWIG_arg_fail(1)) SWIG_fail
;
29230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(2)) SWIG_fail
;
29232 if (arg2
== NULL
) {
29233 SWIG_null_ref("wxFont");
29235 if (SWIG_arg_fail(2)) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 Py_INCREF(Py_None
); resultobj
= Py_None
;
29251 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29253 wxWindow
*arg1
= (wxWindow
*) 0 ;
29255 PyObject
* obj0
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 result
= (arg1
)->GetFont();
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29271 wxFont
* resultptr
;
29272 resultptr
= new wxFont((wxFont
&)(result
));
29273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29281 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxWindow
*arg1
= (wxWindow
*) 0 ;
29284 wxCaret
*arg2
= (wxCaret
*) 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self",(char *) "caret", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29293 if (SWIG_arg_fail(1)) SWIG_fail
;
29294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29295 if (SWIG_arg_fail(2)) SWIG_fail
;
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 (arg1
)->SetCaret(arg2
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 Py_INCREF(Py_None
); resultobj
= Py_None
;
29310 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxWindow
*arg1
= (wxWindow
*) 0 ;
29314 PyObject
* obj0
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29321 if (SWIG_arg_fail(1)) SWIG_fail
;
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29336 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxWindow
*arg1
= (wxWindow
*) 0 ;
29340 PyObject
* obj0
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail
;
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_From_int((int)(result
));
29364 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxWindow
*arg1
= (wxWindow
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_From_int((int)(result
));
29392 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
;
29394 wxWindow
*arg1
= (wxWindow
*) 0 ;
29395 wxString
*arg2
= 0 ;
29396 int *arg3
= (int *) 0 ;
29397 int *arg4
= (int *) 0 ;
29398 bool temp2
= false ;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self",(char *) "string", NULL
29409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29410 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(1)) SWIG_fail
;
29415 arg2
= wxString_in_helper(obj1
);
29416 if (arg2
== NULL
) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 Py_INCREF(Py_None
); resultobj
= Py_None
;
29427 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29428 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29429 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29430 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29445 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxWindow
*arg1
= (wxWindow
*) 0 ;
29448 wxString
*arg2
= 0 ;
29449 int *arg3
= (int *) 0 ;
29450 int *arg4
= (int *) 0 ;
29451 int *arg5
= (int *) 0 ;
29452 int *arg6
= (int *) 0 ;
29453 wxFont
*arg7
= (wxFont
*) NULL
;
29454 bool temp2
= false ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 PyObject
* obj2
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "string",(char *) "font", NULL
29470 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29471 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29472 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29473 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29478 arg2
= wxString_in_helper(obj1
);
29479 if (arg2
== NULL
) SWIG_fail
;
29483 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29484 if (SWIG_arg_fail(7)) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 Py_INCREF(Py_None
); resultobj
= Py_None
;
29494 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29495 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29496 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29497 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29498 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29499 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29500 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29501 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29516 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxWindow
*arg1
= (wxWindow
*) 0 ;
29519 int *arg2
= (int *) 0 ;
29520 int *arg3
= (int *) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 PyObject
* obj2
= 0 ;
29528 char *kwnames
[] = {
29529 (char *) "self",(char *) "x",(char *) "y", NULL
29532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29534 if (SWIG_arg_fail(1)) SWIG_fail
;
29536 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29537 temp2
= SWIG_As_int(obj1
);
29538 if (SWIG_arg_fail(2)) SWIG_fail
;
29540 res2
= SWIG_NEWOBJ
;
29544 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29545 temp3
= SWIG_As_int(obj2
);
29546 if (SWIG_arg_fail(3)) SWIG_fail
;
29548 res3
= SWIG_NEWOBJ
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 Py_INCREF(Py_None
); resultobj
= Py_None
;
29559 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29560 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29561 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29562 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29569 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
;
29571 wxWindow
*arg1
= (wxWindow
*) 0 ;
29572 int *arg2
= (int *) 0 ;
29573 int *arg3
= (int *) 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 PyObject
* obj2
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "x",(char *) "y", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29587 if (SWIG_arg_fail(1)) SWIG_fail
;
29589 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29590 temp2
= SWIG_As_int(obj1
);
29591 if (SWIG_arg_fail(2)) SWIG_fail
;
29593 res2
= SWIG_NEWOBJ
;
29597 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29598 temp3
= SWIG_As_int(obj2
);
29599 if (SWIG_arg_fail(3)) SWIG_fail
;
29601 res3
= SWIG_NEWOBJ
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 Py_INCREF(Py_None
); resultobj
= Py_None
;
29612 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29613 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29614 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29615 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29622 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxWindow
*arg1
= (wxWindow
*) 0 ;
29625 wxPoint
*arg2
= 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "pt", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail
;
29639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29649 wxPoint
* resultptr
;
29650 resultptr
= new wxPoint((wxPoint
&)(result
));
29651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29659 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
;
29661 wxWindow
*arg1
= (wxWindow
*) 0 ;
29662 wxPoint
*arg2
= 0 ;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self",(char *) "pt", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 wxPoint
* resultptr
;
29687 resultptr
= new wxPoint((wxPoint
&)(result
));
29688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29696 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxWindow
*arg1
= (wxWindow
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 PyObject
* obj2
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self",(char *) "x",(char *) "y", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29711 if (SWIG_arg_fail(1)) SWIG_fail
;
29713 arg2
= (int)(SWIG_As_int(obj1
));
29714 if (SWIG_arg_fail(2)) SWIG_fail
;
29717 arg3
= (int)(SWIG_As_int(obj2
));
29718 if (SWIG_arg_fail(3)) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= SWIG_From_int((result
));
29734 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
;
29736 wxWindow
*arg1
= (wxWindow
*) 0 ;
29737 wxPoint
*arg2
= 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 char *kwnames
[] = {
29743 (char *) "self",(char *) "pt", NULL
29746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29748 if (SWIG_arg_fail(1)) SWIG_fail
;
29751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= SWIG_From_int((result
));
29767 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29768 PyObject
*resultobj
;
29769 wxWindow
*arg1
= (wxWindow
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29775 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 arg2
= (long)(SWIG_As_long(obj1
));
29780 if (SWIG_arg_fail(2)) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_From_int((result
));
29796 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29797 PyObject
*resultobj
;
29798 wxWindow
*arg1
= (wxWindow
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29802 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29804 if (SWIG_arg_fail(1)) SWIG_fail
;
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_From_int((result
));
29819 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29824 argc
= PyObject_Length(args
);
29825 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29826 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29840 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29855 _v
= SWIG_Check_long(argv
[1]);
29857 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29862 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29867 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxWindow
*arg1
= (wxWindow
*) 0 ;
29870 long arg2
= (long) wxUPDATE_UI_NONE
;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "flags", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail
;
29882 arg2
= (long)(SWIG_As_long(obj1
));
29883 if (SWIG_arg_fail(2)) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 (arg1
)->UpdateWindowUI(arg2
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 Py_INCREF(Py_None
); resultobj
= Py_None
;
29900 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxWindow
*arg1
= (wxWindow
*) 0 ;
29903 wxMenu
*arg2
= (wxMenu
*) 0 ;
29904 int arg3
= (int) -1 ;
29905 int arg4
= (int) -1 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 PyObject
* obj2
= 0 ;
29910 PyObject
* obj3
= 0 ;
29911 char *kwnames
[] = {
29912 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29917 if (SWIG_arg_fail(1)) SWIG_fail
;
29918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29919 if (SWIG_arg_fail(2)) SWIG_fail
;
29922 arg3
= (int)(SWIG_As_int(obj2
));
29923 if (SWIG_arg_fail(3)) SWIG_fail
;
29928 arg4
= (int)(SWIG_As_int(obj3
));
29929 if (SWIG_arg_fail(4)) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29948 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
;
29950 wxWindow
*arg1
= (wxWindow
*) 0 ;
29951 wxMenu
*arg2
= (wxMenu
*) 0 ;
29952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 PyObject
* obj2
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "menu",(char *) "pos", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29965 if (SWIG_arg_fail(1)) SWIG_fail
;
29966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29967 if (SWIG_arg_fail(2)) SWIG_fail
;
29971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29990 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
;
29992 wxWindow
*arg1
= (wxWindow
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30001 if (SWIG_arg_fail(1)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (long)wxWindow_GetHandle(arg1
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_From_long((long)(result
));
30018 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxWindow
*arg1
= (wxWindow
*) 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self",(char *) "handle", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30030 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 arg2
= (long)(SWIG_As_long(obj1
));
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 wxWindow_AssociateHandle(arg1
,arg2
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 Py_INCREF(Py_None
); resultobj
= Py_None
;
30049 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxWindow
*arg1
= (wxWindow
*) 0 ;
30052 PyObject
* obj0
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail
;
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 (arg1
)->DissociateHandle();
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 Py_INCREF(Py_None
); resultobj
= Py_None
;
30074 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
;
30076 wxWindow
*arg1
= (wxWindow
*) 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "orient", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail
;
30089 arg2
= (int)(SWIG_As_int(obj1
));
30090 if (SWIG_arg_fail(2)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30115 bool arg6
= (bool) true ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 PyObject
* obj2
= 0 ;
30119 PyObject
* obj3
= 0 ;
30120 PyObject
* obj4
= 0 ;
30121 PyObject
* obj5
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30128 if (SWIG_arg_fail(1)) SWIG_fail
;
30130 arg2
= (int)(SWIG_As_int(obj1
));
30131 if (SWIG_arg_fail(2)) SWIG_fail
;
30134 arg3
= (int)(SWIG_As_int(obj2
));
30135 if (SWIG_arg_fail(3)) SWIG_fail
;
30138 arg4
= (int)(SWIG_As_int(obj3
));
30139 if (SWIG_arg_fail(4)) SWIG_fail
;
30142 arg5
= (int)(SWIG_As_int(obj4
));
30143 if (SWIG_arg_fail(5)) SWIG_fail
;
30147 arg6
= (bool)(SWIG_As_bool(obj5
));
30148 if (SWIG_arg_fail(6)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
;
30167 wxWindow
*arg1
= (wxWindow
*) 0 ;
30170 bool arg4
= (bool) true ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 PyObject
* obj2
= 0 ;
30174 PyObject
* obj3
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(1)) SWIG_fail
;
30183 arg2
= (int)(SWIG_As_int(obj1
));
30184 if (SWIG_arg_fail(2)) SWIG_fail
;
30187 arg3
= (int)(SWIG_As_int(obj2
));
30188 if (SWIG_arg_fail(3)) SWIG_fail
;
30192 arg4
= (bool)(SWIG_As_bool(obj3
));
30193 if (SWIG_arg_fail(4)) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 Py_INCREF(Py_None
); resultobj
= Py_None
;
30210 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxWindow
*arg1
= (wxWindow
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 PyObject
* obj1
= 0 ;
30217 char *kwnames
[] = {
30218 (char *) "self",(char *) "orientation", NULL
30221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30223 if (SWIG_arg_fail(1)) SWIG_fail
;
30225 arg2
= (int)(SWIG_As_int(obj1
));
30226 if (SWIG_arg_fail(2)) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_From_int((int)(result
));
30244 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxWindow
*arg1
= (wxWindow
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self",(char *) "orientation", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30257 if (SWIG_arg_fail(1)) SWIG_fail
;
30259 arg2
= (int)(SWIG_As_int(obj1
));
30260 if (SWIG_arg_fail(2)) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_From_int((int)(result
));
30278 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxWindow
*arg1
= (wxWindow
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self",(char *) "orientation", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30291 if (SWIG_arg_fail(1)) SWIG_fail
;
30293 arg2
= (int)(SWIG_As_int(obj1
));
30294 if (SWIG_arg_fail(2)) SWIG_fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_From_int((int)(result
));
30312 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
;
30314 wxWindow
*arg1
= (wxWindow
*) 0 ;
30317 wxRect
*arg4
= (wxRect
*) NULL
;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 PyObject
* obj3
= 0 ;
30322 char *kwnames
[] = {
30323 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30328 if (SWIG_arg_fail(1)) SWIG_fail
;
30330 arg2
= (int)(SWIG_As_int(obj1
));
30331 if (SWIG_arg_fail(2)) SWIG_fail
;
30334 arg3
= (int)(SWIG_As_int(obj2
));
30335 if (SWIG_arg_fail(3)) SWIG_fail
;
30338 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(4)) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30348 Py_INCREF(Py_None
); resultobj
= Py_None
;
30355 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
;
30357 wxWindow
*arg1
= (wxWindow
*) 0 ;
30360 PyObject
* obj0
= 0 ;
30361 PyObject
* obj1
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "lines", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30368 if (SWIG_arg_fail(1)) SWIG_fail
;
30370 arg2
= (int)(SWIG_As_int(obj1
));
30371 if (SWIG_arg_fail(2)) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 result
= (bool)(arg1
)->ScrollLines(arg2
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30389 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
;
30391 wxWindow
*arg1
= (wxWindow
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "pages", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 arg2
= (int)(SWIG_As_int(obj1
));
30405 if (SWIG_arg_fail(2)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (bool)(arg1
)->ScrollPages(arg2
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30423 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
;
30425 wxWindow
*arg1
= (wxWindow
*) 0 ;
30427 PyObject
* obj0
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30434 if (SWIG_arg_fail(1)) SWIG_fail
;
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 result
= (bool)(arg1
)->LineUp();
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30451 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxWindow
*arg1
= (wxWindow
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30462 if (SWIG_arg_fail(1)) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (bool)(arg1
)->LineDown();
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30479 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
;
30481 wxWindow
*arg1
= (wxWindow
*) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 result
= (bool)(arg1
)->PageUp();
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30507 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
;
30509 wxWindow
*arg1
= (wxWindow
*) 0 ;
30511 PyObject
* obj0
= 0 ;
30512 char *kwnames
[] = {
30513 (char *) "self", NULL
30516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30518 if (SWIG_arg_fail(1)) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (bool)(arg1
)->PageDown();
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30535 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxWindow
*arg1
= (wxWindow
*) 0 ;
30538 wxString
*arg2
= 0 ;
30539 bool temp2
= false ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "text", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30548 if (SWIG_arg_fail(1)) SWIG_fail
;
30550 arg2
= wxString_in_helper(obj1
);
30551 if (arg2
== NULL
) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30561 Py_INCREF(Py_None
); resultobj
= Py_None
;
30576 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxWindow
*arg1
= (wxWindow
*) 0 ;
30579 wxString
*arg2
= 0 ;
30580 bool temp2
= false ;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self",(char *) "text", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail
;
30591 arg2
= wxString_in_helper(obj1
);
30592 if (arg2
== NULL
) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 Py_INCREF(Py_None
); resultobj
= Py_None
;
30617 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxWindow
*arg1
= (wxWindow
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 char *kwnames
[] = {
30623 (char *) "self", NULL
30626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30628 if (SWIG_arg_fail(1)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30649 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxWindow
*arg1
= (wxWindow
*) 0 ;
30652 wxString
*arg2
= 0 ;
30653 bool temp2
= false ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "tip", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30664 arg2
= wxString_in_helper(obj1
);
30665 if (arg2
== NULL
) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxWindow
*arg1
= (wxWindow
*) 0 ;
30693 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self",(char *) "tip", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30704 if (SWIG_arg_fail(2)) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->SetToolTip(arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 Py_INCREF(Py_None
); resultobj
= Py_None
;
30719 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxWindow
*arg1
= (wxWindow
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= wxPyMake_wxObject(result
, 0);
30747 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxWindow
*arg1
= (wxWindow
*) 0 ;
30750 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 PyObject
* obj1
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self",(char *) "dropTarget", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail
;
30760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30761 if (SWIG_arg_fail(2)) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 (arg1
)->SetDropTarget(arg2
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 Py_INCREF(Py_None
); resultobj
= Py_None
;
30776 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxWindow
*arg1
= (wxWindow
*) 0 ;
30779 wxPyDropTarget
*result
;
30780 PyObject
* obj0
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30802 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
;
30804 wxWindow
*arg1
= (wxWindow
*) 0 ;
30805 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30806 PyObject
* obj0
= 0 ;
30807 PyObject
* obj1
= 0 ;
30808 char *kwnames
[] = {
30809 (char *) "self",(char *) "constraints", NULL
30812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(1)) SWIG_fail
;
30815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30816 if (SWIG_arg_fail(2)) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->SetConstraints(arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 Py_INCREF(Py_None
); resultobj
= Py_None
;
30831 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxWindow
*arg1
= (wxWindow
*) 0 ;
30834 wxLayoutConstraints
*result
;
30835 PyObject
* obj0
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "self", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30842 if (SWIG_arg_fail(1)) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30857 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxWindow
*arg1
= (wxWindow
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "autoLayout", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 arg2
= (bool)(SWIG_As_bool(obj1
));
30872 if (SWIG_arg_fail(2)) SWIG_fail
;
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 (arg1
)->SetAutoLayout(arg2
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 Py_INCREF(Py_None
); resultobj
= Py_None
;
30888 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30890 wxWindow
*arg1
= (wxWindow
*) 0 ;
30892 PyObject
* obj0
= 0 ;
30893 char *kwnames
[] = {
30894 (char *) "self", NULL
30897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
30898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30899 if (SWIG_arg_fail(1)) SWIG_fail
;
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30916 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxWindow
*arg1
= (wxWindow
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 char *kwnames
[] = {
30922 (char *) "self", NULL
30925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
30926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (bool)(arg1
)->Layout();
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30944 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
;
30946 wxWindow
*arg1
= (wxWindow
*) 0 ;
30947 wxSizer
*arg2
= (wxSizer
*) 0 ;
30948 bool arg3
= (bool) true ;
30949 PyObject
* obj0
= 0 ;
30950 PyObject
* obj1
= 0 ;
30951 PyObject
* obj2
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
30960 if (SWIG_arg_fail(2)) SWIG_fail
;
30963 arg3
= (bool)(SWIG_As_bool(obj2
));
30964 if (SWIG_arg_fail(3)) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 (arg1
)->SetSizer(arg2
,arg3
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 Py_INCREF(Py_None
); resultobj
= Py_None
;
30981 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
;
30983 wxWindow
*arg1
= (wxWindow
*) 0 ;
30984 wxSizer
*arg2
= (wxSizer
*) 0 ;
30985 bool arg3
= (bool) true ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 PyObject
* obj2
= 0 ;
30989 char *kwnames
[] = {
30990 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
30993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30995 if (SWIG_arg_fail(1)) SWIG_fail
;
30996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(2)) SWIG_fail
;
31000 arg3
= (bool)(SWIG_As_bool(obj2
));
31001 if (SWIG_arg_fail(3)) SWIG_fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 Py_INCREF(Py_None
); resultobj
= Py_None
;
31018 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxWindow
*arg1
= (wxWindow
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31029 if (SWIG_arg_fail(1)) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= wxPyMake_wxSizer(result
, 0);
31046 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
;
31048 wxWindow
*arg1
= (wxWindow
*) 0 ;
31049 wxSizer
*arg2
= (wxSizer
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "sizer", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail
;
31059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31060 if (SWIG_arg_fail(2)) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->SetContainingSizer(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31075 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
;
31077 wxWindow
*arg1
= (wxWindow
*) 0 ;
31079 PyObject
* obj0
= 0 ;
31080 char *kwnames
[] = {
31081 (char *) "self", NULL
31084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31086 if (SWIG_arg_fail(1)) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= wxPyMake_wxSizer(result
, 0);
31103 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxWindow
*arg1
= (wxWindow
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31113 if (SWIG_arg_fail(1)) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 (arg1
)->InheritAttributes();
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 Py_INCREF(Py_None
); resultobj
= Py_None
;
31128 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
;
31130 wxWindow
*arg1
= (wxWindow
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31139 if (SWIG_arg_fail(1)) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31156 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31159 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31161 return Py_BuildValue((char *)"");
31163 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31166 wxWindow
*arg2
= (wxWindow
*) NULL
;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "id",(char *) "parent", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31176 arg1
= (long)(SWIG_As_long(obj0
));
31177 if (SWIG_arg_fail(1)) SWIG_fail
;
31180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31181 if (SWIG_arg_fail(2)) SWIG_fail
;
31184 if (!wxPyCheckForApp()) SWIG_fail
;
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= wxPyMake_wxObject(result
, 0);
31200 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
;
31202 wxString
*arg1
= 0 ;
31203 wxWindow
*arg2
= (wxWindow
*) NULL
;
31205 bool temp1
= false ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "name",(char *) "parent", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31214 arg1
= wxString_in_helper(obj0
);
31215 if (arg1
== NULL
) SWIG_fail
;
31219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31220 if (SWIG_arg_fail(2)) SWIG_fail
;
31223 if (!wxPyCheckForApp()) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= wxPyMake_wxObject(result
, 0);
31247 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31248 PyObject
*resultobj
;
31249 wxString
*arg1
= 0 ;
31250 wxWindow
*arg2
= (wxWindow
*) NULL
;
31252 bool temp1
= false ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 char *kwnames
[] = {
31256 (char *) "label",(char *) "parent", NULL
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31261 arg1
= wxString_in_helper(obj0
);
31262 if (arg1
== NULL
) SWIG_fail
;
31266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31267 if (SWIG_arg_fail(2)) SWIG_fail
;
31270 if (!wxPyCheckForApp()) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= wxPyMake_wxObject(result
, 0);
31294 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxWindow
*arg1
= (wxWindow
*) 0 ;
31297 unsigned long arg2
;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "parent",(char *) "_hWnd", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31307 if (SWIG_arg_fail(1)) SWIG_fail
;
31309 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31310 if (SWIG_arg_fail(2)) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= wxPyMake_wxObject(result
, 0);
31328 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxValidator
*result
;
31331 char *kwnames
[] = {
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= (wxValidator
*)new wxValidator();
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31350 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxValidator
*arg1
= (wxValidator
*) 0 ;
31353 wxValidator
*result
;
31354 PyObject
* obj0
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (wxValidator
*)(arg1
)->Clone();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= wxPyMake_wxObject(result
, 0);
31378 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxValidator
*arg1
= (wxValidator
*) 0 ;
31381 wxWindow
*arg2
= (wxWindow
*) 0 ;
31383 PyObject
* obj0
= 0 ;
31384 PyObject
* obj1
= 0 ;
31385 char *kwnames
[] = {
31386 (char *) "self",(char *) "parent", NULL
31389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31391 if (SWIG_arg_fail(1)) SWIG_fail
;
31392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31393 if (SWIG_arg_fail(2)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)(arg1
)->Validate(arg2
);
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31410 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxValidator
*arg1
= (wxValidator
*) 0 ;
31414 PyObject
* obj0
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "self", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31421 if (SWIG_arg_fail(1)) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= (bool)(arg1
)->TransferToWindow();
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31438 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
;
31440 wxValidator
*arg1
= (wxValidator
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 char *kwnames
[] = {
31444 (char *) "self", NULL
31447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31449 if (SWIG_arg_fail(1)) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= (bool)(arg1
)->TransferFromWindow();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31466 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
;
31468 wxValidator
*arg1
= (wxValidator
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31477 if (SWIG_arg_fail(1)) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 result
= (wxWindow
*)(arg1
)->GetWindow();
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= wxPyMake_wxObject(result
, 0);
31494 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
;
31496 wxValidator
*arg1
= (wxValidator
*) 0 ;
31497 wxWindow
*arg2
= (wxWindow
*) 0 ;
31498 PyObject
* obj0
= 0 ;
31499 PyObject
* obj1
= 0 ;
31500 char *kwnames
[] = {
31501 (char *) "self",(char *) "window", NULL
31504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31506 if (SWIG_arg_fail(1)) SWIG_fail
;
31507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(2)) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->SetWindow(arg2
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 Py_INCREF(Py_None
); resultobj
= Py_None
;
31523 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
;
31526 char *kwnames
[] = {
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (bool)wxValidator::IsSilent();
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31547 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
;
31549 int arg1
= (int) true ;
31550 PyObject
* obj0
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "doIt", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31558 arg1
= (int)(SWIG_As_int(obj0
));
31559 if (SWIG_arg_fail(1)) SWIG_fail
;
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 wxValidator::SetBellOnError(arg1
);
31566 wxPyEndAllowThreads(__tstate
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31569 Py_INCREF(Py_None
); resultobj
= Py_None
;
31576 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31579 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31581 return Py_BuildValue((char *)"");
31583 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31584 PyObject
*resultobj
;
31585 wxPyValidator
*result
;
31586 char *kwnames
[] = {
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 result
= (wxPyValidator
*)new wxPyValidator();
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31605 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
;
31607 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31608 PyObject
*arg2
= (PyObject
*) 0 ;
31609 PyObject
*arg3
= (PyObject
*) 0 ;
31610 int arg4
= (int) true ;
31611 PyObject
* obj0
= 0 ;
31612 PyObject
* obj1
= 0 ;
31613 PyObject
* obj2
= 0 ;
31614 PyObject
* obj3
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31621 if (SWIG_arg_fail(1)) SWIG_fail
;
31626 arg4
= (int)(SWIG_As_int(obj3
));
31627 if (SWIG_arg_fail(4)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31637 Py_INCREF(Py_None
); resultobj
= Py_None
;
31644 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31647 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31649 return Py_BuildValue((char *)"");
31651 static int _wrap_DefaultValidator_set(PyObject
*) {
31652 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31657 static PyObject
*_wrap_DefaultValidator_get(void) {
31660 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31665 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
;
31667 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31668 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31669 long arg2
= (long) 0 ;
31671 bool temp1
= false ;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "title",(char *) "style", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31681 arg1
= wxString_in_helper(obj0
);
31682 if (arg1
== NULL
) SWIG_fail
;
31688 arg2
= (long)(SWIG_As_long(obj1
));
31689 if (SWIG_arg_fail(2)) SWIG_fail
;
31693 if (!wxPyCheckForApp()) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31715 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxMenu
*arg1
= (wxMenu
*) 0 ;
31719 wxString
*arg3
= 0 ;
31720 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31722 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31723 wxMenuItem
*result
;
31724 bool temp3
= false ;
31725 bool temp4
= false ;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 PyObject
* obj2
= 0 ;
31729 PyObject
* obj3
= 0 ;
31730 PyObject
* obj4
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 arg2
= (int)(SWIG_As_int(obj1
));
31740 if (SWIG_arg_fail(2)) SWIG_fail
;
31743 arg3
= wxString_in_helper(obj2
);
31744 if (arg3
== NULL
) SWIG_fail
;
31749 arg4
= wxString_in_helper(obj3
);
31750 if (arg4
== NULL
) SWIG_fail
;
31756 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31757 if (SWIG_arg_fail(5)) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31768 resultobj
= wxPyMake_wxObject(result
, 0);
31792 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
;
31794 wxMenu
*arg1
= (wxMenu
*) 0 ;
31795 wxMenuItem
*result
;
31796 PyObject
* obj0
= 0 ;
31797 char *kwnames
[] = {
31798 (char *) "self", NULL
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail
;
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31808 wxPyEndAllowThreads(__tstate
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= wxPyMake_wxObject(result
, 0);
31820 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
;
31822 wxMenu
*arg1
= (wxMenu
*) 0 ;
31824 wxString
*arg3
= 0 ;
31825 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31826 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31827 wxMenuItem
*result
;
31828 bool temp3
= false ;
31829 bool temp4
= false ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 PyObject
* obj2
= 0 ;
31833 PyObject
* obj3
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail
;
31842 arg2
= (int)(SWIG_As_int(obj1
));
31843 if (SWIG_arg_fail(2)) SWIG_fail
;
31846 arg3
= wxString_in_helper(obj2
);
31847 if (arg3
== NULL
) SWIG_fail
;
31852 arg4
= wxString_in_helper(obj3
);
31853 if (arg4
== NULL
) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= wxPyMake_wxObject(result
, 0);
31889 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxMenu
*arg1
= (wxMenu
*) 0 ;
31893 wxString
*arg3
= 0 ;
31894 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31896 wxMenuItem
*result
;
31897 bool temp3
= false ;
31898 bool temp4
= false ;
31899 PyObject
* obj0
= 0 ;
31900 PyObject
* obj1
= 0 ;
31901 PyObject
* obj2
= 0 ;
31902 PyObject
* obj3
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31909 if (SWIG_arg_fail(1)) SWIG_fail
;
31911 arg2
= (int)(SWIG_As_int(obj1
));
31912 if (SWIG_arg_fail(2)) SWIG_fail
;
31915 arg3
= wxString_in_helper(obj2
);
31916 if (arg3
== NULL
) SWIG_fail
;
31921 arg4
= wxString_in_helper(obj3
);
31922 if (arg4
== NULL
) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31928 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= wxPyMake_wxObject(result
, 0);
31958 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxMenu
*arg1
= (wxMenu
*) 0 ;
31962 wxString
*arg3
= 0 ;
31963 wxMenu
*arg4
= (wxMenu
*) 0 ;
31964 wxString
const &arg5_defvalue
= wxPyEmptyString
;
31965 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
31966 wxMenuItem
*result
;
31967 bool temp3
= false ;
31968 bool temp5
= false ;
31969 PyObject
* obj0
= 0 ;
31970 PyObject
* obj1
= 0 ;
31971 PyObject
* obj2
= 0 ;
31972 PyObject
* obj3
= 0 ;
31973 PyObject
* obj4
= 0 ;
31974 char *kwnames
[] = {
31975 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
31978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31980 if (SWIG_arg_fail(1)) SWIG_fail
;
31982 arg2
= (int)(SWIG_As_int(obj1
));
31983 if (SWIG_arg_fail(2)) SWIG_fail
;
31986 arg3
= wxString_in_helper(obj2
);
31987 if (arg3
== NULL
) SWIG_fail
;
31990 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31991 if (SWIG_arg_fail(4)) SWIG_fail
;
31994 arg5
= wxString_in_helper(obj4
);
31995 if (arg5
== NULL
) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= wxPyMake_wxObject(result
, 0);
32031 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
;
32033 wxMenu
*arg1
= (wxMenu
*) 0 ;
32034 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32035 wxMenuItem
*result
;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self",(char *) "item", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail
;
32045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32046 if (SWIG_arg_fail(2)) SWIG_fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= wxPyMake_wxObject(result
, 0);
32063 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxMenu
*arg1
= (wxMenu
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32073 if (SWIG_arg_fail(1)) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 Py_INCREF(Py_None
); resultobj
= Py_None
;
32088 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32089 PyObject
*resultobj
;
32090 wxMenu
*arg1
= (wxMenu
*) 0 ;
32092 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32093 wxMenuItem
*result
;
32094 PyObject
* obj0
= 0 ;
32095 PyObject
* obj1
= 0 ;
32096 PyObject
* obj2
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "self",(char *) "pos",(char *) "item", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32103 if (SWIG_arg_fail(1)) SWIG_fail
;
32105 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32106 if (SWIG_arg_fail(2)) SWIG_fail
;
32108 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32109 if (SWIG_arg_fail(3)) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= wxPyMake_wxObject(result
, 0);
32126 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32127 PyObject
*resultobj
;
32128 wxMenu
*arg1
= (wxMenu
*) 0 ;
32131 wxString
*arg4
= 0 ;
32132 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32133 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32134 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32135 wxMenuItem
*result
;
32136 bool temp4
= false ;
32137 bool temp5
= false ;
32138 PyObject
* obj0
= 0 ;
32139 PyObject
* obj1
= 0 ;
32140 PyObject
* obj2
= 0 ;
32141 PyObject
* obj3
= 0 ;
32142 PyObject
* obj4
= 0 ;
32143 PyObject
* obj5
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32150 if (SWIG_arg_fail(1)) SWIG_fail
;
32152 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32153 if (SWIG_arg_fail(2)) SWIG_fail
;
32156 arg3
= (int)(SWIG_As_int(obj2
));
32157 if (SWIG_arg_fail(3)) SWIG_fail
;
32160 arg4
= wxString_in_helper(obj3
);
32161 if (arg4
== NULL
) SWIG_fail
;
32166 arg5
= wxString_in_helper(obj4
);
32167 if (arg5
== NULL
) SWIG_fail
;
32173 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32174 if (SWIG_arg_fail(6)) SWIG_fail
;
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= wxPyMake_wxObject(result
, 0);
32209 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32210 PyObject
*resultobj
;
32211 wxMenu
*arg1
= (wxMenu
*) 0 ;
32213 wxMenuItem
*result
;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "self",(char *) "pos", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32222 if (SWIG_arg_fail(1)) SWIG_fail
;
32224 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32225 if (SWIG_arg_fail(2)) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32235 resultobj
= wxPyMake_wxObject(result
, 0);
32243 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxMenu
*arg1
= (wxMenu
*) 0 ;
32248 wxString
*arg4
= 0 ;
32249 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32250 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32251 wxMenuItem
*result
;
32252 bool temp4
= false ;
32253 bool temp5
= false ;
32254 PyObject
* obj0
= 0 ;
32255 PyObject
* obj1
= 0 ;
32256 PyObject
* obj2
= 0 ;
32257 PyObject
* obj3
= 0 ;
32258 PyObject
* obj4
= 0 ;
32259 char *kwnames
[] = {
32260 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32265 if (SWIG_arg_fail(1)) SWIG_fail
;
32267 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32268 if (SWIG_arg_fail(2)) SWIG_fail
;
32271 arg3
= (int)(SWIG_As_int(obj2
));
32272 if (SWIG_arg_fail(3)) SWIG_fail
;
32275 arg4
= wxString_in_helper(obj3
);
32276 if (arg4
== NULL
) SWIG_fail
;
32281 arg5
= wxString_in_helper(obj4
);
32282 if (arg5
== NULL
) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= wxPyMake_wxObject(result
, 0);
32318 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
;
32320 wxMenu
*arg1
= (wxMenu
*) 0 ;
32323 wxString
*arg4
= 0 ;
32324 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32325 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32326 wxMenuItem
*result
;
32327 bool temp4
= false ;
32328 bool temp5
= false ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 PyObject
* obj2
= 0 ;
32332 PyObject
* obj3
= 0 ;
32333 PyObject
* obj4
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail
;
32342 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32343 if (SWIG_arg_fail(2)) SWIG_fail
;
32346 arg3
= (int)(SWIG_As_int(obj2
));
32347 if (SWIG_arg_fail(3)) SWIG_fail
;
32350 arg4
= wxString_in_helper(obj3
);
32351 if (arg4
== NULL
) SWIG_fail
;
32356 arg5
= wxString_in_helper(obj4
);
32357 if (arg5
== NULL
) SWIG_fail
;
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= wxPyMake_wxObject(result
, 0);
32393 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
;
32395 wxMenu
*arg1
= (wxMenu
*) 0 ;
32398 wxString
*arg4
= 0 ;
32399 wxMenu
*arg5
= (wxMenu
*) 0 ;
32400 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32401 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32402 wxMenuItem
*result
;
32403 bool temp4
= false ;
32404 bool temp6
= false ;
32405 PyObject
* obj0
= 0 ;
32406 PyObject
* obj1
= 0 ;
32407 PyObject
* obj2
= 0 ;
32408 PyObject
* obj3
= 0 ;
32409 PyObject
* obj4
= 0 ;
32410 PyObject
* obj5
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32417 if (SWIG_arg_fail(1)) SWIG_fail
;
32419 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32420 if (SWIG_arg_fail(2)) SWIG_fail
;
32423 arg3
= (int)(SWIG_As_int(obj2
));
32424 if (SWIG_arg_fail(3)) SWIG_fail
;
32427 arg4
= wxString_in_helper(obj3
);
32428 if (arg4
== NULL
) SWIG_fail
;
32431 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32432 if (SWIG_arg_fail(5)) SWIG_fail
;
32435 arg6
= wxString_in_helper(obj5
);
32436 if (arg6
== NULL
) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= wxPyMake_wxObject(result
, 0);
32472 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32473 PyObject
*resultobj
;
32474 wxMenu
*arg1
= (wxMenu
*) 0 ;
32475 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32476 wxMenuItem
*result
;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self",(char *) "item", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32485 if (SWIG_arg_fail(1)) SWIG_fail
;
32486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(2)) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= wxPyMake_wxObject(result
, 0);
32504 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
;
32506 wxMenu
*arg1
= (wxMenu
*) 0 ;
32508 wxString
*arg3
= 0 ;
32509 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32510 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32511 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32512 wxMenuItem
*result
;
32513 bool temp3
= false ;
32514 bool temp4
= false ;
32515 PyObject
* obj0
= 0 ;
32516 PyObject
* obj1
= 0 ;
32517 PyObject
* obj2
= 0 ;
32518 PyObject
* obj3
= 0 ;
32519 PyObject
* obj4
= 0 ;
32520 char *kwnames
[] = {
32521 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32526 if (SWIG_arg_fail(1)) SWIG_fail
;
32528 arg2
= (int)(SWIG_As_int(obj1
));
32529 if (SWIG_arg_fail(2)) SWIG_fail
;
32532 arg3
= wxString_in_helper(obj2
);
32533 if (arg3
== NULL
) SWIG_fail
;
32538 arg4
= wxString_in_helper(obj3
);
32539 if (arg4
== NULL
) SWIG_fail
;
32545 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32546 if (SWIG_arg_fail(5)) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32557 resultobj
= wxPyMake_wxObject(result
, 0);
32581 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
;
32583 wxMenu
*arg1
= (wxMenu
*) 0 ;
32584 wxMenuItem
*result
;
32585 PyObject
* obj0
= 0 ;
32586 char *kwnames
[] = {
32587 (char *) "self", NULL
32590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32592 if (SWIG_arg_fail(1)) SWIG_fail
;
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= wxPyMake_wxObject(result
, 0);
32609 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32610 PyObject
*resultobj
;
32611 wxMenu
*arg1
= (wxMenu
*) 0 ;
32613 wxString
*arg3
= 0 ;
32614 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32615 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32616 wxMenuItem
*result
;
32617 bool temp3
= false ;
32618 bool temp4
= false ;
32619 PyObject
* obj0
= 0 ;
32620 PyObject
* obj1
= 0 ;
32621 PyObject
* obj2
= 0 ;
32622 PyObject
* obj3
= 0 ;
32623 char *kwnames
[] = {
32624 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32629 if (SWIG_arg_fail(1)) SWIG_fail
;
32631 arg2
= (int)(SWIG_As_int(obj1
));
32632 if (SWIG_arg_fail(2)) SWIG_fail
;
32635 arg3
= wxString_in_helper(obj2
);
32636 if (arg3
== NULL
) SWIG_fail
;
32641 arg4
= wxString_in_helper(obj3
);
32642 if (arg4
== NULL
) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= wxPyMake_wxObject(result
, 0);
32678 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxMenu
*arg1
= (wxMenu
*) 0 ;
32682 wxString
*arg3
= 0 ;
32683 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32684 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32685 wxMenuItem
*result
;
32686 bool temp3
= false ;
32687 bool temp4
= false ;
32688 PyObject
* obj0
= 0 ;
32689 PyObject
* obj1
= 0 ;
32690 PyObject
* obj2
= 0 ;
32691 PyObject
* obj3
= 0 ;
32692 char *kwnames
[] = {
32693 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32698 if (SWIG_arg_fail(1)) SWIG_fail
;
32700 arg2
= (int)(SWIG_As_int(obj1
));
32701 if (SWIG_arg_fail(2)) SWIG_fail
;
32704 arg3
= wxString_in_helper(obj2
);
32705 if (arg3
== NULL
) SWIG_fail
;
32710 arg4
= wxString_in_helper(obj3
);
32711 if (arg4
== NULL
) SWIG_fail
;
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= wxPyMake_wxObject(result
, 0);
32747 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
;
32749 wxMenu
*arg1
= (wxMenu
*) 0 ;
32751 wxString
*arg3
= 0 ;
32752 wxMenu
*arg4
= (wxMenu
*) 0 ;
32753 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32754 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32755 wxMenuItem
*result
;
32756 bool temp3
= false ;
32757 bool temp5
= false ;
32758 PyObject
* obj0
= 0 ;
32759 PyObject
* obj1
= 0 ;
32760 PyObject
* obj2
= 0 ;
32761 PyObject
* obj3
= 0 ;
32762 PyObject
* obj4
= 0 ;
32763 char *kwnames
[] = {
32764 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32769 if (SWIG_arg_fail(1)) SWIG_fail
;
32771 arg2
= (int)(SWIG_As_int(obj1
));
32772 if (SWIG_arg_fail(2)) SWIG_fail
;
32775 arg3
= wxString_in_helper(obj2
);
32776 if (arg3
== NULL
) SWIG_fail
;
32779 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32780 if (SWIG_arg_fail(4)) SWIG_fail
;
32783 arg5
= wxString_in_helper(obj4
);
32784 if (arg5
== NULL
) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= wxPyMake_wxObject(result
, 0);
32820 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxMenu
*arg1
= (wxMenu
*) 0 ;
32824 wxMenuItem
*result
;
32825 PyObject
* obj0
= 0 ;
32826 PyObject
* obj1
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self",(char *) "id", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32833 if (SWIG_arg_fail(1)) SWIG_fail
;
32835 arg2
= (int)(SWIG_As_int(obj1
));
32836 if (SWIG_arg_fail(2)) SWIG_fail
;
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= wxPyMake_wxObject(result
, 0);
32854 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
;
32856 wxMenu
*arg1
= (wxMenu
*) 0 ;
32857 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32858 wxMenuItem
*result
;
32859 PyObject
* obj0
= 0 ;
32860 PyObject
* obj1
= 0 ;
32861 char *kwnames
[] = {
32862 (char *) "self",(char *) "item", NULL
32865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32867 if (SWIG_arg_fail(1)) SWIG_fail
;
32868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32869 if (SWIG_arg_fail(2)) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= wxPyMake_wxObject(result
, 0);
32886 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxMenu
*arg1
= (wxMenu
*) 0 ;
32891 PyObject
* obj0
= 0 ;
32892 PyObject
* obj1
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self",(char *) "id", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail
;
32901 arg2
= (int)(SWIG_As_int(obj1
));
32902 if (SWIG_arg_fail(2)) SWIG_fail
;
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 result
= (bool)(arg1
)->Delete(arg2
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32920 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32921 PyObject
*resultobj
;
32922 wxMenu
*arg1
= (wxMenu
*) 0 ;
32923 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32925 PyObject
* obj0
= 0 ;
32926 PyObject
* obj1
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self",(char *) "item", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32933 if (SWIG_arg_fail(1)) SWIG_fail
;
32934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32935 if (SWIG_arg_fail(2)) SWIG_fail
;
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= (bool)(arg1
)->Delete(arg2
);
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32952 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxMenu
*arg1
= (wxMenu
*) 0 ;
32955 PyObject
* obj0
= 0 ;
32956 char *kwnames
[] = {
32957 (char *) "self", NULL
32960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
32961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32962 if (SWIG_arg_fail(1)) SWIG_fail
;
32964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 wxMenu_Destroy(arg1
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 Py_INCREF(Py_None
); resultobj
= Py_None
;
32977 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
;
32979 wxMenu
*arg1
= (wxMenu
*) 0 ;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 char *kwnames
[] = {
32985 (char *) "self",(char *) "id", NULL
32988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
32989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32990 if (SWIG_arg_fail(1)) SWIG_fail
;
32992 arg2
= (int)(SWIG_As_int(obj1
));
32993 if (SWIG_arg_fail(2)) SWIG_fail
;
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= (bool)(arg1
)->Destroy(arg2
);
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33011 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxMenu
*arg1
= (wxMenu
*) 0 ;
33014 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33016 PyObject
* obj0
= 0 ;
33017 PyObject
* obj1
= 0 ;
33018 char *kwnames
[] = {
33019 (char *) "self",(char *) "item", NULL
33022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33024 if (SWIG_arg_fail(1)) SWIG_fail
;
33025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33026 if (SWIG_arg_fail(2)) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (bool)(arg1
)->Destroy(arg2
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33043 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
;
33045 wxMenu
*arg1
= (wxMenu
*) 0 ;
33047 PyObject
* obj0
= 0 ;
33048 char *kwnames
[] = {
33049 (char *) "self", NULL
33052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33054 if (SWIG_arg_fail(1)) SWIG_fail
;
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33071 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33072 PyObject
*resultobj
;
33073 wxMenu
*arg1
= (wxMenu
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 char *kwnames
[] = {
33077 (char *) "self", NULL
33080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33082 if (SWIG_arg_fail(1)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= result
;
33097 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxMenu
*arg1
= (wxMenu
*) 0 ;
33100 wxString
*arg2
= 0 ;
33102 bool temp2
= false ;
33103 PyObject
* obj0
= 0 ;
33104 PyObject
* obj1
= 0 ;
33105 char *kwnames
[] = {
33106 (char *) "self",(char *) "item", NULL
33109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33111 if (SWIG_arg_fail(1)) SWIG_fail
;
33113 arg2
= wxString_in_helper(obj1
);
33114 if (arg2
== NULL
) SWIG_fail
;
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_From_int((int)(result
));
33141 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33142 PyObject
*resultobj
;
33143 wxMenu
*arg1
= (wxMenu
*) 0 ;
33145 wxMenuItem
*result
;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 char *kwnames
[] = {
33149 (char *) "self",(char *) "id", NULL
33152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33154 if (SWIG_arg_fail(1)) SWIG_fail
;
33156 arg2
= (int)(SWIG_As_int(obj1
));
33157 if (SWIG_arg_fail(2)) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= wxPyMake_wxObject(result
, 0);
33175 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
;
33177 wxMenu
*arg1
= (wxMenu
*) 0 ;
33179 wxMenuItem
*result
;
33180 PyObject
* obj0
= 0 ;
33181 PyObject
* obj1
= 0 ;
33182 char *kwnames
[] = {
33183 (char *) "self",(char *) "position", NULL
33186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail
;
33190 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33191 if (SWIG_arg_fail(2)) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= wxPyMake_wxObject(result
, 0);
33209 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33210 PyObject
*resultobj
;
33211 wxMenu
*arg1
= (wxMenu
*) 0 ;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 PyObject
* obj2
= 0 ;
33217 char *kwnames
[] = {
33218 (char *) "self",(char *) "id",(char *) "enable", NULL
33221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33223 if (SWIG_arg_fail(1)) SWIG_fail
;
33225 arg2
= (int)(SWIG_As_int(obj1
));
33226 if (SWIG_arg_fail(2)) SWIG_fail
;
33229 arg3
= (bool)(SWIG_As_bool(obj2
));
33230 if (SWIG_arg_fail(3)) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 (arg1
)->Enable(arg2
,arg3
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 Py_INCREF(Py_None
); resultobj
= Py_None
;
33246 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 wxMenu
*arg1
= (wxMenu
*) 0 ;
33251 PyObject
* obj0
= 0 ;
33252 PyObject
* obj1
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self",(char *) "id", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail
;
33261 arg2
= (int)(SWIG_As_int(obj1
));
33262 if (SWIG_arg_fail(2)) SWIG_fail
;
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33280 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
;
33282 wxMenu
*arg1
= (wxMenu
*) 0 ;
33285 PyObject
* obj0
= 0 ;
33286 PyObject
* obj1
= 0 ;
33287 PyObject
* obj2
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self",(char *) "id",(char *) "check", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33294 if (SWIG_arg_fail(1)) SWIG_fail
;
33296 arg2
= (int)(SWIG_As_int(obj1
));
33297 if (SWIG_arg_fail(2)) SWIG_fail
;
33300 arg3
= (bool)(SWIG_As_bool(obj2
));
33301 if (SWIG_arg_fail(3)) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->Check(arg2
,arg3
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 Py_INCREF(Py_None
); resultobj
= Py_None
;
33317 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
;
33319 wxMenu
*arg1
= (wxMenu
*) 0 ;
33322 PyObject
* obj0
= 0 ;
33323 PyObject
* obj1
= 0 ;
33324 char *kwnames
[] = {
33325 (char *) "self",(char *) "id", NULL
33328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33330 if (SWIG_arg_fail(1)) SWIG_fail
;
33332 arg2
= (int)(SWIG_As_int(obj1
));
33333 if (SWIG_arg_fail(2)) SWIG_fail
;
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33351 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
;
33353 wxMenu
*arg1
= (wxMenu
*) 0 ;
33355 wxString
*arg3
= 0 ;
33356 bool temp3
= false ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 char *kwnames
[] = {
33361 (char *) "self",(char *) "id",(char *) "label", NULL
33364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33366 if (SWIG_arg_fail(1)) SWIG_fail
;
33368 arg2
= (int)(SWIG_As_int(obj1
));
33369 if (SWIG_arg_fail(2)) SWIG_fail
;
33372 arg3
= wxString_in_helper(obj2
);
33373 if (arg3
== NULL
) SWIG_fail
;
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 Py_INCREF(Py_None
); resultobj
= Py_None
;
33398 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
;
33400 wxMenu
*arg1
= (wxMenu
*) 0 ;
33403 PyObject
* obj0
= 0 ;
33404 PyObject
* obj1
= 0 ;
33405 char *kwnames
[] = {
33406 (char *) "self",(char *) "id", NULL
33409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33411 if (SWIG_arg_fail(1)) SWIG_fail
;
33413 arg2
= (int)(SWIG_As_int(obj1
));
33414 if (SWIG_arg_fail(2)) SWIG_fail
;
33417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33418 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33436 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
;
33438 wxMenu
*arg1
= (wxMenu
*) 0 ;
33440 wxString
*arg3
= 0 ;
33441 bool temp3
= false ;
33442 PyObject
* obj0
= 0 ;
33443 PyObject
* obj1
= 0 ;
33444 PyObject
* obj2
= 0 ;
33445 char *kwnames
[] = {
33446 (char *) "self",(char *) "id",(char *) "helpString", NULL
33449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33451 if (SWIG_arg_fail(1)) SWIG_fail
;
33453 arg2
= (int)(SWIG_As_int(obj1
));
33454 if (SWIG_arg_fail(2)) SWIG_fail
;
33457 arg3
= wxString_in_helper(obj2
);
33458 if (arg3
== NULL
) SWIG_fail
;
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33465 wxPyEndAllowThreads(__tstate
);
33466 if (PyErr_Occurred()) SWIG_fail
;
33468 Py_INCREF(Py_None
); resultobj
= Py_None
;
33483 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33484 PyObject
*resultobj
;
33485 wxMenu
*arg1
= (wxMenu
*) 0 ;
33488 PyObject
* obj0
= 0 ;
33489 PyObject
* obj1
= 0 ;
33490 char *kwnames
[] = {
33491 (char *) "self",(char *) "id", NULL
33494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33496 if (SWIG_arg_fail(1)) SWIG_fail
;
33498 arg2
= (int)(SWIG_As_int(obj1
));
33499 if (SWIG_arg_fail(2)) SWIG_fail
;
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33521 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
;
33523 wxMenu
*arg1
= (wxMenu
*) 0 ;
33524 wxString
*arg2
= 0 ;
33525 bool temp2
= false ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 char *kwnames
[] = {
33529 (char *) "self",(char *) "title", NULL
33532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33534 if (SWIG_arg_fail(1)) SWIG_fail
;
33536 arg2
= wxString_in_helper(obj1
);
33537 if (arg2
== NULL
) SWIG_fail
;
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 (arg1
)->SetTitle((wxString
const &)*arg2
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 Py_INCREF(Py_None
); resultobj
= Py_None
;
33562 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxMenu
*arg1
= (wxMenu
*) 0 ;
33566 PyObject
* obj0
= 0 ;
33567 char *kwnames
[] = {
33568 (char *) "self", NULL
33571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33573 if (SWIG_arg_fail(1)) SWIG_fail
;
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 result
= ((wxMenu
const *)arg1
)->GetTitle();
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33594 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
;
33596 wxMenu
*arg1
= (wxMenu
*) 0 ;
33597 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self",(char *) "handler", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33606 if (SWIG_arg_fail(1)) SWIG_fail
;
33607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33608 if (SWIG_arg_fail(2)) SWIG_fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 (arg1
)->SetEventHandler(arg2
);
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 Py_INCREF(Py_None
); resultobj
= Py_None
;
33623 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
;
33625 wxMenu
*arg1
= (wxMenu
*) 0 ;
33626 wxEvtHandler
*result
;
33627 PyObject
* obj0
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33643 resultobj
= wxPyMake_wxObject(result
, 0);
33651 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxMenu
*arg1
= (wxMenu
*) 0 ;
33654 wxWindow
*arg2
= (wxWindow
*) 0 ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 char *kwnames
[] = {
33658 (char *) "self",(char *) "win", NULL
33661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33663 if (SWIG_arg_fail(1)) SWIG_fail
;
33664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33665 if (SWIG_arg_fail(2)) SWIG_fail
;
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 (arg1
)->SetInvokingWindow(arg2
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33673 Py_INCREF(Py_None
); resultobj
= Py_None
;
33680 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
;
33682 wxMenu
*arg1
= (wxMenu
*) 0 ;
33684 PyObject
* obj0
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "self", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33691 if (SWIG_arg_fail(1)) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= wxPyMake_wxObject(result
, 0);
33708 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
;
33710 wxMenu
*arg1
= (wxMenu
*) 0 ;
33712 PyObject
* obj0
= 0 ;
33713 char *kwnames
[] = {
33714 (char *) "self", NULL
33717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33719 if (SWIG_arg_fail(1)) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_From_long((long)(result
));
33736 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
;
33738 wxMenu
*arg1
= (wxMenu
*) 0 ;
33739 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 char *kwnames
[] = {
33743 (char *) "self",(char *) "source", NULL
33746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33748 if (SWIG_arg_fail(1)) SWIG_fail
;
33750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33751 if (SWIG_arg_fail(2)) SWIG_fail
;
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 (arg1
)->UpdateUI(arg2
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 Py_INCREF(Py_None
); resultobj
= Py_None
;
33767 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
;
33769 wxMenu
*arg1
= (wxMenu
*) 0 ;
33771 PyObject
* obj0
= 0 ;
33772 char *kwnames
[] = {
33773 (char *) "self", NULL
33776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33778 if (SWIG_arg_fail(1)) SWIG_fail
;
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= wxPyMake_wxObject(result
, 0);
33795 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
;
33797 wxMenu
*arg1
= (wxMenu
*) 0 ;
33798 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 char *kwnames
[] = {
33802 (char *) "self",(char *) "menubar", NULL
33805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33807 if (SWIG_arg_fail(1)) SWIG_fail
;
33808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33809 if (SWIG_arg_fail(2)) SWIG_fail
;
33811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 (arg1
)->Attach(arg2
);
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33817 Py_INCREF(Py_None
); resultobj
= Py_None
;
33824 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33825 PyObject
*resultobj
;
33826 wxMenu
*arg1
= (wxMenu
*) 0 ;
33827 PyObject
* obj0
= 0 ;
33828 char *kwnames
[] = {
33829 (char *) "self", NULL
33832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33834 if (SWIG_arg_fail(1)) SWIG_fail
;
33836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33842 Py_INCREF(Py_None
); resultobj
= Py_None
;
33849 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33850 PyObject
*resultobj
;
33851 wxMenu
*arg1
= (wxMenu
*) 0 ;
33853 PyObject
* obj0
= 0 ;
33854 char *kwnames
[] = {
33855 (char *) "self", NULL
33858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33860 if (SWIG_arg_fail(1)) SWIG_fail
;
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33877 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
;
33879 wxMenu
*arg1
= (wxMenu
*) 0 ;
33880 wxMenu
*arg2
= (wxMenu
*) 0 ;
33881 PyObject
* obj0
= 0 ;
33882 PyObject
* obj1
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self",(char *) "parent", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
33888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33889 if (SWIG_arg_fail(1)) SWIG_fail
;
33890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33891 if (SWIG_arg_fail(2)) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 (arg1
)->SetParent(arg2
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 Py_INCREF(Py_None
); resultobj
= Py_None
;
33906 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
;
33908 wxMenu
*arg1
= (wxMenu
*) 0 ;
33910 PyObject
* obj0
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
33916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33917 if (SWIG_arg_fail(1)) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= wxPyMake_wxObject(result
, 0);
33934 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
33936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33937 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
33939 return Py_BuildValue((char *)"");
33941 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
;
33943 long arg1
= (long) 0 ;
33945 PyObject
* obj0
= 0 ;
33946 char *kwnames
[] = {
33947 (char *) "style", NULL
33950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
33953 arg1
= (long)(SWIG_As_long(obj0
));
33954 if (SWIG_arg_fail(1)) SWIG_fail
;
33958 if (!wxPyCheckForApp()) SWIG_fail
;
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
33972 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
33975 wxMenu
*arg2
= (wxMenu
*) 0 ;
33976 wxString
*arg3
= 0 ;
33978 bool temp3
= false ;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 PyObject
* obj2
= 0 ;
33982 char *kwnames
[] = {
33983 (char *) "self",(char *) "menu",(char *) "title", NULL
33986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
33988 if (SWIG_arg_fail(1)) SWIG_fail
;
33989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33990 if (SWIG_arg_fail(2)) SWIG_fail
;
33992 arg3
= wxString_in_helper(obj2
);
33993 if (arg3
== NULL
) SWIG_fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34020 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
;
34022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34024 wxMenu
*arg3
= (wxMenu
*) 0 ;
34025 wxString
*arg4
= 0 ;
34027 bool temp4
= false ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 PyObject
* obj2
= 0 ;
34031 PyObject
* obj3
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34038 if (SWIG_arg_fail(1)) SWIG_fail
;
34040 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34041 if (SWIG_arg_fail(2)) SWIG_fail
;
34043 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34044 if (SWIG_arg_fail(3)) SWIG_fail
;
34046 arg4
= wxString_in_helper(obj3
);
34047 if (arg4
== NULL
) SWIG_fail
;
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34074 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
;
34076 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34078 PyObject
* obj0
= 0 ;
34079 char *kwnames
[] = {
34080 (char *) "self", NULL
34083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34085 if (SWIG_arg_fail(1)) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34102 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34107 PyObject
* obj0
= 0 ;
34108 PyObject
* obj1
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "self",(char *) "pos", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34115 if (SWIG_arg_fail(1)) SWIG_fail
;
34117 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34118 if (SWIG_arg_fail(2)) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= wxPyMake_wxObject(result
, 0);
34136 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
;
34138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34140 wxMenu
*arg3
= (wxMenu
*) 0 ;
34141 wxString
*arg4
= 0 ;
34143 bool temp4
= false ;
34144 PyObject
* obj0
= 0 ;
34145 PyObject
* obj1
= 0 ;
34146 PyObject
* obj2
= 0 ;
34147 PyObject
* obj3
= 0 ;
34148 char *kwnames
[] = {
34149 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34154 if (SWIG_arg_fail(1)) SWIG_fail
;
34156 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34157 if (SWIG_arg_fail(2)) SWIG_fail
;
34159 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34160 if (SWIG_arg_fail(3)) SWIG_fail
;
34162 arg4
= wxString_in_helper(obj3
);
34163 if (arg4
== NULL
) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= wxPyMake_wxObject(result
, 0);
34190 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
;
34192 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34195 PyObject
* obj0
= 0 ;
34196 PyObject
* obj1
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self",(char *) "pos", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34203 if (SWIG_arg_fail(1)) SWIG_fail
;
34205 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34206 if (SWIG_arg_fail(2)) SWIG_fail
;
34209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34216 resultobj
= wxPyMake_wxObject(result
, 0);
34224 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
;
34226 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 PyObject
* obj2
= 0 ;
34232 char *kwnames
[] = {
34233 (char *) "self",(char *) "pos",(char *) "enable", NULL
34236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34238 if (SWIG_arg_fail(1)) SWIG_fail
;
34240 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34241 if (SWIG_arg_fail(2)) SWIG_fail
;
34244 arg3
= (bool)(SWIG_As_bool(obj2
));
34245 if (SWIG_arg_fail(3)) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->EnableTop(arg2
,arg3
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 Py_INCREF(Py_None
); resultobj
= Py_None
;
34261 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 char *kwnames
[] = {
34269 (char *) "self",(char *) "pos", NULL
34272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34274 if (SWIG_arg_fail(1)) SWIG_fail
;
34276 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34277 if (SWIG_arg_fail(2)) SWIG_fail
;
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34295 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34299 wxString
*arg3
= 0 ;
34300 bool temp3
= false ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 PyObject
* obj2
= 0 ;
34304 char *kwnames
[] = {
34305 (char *) "self",(char *) "pos",(char *) "label", NULL
34308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34310 if (SWIG_arg_fail(1)) SWIG_fail
;
34312 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34313 if (SWIG_arg_fail(2)) SWIG_fail
;
34316 arg3
= wxString_in_helper(obj2
);
34317 if (arg3
== NULL
) SWIG_fail
;
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34322 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 Py_INCREF(Py_None
); resultobj
= Py_None
;
34342 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34343 PyObject
*resultobj
;
34344 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 char *kwnames
[] = {
34350 (char *) "self",(char *) "pos", NULL
34353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34355 if (SWIG_arg_fail(1)) SWIG_fail
;
34357 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34358 if (SWIG_arg_fail(2)) SWIG_fail
;
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34380 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
;
34382 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34383 wxString
*arg2
= 0 ;
34384 wxString
*arg3
= 0 ;
34386 bool temp2
= false ;
34387 bool temp3
= false ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 PyObject
* obj2
= 0 ;
34391 char *kwnames
[] = {
34392 (char *) "self",(char *) "menu",(char *) "item", NULL
34395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34397 if (SWIG_arg_fail(1)) SWIG_fail
;
34399 arg2
= wxString_in_helper(obj1
);
34400 if (arg2
== NULL
) SWIG_fail
;
34404 arg3
= wxString_in_helper(obj2
);
34405 if (arg3
== NULL
) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_From_int((int)(result
));
34440 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
;
34442 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34444 wxMenuItem
*result
;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self",(char *) "id", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34455 arg2
= (int)(SWIG_As_int(obj1
));
34456 if (SWIG_arg_fail(2)) SWIG_fail
;
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34466 resultobj
= wxPyMake_wxObject(result
, 0);
34474 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
;
34476 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34477 wxString
*arg2
= 0 ;
34479 bool temp2
= false ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 char *kwnames
[] = {
34483 (char *) "self",(char *) "title", NULL
34486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34488 if (SWIG_arg_fail(1)) SWIG_fail
;
34490 arg2
= wxString_in_helper(obj1
);
34491 if (arg2
== NULL
) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_From_int((int)(result
));
34518 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34519 PyObject
*resultobj
;
34520 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34523 PyObject
* obj0
= 0 ;
34524 PyObject
* obj1
= 0 ;
34525 PyObject
* obj2
= 0 ;
34526 char *kwnames
[] = {
34527 (char *) "self",(char *) "id",(char *) "enable", NULL
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34532 if (SWIG_arg_fail(1)) SWIG_fail
;
34534 arg2
= (int)(SWIG_As_int(obj1
));
34535 if (SWIG_arg_fail(2)) SWIG_fail
;
34538 arg3
= (bool)(SWIG_As_bool(obj2
));
34539 if (SWIG_arg_fail(3)) SWIG_fail
;
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 (arg1
)->Enable(arg2
,arg3
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 Py_INCREF(Py_None
); resultobj
= Py_None
;
34555 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34560 PyObject
* obj0
= 0 ;
34561 PyObject
* obj1
= 0 ;
34562 PyObject
* obj2
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self",(char *) "id",(char *) "check", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34569 if (SWIG_arg_fail(1)) SWIG_fail
;
34571 arg2
= (int)(SWIG_As_int(obj1
));
34572 if (SWIG_arg_fail(2)) SWIG_fail
;
34575 arg3
= (bool)(SWIG_As_bool(obj2
));
34576 if (SWIG_arg_fail(3)) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 (arg1
)->Check(arg2
,arg3
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 Py_INCREF(Py_None
); resultobj
= Py_None
;
34592 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34593 PyObject
*resultobj
;
34594 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34597 PyObject
* obj0
= 0 ;
34598 PyObject
* obj1
= 0 ;
34599 char *kwnames
[] = {
34600 (char *) "self",(char *) "id", NULL
34603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34605 if (SWIG_arg_fail(1)) SWIG_fail
;
34607 arg2
= (int)(SWIG_As_int(obj1
));
34608 if (SWIG_arg_fail(2)) SWIG_fail
;
34611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34612 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34626 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34631 PyObject
* obj0
= 0 ;
34632 PyObject
* obj1
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self",(char *) "id", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail
;
34641 arg2
= (int)(SWIG_As_int(obj1
));
34642 if (SWIG_arg_fail(2)) SWIG_fail
;
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34648 wxPyEndAllowThreads(__tstate
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34660 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34664 wxString
*arg3
= 0 ;
34665 bool temp3
= false ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 PyObject
* obj2
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "id",(char *) "label", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34675 if (SWIG_arg_fail(1)) SWIG_fail
;
34677 arg2
= (int)(SWIG_As_int(obj1
));
34678 if (SWIG_arg_fail(2)) SWIG_fail
;
34681 arg3
= wxString_in_helper(obj2
);
34682 if (arg3
== NULL
) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 Py_INCREF(Py_None
); resultobj
= Py_None
;
34707 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
;
34709 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34712 PyObject
* obj0
= 0 ;
34713 PyObject
* obj1
= 0 ;
34714 char *kwnames
[] = {
34715 (char *) "self",(char *) "id", NULL
34718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34720 if (SWIG_arg_fail(1)) SWIG_fail
;
34722 arg2
= (int)(SWIG_As_int(obj1
));
34723 if (SWIG_arg_fail(2)) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34745 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34749 wxString
*arg3
= 0 ;
34750 bool temp3
= false ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 PyObject
* obj2
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "id",(char *) "helpString", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34762 arg2
= (int)(SWIG_As_int(obj1
));
34763 if (SWIG_arg_fail(2)) SWIG_fail
;
34766 arg3
= wxString_in_helper(obj2
);
34767 if (arg3
== NULL
) SWIG_fail
;
34771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 Py_INCREF(Py_None
); resultobj
= Py_None
;
34792 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "self",(char *) "id", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34805 if (SWIG_arg_fail(1)) SWIG_fail
;
34807 arg2
= (int)(SWIG_As_int(obj1
));
34808 if (SWIG_arg_fail(2)) SWIG_fail
;
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34814 wxPyEndAllowThreads(__tstate
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34830 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
;
34832 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34834 PyObject
* obj0
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34850 resultobj
= wxPyMake_wxObject(result
, 0);
34858 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
;
34860 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34862 PyObject
* obj0
= 0 ;
34863 char *kwnames
[] = {
34864 (char *) "self", NULL
34867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
34868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34869 if (SWIG_arg_fail(1)) SWIG_fail
;
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34886 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
;
34888 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34889 wxFrame
*arg2
= (wxFrame
*) 0 ;
34890 PyObject
* obj0
= 0 ;
34891 PyObject
* obj1
= 0 ;
34892 char *kwnames
[] = {
34893 (char *) "self",(char *) "frame", NULL
34896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34898 if (SWIG_arg_fail(1)) SWIG_fail
;
34899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
34900 if (SWIG_arg_fail(2)) SWIG_fail
;
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 (arg1
)->Attach(arg2
);
34905 wxPyEndAllowThreads(__tstate
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34908 Py_INCREF(Py_None
); resultobj
= Py_None
;
34915 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34916 PyObject
*resultobj
;
34917 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34918 PyObject
* obj0
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
34924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34925 if (SWIG_arg_fail(1)) SWIG_fail
;
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34930 wxPyEndAllowThreads(__tstate
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34933 Py_INCREF(Py_None
); resultobj
= Py_None
;
34940 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
34942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34943 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
34945 return Py_BuildValue((char *)"");
34947 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxMenu
*arg1
= (wxMenu
*) NULL
;
34950 int arg2
= (int) wxID_ANY
;
34951 wxString
const &arg3_defvalue
= wxPyEmptyString
;
34952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
34953 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34954 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34955 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34956 wxMenu
*arg6
= (wxMenu
*) NULL
;
34957 wxMenuItem
*result
;
34958 bool temp3
= false ;
34959 bool temp4
= false ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 PyObject
* obj2
= 0 ;
34963 PyObject
* obj3
= 0 ;
34964 PyObject
* obj4
= 0 ;
34965 PyObject
* obj5
= 0 ;
34966 char *kwnames
[] = {
34967 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
34970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34973 if (SWIG_arg_fail(1)) SWIG_fail
;
34977 arg2
= (int)(SWIG_As_int(obj1
));
34978 if (SWIG_arg_fail(2)) SWIG_fail
;
34983 arg3
= wxString_in_helper(obj2
);
34984 if (arg3
== NULL
) SWIG_fail
;
34990 arg4
= wxString_in_helper(obj3
);
34991 if (arg4
== NULL
) SWIG_fail
;
34997 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
34998 if (SWIG_arg_fail(5)) SWIG_fail
;
35002 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35003 if (SWIG_arg_fail(6)) SWIG_fail
;
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= wxPyMake_wxObject(result
, 1);
35037 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35038 PyObject
*resultobj
;
35039 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35041 PyObject
* obj0
= 0 ;
35042 char *kwnames
[] = {
35043 (char *) "self", NULL
35046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35048 if (SWIG_arg_fail(1)) SWIG_fail
;
35050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35051 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35053 wxPyEndAllowThreads(__tstate
);
35054 if (PyErr_Occurred()) SWIG_fail
;
35057 resultobj
= wxPyMake_wxObject(result
, 0);
35065 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35066 PyObject
*resultobj
;
35067 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35068 wxMenu
*arg2
= (wxMenu
*) 0 ;
35069 PyObject
* obj0
= 0 ;
35070 PyObject
* obj1
= 0 ;
35071 char *kwnames
[] = {
35072 (char *) "self",(char *) "menu", NULL
35075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35077 if (SWIG_arg_fail(1)) SWIG_fail
;
35078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35079 if (SWIG_arg_fail(2)) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 (arg1
)->SetMenu(arg2
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 Py_INCREF(Py_None
); resultobj
= Py_None
;
35094 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
;
35096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35098 PyObject
* obj0
= 0 ;
35099 PyObject
* obj1
= 0 ;
35100 char *kwnames
[] = {
35101 (char *) "self",(char *) "id", NULL
35104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35106 if (SWIG_arg_fail(1)) SWIG_fail
;
35108 arg2
= (int)(SWIG_As_int(obj1
));
35109 if (SWIG_arg_fail(2)) SWIG_fail
;
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 (arg1
)->SetId(arg2
);
35115 wxPyEndAllowThreads(__tstate
);
35116 if (PyErr_Occurred()) SWIG_fail
;
35118 Py_INCREF(Py_None
); resultobj
= Py_None
;
35125 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35126 PyObject
*resultobj
;
35127 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35129 PyObject
* obj0
= 0 ;
35130 char *kwnames
[] = {
35131 (char *) "self", NULL
35134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35136 if (SWIG_arg_fail(1)) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= SWIG_From_int((int)(result
));
35153 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
;
35155 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35164 if (SWIG_arg_fail(1)) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35181 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
;
35183 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35184 wxString
*arg2
= 0 ;
35185 bool temp2
= false ;
35186 PyObject
* obj0
= 0 ;
35187 PyObject
* obj1
= 0 ;
35188 char *kwnames
[] = {
35189 (char *) "self",(char *) "str", NULL
35192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35194 if (SWIG_arg_fail(1)) SWIG_fail
;
35196 arg2
= wxString_in_helper(obj1
);
35197 if (arg2
== NULL
) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->SetText((wxString
const &)*arg2
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 Py_INCREF(Py_None
); resultobj
= Py_None
;
35222 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
;
35224 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35226 PyObject
* obj0
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35233 if (SWIG_arg_fail(1)) SWIG_fail
;
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35254 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35255 PyObject
*resultobj
;
35256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35258 PyObject
* obj0
= 0 ;
35259 char *kwnames
[] = {
35260 (char *) "self", NULL
35263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35265 if (SWIG_arg_fail(1)) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35270 result
= (wxString
*) &_result_ref
;
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35289 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
;
35291 wxString
*arg1
= 0 ;
35293 bool temp1
= false ;
35294 PyObject
* obj0
= 0 ;
35295 char *kwnames
[] = {
35296 (char *) "text", NULL
35299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35301 arg1
= wxString_in_helper(obj0
);
35302 if (arg1
== NULL
) SWIG_fail
;
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35309 wxPyEndAllowThreads(__tstate
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35333 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
;
35335 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35337 PyObject
* obj0
= 0 ;
35338 char *kwnames
[] = {
35339 (char *) "self", NULL
35342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35344 if (SWIG_arg_fail(1)) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 resultobj
= SWIG_From_int((result
));
35359 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "self",(char *) "kind", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35371 if (SWIG_arg_fail(1)) SWIG_fail
;
35373 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35374 if (SWIG_arg_fail(2)) SWIG_fail
;
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 (arg1
)->SetKind((wxItemKind
)arg2
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 Py_INCREF(Py_None
); resultobj
= Py_None
;
35390 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35394 PyObject
* obj0
= 0 ;
35395 PyObject
* obj1
= 0 ;
35396 char *kwnames
[] = {
35397 (char *) "self",(char *) "checkable", NULL
35400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35402 if (SWIG_arg_fail(1)) SWIG_fail
;
35404 arg2
= (bool)(SWIG_As_bool(obj1
));
35405 if (SWIG_arg_fail(2)) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->SetCheckable(arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 Py_INCREF(Py_None
); resultobj
= Py_None
;
35421 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
;
35423 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 char *kwnames
[] = {
35427 (char *) "self", NULL
35430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35432 if (SWIG_arg_fail(1)) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35449 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
;
35451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35453 PyObject
* obj0
= 0 ;
35454 char *kwnames
[] = {
35455 (char *) "self", NULL
35458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35460 if (SWIG_arg_fail(1)) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35477 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
;
35479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35480 wxMenu
*arg2
= (wxMenu
*) 0 ;
35481 PyObject
* obj0
= 0 ;
35482 PyObject
* obj1
= 0 ;
35483 char *kwnames
[] = {
35484 (char *) "self",(char *) "menu", NULL
35487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35489 if (SWIG_arg_fail(1)) SWIG_fail
;
35490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35491 if (SWIG_arg_fail(2)) SWIG_fail
;
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 (arg1
)->SetSubMenu(arg2
);
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35499 Py_INCREF(Py_None
); resultobj
= Py_None
;
35506 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
;
35508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35517 if (SWIG_arg_fail(1)) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= wxPyMake_wxObject(result
, 0);
35534 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
;
35536 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35537 bool arg2
= (bool) true ;
35538 PyObject
* obj0
= 0 ;
35539 PyObject
* obj1
= 0 ;
35540 char *kwnames
[] = {
35541 (char *) "self",(char *) "enable", NULL
35544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35546 if (SWIG_arg_fail(1)) SWIG_fail
;
35549 arg2
= (bool)(SWIG_As_bool(obj1
));
35550 if (SWIG_arg_fail(2)) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 (arg1
)->Enable(arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 Py_INCREF(Py_None
); resultobj
= Py_None
;
35567 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
;
35569 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35571 PyObject
* obj0
= 0 ;
35572 char *kwnames
[] = {
35573 (char *) "self", NULL
35576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35578 if (SWIG_arg_fail(1)) SWIG_fail
;
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35595 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
;
35597 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35598 bool arg2
= (bool) true ;
35599 PyObject
* obj0
= 0 ;
35600 PyObject
* obj1
= 0 ;
35601 char *kwnames
[] = {
35602 (char *) "self",(char *) "check", NULL
35605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35607 if (SWIG_arg_fail(1)) SWIG_fail
;
35610 arg2
= (bool)(SWIG_As_bool(obj1
));
35611 if (SWIG_arg_fail(2)) SWIG_fail
;
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 (arg1
)->Check(arg2
);
35618 wxPyEndAllowThreads(__tstate
);
35619 if (PyErr_Occurred()) SWIG_fail
;
35621 Py_INCREF(Py_None
); resultobj
= Py_None
;
35628 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35629 PyObject
*resultobj
;
35630 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35632 PyObject
* obj0
= 0 ;
35633 char *kwnames
[] = {
35634 (char *) "self", NULL
35637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35639 if (SWIG_arg_fail(1)) SWIG_fail
;
35641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35642 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35656 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35659 PyObject
* obj0
= 0 ;
35660 char *kwnames
[] = {
35661 (char *) "self", NULL
35664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35666 if (SWIG_arg_fail(1)) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35674 Py_INCREF(Py_None
); resultobj
= Py_None
;
35681 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
;
35683 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35684 wxString
*arg2
= 0 ;
35685 bool temp2
= false ;
35686 PyObject
* obj0
= 0 ;
35687 PyObject
* obj1
= 0 ;
35688 char *kwnames
[] = {
35689 (char *) "self",(char *) "str", NULL
35692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35694 if (SWIG_arg_fail(1)) SWIG_fail
;
35696 arg2
= wxString_in_helper(obj1
);
35697 if (arg2
== NULL
) SWIG_fail
;
35701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 (arg1
)->SetHelp((wxString
const &)*arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 Py_INCREF(Py_None
); resultobj
= Py_None
;
35722 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
;
35724 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35726 PyObject
* obj0
= 0 ;
35727 char *kwnames
[] = {
35728 (char *) "self", NULL
35731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35733 if (SWIG_arg_fail(1)) SWIG_fail
;
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35738 result
= (wxString
*) &_result_ref
;
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35757 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
;
35759 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35760 wxAcceleratorEntry
*result
;
35761 PyObject
* obj0
= 0 ;
35762 char *kwnames
[] = {
35763 (char *) "self", NULL
35766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35768 if (SWIG_arg_fail(1)) SWIG_fail
;
35770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35771 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35783 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
;
35785 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35786 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35787 PyObject
* obj0
= 0 ;
35788 PyObject
* obj1
= 0 ;
35789 char *kwnames
[] = {
35790 (char *) "self",(char *) "accel", NULL
35793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35795 if (SWIG_arg_fail(1)) SWIG_fail
;
35796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35797 if (SWIG_arg_fail(2)) SWIG_fail
;
35799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35800 (arg1
)->SetAccel(arg2
);
35802 wxPyEndAllowThreads(__tstate
);
35803 if (PyErr_Occurred()) SWIG_fail
;
35805 Py_INCREF(Py_None
); resultobj
= Py_None
;
35812 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35813 PyObject
*resultobj
;
35815 char *kwnames
[] = {
35819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 result
= (int)MenuItem_GetDefaultMarginWidth();
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35828 resultobj
= SWIG_From_int((int)(result
));
35836 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35837 PyObject
*resultobj
;
35838 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35839 wxBitmap
*arg2
= 0 ;
35840 PyObject
* obj0
= 0 ;
35841 PyObject
* obj1
= 0 ;
35842 char *kwnames
[] = {
35843 (char *) "self",(char *) "bitmap", NULL
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35848 if (SWIG_arg_fail(1)) SWIG_fail
;
35850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35851 if (SWIG_arg_fail(2)) SWIG_fail
;
35852 if (arg2
== NULL
) {
35853 SWIG_null_ref("wxBitmap");
35855 if (SWIG_arg_fail(2)) SWIG_fail
;
35858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
35861 wxPyEndAllowThreads(__tstate
);
35862 if (PyErr_Occurred()) SWIG_fail
;
35864 Py_INCREF(Py_None
); resultobj
= Py_None
;
35871 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35872 PyObject
*resultobj
;
35873 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35875 PyObject
* obj0
= 0 ;
35876 char *kwnames
[] = {
35877 (char *) "self", NULL
35880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
35881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35882 if (SWIG_arg_fail(1)) SWIG_fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
35887 result
= (wxBitmap
*) &_result_ref
;
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35894 wxBitmap
* resultptr
= new wxBitmap(*result
);
35895 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
35903 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
35905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35906 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
35908 return Py_BuildValue((char *)"");
35910 static int _wrap_ControlNameStr_set(PyObject
*) {
35911 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
35916 static PyObject
*_wrap_ControlNameStr_get(void) {
35921 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
35923 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
35930 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35931 PyObject
*resultobj
;
35932 wxWindow
*arg1
= (wxWindow
*) 0 ;
35933 int arg2
= (int) -1 ;
35934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
35937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
35938 long arg5
= (long) 0 ;
35939 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
35940 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
35941 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
35942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
35946 bool temp7
= false ;
35947 PyObject
* obj0
= 0 ;
35948 PyObject
* obj1
= 0 ;
35949 PyObject
* obj2
= 0 ;
35950 PyObject
* obj3
= 0 ;
35951 PyObject
* obj4
= 0 ;
35952 PyObject
* obj5
= 0 ;
35953 PyObject
* obj6
= 0 ;
35954 char *kwnames
[] = {
35955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
35958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35960 if (SWIG_arg_fail(1)) SWIG_fail
;
35963 arg2
= (int)(SWIG_As_int(obj1
));
35964 if (SWIG_arg_fail(2)) SWIG_fail
;
35970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35981 arg5
= (long)(SWIG_As_long(obj4
));
35982 if (SWIG_arg_fail(5)) SWIG_fail
;
35987 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
35988 if (SWIG_arg_fail(6)) SWIG_fail
;
35989 if (arg6
== NULL
) {
35990 SWIG_null_ref("wxValidator");
35992 if (SWIG_arg_fail(6)) SWIG_fail
;
35997 arg7
= wxString_in_helper(obj6
);
35998 if (arg7
== NULL
) SWIG_fail
;
36003 if (!wxPyCheckForApp()) SWIG_fail
;
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36025 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36026 PyObject
*resultobj
;
36028 char *kwnames
[] = {
36032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36034 if (!wxPyCheckForApp()) SWIG_fail
;
36035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36036 result
= (wxControl
*)new wxControl();
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36048 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
;
36050 wxControl
*arg1
= (wxControl
*) 0 ;
36051 wxWindow
*arg2
= (wxWindow
*) 0 ;
36052 int arg3
= (int) -1 ;
36053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36057 long arg6
= (long) 0 ;
36058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36060 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36065 bool temp8
= false ;
36066 PyObject
* obj0
= 0 ;
36067 PyObject
* obj1
= 0 ;
36068 PyObject
* obj2
= 0 ;
36069 PyObject
* obj3
= 0 ;
36070 PyObject
* obj4
= 0 ;
36071 PyObject
* obj5
= 0 ;
36072 PyObject
* obj6
= 0 ;
36073 PyObject
* obj7
= 0 ;
36074 char *kwnames
[] = {
36075 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36080 if (SWIG_arg_fail(1)) SWIG_fail
;
36081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36082 if (SWIG_arg_fail(2)) SWIG_fail
;
36085 arg3
= (int)(SWIG_As_int(obj2
));
36086 if (SWIG_arg_fail(3)) SWIG_fail
;
36092 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36098 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36103 arg6
= (long)(SWIG_As_long(obj5
));
36104 if (SWIG_arg_fail(6)) SWIG_fail
;
36109 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36110 if (SWIG_arg_fail(7)) SWIG_fail
;
36111 if (arg7
== NULL
) {
36112 SWIG_null_ref("wxValidator");
36114 if (SWIG_arg_fail(7)) SWIG_fail
;
36119 arg8
= wxString_in_helper(obj7
);
36120 if (arg8
== NULL
) SWIG_fail
;
36125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36128 wxPyEndAllowThreads(__tstate
);
36129 if (PyErr_Occurred()) SWIG_fail
;
36132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36148 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36149 PyObject
*resultobj
;
36150 wxControl
*arg1
= (wxControl
*) 0 ;
36151 wxCommandEvent
*arg2
= 0 ;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 char *kwnames
[] = {
36155 (char *) "self",(char *) "event", NULL
36158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(1)) SWIG_fail
;
36162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36163 if (SWIG_arg_fail(2)) SWIG_fail
;
36164 if (arg2
== NULL
) {
36165 SWIG_null_ref("wxCommandEvent");
36167 if (SWIG_arg_fail(2)) SWIG_fail
;
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 (arg1
)->Command(*arg2
);
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 Py_INCREF(Py_None
); resultobj
= Py_None
;
36183 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
;
36185 wxControl
*arg1
= (wxControl
*) 0 ;
36187 PyObject
* obj0
= 0 ;
36188 char *kwnames
[] = {
36189 (char *) "self", NULL
36192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36194 if (SWIG_arg_fail(1)) SWIG_fail
;
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 result
= (arg1
)->GetLabel();
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36215 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxControl
*arg1
= (wxControl
*) 0 ;
36218 wxString
*arg2
= 0 ;
36219 bool temp2
= false ;
36220 PyObject
* obj0
= 0 ;
36221 PyObject
* obj1
= 0 ;
36222 char *kwnames
[] = {
36223 (char *) "self",(char *) "label", NULL
36226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36228 if (SWIG_arg_fail(1)) SWIG_fail
;
36230 arg2
= wxString_in_helper(obj1
);
36231 if (arg2
== NULL
) SWIG_fail
;
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->SetLabel((wxString
const &)*arg2
);
36238 wxPyEndAllowThreads(__tstate
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36241 Py_INCREF(Py_None
); resultobj
= Py_None
;
36256 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36257 PyObject
*resultobj
;
36258 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36259 wxVisualAttributes result
;
36260 PyObject
* obj0
= 0 ;
36261 char *kwnames
[] = {
36262 (char *) "variant", NULL
36265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36268 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36269 if (SWIG_arg_fail(1)) SWIG_fail
;
36273 if (!wxPyCheckForApp()) SWIG_fail
;
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36281 wxVisualAttributes
* resultptr
;
36282 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36291 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36294 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36296 return Py_BuildValue((char *)"");
36298 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
;
36300 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36301 wxString
*arg2
= 0 ;
36302 PyObject
*arg3
= (PyObject
*) NULL
;
36304 bool temp2
= false ;
36305 PyObject
* obj0
= 0 ;
36306 PyObject
* obj1
= 0 ;
36307 PyObject
* obj2
= 0 ;
36308 char *kwnames
[] = {
36309 (char *) "self",(char *) "item",(char *) "clientData", NULL
36312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36314 if (SWIG_arg_fail(1)) SWIG_fail
;
36316 arg2
= wxString_in_helper(obj1
);
36317 if (arg2
== NULL
) SWIG_fail
;
36324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36325 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36331 resultobj
= SWIG_From_int((int)(result
));
36347 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36350 wxArrayString
*arg2
= 0 ;
36351 bool temp2
= false ;
36352 PyObject
* obj0
= 0 ;
36353 PyObject
* obj1
= 0 ;
36354 char *kwnames
[] = {
36355 (char *) "self",(char *) "strings", NULL
36358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36360 if (SWIG_arg_fail(1)) SWIG_fail
;
36362 if (! PySequence_Check(obj1
)) {
36363 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36366 arg2
= new wxArrayString
;
36368 int i
, len
=PySequence_Length(obj1
);
36369 for (i
=0; i
<len
; i
++) {
36370 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36372 PyObject
* str
= PyObject_Unicode(item
);
36374 PyObject
* str
= PyObject_Str(item
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36377 arg2
->Add(Py2wxString(str
));
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->Append((wxArrayString
const &)*arg2
);
36386 wxPyEndAllowThreads(__tstate
);
36387 if (PyErr_Occurred()) SWIG_fail
;
36389 Py_INCREF(Py_None
); resultobj
= Py_None
;
36391 if (temp2
) delete arg2
;
36396 if (temp2
) delete arg2
;
36402 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
;
36404 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36405 wxString
*arg2
= 0 ;
36407 PyObject
*arg4
= (PyObject
*) NULL
;
36409 bool temp2
= false ;
36410 PyObject
* obj0
= 0 ;
36411 PyObject
* obj1
= 0 ;
36412 PyObject
* obj2
= 0 ;
36413 PyObject
* obj3
= 0 ;
36414 char *kwnames
[] = {
36415 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36420 if (SWIG_arg_fail(1)) SWIG_fail
;
36422 arg2
= wxString_in_helper(obj1
);
36423 if (arg2
== NULL
) SWIG_fail
;
36427 arg3
= (int)(SWIG_As_int(obj2
));
36428 if (SWIG_arg_fail(3)) SWIG_fail
;
36434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36435 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36441 resultobj
= SWIG_From_int((int)(result
));
36457 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36458 PyObject
*resultobj
;
36459 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36460 PyObject
* obj0
= 0 ;
36461 char *kwnames
[] = {
36462 (char *) "self", NULL
36465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
36466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36467 if (SWIG_arg_fail(1)) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36475 Py_INCREF(Py_None
); resultobj
= Py_None
;
36482 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36483 PyObject
*resultobj
;
36484 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36486 PyObject
* obj0
= 0 ;
36487 PyObject
* obj1
= 0 ;
36488 char *kwnames
[] = {
36489 (char *) "self",(char *) "n", NULL
36492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
36493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36494 if (SWIG_arg_fail(1)) SWIG_fail
;
36496 arg2
= (int)(SWIG_As_int(obj1
));
36497 if (SWIG_arg_fail(2)) SWIG_fail
;
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 (arg1
)->Delete(arg2
);
36503 wxPyEndAllowThreads(__tstate
);
36504 if (PyErr_Occurred()) SWIG_fail
;
36506 Py_INCREF(Py_None
); resultobj
= Py_None
;
36513 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
;
36515 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36517 PyObject
* obj0
= 0 ;
36518 char *kwnames
[] = {
36519 (char *) "self", NULL
36522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
36523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36524 if (SWIG_arg_fail(1)) SWIG_fail
;
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
36529 wxPyEndAllowThreads(__tstate
);
36530 if (PyErr_Occurred()) SWIG_fail
;
36533 resultobj
= SWIG_From_int((int)(result
));
36541 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
;
36543 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36545 PyObject
* obj0
= 0 ;
36546 char *kwnames
[] = {
36547 (char *) "self", NULL
36550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
36551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36552 if (SWIG_arg_fail(1)) SWIG_fail
;
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
36557 wxPyEndAllowThreads(__tstate
);
36558 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36569 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
;
36571 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36574 PyObject
* obj0
= 0 ;
36575 PyObject
* obj1
= 0 ;
36576 char *kwnames
[] = {
36577 (char *) "self",(char *) "n", NULL
36580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
36581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36582 if (SWIG_arg_fail(1)) SWIG_fail
;
36584 arg2
= (int)(SWIG_As_int(obj1
));
36585 if (SWIG_arg_fail(2)) SWIG_fail
;
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36607 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36608 PyObject
*resultobj
;
36609 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36610 wxArrayString result
;
36611 PyObject
* obj0
= 0 ;
36612 char *kwnames
[] = {
36613 (char *) "self", NULL
36616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
36617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36618 if (SWIG_arg_fail(1)) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36627 resultobj
= wxArrayString2PyList_helper(result
);
36635 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
;
36637 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36639 wxString
*arg3
= 0 ;
36640 bool temp3
= false ;
36641 PyObject
* obj0
= 0 ;
36642 PyObject
* obj1
= 0 ;
36643 PyObject
* obj2
= 0 ;
36644 char *kwnames
[] = {
36645 (char *) "self",(char *) "n",(char *) "s", NULL
36648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36650 if (SWIG_arg_fail(1)) SWIG_fail
;
36652 arg2
= (int)(SWIG_As_int(obj1
));
36653 if (SWIG_arg_fail(2)) SWIG_fail
;
36656 arg3
= wxString_in_helper(obj2
);
36657 if (arg3
== NULL
) SWIG_fail
;
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 Py_INCREF(Py_None
); resultobj
= Py_None
;
36682 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
;
36684 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36685 wxString
*arg2
= 0 ;
36687 bool temp2
= false ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self",(char *) "s", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
36695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36696 if (SWIG_arg_fail(1)) SWIG_fail
;
36698 arg2
= wxString_in_helper(obj1
);
36699 if (arg2
== NULL
) SWIG_fail
;
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_From_int((int)(result
));
36726 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36727 PyObject
*resultobj
;
36728 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36730 PyObject
* obj0
= 0 ;
36731 PyObject
* obj1
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "self",(char *) "n", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
36737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36738 if (SWIG_arg_fail(1)) SWIG_fail
;
36740 arg2
= (int)(SWIG_As_int(obj1
));
36741 if (SWIG_arg_fail(2)) SWIG_fail
;
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->Select(arg2
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 Py_INCREF(Py_None
); resultobj
= Py_None
;
36757 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
;
36759 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36761 PyObject
* obj0
= 0 ;
36762 char *kwnames
[] = {
36763 (char *) "self", NULL
36766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
36767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36768 if (SWIG_arg_fail(1)) SWIG_fail
;
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_From_int((int)(result
));
36785 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36789 PyObject
* obj0
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
36795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36796 if (SWIG_arg_fail(1)) SWIG_fail
;
36798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36799 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36817 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36818 PyObject
*resultobj
;
36819 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 PyObject
* obj1
= 0 ;
36824 char *kwnames
[] = {
36825 (char *) "self",(char *) "n", NULL
36828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
36829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36830 if (SWIG_arg_fail(1)) SWIG_fail
;
36832 arg2
= (int)(SWIG_As_int(obj1
));
36833 if (SWIG_arg_fail(2)) SWIG_fail
;
36836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36837 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36842 resultobj
= result
;
36849 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36850 PyObject
*resultobj
;
36851 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36853 PyObject
*arg3
= (PyObject
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 PyObject
* obj2
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self",(char *) "n",(char *) "clientData", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36863 if (SWIG_arg_fail(1)) SWIG_fail
;
36865 arg2
= (int)(SWIG_As_int(obj1
));
36866 if (SWIG_arg_fail(2)) SWIG_fail
;
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 Py_INCREF(Py_None
); resultobj
= Py_None
;
36883 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
36885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36886 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
36888 return Py_BuildValue((char *)"");
36890 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
36892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36893 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
36895 return Py_BuildValue((char *)"");
36897 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36898 PyObject
*resultobj
;
36899 wxSizerItem
*result
;
36900 char *kwnames
[] = {
36904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= (wxSizerItem
*)new wxSizerItem();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
36919 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36920 PyObject
*resultobj
;
36921 wxWindow
*arg1
= (wxWindow
*) 0 ;
36925 PyObject
*arg5
= (PyObject
*) NULL
;
36926 wxSizerItem
*result
;
36927 PyObject
* obj0
= 0 ;
36928 PyObject
* obj1
= 0 ;
36929 PyObject
* obj2
= 0 ;
36930 PyObject
* obj3
= 0 ;
36931 PyObject
* obj4
= 0 ;
36932 char *kwnames
[] = {
36933 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36938 if (SWIG_arg_fail(1)) SWIG_fail
;
36940 arg2
= (int)(SWIG_As_int(obj1
));
36941 if (SWIG_arg_fail(2)) SWIG_fail
;
36944 arg3
= (int)(SWIG_As_int(obj2
));
36945 if (SWIG_arg_fail(3)) SWIG_fail
;
36948 arg4
= (int)(SWIG_As_int(obj3
));
36949 if (SWIG_arg_fail(4)) SWIG_fail
;
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
36968 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36969 PyObject
*resultobj
;
36975 PyObject
*arg6
= (PyObject
*) NULL
;
36976 wxSizerItem
*result
;
36977 PyObject
* obj0
= 0 ;
36978 PyObject
* obj1
= 0 ;
36979 PyObject
* obj2
= 0 ;
36980 PyObject
* obj3
= 0 ;
36981 PyObject
* obj4
= 0 ;
36982 PyObject
* obj5
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36989 arg1
= (int)(SWIG_As_int(obj0
));
36990 if (SWIG_arg_fail(1)) SWIG_fail
;
36993 arg2
= (int)(SWIG_As_int(obj1
));
36994 if (SWIG_arg_fail(2)) SWIG_fail
;
36997 arg3
= (int)(SWIG_As_int(obj2
));
36998 if (SWIG_arg_fail(3)) SWIG_fail
;
37001 arg4
= (int)(SWIG_As_int(obj3
));
37002 if (SWIG_arg_fail(4)) SWIG_fail
;
37005 arg5
= (int)(SWIG_As_int(obj4
));
37006 if (SWIG_arg_fail(5)) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37025 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37026 PyObject
*resultobj
;
37027 wxSizer
*arg1
= (wxSizer
*) 0 ;
37031 PyObject
*arg5
= (PyObject
*) NULL
;
37032 wxSizerItem
*result
;
37033 PyObject
* obj0
= 0 ;
37034 PyObject
* obj1
= 0 ;
37035 PyObject
* obj2
= 0 ;
37036 PyObject
* obj3
= 0 ;
37037 PyObject
* obj4
= 0 ;
37038 char *kwnames
[] = {
37039 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37044 if (SWIG_arg_fail(1)) SWIG_fail
;
37046 arg2
= (int)(SWIG_As_int(obj1
));
37047 if (SWIG_arg_fail(2)) SWIG_fail
;
37050 arg3
= (int)(SWIG_As_int(obj2
));
37051 if (SWIG_arg_fail(3)) SWIG_fail
;
37054 arg4
= (int)(SWIG_As_int(obj3
));
37055 if (SWIG_arg_fail(4)) SWIG_fail
;
37061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37062 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37074 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
;
37076 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37077 PyObject
* obj0
= 0 ;
37078 char *kwnames
[] = {
37079 (char *) "self", NULL
37082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37084 if (SWIG_arg_fail(1)) SWIG_fail
;
37086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37087 (arg1
)->DeleteWindows();
37089 wxPyEndAllowThreads(__tstate
);
37090 if (PyErr_Occurred()) SWIG_fail
;
37092 Py_INCREF(Py_None
); resultobj
= Py_None
;
37099 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
;
37101 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37102 PyObject
* obj0
= 0 ;
37103 char *kwnames
[] = {
37104 (char *) "self", NULL
37107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37109 if (SWIG_arg_fail(1)) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 (arg1
)->DetachSizer();
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 Py_INCREF(Py_None
); resultobj
= Py_None
;
37124 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
;
37126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37128 PyObject
* obj0
= 0 ;
37129 char *kwnames
[] = {
37130 (char *) "self", NULL
37133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37135 if (SWIG_arg_fail(1)) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (arg1
)->GetSize();
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37144 wxSize
* resultptr
;
37145 resultptr
= new wxSize((wxSize
&)(result
));
37146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37154 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37155 PyObject
*resultobj
;
37156 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37158 PyObject
* obj0
= 0 ;
37159 char *kwnames
[] = {
37160 (char *) "self", NULL
37163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37165 if (SWIG_arg_fail(1)) SWIG_fail
;
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 result
= (arg1
)->CalcMin();
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37174 wxSize
* resultptr
;
37175 resultptr
= new wxSize((wxSize
&)(result
));
37176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37184 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
;
37186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37189 PyObject
* obj0
= 0 ;
37190 PyObject
* obj1
= 0 ;
37191 PyObject
* obj2
= 0 ;
37192 char *kwnames
[] = {
37193 (char *) "self",(char *) "pos",(char *) "size", NULL
37196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37198 if (SWIG_arg_fail(1)) SWIG_fail
;
37201 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37202 if (SWIG_arg_fail(2)) SWIG_fail
;
37203 if (argp
== NULL
) {
37204 SWIG_null_ref("wxPoint");
37206 if (SWIG_arg_fail(2)) SWIG_fail
;
37211 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37212 if (SWIG_arg_fail(3)) SWIG_fail
;
37213 if (argp
== NULL
) {
37214 SWIG_null_ref("wxSize");
37216 if (SWIG_arg_fail(3)) SWIG_fail
;
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->SetDimension(arg2
,arg3
);
37223 wxPyEndAllowThreads(__tstate
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37226 Py_INCREF(Py_None
); resultobj
= Py_None
;
37233 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37234 PyObject
*resultobj
;
37235 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37237 PyObject
* obj0
= 0 ;
37238 char *kwnames
[] = {
37239 (char *) "self", NULL
37242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37244 if (SWIG_arg_fail(1)) SWIG_fail
;
37246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37247 result
= (arg1
)->GetMinSize();
37249 wxPyEndAllowThreads(__tstate
);
37250 if (PyErr_Occurred()) SWIG_fail
;
37253 wxSize
* resultptr
;
37254 resultptr
= new wxSize((wxSize
&)(result
));
37255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37263 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 char *kwnames
[] = {
37269 (char *) "self", NULL
37272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37274 if (SWIG_arg_fail(1)) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37283 wxSize
* resultptr
;
37284 resultptr
= new wxSize((wxSize
&)(result
));
37285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37293 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37294 PyObject
*resultobj
;
37295 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37298 PyObject
* obj0
= 0 ;
37299 PyObject
* obj1
= 0 ;
37300 PyObject
* obj2
= 0 ;
37301 char *kwnames
[] = {
37302 (char *) "self",(char *) "x",(char *) "y", NULL
37305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37307 if (SWIG_arg_fail(1)) SWIG_fail
;
37309 arg2
= (int)(SWIG_As_int(obj1
));
37310 if (SWIG_arg_fail(2)) SWIG_fail
;
37313 arg3
= (int)(SWIG_As_int(obj2
));
37314 if (SWIG_arg_fail(3)) SWIG_fail
;
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->SetInitSize(arg2
,arg3
);
37320 wxPyEndAllowThreads(__tstate
);
37321 if (PyErr_Occurred()) SWIG_fail
;
37323 Py_INCREF(Py_None
); resultobj
= Py_None
;
37330 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37331 PyObject
*resultobj
;
37332 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37335 PyObject
* obj0
= 0 ;
37336 PyObject
* obj1
= 0 ;
37337 PyObject
* obj2
= 0 ;
37338 char *kwnames
[] = {
37339 (char *) "self",(char *) "width",(char *) "height", NULL
37342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37344 if (SWIG_arg_fail(1)) SWIG_fail
;
37346 arg2
= (int)(SWIG_As_int(obj1
));
37347 if (SWIG_arg_fail(2)) SWIG_fail
;
37350 arg3
= (int)(SWIG_As_int(obj2
));
37351 if (SWIG_arg_fail(3)) SWIG_fail
;
37354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37355 (arg1
)->SetRatio(arg2
,arg3
);
37357 wxPyEndAllowThreads(__tstate
);
37358 if (PyErr_Occurred()) SWIG_fail
;
37360 Py_INCREF(Py_None
); resultobj
= Py_None
;
37367 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
;
37369 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37371 PyObject
* obj0
= 0 ;
37372 PyObject
* obj1
= 0 ;
37373 char *kwnames
[] = {
37374 (char *) "self",(char *) "size", NULL
37377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37379 if (SWIG_arg_fail(1)) SWIG_fail
;
37382 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37383 if (SWIG_arg_fail(2)) SWIG_fail
;
37384 if (argp
== NULL
) {
37385 SWIG_null_ref("wxSize");
37387 if (SWIG_arg_fail(2)) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 (arg1
)->SetRatio(arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 Py_INCREF(Py_None
); resultobj
= Py_None
;
37404 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self",(char *) "ratio", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37416 if (SWIG_arg_fail(1)) SWIG_fail
;
37418 arg2
= (float)(SWIG_As_float(obj1
));
37419 if (SWIG_arg_fail(2)) SWIG_fail
;
37422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37423 (arg1
)->SetRatio(arg2
);
37425 wxPyEndAllowThreads(__tstate
);
37426 if (PyErr_Occurred()) SWIG_fail
;
37428 Py_INCREF(Py_None
); resultobj
= Py_None
;
37435 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37436 PyObject
*resultobj
;
37437 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37439 PyObject
* obj0
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
37445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37446 if (SWIG_arg_fail(1)) SWIG_fail
;
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 result
= (float)(arg1
)->GetRatio();
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_From_float((float)(result
));
37463 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37464 PyObject
*resultobj
;
37465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37467 PyObject
* obj0
= 0 ;
37468 char *kwnames
[] = {
37469 (char *) "self", NULL
37472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
37473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37474 if (SWIG_arg_fail(1)) SWIG_fail
;
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 result
= (arg1
)->GetRect();
37479 wxPyEndAllowThreads(__tstate
);
37480 if (PyErr_Occurred()) SWIG_fail
;
37483 wxRect
* resultptr
;
37484 resultptr
= new wxRect((wxRect
&)(result
));
37485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
37493 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37494 PyObject
*resultobj
;
37495 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37497 PyObject
* obj0
= 0 ;
37498 char *kwnames
[] = {
37499 (char *) "self", NULL
37502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
37503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37504 if (SWIG_arg_fail(1)) SWIG_fail
;
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37507 result
= (bool)(arg1
)->IsWindow();
37509 wxPyEndAllowThreads(__tstate
);
37510 if (PyErr_Occurred()) SWIG_fail
;
37513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37521 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
;
37523 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37525 PyObject
* obj0
= 0 ;
37526 char *kwnames
[] = {
37527 (char *) "self", NULL
37530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
37531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37532 if (SWIG_arg_fail(1)) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (bool)(arg1
)->IsSizer();
37537 wxPyEndAllowThreads(__tstate
);
37538 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37549 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
;
37551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37553 PyObject
* obj0
= 0 ;
37554 char *kwnames
[] = {
37555 (char *) "self", NULL
37558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
37559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37560 if (SWIG_arg_fail(1)) SWIG_fail
;
37562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 result
= (bool)(arg1
)->IsSpacer();
37565 wxPyEndAllowThreads(__tstate
);
37566 if (PyErr_Occurred()) SWIG_fail
;
37569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37577 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37578 PyObject
*resultobj
;
37579 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37581 PyObject
* obj0
= 0 ;
37582 PyObject
* obj1
= 0 ;
37583 char *kwnames
[] = {
37584 (char *) "self",(char *) "proportion", NULL
37587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
37588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37589 if (SWIG_arg_fail(1)) SWIG_fail
;
37591 arg2
= (int)(SWIG_As_int(obj1
));
37592 if (SWIG_arg_fail(2)) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 (arg1
)->SetProportion(arg2
);
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37601 Py_INCREF(Py_None
); resultobj
= Py_None
;
37608 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37612 PyObject
* obj0
= 0 ;
37613 char *kwnames
[] = {
37614 (char *) "self", NULL
37617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
37618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37619 if (SWIG_arg_fail(1)) SWIG_fail
;
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 result
= (int)(arg1
)->GetProportion();
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37628 resultobj
= SWIG_From_int((int)(result
));
37636 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self",(char *) "flag", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
37647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37648 if (SWIG_arg_fail(1)) SWIG_fail
;
37650 arg2
= (int)(SWIG_As_int(obj1
));
37651 if (SWIG_arg_fail(2)) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->SetFlag(arg2
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37660 Py_INCREF(Py_None
); resultobj
= Py_None
;
37667 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37671 PyObject
* obj0
= 0 ;
37672 char *kwnames
[] = {
37673 (char *) "self", NULL
37676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
37677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37678 if (SWIG_arg_fail(1)) SWIG_fail
;
37680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37681 result
= (int)(arg1
)->GetFlag();
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= SWIG_From_int((int)(result
));
37695 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37696 PyObject
*resultobj
;
37697 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 char *kwnames
[] = {
37702 (char *) "self",(char *) "border", NULL
37705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
37706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37707 if (SWIG_arg_fail(1)) SWIG_fail
;
37709 arg2
= (int)(SWIG_As_int(obj1
));
37710 if (SWIG_arg_fail(2)) SWIG_fail
;
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 (arg1
)->SetBorder(arg2
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 Py_INCREF(Py_None
); resultobj
= Py_None
;
37726 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
;
37728 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37730 PyObject
* obj0
= 0 ;
37731 char *kwnames
[] = {
37732 (char *) "self", NULL
37735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
37736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37737 if (SWIG_arg_fail(1)) SWIG_fail
;
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 result
= (int)(arg1
)->GetBorder();
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37746 resultobj
= SWIG_From_int((int)(result
));
37754 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37755 PyObject
*resultobj
;
37756 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37758 PyObject
* obj0
= 0 ;
37759 char *kwnames
[] = {
37760 (char *) "self", NULL
37763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
37764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37765 if (SWIG_arg_fail(1)) SWIG_fail
;
37767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37768 result
= (wxWindow
*)(arg1
)->GetWindow();
37770 wxPyEndAllowThreads(__tstate
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= wxPyMake_wxObject(result
, 0);
37782 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37783 PyObject
*resultobj
;
37784 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37785 wxWindow
*arg2
= (wxWindow
*) 0 ;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 char *kwnames
[] = {
37789 (char *) "self",(char *) "window", NULL
37792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
37793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37794 if (SWIG_arg_fail(1)) SWIG_fail
;
37795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37796 if (SWIG_arg_fail(2)) SWIG_fail
;
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 (arg1
)->SetWindow(arg2
);
37801 wxPyEndAllowThreads(__tstate
);
37802 if (PyErr_Occurred()) SWIG_fail
;
37804 Py_INCREF(Py_None
); resultobj
= Py_None
;
37811 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
;
37813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37815 PyObject
* obj0
= 0 ;
37816 char *kwnames
[] = {
37817 (char *) "self", NULL
37820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
37821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37822 if (SWIG_arg_fail(1)) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 result
= (wxSizer
*)(arg1
)->GetSizer();
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37831 resultobj
= wxPyMake_wxSizer(result
, 0);
37839 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
;
37841 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37842 wxSizer
*arg2
= (wxSizer
*) 0 ;
37843 PyObject
* obj0
= 0 ;
37844 PyObject
* obj1
= 0 ;
37845 char *kwnames
[] = {
37846 (char *) "self",(char *) "sizer", NULL
37849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37851 if (SWIG_arg_fail(1)) SWIG_fail
;
37852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37853 if (SWIG_arg_fail(2)) SWIG_fail
;
37855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37856 (arg1
)->SetSizer(arg2
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 Py_INCREF(Py_None
); resultobj
= Py_None
;
37868 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37869 PyObject
*resultobj
;
37870 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37872 PyObject
* obj0
= 0 ;
37873 char *kwnames
[] = {
37874 (char *) "self", NULL
37877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
37878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37879 if (SWIG_arg_fail(1)) SWIG_fail
;
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37883 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
37884 result
= (wxSize
*) &_result_ref
;
37887 wxPyEndAllowThreads(__tstate
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
37897 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37898 PyObject
*resultobj
;
37899 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37902 PyObject
* obj0
= 0 ;
37903 PyObject
* obj1
= 0 ;
37904 char *kwnames
[] = {
37905 (char *) "self",(char *) "size", NULL
37908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
37909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37910 if (SWIG_arg_fail(1)) SWIG_fail
;
37913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 Py_INCREF(Py_None
); resultobj
= Py_None
;
37929 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37930 PyObject
*resultobj
;
37931 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37935 char *kwnames
[] = {
37936 (char *) "self",(char *) "show", NULL
37939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
37940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37941 if (SWIG_arg_fail(1)) SWIG_fail
;
37943 arg2
= (bool)(SWIG_As_bool(obj1
));
37944 if (SWIG_arg_fail(2)) SWIG_fail
;
37947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 (arg1
)->Show(arg2
);
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37953 Py_INCREF(Py_None
); resultobj
= Py_None
;
37960 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37961 PyObject
*resultobj
;
37962 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37964 PyObject
* obj0
= 0 ;
37965 char *kwnames
[] = {
37966 (char *) "self", NULL
37969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
37970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37971 if (SWIG_arg_fail(1)) SWIG_fail
;
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 result
= (bool)(arg1
)->IsShown();
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37988 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37989 PyObject
*resultobj
;
37990 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37992 PyObject
* obj0
= 0 ;
37993 char *kwnames
[] = {
37994 (char *) "self", NULL
37997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
37998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37999 if (SWIG_arg_fail(1)) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 result
= (arg1
)->GetPosition();
38004 wxPyEndAllowThreads(__tstate
);
38005 if (PyErr_Occurred()) SWIG_fail
;
38008 wxPoint
* resultptr
;
38009 resultptr
= new wxPoint((wxPoint
&)(result
));
38010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38018 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38019 PyObject
*resultobj
;
38020 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38022 PyObject
* obj0
= 0 ;
38023 char *kwnames
[] = {
38024 (char *) "self", NULL
38027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38029 if (SWIG_arg_fail(1)) SWIG_fail
;
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= result
;
38044 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38047 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38049 return Py_BuildValue((char *)"");
38051 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38052 PyObject
*resultobj
;
38053 wxSizer
*arg1
= (wxSizer
*) 0 ;
38054 PyObject
*arg2
= (PyObject
*) 0 ;
38055 PyObject
* obj0
= 0 ;
38056 PyObject
* obj1
= 0 ;
38057 char *kwnames
[] = {
38058 (char *) "self",(char *) "_self", NULL
38061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38063 if (SWIG_arg_fail(1)) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 wxSizer__setOORInfo(arg1
,arg2
);
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38072 Py_INCREF(Py_None
); resultobj
= Py_None
;
38079 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
;
38081 wxSizer
*arg1
= (wxSizer
*) 0 ;
38082 PyObject
*arg2
= (PyObject
*) 0 ;
38083 int arg3
= (int) 0 ;
38084 int arg4
= (int) 0 ;
38085 int arg5
= (int) 0 ;
38086 PyObject
*arg6
= (PyObject
*) NULL
;
38087 wxSizerItem
*result
;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 PyObject
* obj2
= 0 ;
38091 PyObject
* obj3
= 0 ;
38092 PyObject
* obj4
= 0 ;
38093 PyObject
* obj5
= 0 ;
38094 char *kwnames
[] = {
38095 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38100 if (SWIG_arg_fail(1)) SWIG_fail
;
38104 arg3
= (int)(SWIG_As_int(obj2
));
38105 if (SWIG_arg_fail(3)) SWIG_fail
;
38110 arg4
= (int)(SWIG_As_int(obj3
));
38111 if (SWIG_arg_fail(4)) SWIG_fail
;
38116 arg5
= (int)(SWIG_As_int(obj4
));
38117 if (SWIG_arg_fail(5)) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38137 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
;
38139 wxSizer
*arg1
= (wxSizer
*) 0 ;
38141 PyObject
*arg3
= (PyObject
*) 0 ;
38142 int arg4
= (int) 0 ;
38143 int arg5
= (int) 0 ;
38144 int arg6
= (int) 0 ;
38145 PyObject
*arg7
= (PyObject
*) NULL
;
38146 wxSizerItem
*result
;
38147 PyObject
* obj0
= 0 ;
38148 PyObject
* obj1
= 0 ;
38149 PyObject
* obj2
= 0 ;
38150 PyObject
* obj3
= 0 ;
38151 PyObject
* obj4
= 0 ;
38152 PyObject
* obj5
= 0 ;
38153 PyObject
* obj6
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38160 if (SWIG_arg_fail(1)) SWIG_fail
;
38162 arg2
= (int)(SWIG_As_int(obj1
));
38163 if (SWIG_arg_fail(2)) SWIG_fail
;
38168 arg4
= (int)(SWIG_As_int(obj3
));
38169 if (SWIG_arg_fail(4)) SWIG_fail
;
38174 arg5
= (int)(SWIG_As_int(obj4
));
38175 if (SWIG_arg_fail(5)) SWIG_fail
;
38180 arg6
= (int)(SWIG_As_int(obj5
));
38181 if (SWIG_arg_fail(6)) SWIG_fail
;
38188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38189 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38201 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
;
38203 wxSizer
*arg1
= (wxSizer
*) 0 ;
38204 PyObject
*arg2
= (PyObject
*) 0 ;
38205 int arg3
= (int) 0 ;
38206 int arg4
= (int) 0 ;
38207 int arg5
= (int) 0 ;
38208 PyObject
*arg6
= (PyObject
*) NULL
;
38209 wxSizerItem
*result
;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 PyObject
* obj2
= 0 ;
38213 PyObject
* obj3
= 0 ;
38214 PyObject
* obj4
= 0 ;
38215 PyObject
* obj5
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38222 if (SWIG_arg_fail(1)) SWIG_fail
;
38226 arg3
= (int)(SWIG_As_int(obj2
));
38227 if (SWIG_arg_fail(3)) SWIG_fail
;
38232 arg4
= (int)(SWIG_As_int(obj3
));
38233 if (SWIG_arg_fail(4)) SWIG_fail
;
38238 arg5
= (int)(SWIG_As_int(obj4
));
38239 if (SWIG_arg_fail(5)) SWIG_fail
;
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38259 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38260 PyObject
*resultobj
;
38261 wxSizer
*arg1
= (wxSizer
*) 0 ;
38262 PyObject
*arg2
= (PyObject
*) 0 ;
38264 PyObject
* obj0
= 0 ;
38265 PyObject
* obj1
= 0 ;
38266 char *kwnames
[] = {
38267 (char *) "self",(char *) "item", NULL
38270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38272 if (SWIG_arg_fail(1)) SWIG_fail
;
38275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38276 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38278 wxPyEndAllowThreads(__tstate
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38290 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38291 PyObject
*resultobj
;
38292 wxSizer
*arg1
= (wxSizer
*) 0 ;
38293 PyObject
*arg2
= (PyObject
*) 0 ;
38295 PyObject
* obj0
= 0 ;
38296 PyObject
* obj1
= 0 ;
38297 char *kwnames
[] = {
38298 (char *) "self",(char *) "item", NULL
38301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38303 if (SWIG_arg_fail(1)) SWIG_fail
;
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38321 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38322 PyObject
*resultobj
;
38323 wxSizer
*arg1
= (wxSizer
*) 0 ;
38324 PyObject
*arg2
= (PyObject
*) 0 ;
38325 wxSizerItem
*result
;
38326 PyObject
* obj0
= 0 ;
38327 PyObject
* obj1
= 0 ;
38328 char *kwnames
[] = {
38329 (char *) "self",(char *) "item", NULL
38332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38334 if (SWIG_arg_fail(1)) SWIG_fail
;
38337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38338 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38350 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
;
38352 wxSizer
*arg1
= (wxSizer
*) 0 ;
38353 PyObject
*arg2
= (PyObject
*) 0 ;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 PyObject
* obj2
= 0 ;
38359 char *kwnames
[] = {
38360 (char *) "self",(char *) "item",(char *) "size", NULL
38363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38365 if (SWIG_arg_fail(1)) SWIG_fail
;
38369 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38378 Py_INCREF(Py_None
); resultobj
= Py_None
;
38385 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38386 PyObject
*resultobj
;
38387 wxSizer
*arg1
= (wxSizer
*) 0 ;
38388 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38389 wxSizerItem
*result
;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 char *kwnames
[] = {
38393 (char *) "self",(char *) "item", NULL
38396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38398 if (SWIG_arg_fail(1)) SWIG_fail
;
38399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38400 if (SWIG_arg_fail(2)) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38415 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
;
38417 wxSizer
*arg1
= (wxSizer
*) 0 ;
38419 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
38420 wxSizerItem
*result
;
38421 PyObject
* obj0
= 0 ;
38422 PyObject
* obj1
= 0 ;
38423 PyObject
* obj2
= 0 ;
38424 char *kwnames
[] = {
38425 (char *) "self",(char *) "index",(char *) "item", NULL
38428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38430 if (SWIG_arg_fail(1)) SWIG_fail
;
38432 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
38433 if (SWIG_arg_fail(2)) SWIG_fail
;
38435 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38436 if (SWIG_arg_fail(3)) SWIG_fail
;
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
38441 wxPyEndAllowThreads(__tstate
);
38442 if (PyErr_Occurred()) SWIG_fail
;
38444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38451 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38452 PyObject
*resultobj
;
38453 wxSizer
*arg1
= (wxSizer
*) 0 ;
38454 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38455 wxSizerItem
*result
;
38456 PyObject
* obj0
= 0 ;
38457 PyObject
* obj1
= 0 ;
38458 char *kwnames
[] = {
38459 (char *) "self",(char *) "item", NULL
38462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38464 if (SWIG_arg_fail(1)) SWIG_fail
;
38465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38466 if (SWIG_arg_fail(2)) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38481 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
;
38483 wxSizer
*arg1
= (wxSizer
*) 0 ;
38488 PyObject
* obj0
= 0 ;
38489 PyObject
* obj1
= 0 ;
38490 PyObject
* obj2
= 0 ;
38491 PyObject
* obj3
= 0 ;
38492 PyObject
* obj4
= 0 ;
38493 char *kwnames
[] = {
38494 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38499 if (SWIG_arg_fail(1)) SWIG_fail
;
38501 arg2
= (int)(SWIG_As_int(obj1
));
38502 if (SWIG_arg_fail(2)) SWIG_fail
;
38505 arg3
= (int)(SWIG_As_int(obj2
));
38506 if (SWIG_arg_fail(3)) SWIG_fail
;
38509 arg4
= (int)(SWIG_As_int(obj3
));
38510 if (SWIG_arg_fail(4)) SWIG_fail
;
38513 arg5
= (int)(SWIG_As_int(obj4
));
38514 if (SWIG_arg_fail(5)) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38523 Py_INCREF(Py_None
); resultobj
= Py_None
;
38530 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38531 PyObject
*resultobj
;
38532 wxSizer
*arg1
= (wxSizer
*) 0 ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 char *kwnames
[] = {
38538 (char *) "self",(char *) "size", NULL
38541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38543 if (SWIG_arg_fail(1)) SWIG_fail
;
38546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
38552 wxPyEndAllowThreads(__tstate
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38555 Py_INCREF(Py_None
); resultobj
= Py_None
;
38562 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38563 PyObject
*resultobj
;
38564 wxSizer
*arg1
= (wxSizer
*) 0 ;
38566 PyObject
* obj0
= 0 ;
38567 char *kwnames
[] = {
38568 (char *) "self", NULL
38571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
38572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38573 if (SWIG_arg_fail(1)) SWIG_fail
;
38575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38576 result
= (arg1
)->GetSize();
38578 wxPyEndAllowThreads(__tstate
);
38579 if (PyErr_Occurred()) SWIG_fail
;
38582 wxSize
* resultptr
;
38583 resultptr
= new wxSize((wxSize
&)(result
));
38584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38592 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38593 PyObject
*resultobj
;
38594 wxSizer
*arg1
= (wxSizer
*) 0 ;
38596 PyObject
* obj0
= 0 ;
38597 char *kwnames
[] = {
38598 (char *) "self", NULL
38601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
38602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38603 if (SWIG_arg_fail(1)) SWIG_fail
;
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 result
= (arg1
)->GetPosition();
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38612 wxPoint
* resultptr
;
38613 resultptr
= new wxPoint((wxPoint
&)(result
));
38614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38622 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38623 PyObject
*resultobj
;
38624 wxSizer
*arg1
= (wxSizer
*) 0 ;
38626 PyObject
* obj0
= 0 ;
38627 char *kwnames
[] = {
38628 (char *) "self", NULL
38631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
38632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38633 if (SWIG_arg_fail(1)) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 result
= (arg1
)->GetMinSize();
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 wxSize
* resultptr
;
38643 resultptr
= new wxSize((wxSize
&)(result
));
38644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38652 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38653 PyObject
*resultobj
;
38654 wxSizer
*arg1
= (wxSizer
*) 0 ;
38655 PyObject
* obj0
= 0 ;
38656 char *kwnames
[] = {
38657 (char *) "self", NULL
38660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38662 if (SWIG_arg_fail(1)) SWIG_fail
;
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 (arg1
)->RecalcSizes();
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38670 Py_INCREF(Py_None
); resultobj
= Py_None
;
38677 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38678 PyObject
*resultobj
;
38679 wxSizer
*arg1
= (wxSizer
*) 0 ;
38681 PyObject
* obj0
= 0 ;
38682 char *kwnames
[] = {
38683 (char *) "self", NULL
38686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38688 if (SWIG_arg_fail(1)) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 result
= (arg1
)->CalcMin();
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38697 wxSize
* resultptr
;
38698 resultptr
= new wxSize((wxSize
&)(result
));
38699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38707 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38708 PyObject
*resultobj
;
38709 wxSizer
*arg1
= (wxSizer
*) 0 ;
38710 PyObject
* obj0
= 0 ;
38711 char *kwnames
[] = {
38712 (char *) "self", NULL
38715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
38716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38717 if (SWIG_arg_fail(1)) SWIG_fail
;
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38725 Py_INCREF(Py_None
); resultobj
= Py_None
;
38732 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38733 PyObject
*resultobj
;
38734 wxSizer
*arg1
= (wxSizer
*) 0 ;
38735 wxWindow
*arg2
= (wxWindow
*) 0 ;
38737 PyObject
* obj0
= 0 ;
38738 PyObject
* obj1
= 0 ;
38739 char *kwnames
[] = {
38740 (char *) "self",(char *) "window", NULL
38743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
38744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38745 if (SWIG_arg_fail(1)) SWIG_fail
;
38746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38747 if (SWIG_arg_fail(2)) SWIG_fail
;
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= (arg1
)->Fit(arg2
);
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38756 wxSize
* resultptr
;
38757 resultptr
= new wxSize((wxSize
&)(result
));
38758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38766 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38767 PyObject
*resultobj
;
38768 wxSizer
*arg1
= (wxSizer
*) 0 ;
38769 wxWindow
*arg2
= (wxWindow
*) 0 ;
38770 PyObject
* obj0
= 0 ;
38771 PyObject
* obj1
= 0 ;
38772 char *kwnames
[] = {
38773 (char *) "self",(char *) "window", NULL
38776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
38777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38778 if (SWIG_arg_fail(1)) SWIG_fail
;
38779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38780 if (SWIG_arg_fail(2)) SWIG_fail
;
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 (arg1
)->FitInside(arg2
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 Py_INCREF(Py_None
); resultobj
= Py_None
;
38795 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38796 PyObject
*resultobj
;
38797 wxSizer
*arg1
= (wxSizer
*) 0 ;
38798 wxWindow
*arg2
= (wxWindow
*) 0 ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 char *kwnames
[] = {
38802 (char *) "self",(char *) "window", NULL
38805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38807 if (SWIG_arg_fail(1)) SWIG_fail
;
38808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38809 if (SWIG_arg_fail(2)) SWIG_fail
;
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 (arg1
)->SetSizeHints(arg2
);
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38817 Py_INCREF(Py_None
); resultobj
= Py_None
;
38824 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38825 PyObject
*resultobj
;
38826 wxSizer
*arg1
= (wxSizer
*) 0 ;
38827 wxWindow
*arg2
= (wxWindow
*) 0 ;
38828 PyObject
* obj0
= 0 ;
38829 PyObject
* obj1
= 0 ;
38830 char *kwnames
[] = {
38831 (char *) "self",(char *) "window", NULL
38834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38836 if (SWIG_arg_fail(1)) SWIG_fail
;
38837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38838 if (SWIG_arg_fail(2)) SWIG_fail
;
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->SetVirtualSizeHints(arg2
);
38843 wxPyEndAllowThreads(__tstate
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38846 Py_INCREF(Py_None
); resultobj
= Py_None
;
38853 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38854 PyObject
*resultobj
;
38855 wxSizer
*arg1
= (wxSizer
*) 0 ;
38856 bool arg2
= (bool) false ;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 char *kwnames
[] = {
38860 (char *) "self",(char *) "deleteWindows", NULL
38863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
38864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38865 if (SWIG_arg_fail(1)) SWIG_fail
;
38868 arg2
= (bool)(SWIG_As_bool(obj1
));
38869 if (SWIG_arg_fail(2)) SWIG_fail
;
38873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38874 (arg1
)->Clear(arg2
);
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38879 Py_INCREF(Py_None
); resultobj
= Py_None
;
38886 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38887 PyObject
*resultobj
;
38888 wxSizer
*arg1
= (wxSizer
*) 0 ;
38889 PyObject
* obj0
= 0 ;
38890 char *kwnames
[] = {
38891 (char *) "self", NULL
38894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38896 if (SWIG_arg_fail(1)) SWIG_fail
;
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 (arg1
)->DeleteWindows();
38901 wxPyEndAllowThreads(__tstate
);
38902 if (PyErr_Occurred()) SWIG_fail
;
38904 Py_INCREF(Py_None
); resultobj
= Py_None
;
38911 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38912 PyObject
*resultobj
;
38913 wxSizer
*arg1
= (wxSizer
*) 0 ;
38915 PyObject
* obj0
= 0 ;
38916 char *kwnames
[] = {
38917 (char *) "self", NULL
38920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
38921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38922 if (SWIG_arg_fail(1)) SWIG_fail
;
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
38927 wxPyEndAllowThreads(__tstate
);
38928 if (PyErr_Occurred()) SWIG_fail
;
38930 resultobj
= result
;
38937 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38938 PyObject
*resultobj
;
38939 wxSizer
*arg1
= (wxSizer
*) 0 ;
38940 PyObject
*arg2
= (PyObject
*) 0 ;
38941 bool arg3
= (bool) true ;
38942 bool arg4
= (bool) false ;
38944 PyObject
* obj0
= 0 ;
38945 PyObject
* obj1
= 0 ;
38946 PyObject
* obj2
= 0 ;
38947 PyObject
* obj3
= 0 ;
38948 char *kwnames
[] = {
38949 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
38952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38954 if (SWIG_arg_fail(1)) SWIG_fail
;
38958 arg3
= (bool)(SWIG_As_bool(obj2
));
38959 if (SWIG_arg_fail(3)) SWIG_fail
;
38964 arg4
= (bool)(SWIG_As_bool(obj3
));
38965 if (SWIG_arg_fail(4)) SWIG_fail
;
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
38972 wxPyEndAllowThreads(__tstate
);
38973 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38984 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38985 PyObject
*resultobj
;
38986 wxSizer
*arg1
= (wxSizer
*) 0 ;
38987 PyObject
*arg2
= (PyObject
*) 0 ;
38989 PyObject
* obj0
= 0 ;
38990 PyObject
* obj1
= 0 ;
38991 char *kwnames
[] = {
38992 (char *) "self",(char *) "item", NULL
38995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
38996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38997 if (SWIG_arg_fail(1)) SWIG_fail
;
39000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39001 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39003 wxPyEndAllowThreads(__tstate
);
39004 if (PyErr_Occurred()) SWIG_fail
;
39007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39015 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39016 PyObject
*resultobj
;
39017 wxSizer
*arg1
= (wxSizer
*) 0 ;
39019 PyObject
* obj0
= 0 ;
39020 PyObject
* obj1
= 0 ;
39021 char *kwnames
[] = {
39022 (char *) "self",(char *) "show", NULL
39025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39027 if (SWIG_arg_fail(1)) SWIG_fail
;
39029 arg2
= (bool)(SWIG_As_bool(obj1
));
39030 if (SWIG_arg_fail(2)) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 (arg1
)->ShowItems(arg2
);
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39039 Py_INCREF(Py_None
); resultobj
= Py_None
;
39046 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39049 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39051 return Py_BuildValue((char *)"");
39053 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39054 PyObject
*resultobj
;
39056 char *kwnames
[] = {
39060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 result
= (wxPySizer
*)new wxPySizer();
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39075 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39076 PyObject
*resultobj
;
39077 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39078 PyObject
*arg2
= (PyObject
*) 0 ;
39079 PyObject
*arg3
= (PyObject
*) 0 ;
39080 PyObject
* obj0
= 0 ;
39081 PyObject
* obj1
= 0 ;
39082 PyObject
* obj2
= 0 ;
39083 char *kwnames
[] = {
39084 (char *) "self",(char *) "self",(char *) "_class", NULL
39087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39089 if (SWIG_arg_fail(1)) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 Py_INCREF(Py_None
); resultobj
= Py_None
;
39106 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39109 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39111 return Py_BuildValue((char *)"");
39113 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39114 PyObject
*resultobj
;
39115 int arg1
= (int) wxHORIZONTAL
;
39116 wxBoxSizer
*result
;
39117 PyObject
* obj0
= 0 ;
39118 char *kwnames
[] = {
39119 (char *) "orient", NULL
39122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39125 arg1
= (int)(SWIG_As_int(obj0
));
39126 if (SWIG_arg_fail(1)) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39143 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39147 PyObject
* obj0
= 0 ;
39148 char *kwnames
[] = {
39149 (char *) "self", NULL
39152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39154 if (SWIG_arg_fail(1)) SWIG_fail
;
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 result
= (int)(arg1
)->GetOrientation();
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39163 resultobj
= SWIG_From_int((int)(result
));
39171 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39172 PyObject
*resultobj
;
39173 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39175 PyObject
* obj0
= 0 ;
39176 PyObject
* obj1
= 0 ;
39177 char *kwnames
[] = {
39178 (char *) "self",(char *) "orient", NULL
39181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39183 if (SWIG_arg_fail(1)) SWIG_fail
;
39185 arg2
= (int)(SWIG_As_int(obj1
));
39186 if (SWIG_arg_fail(2)) SWIG_fail
;
39189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39190 (arg1
)->SetOrientation(arg2
);
39192 wxPyEndAllowThreads(__tstate
);
39193 if (PyErr_Occurred()) SWIG_fail
;
39195 Py_INCREF(Py_None
); resultobj
= Py_None
;
39202 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39205 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39207 return Py_BuildValue((char *)"");
39209 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39210 PyObject
*resultobj
;
39211 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39212 int arg2
= (int) wxHORIZONTAL
;
39213 wxStaticBoxSizer
*result
;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 char *kwnames
[] = {
39217 (char *) "box",(char *) "orient", NULL
39220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39222 if (SWIG_arg_fail(1)) SWIG_fail
;
39225 arg2
= (int)(SWIG_As_int(obj1
));
39226 if (SWIG_arg_fail(2)) SWIG_fail
;
39230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39231 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39233 wxPyEndAllowThreads(__tstate
);
39234 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39243 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39244 PyObject
*resultobj
;
39245 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39246 wxStaticBox
*result
;
39247 PyObject
* obj0
= 0 ;
39248 char *kwnames
[] = {
39249 (char *) "self", NULL
39252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39254 if (SWIG_arg_fail(1)) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39263 resultobj
= wxPyMake_wxObject(result
, 0);
39271 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39274 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39276 return Py_BuildValue((char *)"");
39278 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39279 PyObject
*resultobj
;
39280 int arg1
= (int) 1 ;
39281 int arg2
= (int) 0 ;
39282 int arg3
= (int) 0 ;
39283 int arg4
= (int) 0 ;
39284 wxGridSizer
*result
;
39285 PyObject
* obj0
= 0 ;
39286 PyObject
* obj1
= 0 ;
39287 PyObject
* obj2
= 0 ;
39288 PyObject
* obj3
= 0 ;
39289 char *kwnames
[] = {
39290 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39296 arg1
= (int)(SWIG_As_int(obj0
));
39297 if (SWIG_arg_fail(1)) SWIG_fail
;
39302 arg2
= (int)(SWIG_As_int(obj1
));
39303 if (SWIG_arg_fail(2)) SWIG_fail
;
39308 arg3
= (int)(SWIG_As_int(obj2
));
39309 if (SWIG_arg_fail(3)) SWIG_fail
;
39314 arg4
= (int)(SWIG_As_int(obj3
));
39315 if (SWIG_arg_fail(4)) SWIG_fail
;
39319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39320 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39322 wxPyEndAllowThreads(__tstate
);
39323 if (PyErr_Occurred()) SWIG_fail
;
39325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39332 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39333 PyObject
*resultobj
;
39334 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39336 PyObject
* obj0
= 0 ;
39337 PyObject
* obj1
= 0 ;
39338 char *kwnames
[] = {
39339 (char *) "self",(char *) "cols", NULL
39342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39344 if (SWIG_arg_fail(1)) SWIG_fail
;
39346 arg2
= (int)(SWIG_As_int(obj1
));
39347 if (SWIG_arg_fail(2)) SWIG_fail
;
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 (arg1
)->SetCols(arg2
);
39353 wxPyEndAllowThreads(__tstate
);
39354 if (PyErr_Occurred()) SWIG_fail
;
39356 Py_INCREF(Py_None
); resultobj
= Py_None
;
39363 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39364 PyObject
*resultobj
;
39365 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39367 PyObject
* obj0
= 0 ;
39368 PyObject
* obj1
= 0 ;
39369 char *kwnames
[] = {
39370 (char *) "self",(char *) "rows", NULL
39373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39375 if (SWIG_arg_fail(1)) SWIG_fail
;
39377 arg2
= (int)(SWIG_As_int(obj1
));
39378 if (SWIG_arg_fail(2)) SWIG_fail
;
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 (arg1
)->SetRows(arg2
);
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39387 Py_INCREF(Py_None
); resultobj
= Py_None
;
39394 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39395 PyObject
*resultobj
;
39396 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39398 PyObject
* obj0
= 0 ;
39399 PyObject
* obj1
= 0 ;
39400 char *kwnames
[] = {
39401 (char *) "self",(char *) "gap", NULL
39404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39406 if (SWIG_arg_fail(1)) SWIG_fail
;
39408 arg2
= (int)(SWIG_As_int(obj1
));
39409 if (SWIG_arg_fail(2)) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 (arg1
)->SetVGap(arg2
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 Py_INCREF(Py_None
); resultobj
= Py_None
;
39425 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39429 PyObject
* obj0
= 0 ;
39430 PyObject
* obj1
= 0 ;
39431 char *kwnames
[] = {
39432 (char *) "self",(char *) "gap", NULL
39435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39437 if (SWIG_arg_fail(1)) SWIG_fail
;
39439 arg2
= (int)(SWIG_As_int(obj1
));
39440 if (SWIG_arg_fail(2)) SWIG_fail
;
39443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39444 (arg1
)->SetHGap(arg2
);
39446 wxPyEndAllowThreads(__tstate
);
39447 if (PyErr_Occurred()) SWIG_fail
;
39449 Py_INCREF(Py_None
); resultobj
= Py_None
;
39456 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39457 PyObject
*resultobj
;
39458 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39460 PyObject
* obj0
= 0 ;
39461 char *kwnames
[] = {
39462 (char *) "self", NULL
39465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
39466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39467 if (SWIG_arg_fail(1)) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 result
= (int)(arg1
)->GetCols();
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= SWIG_From_int((int)(result
));
39484 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39485 PyObject
*resultobj
;
39486 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39488 PyObject
* obj0
= 0 ;
39489 char *kwnames
[] = {
39490 (char *) "self", NULL
39493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
39494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39495 if (SWIG_arg_fail(1)) SWIG_fail
;
39497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39498 result
= (int)(arg1
)->GetRows();
39500 wxPyEndAllowThreads(__tstate
);
39501 if (PyErr_Occurred()) SWIG_fail
;
39504 resultobj
= SWIG_From_int((int)(result
));
39512 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39513 PyObject
*resultobj
;
39514 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39516 PyObject
* obj0
= 0 ;
39517 char *kwnames
[] = {
39518 (char *) "self", NULL
39521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
39522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39523 if (SWIG_arg_fail(1)) SWIG_fail
;
39525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39526 result
= (int)(arg1
)->GetVGap();
39528 wxPyEndAllowThreads(__tstate
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39532 resultobj
= SWIG_From_int((int)(result
));
39540 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39541 PyObject
*resultobj
;
39542 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39544 PyObject
* obj0
= 0 ;
39545 char *kwnames
[] = {
39546 (char *) "self", NULL
39549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
39550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39551 if (SWIG_arg_fail(1)) SWIG_fail
;
39553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39554 result
= (int)(arg1
)->GetHGap();
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39560 resultobj
= SWIG_From_int((int)(result
));
39568 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
39570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39571 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
39573 return Py_BuildValue((char *)"");
39575 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39576 PyObject
*resultobj
;
39577 int arg1
= (int) 1 ;
39578 int arg2
= (int) 0 ;
39579 int arg3
= (int) 0 ;
39580 int arg4
= (int) 0 ;
39581 wxFlexGridSizer
*result
;
39582 PyObject
* obj0
= 0 ;
39583 PyObject
* obj1
= 0 ;
39584 PyObject
* obj2
= 0 ;
39585 PyObject
* obj3
= 0 ;
39586 char *kwnames
[] = {
39587 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39593 arg1
= (int)(SWIG_As_int(obj0
));
39594 if (SWIG_arg_fail(1)) SWIG_fail
;
39599 arg2
= (int)(SWIG_As_int(obj1
));
39600 if (SWIG_arg_fail(2)) SWIG_fail
;
39605 arg3
= (int)(SWIG_As_int(obj2
));
39606 if (SWIG_arg_fail(3)) SWIG_fail
;
39611 arg4
= (int)(SWIG_As_int(obj3
));
39612 if (SWIG_arg_fail(4)) SWIG_fail
;
39616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39617 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
39629 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39630 PyObject
*resultobj
;
39631 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39633 int arg3
= (int) 0 ;
39634 PyObject
* obj0
= 0 ;
39635 PyObject
* obj1
= 0 ;
39636 PyObject
* obj2
= 0 ;
39637 char *kwnames
[] = {
39638 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail
;
39645 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39646 if (SWIG_arg_fail(2)) SWIG_fail
;
39650 arg3
= (int)(SWIG_As_int(obj2
));
39651 if (SWIG_arg_fail(3)) SWIG_fail
;
39655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39656 (arg1
)->AddGrowableRow(arg2
,arg3
);
39658 wxPyEndAllowThreads(__tstate
);
39659 if (PyErr_Occurred()) SWIG_fail
;
39661 Py_INCREF(Py_None
); resultobj
= Py_None
;
39668 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39669 PyObject
*resultobj
;
39670 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39672 PyObject
* obj0
= 0 ;
39673 PyObject
* obj1
= 0 ;
39674 char *kwnames
[] = {
39675 (char *) "self",(char *) "idx", NULL
39678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
39679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39680 if (SWIG_arg_fail(1)) SWIG_fail
;
39682 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39683 if (SWIG_arg_fail(2)) SWIG_fail
;
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 (arg1
)->RemoveGrowableRow(arg2
);
39689 wxPyEndAllowThreads(__tstate
);
39690 if (PyErr_Occurred()) SWIG_fail
;
39692 Py_INCREF(Py_None
); resultobj
= Py_None
;
39699 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39700 PyObject
*resultobj
;
39701 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39703 int arg3
= (int) 0 ;
39704 PyObject
* obj0
= 0 ;
39705 PyObject
* obj1
= 0 ;
39706 PyObject
* obj2
= 0 ;
39707 char *kwnames
[] = {
39708 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39713 if (SWIG_arg_fail(1)) SWIG_fail
;
39715 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39716 if (SWIG_arg_fail(2)) SWIG_fail
;
39720 arg3
= (int)(SWIG_As_int(obj2
));
39721 if (SWIG_arg_fail(3)) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 (arg1
)->AddGrowableCol(arg2
,arg3
);
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 Py_INCREF(Py_None
); resultobj
= Py_None
;
39738 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39742 PyObject
* obj0
= 0 ;
39743 PyObject
* obj1
= 0 ;
39744 char *kwnames
[] = {
39745 (char *) "self",(char *) "idx", NULL
39748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
39749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39750 if (SWIG_arg_fail(1)) SWIG_fail
;
39752 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39753 if (SWIG_arg_fail(2)) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 (arg1
)->RemoveGrowableCol(arg2
);
39759 wxPyEndAllowThreads(__tstate
);
39760 if (PyErr_Occurred()) SWIG_fail
;
39762 Py_INCREF(Py_None
); resultobj
= Py_None
;
39769 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39770 PyObject
*resultobj
;
39771 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39773 PyObject
* obj0
= 0 ;
39774 PyObject
* obj1
= 0 ;
39775 char *kwnames
[] = {
39776 (char *) "self",(char *) "direction", NULL
39779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
39780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39781 if (SWIG_arg_fail(1)) SWIG_fail
;
39783 arg2
= (int)(SWIG_As_int(obj1
));
39784 if (SWIG_arg_fail(2)) SWIG_fail
;
39787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39788 (arg1
)->SetFlexibleDirection(arg2
);
39790 wxPyEndAllowThreads(__tstate
);
39791 if (PyErr_Occurred()) SWIG_fail
;
39793 Py_INCREF(Py_None
); resultobj
= Py_None
;
39800 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39801 PyObject
*resultobj
;
39802 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39804 PyObject
* obj0
= 0 ;
39805 char *kwnames
[] = {
39806 (char *) "self", NULL
39809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
39810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39811 if (SWIG_arg_fail(1)) SWIG_fail
;
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (int)(arg1
)->GetFlexibleDirection();
39816 wxPyEndAllowThreads(__tstate
);
39817 if (PyErr_Occurred()) SWIG_fail
;
39820 resultobj
= SWIG_From_int((int)(result
));
39828 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
;
39830 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39831 wxFlexSizerGrowMode arg2
;
39832 PyObject
* obj0
= 0 ;
39833 PyObject
* obj1
= 0 ;
39834 char *kwnames
[] = {
39835 (char *) "self",(char *) "mode", NULL
39838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
39839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39840 if (SWIG_arg_fail(1)) SWIG_fail
;
39842 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
39843 if (SWIG_arg_fail(2)) SWIG_fail
;
39846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
39849 wxPyEndAllowThreads(__tstate
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 Py_INCREF(Py_None
); resultobj
= Py_None
;
39859 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39862 wxFlexSizerGrowMode result
;
39863 PyObject
* obj0
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
39869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39870 if (SWIG_arg_fail(1)) SWIG_fail
;
39872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39873 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= SWIG_From_int((result
));
39885 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39886 PyObject
*resultobj
;
39887 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39888 wxArrayInt
*result
;
39889 PyObject
* obj0
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
39895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39896 if (SWIG_arg_fail(1)) SWIG_fail
;
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39900 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
39901 result
= (wxArrayInt
*) &_result_ref
;
39904 wxPyEndAllowThreads(__tstate
);
39905 if (PyErr_Occurred()) SWIG_fail
;
39908 resultobj
= PyList_New(0);
39910 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
39911 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
39912 PyList_Append(resultobj
, val
);
39922 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39925 wxArrayInt
*result
;
39926 PyObject
* obj0
= 0 ;
39927 char *kwnames
[] = {
39928 (char *) "self", NULL
39931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
39932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39933 if (SWIG_arg_fail(1)) SWIG_fail
;
39935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39937 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
39938 result
= (wxArrayInt
*) &_result_ref
;
39941 wxPyEndAllowThreads(__tstate
);
39942 if (PyErr_Occurred()) SWIG_fail
;
39945 resultobj
= PyList_New(0);
39947 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
39948 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
39949 PyList_Append(resultobj
, val
);
39959 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
39961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39962 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
39964 return Py_BuildValue((char *)"");
39966 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
;
39968 wxStdDialogButtonSizer
*result
;
39969 char *kwnames
[] = {
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
39988 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
39991 wxButton
*arg2
= (wxButton
*) 0 ;
39992 PyObject
* obj0
= 0 ;
39993 PyObject
* obj1
= 0 ;
39994 char *kwnames
[] = {
39995 (char *) "self",(char *) "button", NULL
39998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
39999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40000 if (SWIG_arg_fail(1)) SWIG_fail
;
40001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40002 if (SWIG_arg_fail(2)) SWIG_fail
;
40004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40005 (arg1
)->AddButton(arg2
);
40007 wxPyEndAllowThreads(__tstate
);
40008 if (PyErr_Occurred()) SWIG_fail
;
40010 Py_INCREF(Py_None
); resultobj
= Py_None
;
40017 static PyObject
*_wrap_StdDialogButtonSizer_Finalise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40018 PyObject
*resultobj
;
40019 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40020 PyObject
* obj0
= 0 ;
40021 char *kwnames
[] = {
40022 (char *) "self", NULL
40025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Finalise",kwnames
,&obj0
)) goto fail
;
40026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40027 if (SWIG_arg_fail(1)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->Finalise();
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 Py_INCREF(Py_None
); resultobj
= Py_None
;
40042 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40045 wxButton
*arg2
= (wxButton
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 PyObject
* obj1
= 0 ;
40048 char *kwnames
[] = {
40049 (char *) "self",(char *) "button", NULL
40052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40054 if (SWIG_arg_fail(1)) SWIG_fail
;
40055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40056 if (SWIG_arg_fail(2)) SWIG_fail
;
40058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40059 (arg1
)->SetAffirmativeButton(arg2
);
40061 wxPyEndAllowThreads(__tstate
);
40062 if (PyErr_Occurred()) SWIG_fail
;
40064 Py_INCREF(Py_None
); resultobj
= Py_None
;
40071 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40072 PyObject
*resultobj
;
40073 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40074 wxButton
*arg2
= (wxButton
*) 0 ;
40075 PyObject
* obj0
= 0 ;
40076 PyObject
* obj1
= 0 ;
40077 char *kwnames
[] = {
40078 (char *) "self",(char *) "button", NULL
40081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40083 if (SWIG_arg_fail(1)) SWIG_fail
;
40084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40085 if (SWIG_arg_fail(2)) SWIG_fail
;
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40088 (arg1
)->SetNegativeButton(arg2
);
40090 wxPyEndAllowThreads(__tstate
);
40091 if (PyErr_Occurred()) SWIG_fail
;
40093 Py_INCREF(Py_None
); resultobj
= Py_None
;
40100 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40101 PyObject
*resultobj
;
40102 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40103 wxButton
*arg2
= (wxButton
*) 0 ;
40104 PyObject
* obj0
= 0 ;
40105 PyObject
* obj1
= 0 ;
40106 char *kwnames
[] = {
40107 (char *) "self",(char *) "button", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40112 if (SWIG_arg_fail(1)) SWIG_fail
;
40113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40114 if (SWIG_arg_fail(2)) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 (arg1
)->SetCancelButton(arg2
);
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40122 Py_INCREF(Py_None
); resultobj
= Py_None
;
40129 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40130 PyObject
*resultobj
;
40131 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40133 PyObject
* obj0
= 0 ;
40134 char *kwnames
[] = {
40135 (char *) "self", NULL
40138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40140 if (SWIG_arg_fail(1)) SWIG_fail
;
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40145 wxPyEndAllowThreads(__tstate
);
40146 if (PyErr_Occurred()) SWIG_fail
;
40149 resultobj
= wxPyMake_wxObject(result
, 0);
40157 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
;
40159 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40161 PyObject
* obj0
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40168 if (SWIG_arg_fail(1)) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40177 resultobj
= wxPyMake_wxObject(result
, 0);
40185 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40186 PyObject
*resultobj
;
40187 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40189 PyObject
* obj0
= 0 ;
40190 char *kwnames
[] = {
40191 (char *) "self", NULL
40194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40196 if (SWIG_arg_fail(1)) SWIG_fail
;
40198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40199 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40201 wxPyEndAllowThreads(__tstate
);
40202 if (PyErr_Occurred()) SWIG_fail
;
40205 resultobj
= wxPyMake_wxObject(result
, 0);
40213 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
;
40215 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 char *kwnames
[] = {
40219 (char *) "self", NULL
40222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40224 if (SWIG_arg_fail(1)) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40229 wxPyEndAllowThreads(__tstate
);
40230 if (PyErr_Occurred()) SWIG_fail
;
40233 resultobj
= wxPyMake_wxObject(result
, 0);
40241 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40242 PyObject
*resultobj
;
40243 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40245 PyObject
* obj0
= 0 ;
40246 char *kwnames
[] = {
40247 (char *) "self", NULL
40250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40252 if (SWIG_arg_fail(1)) SWIG_fail
;
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40261 resultobj
= wxPyMake_wxObject(result
, 0);
40269 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40272 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40274 return Py_BuildValue((char *)"");
40276 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40277 PyObject
*resultobj
;
40278 int arg1
= (int) 0 ;
40279 int arg2
= (int) 0 ;
40280 wxGBPosition
*result
;
40281 PyObject
* obj0
= 0 ;
40282 PyObject
* obj1
= 0 ;
40283 char *kwnames
[] = {
40284 (char *) "row",(char *) "col", NULL
40287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40290 arg1
= (int)(SWIG_As_int(obj0
));
40291 if (SWIG_arg_fail(1)) SWIG_fail
;
40296 arg2
= (int)(SWIG_As_int(obj1
));
40297 if (SWIG_arg_fail(2)) SWIG_fail
;
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40314 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40315 PyObject
*resultobj
;
40316 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40318 PyObject
* obj0
= 0 ;
40319 char *kwnames
[] = {
40320 (char *) "self", NULL
40323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40325 if (SWIG_arg_fail(1)) SWIG_fail
;
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40330 wxPyEndAllowThreads(__tstate
);
40331 if (PyErr_Occurred()) SWIG_fail
;
40334 resultobj
= SWIG_From_int((int)(result
));
40342 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40343 PyObject
*resultobj
;
40344 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40346 PyObject
* obj0
= 0 ;
40347 char *kwnames
[] = {
40348 (char *) "self", NULL
40351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40353 if (SWIG_arg_fail(1)) SWIG_fail
;
40355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40356 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40358 wxPyEndAllowThreads(__tstate
);
40359 if (PyErr_Occurred()) SWIG_fail
;
40362 resultobj
= SWIG_From_int((int)(result
));
40370 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40371 PyObject
*resultobj
;
40372 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40374 PyObject
* obj0
= 0 ;
40375 PyObject
* obj1
= 0 ;
40376 char *kwnames
[] = {
40377 (char *) "self",(char *) "row", NULL
40380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40382 if (SWIG_arg_fail(1)) SWIG_fail
;
40384 arg2
= (int)(SWIG_As_int(obj1
));
40385 if (SWIG_arg_fail(2)) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 (arg1
)->SetRow(arg2
);
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40394 Py_INCREF(Py_None
); resultobj
= Py_None
;
40401 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
;
40403 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40405 PyObject
* obj0
= 0 ;
40406 PyObject
* obj1
= 0 ;
40407 char *kwnames
[] = {
40408 (char *) "self",(char *) "col", NULL
40411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40413 if (SWIG_arg_fail(1)) SWIG_fail
;
40415 arg2
= (int)(SWIG_As_int(obj1
));
40416 if (SWIG_arg_fail(2)) SWIG_fail
;
40419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40420 (arg1
)->SetCol(arg2
);
40422 wxPyEndAllowThreads(__tstate
);
40423 if (PyErr_Occurred()) SWIG_fail
;
40425 Py_INCREF(Py_None
); resultobj
= Py_None
;
40432 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40433 PyObject
*resultobj
;
40434 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40435 wxGBPosition
*arg2
= 0 ;
40437 wxGBPosition temp2
;
40438 PyObject
* obj0
= 0 ;
40439 PyObject
* obj1
= 0 ;
40440 char *kwnames
[] = {
40441 (char *) "self",(char *) "other", NULL
40444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40446 if (SWIG_arg_fail(1)) SWIG_fail
;
40449 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40455 wxPyEndAllowThreads(__tstate
);
40456 if (PyErr_Occurred()) SWIG_fail
;
40459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40467 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40470 wxGBPosition
*arg2
= 0 ;
40472 wxGBPosition temp2
;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 char *kwnames
[] = {
40476 (char *) "self",(char *) "other", NULL
40479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40481 if (SWIG_arg_fail(1)) SWIG_fail
;
40484 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40490 wxPyEndAllowThreads(__tstate
);
40491 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40502 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40503 PyObject
*resultobj
;
40504 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40505 int arg2
= (int) 0 ;
40506 int arg3
= (int) 0 ;
40507 PyObject
* obj0
= 0 ;
40508 PyObject
* obj1
= 0 ;
40509 PyObject
* obj2
= 0 ;
40510 char *kwnames
[] = {
40511 (char *) "self",(char *) "row",(char *) "col", NULL
40514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40516 if (SWIG_arg_fail(1)) SWIG_fail
;
40519 arg2
= (int)(SWIG_As_int(obj1
));
40520 if (SWIG_arg_fail(2)) SWIG_fail
;
40525 arg3
= (int)(SWIG_As_int(obj2
));
40526 if (SWIG_arg_fail(3)) SWIG_fail
;
40530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40531 wxGBPosition_Set(arg1
,arg2
,arg3
);
40533 wxPyEndAllowThreads(__tstate
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40536 Py_INCREF(Py_None
); resultobj
= Py_None
;
40543 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40544 PyObject
*resultobj
;
40545 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40547 PyObject
* obj0
= 0 ;
40548 char *kwnames
[] = {
40549 (char *) "self", NULL
40552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
40553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40554 if (SWIG_arg_fail(1)) SWIG_fail
;
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 result
= (PyObject
*)wxGBPosition_Get(arg1
);
40559 wxPyEndAllowThreads(__tstate
);
40560 if (PyErr_Occurred()) SWIG_fail
;
40562 resultobj
= result
;
40569 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
40571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40572 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
40574 return Py_BuildValue((char *)"");
40576 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40577 PyObject
*resultobj
;
40578 int arg1
= (int) 1 ;
40579 int arg2
= (int) 1 ;
40581 PyObject
* obj0
= 0 ;
40582 PyObject
* obj1
= 0 ;
40583 char *kwnames
[] = {
40584 (char *) "rowspan",(char *) "colspan", NULL
40587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
40590 arg1
= (int)(SWIG_As_int(obj0
));
40591 if (SWIG_arg_fail(1)) SWIG_fail
;
40596 arg2
= (int)(SWIG_As_int(obj1
));
40597 if (SWIG_arg_fail(2)) SWIG_fail
;
40601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40602 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
40604 wxPyEndAllowThreads(__tstate
);
40605 if (PyErr_Occurred()) SWIG_fail
;
40607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
40614 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40616 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40618 PyObject
* obj0
= 0 ;
40619 char *kwnames
[] = {
40620 (char *) "self", NULL
40623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
40624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40625 if (SWIG_arg_fail(1)) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40634 resultobj
= SWIG_From_int((int)(result
));
40642 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40643 PyObject
*resultobj
;
40644 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40646 PyObject
* obj0
= 0 ;
40647 char *kwnames
[] = {
40648 (char *) "self", NULL
40651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
40652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40653 if (SWIG_arg_fail(1)) SWIG_fail
;
40655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
40658 wxPyEndAllowThreads(__tstate
);
40659 if (PyErr_Occurred()) SWIG_fail
;
40662 resultobj
= SWIG_From_int((int)(result
));
40670 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40671 PyObject
*resultobj
;
40672 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40674 PyObject
* obj0
= 0 ;
40675 PyObject
* obj1
= 0 ;
40676 char *kwnames
[] = {
40677 (char *) "self",(char *) "rowspan", NULL
40680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40682 if (SWIG_arg_fail(1)) SWIG_fail
;
40684 arg2
= (int)(SWIG_As_int(obj1
));
40685 if (SWIG_arg_fail(2)) SWIG_fail
;
40688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40689 (arg1
)->SetRowspan(arg2
);
40691 wxPyEndAllowThreads(__tstate
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40694 Py_INCREF(Py_None
); resultobj
= Py_None
;
40701 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40702 PyObject
*resultobj
;
40703 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40705 PyObject
* obj0
= 0 ;
40706 PyObject
* obj1
= 0 ;
40707 char *kwnames
[] = {
40708 (char *) "self",(char *) "colspan", NULL
40711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40713 if (SWIG_arg_fail(1)) SWIG_fail
;
40715 arg2
= (int)(SWIG_As_int(obj1
));
40716 if (SWIG_arg_fail(2)) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 (arg1
)->SetColspan(arg2
);
40722 wxPyEndAllowThreads(__tstate
);
40723 if (PyErr_Occurred()) SWIG_fail
;
40725 Py_INCREF(Py_None
); resultobj
= Py_None
;
40732 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40733 PyObject
*resultobj
;
40734 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40735 wxGBSpan
*arg2
= 0 ;
40738 PyObject
* obj0
= 0 ;
40739 PyObject
* obj1
= 0 ;
40740 char *kwnames
[] = {
40741 (char *) "self",(char *) "other", NULL
40744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40746 if (SWIG_arg_fail(1)) SWIG_fail
;
40749 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40767 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40768 PyObject
*resultobj
;
40769 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40770 wxGBSpan
*arg2
= 0 ;
40773 PyObject
* obj0
= 0 ;
40774 PyObject
* obj1
= 0 ;
40775 char *kwnames
[] = {
40776 (char *) "self",(char *) "other", NULL
40779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40781 if (SWIG_arg_fail(1)) SWIG_fail
;
40784 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
40790 wxPyEndAllowThreads(__tstate
);
40791 if (PyErr_Occurred()) SWIG_fail
;
40794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40802 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40803 PyObject
*resultobj
;
40804 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40805 int arg2
= (int) 1 ;
40806 int arg3
= (int) 1 ;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 PyObject
* obj2
= 0 ;
40810 char *kwnames
[] = {
40811 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
40814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40816 if (SWIG_arg_fail(1)) SWIG_fail
;
40819 arg2
= (int)(SWIG_As_int(obj1
));
40820 if (SWIG_arg_fail(2)) SWIG_fail
;
40825 arg3
= (int)(SWIG_As_int(obj2
));
40826 if (SWIG_arg_fail(3)) SWIG_fail
;
40830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40831 wxGBSpan_Set(arg1
,arg2
,arg3
);
40833 wxPyEndAllowThreads(__tstate
);
40834 if (PyErr_Occurred()) SWIG_fail
;
40836 Py_INCREF(Py_None
); resultobj
= Py_None
;
40843 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40844 PyObject
*resultobj
;
40845 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40847 PyObject
* obj0
= 0 ;
40848 char *kwnames
[] = {
40849 (char *) "self", NULL
40852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
40853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40854 if (SWIG_arg_fail(1)) SWIG_fail
;
40856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40857 result
= (PyObject
*)wxGBSpan_Get(arg1
);
40859 wxPyEndAllowThreads(__tstate
);
40860 if (PyErr_Occurred()) SWIG_fail
;
40862 resultobj
= result
;
40869 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
40871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40872 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
40874 return Py_BuildValue((char *)"");
40876 static int _wrap_DefaultSpan_set(PyObject
*) {
40877 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
40882 static PyObject
*_wrap_DefaultSpan_get(void) {
40885 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
40890 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40891 PyObject
*resultobj
;
40892 wxGBSizerItem
*result
;
40893 char *kwnames
[] = {
40897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
40899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40900 result
= (wxGBSizerItem
*)new wxGBSizerItem();
40902 wxPyEndAllowThreads(__tstate
);
40903 if (PyErr_Occurred()) SWIG_fail
;
40905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40912 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40913 PyObject
*resultobj
;
40914 wxWindow
*arg1
= (wxWindow
*) 0 ;
40915 wxGBPosition
*arg2
= 0 ;
40916 wxGBSpan
*arg3
= 0 ;
40919 PyObject
*arg6
= (PyObject
*) NULL
;
40920 wxGBSizerItem
*result
;
40921 wxGBPosition temp2
;
40923 PyObject
* obj0
= 0 ;
40924 PyObject
* obj1
= 0 ;
40925 PyObject
* obj2
= 0 ;
40926 PyObject
* obj3
= 0 ;
40927 PyObject
* obj4
= 0 ;
40928 PyObject
* obj5
= 0 ;
40929 char *kwnames
[] = {
40930 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40935 if (SWIG_arg_fail(1)) SWIG_fail
;
40938 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40942 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40945 arg4
= (int)(SWIG_As_int(obj3
));
40946 if (SWIG_arg_fail(4)) SWIG_fail
;
40949 arg5
= (int)(SWIG_As_int(obj4
));
40950 if (SWIG_arg_fail(5)) SWIG_fail
;
40956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40957 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
40959 wxPyEndAllowThreads(__tstate
);
40960 if (PyErr_Occurred()) SWIG_fail
;
40962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40969 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40970 PyObject
*resultobj
;
40971 wxSizer
*arg1
= (wxSizer
*) 0 ;
40972 wxGBPosition
*arg2
= 0 ;
40973 wxGBSpan
*arg3
= 0 ;
40976 PyObject
*arg6
= (PyObject
*) NULL
;
40977 wxGBSizerItem
*result
;
40978 wxGBPosition temp2
;
40980 PyObject
* obj0
= 0 ;
40981 PyObject
* obj1
= 0 ;
40982 PyObject
* obj2
= 0 ;
40983 PyObject
* obj3
= 0 ;
40984 PyObject
* obj4
= 0 ;
40985 PyObject
* obj5
= 0 ;
40986 char *kwnames
[] = {
40987 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40992 if (SWIG_arg_fail(1)) SWIG_fail
;
40995 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40999 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41002 arg4
= (int)(SWIG_As_int(obj3
));
41003 if (SWIG_arg_fail(4)) SWIG_fail
;
41006 arg5
= (int)(SWIG_As_int(obj4
));
41007 if (SWIG_arg_fail(5)) SWIG_fail
;
41013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41014 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41016 wxPyEndAllowThreads(__tstate
);
41017 if (PyErr_Occurred()) SWIG_fail
;
41019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41026 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41027 PyObject
*resultobj
;
41030 wxGBPosition
*arg3
= 0 ;
41031 wxGBSpan
*arg4
= 0 ;
41034 PyObject
*arg7
= (PyObject
*) NULL
;
41035 wxGBSizerItem
*result
;
41036 wxGBPosition temp3
;
41038 PyObject
* obj0
= 0 ;
41039 PyObject
* obj1
= 0 ;
41040 PyObject
* obj2
= 0 ;
41041 PyObject
* obj3
= 0 ;
41042 PyObject
* obj4
= 0 ;
41043 PyObject
* obj5
= 0 ;
41044 PyObject
* obj6
= 0 ;
41045 char *kwnames
[] = {
41046 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41051 arg1
= (int)(SWIG_As_int(obj0
));
41052 if (SWIG_arg_fail(1)) SWIG_fail
;
41055 arg2
= (int)(SWIG_As_int(obj1
));
41056 if (SWIG_arg_fail(2)) SWIG_fail
;
41060 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41064 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41067 arg5
= (int)(SWIG_As_int(obj4
));
41068 if (SWIG_arg_fail(5)) SWIG_fail
;
41071 arg6
= (int)(SWIG_As_int(obj5
));
41072 if (SWIG_arg_fail(6)) SWIG_fail
;
41078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41079 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41081 wxPyEndAllowThreads(__tstate
);
41082 if (PyErr_Occurred()) SWIG_fail
;
41084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41091 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41092 PyObject
*resultobj
;
41093 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41094 wxGBPosition result
;
41095 PyObject
* obj0
= 0 ;
41096 char *kwnames
[] = {
41097 (char *) "self", NULL
41100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41102 if (SWIG_arg_fail(1)) SWIG_fail
;
41104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41105 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41107 wxPyEndAllowThreads(__tstate
);
41108 if (PyErr_Occurred()) SWIG_fail
;
41111 wxGBPosition
* resultptr
;
41112 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41121 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41122 PyObject
*resultobj
;
41123 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41125 PyObject
* obj0
= 0 ;
41126 char *kwnames
[] = {
41127 (char *) "self", NULL
41130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41132 if (SWIG_arg_fail(1)) SWIG_fail
;
41134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41135 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41137 wxPyEndAllowThreads(__tstate
);
41138 if (PyErr_Occurred()) SWIG_fail
;
41141 wxGBSpan
* resultptr
;
41142 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41151 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41152 PyObject
*resultobj
;
41153 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41154 wxGBPosition
*arg2
= 0 ;
41156 wxGBPosition temp2
;
41157 PyObject
* obj0
= 0 ;
41158 PyObject
* obj1
= 0 ;
41159 char *kwnames
[] = {
41160 (char *) "self",(char *) "pos", NULL
41163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail
;
41168 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41172 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41174 wxPyEndAllowThreads(__tstate
);
41175 if (PyErr_Occurred()) SWIG_fail
;
41178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41186 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41187 PyObject
*resultobj
;
41188 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41189 wxGBSpan
*arg2
= 0 ;
41192 PyObject
* obj0
= 0 ;
41193 PyObject
* obj1
= 0 ;
41194 char *kwnames
[] = {
41195 (char *) "self",(char *) "span", NULL
41198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41200 if (SWIG_arg_fail(1)) SWIG_fail
;
41203 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41207 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41209 wxPyEndAllowThreads(__tstate
);
41210 if (PyErr_Occurred()) SWIG_fail
;
41213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41221 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41222 PyObject
*resultobj
;
41223 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41224 wxGBSizerItem
*arg2
= 0 ;
41226 PyObject
* obj0
= 0 ;
41227 PyObject
* obj1
= 0 ;
41228 char *kwnames
[] = {
41229 (char *) "self",(char *) "other", NULL
41232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41234 if (SWIG_arg_fail(1)) SWIG_fail
;
41236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41237 if (SWIG_arg_fail(2)) SWIG_fail
;
41238 if (arg2
== NULL
) {
41239 SWIG_null_ref("wxGBSizerItem");
41241 if (SWIG_arg_fail(2)) SWIG_fail
;
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41247 wxPyEndAllowThreads(__tstate
);
41248 if (PyErr_Occurred()) SWIG_fail
;
41251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41259 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41260 PyObject
*resultobj
;
41261 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41262 wxGBPosition
*arg2
= 0 ;
41263 wxGBSpan
*arg3
= 0 ;
41265 wxGBPosition temp2
;
41267 PyObject
* obj0
= 0 ;
41268 PyObject
* obj1
= 0 ;
41269 PyObject
* obj2
= 0 ;
41270 char *kwnames
[] = {
41271 (char *) "self",(char *) "pos",(char *) "span", NULL
41274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41276 if (SWIG_arg_fail(1)) SWIG_fail
;
41279 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41283 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41287 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41289 wxPyEndAllowThreads(__tstate
);
41290 if (PyErr_Occurred()) SWIG_fail
;
41293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41301 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41302 PyObject
*resultobj
;
41303 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41304 wxGBPosition result
;
41305 PyObject
* obj0
= 0 ;
41306 char *kwnames
[] = {
41307 (char *) "self", NULL
41310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41312 if (SWIG_arg_fail(1)) SWIG_fail
;
41314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41315 result
= wxGBSizerItem_GetEndPos(arg1
);
41317 wxPyEndAllowThreads(__tstate
);
41318 if (PyErr_Occurred()) SWIG_fail
;
41321 wxGBPosition
* resultptr
;
41322 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41331 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41332 PyObject
*resultobj
;
41333 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41334 wxGridBagSizer
*result
;
41335 PyObject
* obj0
= 0 ;
41336 char *kwnames
[] = {
41337 (char *) "self", NULL
41340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41342 if (SWIG_arg_fail(1)) SWIG_fail
;
41344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41345 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41347 wxPyEndAllowThreads(__tstate
);
41348 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41357 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41358 PyObject
*resultobj
;
41359 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41360 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41361 PyObject
* obj0
= 0 ;
41362 PyObject
* obj1
= 0 ;
41363 char *kwnames
[] = {
41364 (char *) "self",(char *) "sizer", NULL
41367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41369 if (SWIG_arg_fail(1)) SWIG_fail
;
41370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41371 if (SWIG_arg_fail(2)) SWIG_fail
;
41373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41374 (arg1
)->SetGBSizer(arg2
);
41376 wxPyEndAllowThreads(__tstate
);
41377 if (PyErr_Occurred()) SWIG_fail
;
41379 Py_INCREF(Py_None
); resultobj
= Py_None
;
41386 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41389 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41391 return Py_BuildValue((char *)"");
41393 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
;
41395 int arg1
= (int) 0 ;
41396 int arg2
= (int) 0 ;
41397 wxGridBagSizer
*result
;
41398 PyObject
* obj0
= 0 ;
41399 PyObject
* obj1
= 0 ;
41400 char *kwnames
[] = {
41401 (char *) "vgap",(char *) "hgap", NULL
41404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41407 arg1
= (int)(SWIG_As_int(obj0
));
41408 if (SWIG_arg_fail(1)) SWIG_fail
;
41413 arg2
= (int)(SWIG_As_int(obj1
));
41414 if (SWIG_arg_fail(2)) SWIG_fail
;
41418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41419 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41421 wxPyEndAllowThreads(__tstate
);
41422 if (PyErr_Occurred()) SWIG_fail
;
41424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41431 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41432 PyObject
*resultobj
;
41433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41434 PyObject
*arg2
= (PyObject
*) 0 ;
41435 wxGBPosition
*arg3
= 0 ;
41436 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41437 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41438 int arg5
= (int) 0 ;
41439 int arg6
= (int) 0 ;
41440 PyObject
*arg7
= (PyObject
*) NULL
;
41441 wxGBSizerItem
*result
;
41442 wxGBPosition temp3
;
41444 PyObject
* obj0
= 0 ;
41445 PyObject
* obj1
= 0 ;
41446 PyObject
* obj2
= 0 ;
41447 PyObject
* obj3
= 0 ;
41448 PyObject
* obj4
= 0 ;
41449 PyObject
* obj5
= 0 ;
41450 PyObject
* obj6
= 0 ;
41451 char *kwnames
[] = {
41452 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41457 if (SWIG_arg_fail(1)) SWIG_fail
;
41461 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41466 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41471 arg5
= (int)(SWIG_As_int(obj4
));
41472 if (SWIG_arg_fail(5)) SWIG_fail
;
41477 arg6
= (int)(SWIG_As_int(obj5
));
41478 if (SWIG_arg_fail(6)) SWIG_fail
;
41485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41486 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41488 wxPyEndAllowThreads(__tstate
);
41489 if (PyErr_Occurred()) SWIG_fail
;
41491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41498 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41499 PyObject
*resultobj
;
41500 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41501 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41502 wxGBSizerItem
*result
;
41503 PyObject
* obj0
= 0 ;
41504 PyObject
* obj1
= 0 ;
41505 char *kwnames
[] = {
41506 (char *) "self",(char *) "item", NULL
41509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
41510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41511 if (SWIG_arg_fail(1)) SWIG_fail
;
41512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41513 if (SWIG_arg_fail(2)) SWIG_fail
;
41515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41516 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41528 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41529 PyObject
*resultobj
;
41530 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41534 PyObject
* obj0
= 0 ;
41535 PyObject
* obj1
= 0 ;
41536 PyObject
* obj2
= 0 ;
41537 char *kwnames
[] = {
41538 (char *) "self",(char *) "row",(char *) "col", NULL
41541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41543 if (SWIG_arg_fail(1)) SWIG_fail
;
41545 arg2
= (int)(SWIG_As_int(obj1
));
41546 if (SWIG_arg_fail(2)) SWIG_fail
;
41549 arg3
= (int)(SWIG_As_int(obj2
));
41550 if (SWIG_arg_fail(3)) SWIG_fail
;
41553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41554 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
41556 wxPyEndAllowThreads(__tstate
);
41557 if (PyErr_Occurred()) SWIG_fail
;
41560 wxSize
* resultptr
;
41561 resultptr
= new wxSize((wxSize
&)(result
));
41562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41570 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41571 PyObject
*resultobj
;
41572 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41574 PyObject
* obj0
= 0 ;
41575 char *kwnames
[] = {
41576 (char *) "self", NULL
41579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
41580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41581 if (SWIG_arg_fail(1)) SWIG_fail
;
41583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41584 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
41586 wxPyEndAllowThreads(__tstate
);
41587 if (PyErr_Occurred()) SWIG_fail
;
41590 wxSize
* resultptr
;
41591 resultptr
= new wxSize((wxSize
&)(result
));
41592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41600 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41601 PyObject
*resultobj
;
41602 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41605 PyObject
* obj0
= 0 ;
41606 PyObject
* obj1
= 0 ;
41607 char *kwnames
[] = {
41608 (char *) "self",(char *) "sz", NULL
41611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
41612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41613 if (SWIG_arg_fail(1)) SWIG_fail
;
41616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
41619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41620 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
41622 wxPyEndAllowThreads(__tstate
);
41623 if (PyErr_Occurred()) SWIG_fail
;
41625 Py_INCREF(Py_None
); resultobj
= Py_None
;
41632 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41633 PyObject
*resultobj
;
41634 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41635 wxWindow
*arg2
= (wxWindow
*) 0 ;
41636 wxGBPosition result
;
41637 PyObject
* obj0
= 0 ;
41638 PyObject
* obj1
= 0 ;
41640 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41642 if (SWIG_arg_fail(1)) SWIG_fail
;
41643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41644 if (SWIG_arg_fail(2)) SWIG_fail
;
41646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41647 result
= (arg1
)->GetItemPosition(arg2
);
41649 wxPyEndAllowThreads(__tstate
);
41650 if (PyErr_Occurred()) SWIG_fail
;
41653 wxGBPosition
* resultptr
;
41654 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41663 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41664 PyObject
*resultobj
;
41665 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41666 wxSizer
*arg2
= (wxSizer
*) 0 ;
41667 wxGBPosition result
;
41668 PyObject
* obj0
= 0 ;
41669 PyObject
* obj1
= 0 ;
41671 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41673 if (SWIG_arg_fail(1)) SWIG_fail
;
41674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41675 if (SWIG_arg_fail(2)) SWIG_fail
;
41677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41678 result
= (arg1
)->GetItemPosition(arg2
);
41680 wxPyEndAllowThreads(__tstate
);
41681 if (PyErr_Occurred()) SWIG_fail
;
41684 wxGBPosition
* resultptr
;
41685 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41694 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41695 PyObject
*resultobj
;
41696 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41698 wxGBPosition result
;
41699 PyObject
* obj0
= 0 ;
41700 PyObject
* obj1
= 0 ;
41702 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41704 if (SWIG_arg_fail(1)) SWIG_fail
;
41706 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41707 if (SWIG_arg_fail(2)) SWIG_fail
;
41710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41711 result
= (arg1
)->GetItemPosition(arg2
);
41713 wxPyEndAllowThreads(__tstate
);
41714 if (PyErr_Occurred()) SWIG_fail
;
41717 wxGBPosition
* resultptr
;
41718 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41727 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
41732 argc
= PyObject_Length(args
);
41733 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
41734 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41750 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41758 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
41766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41776 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41784 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
41792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41800 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
41802 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
41807 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
41812 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41813 PyObject
*resultobj
;
41814 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41815 wxWindow
*arg2
= (wxWindow
*) 0 ;
41816 wxGBPosition
*arg3
= 0 ;
41818 wxGBPosition temp3
;
41819 PyObject
* obj0
= 0 ;
41820 PyObject
* obj1
= 0 ;
41821 PyObject
* obj2
= 0 ;
41823 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41825 if (SWIG_arg_fail(1)) SWIG_fail
;
41826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41827 if (SWIG_arg_fail(2)) SWIG_fail
;
41830 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41834 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41836 wxPyEndAllowThreads(__tstate
);
41837 if (PyErr_Occurred()) SWIG_fail
;
41840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41848 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41849 PyObject
*resultobj
;
41850 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41851 wxSizer
*arg2
= (wxSizer
*) 0 ;
41852 wxGBPosition
*arg3
= 0 ;
41854 wxGBPosition temp3
;
41855 PyObject
* obj0
= 0 ;
41856 PyObject
* obj1
= 0 ;
41857 PyObject
* obj2
= 0 ;
41859 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41861 if (SWIG_arg_fail(1)) SWIG_fail
;
41862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41863 if (SWIG_arg_fail(2)) SWIG_fail
;
41866 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41870 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41872 wxPyEndAllowThreads(__tstate
);
41873 if (PyErr_Occurred()) SWIG_fail
;
41876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41884 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41885 PyObject
*resultobj
;
41886 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41888 wxGBPosition
*arg3
= 0 ;
41890 wxGBPosition temp3
;
41891 PyObject
* obj0
= 0 ;
41892 PyObject
* obj1
= 0 ;
41893 PyObject
* obj2
= 0 ;
41895 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41897 if (SWIG_arg_fail(1)) SWIG_fail
;
41899 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41900 if (SWIG_arg_fail(2)) SWIG_fail
;
41904 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41908 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41910 wxPyEndAllowThreads(__tstate
);
41911 if (PyErr_Occurred()) SWIG_fail
;
41914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41922 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
41927 argc
= PyObject_Length(args
);
41928 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
41929 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41935 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41945 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41954 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41957 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
41966 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41976 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41985 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41988 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
41997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42005 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42008 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42011 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42017 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42022 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42023 PyObject
*resultobj
;
42024 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42025 wxWindow
*arg2
= (wxWindow
*) 0 ;
42027 PyObject
* obj0
= 0 ;
42028 PyObject
* obj1
= 0 ;
42030 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42032 if (SWIG_arg_fail(1)) SWIG_fail
;
42033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42034 if (SWIG_arg_fail(2)) SWIG_fail
;
42036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42037 result
= (arg1
)->GetItemSpan(arg2
);
42039 wxPyEndAllowThreads(__tstate
);
42040 if (PyErr_Occurred()) SWIG_fail
;
42043 wxGBSpan
* resultptr
;
42044 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42053 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42054 PyObject
*resultobj
;
42055 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42056 wxSizer
*arg2
= (wxSizer
*) 0 ;
42058 PyObject
* obj0
= 0 ;
42059 PyObject
* obj1
= 0 ;
42061 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42063 if (SWIG_arg_fail(1)) SWIG_fail
;
42064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42065 if (SWIG_arg_fail(2)) SWIG_fail
;
42067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42068 result
= (arg1
)->GetItemSpan(arg2
);
42070 wxPyEndAllowThreads(__tstate
);
42071 if (PyErr_Occurred()) SWIG_fail
;
42074 wxGBSpan
* resultptr
;
42075 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42084 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42085 PyObject
*resultobj
;
42086 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42089 PyObject
* obj0
= 0 ;
42090 PyObject
* obj1
= 0 ;
42092 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42094 if (SWIG_arg_fail(1)) SWIG_fail
;
42096 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42097 if (SWIG_arg_fail(2)) SWIG_fail
;
42100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42101 result
= (arg1
)->GetItemSpan(arg2
);
42103 wxPyEndAllowThreads(__tstate
);
42104 if (PyErr_Occurred()) SWIG_fail
;
42107 wxGBSpan
* resultptr
;
42108 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42117 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42122 argc
= PyObject_Length(args
);
42123 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42124 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42130 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42140 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42148 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42166 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42174 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42182 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42190 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42192 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42197 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42202 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42203 PyObject
*resultobj
;
42204 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42205 wxWindow
*arg2
= (wxWindow
*) 0 ;
42206 wxGBSpan
*arg3
= 0 ;
42209 PyObject
* obj0
= 0 ;
42210 PyObject
* obj1
= 0 ;
42211 PyObject
* obj2
= 0 ;
42213 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42215 if (SWIG_arg_fail(1)) SWIG_fail
;
42216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42217 if (SWIG_arg_fail(2)) SWIG_fail
;
42220 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42224 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42226 wxPyEndAllowThreads(__tstate
);
42227 if (PyErr_Occurred()) SWIG_fail
;
42230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42238 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42239 PyObject
*resultobj
;
42240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42241 wxSizer
*arg2
= (wxSizer
*) 0 ;
42242 wxGBSpan
*arg3
= 0 ;
42245 PyObject
* obj0
= 0 ;
42246 PyObject
* obj1
= 0 ;
42247 PyObject
* obj2
= 0 ;
42249 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42251 if (SWIG_arg_fail(1)) SWIG_fail
;
42252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42253 if (SWIG_arg_fail(2)) SWIG_fail
;
42256 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42262 wxPyEndAllowThreads(__tstate
);
42263 if (PyErr_Occurred()) SWIG_fail
;
42266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42274 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42275 PyObject
*resultobj
;
42276 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42278 wxGBSpan
*arg3
= 0 ;
42281 PyObject
* obj0
= 0 ;
42282 PyObject
* obj1
= 0 ;
42283 PyObject
* obj2
= 0 ;
42285 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42287 if (SWIG_arg_fail(1)) SWIG_fail
;
42289 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42290 if (SWIG_arg_fail(2)) SWIG_fail
;
42294 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42298 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42300 wxPyEndAllowThreads(__tstate
);
42301 if (PyErr_Occurred()) SWIG_fail
;
42304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42312 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42317 argc
= PyObject_Length(args
);
42318 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42319 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42325 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42335 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42344 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42347 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42356 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42366 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42375 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42378 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42395 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42398 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42401 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42407 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42412 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42413 PyObject
*resultobj
;
42414 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42415 wxWindow
*arg2
= (wxWindow
*) 0 ;
42416 wxGBSizerItem
*result
;
42417 PyObject
* obj0
= 0 ;
42418 PyObject
* obj1
= 0 ;
42420 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42422 if (SWIG_arg_fail(1)) SWIG_fail
;
42423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42424 if (SWIG_arg_fail(2)) SWIG_fail
;
42426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42427 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42429 wxPyEndAllowThreads(__tstate
);
42430 if (PyErr_Occurred()) SWIG_fail
;
42432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42439 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42440 PyObject
*resultobj
;
42441 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42442 wxSizer
*arg2
= (wxSizer
*) 0 ;
42443 wxGBSizerItem
*result
;
42444 PyObject
* obj0
= 0 ;
42445 PyObject
* obj1
= 0 ;
42447 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42449 if (SWIG_arg_fail(1)) SWIG_fail
;
42450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42451 if (SWIG_arg_fail(2)) SWIG_fail
;
42453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42454 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42456 wxPyEndAllowThreads(__tstate
);
42457 if (PyErr_Occurred()) SWIG_fail
;
42459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42466 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42471 argc
= PyObject_Length(args
);
42472 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42479 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42489 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42497 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
42505 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42515 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42523 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
42528 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
42533 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42534 PyObject
*resultobj
;
42535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42536 wxGBPosition
*arg2
= 0 ;
42537 wxGBSizerItem
*result
;
42538 wxGBPosition temp2
;
42539 PyObject
* obj0
= 0 ;
42540 PyObject
* obj1
= 0 ;
42541 char *kwnames
[] = {
42542 (char *) "self",(char *) "pos", NULL
42545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42547 if (SWIG_arg_fail(1)) SWIG_fail
;
42550 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42554 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
42556 wxPyEndAllowThreads(__tstate
);
42557 if (PyErr_Occurred()) SWIG_fail
;
42559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42566 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42567 PyObject
*resultobj
;
42568 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42569 wxPoint
*arg2
= 0 ;
42570 wxGBSizerItem
*result
;
42572 PyObject
* obj0
= 0 ;
42573 PyObject
* obj1
= 0 ;
42574 char *kwnames
[] = {
42575 (char *) "self",(char *) "pt", NULL
42578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
42579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42580 if (SWIG_arg_fail(1)) SWIG_fail
;
42583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
42586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42587 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
42589 wxPyEndAllowThreads(__tstate
);
42590 if (PyErr_Occurred()) SWIG_fail
;
42592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42599 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42600 PyObject
*resultobj
;
42601 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42602 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42603 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
42605 PyObject
* obj0
= 0 ;
42606 PyObject
* obj1
= 0 ;
42607 PyObject
* obj2
= 0 ;
42608 char *kwnames
[] = {
42609 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
42612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42614 if (SWIG_arg_fail(1)) SWIG_fail
;
42615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42616 if (SWIG_arg_fail(2)) SWIG_fail
;
42618 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42619 if (SWIG_arg_fail(3)) SWIG_fail
;
42622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42623 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
42625 wxPyEndAllowThreads(__tstate
);
42626 if (PyErr_Occurred()) SWIG_fail
;
42629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42637 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42638 PyObject
*resultobj
;
42639 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42640 wxGBPosition
*arg2
= 0 ;
42641 wxGBSpan
*arg3
= 0 ;
42642 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
42644 wxGBPosition temp2
;
42646 PyObject
* obj0
= 0 ;
42647 PyObject
* obj1
= 0 ;
42648 PyObject
* obj2
= 0 ;
42649 PyObject
* obj3
= 0 ;
42650 char *kwnames
[] = {
42651 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
42654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42656 if (SWIG_arg_fail(1)) SWIG_fail
;
42659 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42663 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42666 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42667 if (SWIG_arg_fail(4)) SWIG_fail
;
42670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42671 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
42673 wxPyEndAllowThreads(__tstate
);
42674 if (PyErr_Occurred()) SWIG_fail
;
42677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42685 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
42687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42688 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
42690 return Py_BuildValue((char *)"");
42692 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42693 PyObject
*resultobj
;
42694 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42695 wxRelationship arg2
;
42696 wxWindow
*arg3
= (wxWindow
*) 0 ;
42698 int arg5
= (int) 0 ;
42699 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
42700 PyObject
* obj0
= 0 ;
42701 PyObject
* obj1
= 0 ;
42702 PyObject
* obj2
= 0 ;
42703 PyObject
* obj3
= 0 ;
42704 PyObject
* obj4
= 0 ;
42705 PyObject
* obj5
= 0 ;
42706 char *kwnames
[] = {
42707 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
42710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42712 if (SWIG_arg_fail(1)) SWIG_fail
;
42714 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
42715 if (SWIG_arg_fail(2)) SWIG_fail
;
42717 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42718 if (SWIG_arg_fail(3)) SWIG_fail
;
42720 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
42721 if (SWIG_arg_fail(4)) SWIG_fail
;
42725 arg5
= (int)(SWIG_As_int(obj4
));
42726 if (SWIG_arg_fail(5)) SWIG_fail
;
42731 arg6
= (int)(SWIG_As_int(obj5
));
42732 if (SWIG_arg_fail(6)) SWIG_fail
;
42736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42737 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
42739 wxPyEndAllowThreads(__tstate
);
42740 if (PyErr_Occurred()) SWIG_fail
;
42742 Py_INCREF(Py_None
); resultobj
= Py_None
;
42749 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42750 PyObject
*resultobj
;
42751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42752 wxWindow
*arg2
= (wxWindow
*) 0 ;
42753 int arg3
= (int) 0 ;
42754 PyObject
* obj0
= 0 ;
42755 PyObject
* obj1
= 0 ;
42756 PyObject
* obj2
= 0 ;
42757 char *kwnames
[] = {
42758 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42763 if (SWIG_arg_fail(1)) SWIG_fail
;
42764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42765 if (SWIG_arg_fail(2)) SWIG_fail
;
42768 arg3
= (int)(SWIG_As_int(obj2
));
42769 if (SWIG_arg_fail(3)) SWIG_fail
;
42773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42774 (arg1
)->LeftOf(arg2
,arg3
);
42776 wxPyEndAllowThreads(__tstate
);
42777 if (PyErr_Occurred()) SWIG_fail
;
42779 Py_INCREF(Py_None
); resultobj
= Py_None
;
42786 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42787 PyObject
*resultobj
;
42788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42789 wxWindow
*arg2
= (wxWindow
*) 0 ;
42790 int arg3
= (int) 0 ;
42791 PyObject
* obj0
= 0 ;
42792 PyObject
* obj1
= 0 ;
42793 PyObject
* obj2
= 0 ;
42794 char *kwnames
[] = {
42795 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42800 if (SWIG_arg_fail(1)) SWIG_fail
;
42801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42802 if (SWIG_arg_fail(2)) SWIG_fail
;
42805 arg3
= (int)(SWIG_As_int(obj2
));
42806 if (SWIG_arg_fail(3)) SWIG_fail
;
42810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42811 (arg1
)->RightOf(arg2
,arg3
);
42813 wxPyEndAllowThreads(__tstate
);
42814 if (PyErr_Occurred()) SWIG_fail
;
42816 Py_INCREF(Py_None
); resultobj
= Py_None
;
42823 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42824 PyObject
*resultobj
;
42825 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42826 wxWindow
*arg2
= (wxWindow
*) 0 ;
42827 int arg3
= (int) 0 ;
42828 PyObject
* obj0
= 0 ;
42829 PyObject
* obj1
= 0 ;
42830 PyObject
* obj2
= 0 ;
42831 char *kwnames
[] = {
42832 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42837 if (SWIG_arg_fail(1)) SWIG_fail
;
42838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42839 if (SWIG_arg_fail(2)) SWIG_fail
;
42842 arg3
= (int)(SWIG_As_int(obj2
));
42843 if (SWIG_arg_fail(3)) SWIG_fail
;
42847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42848 (arg1
)->Above(arg2
,arg3
);
42850 wxPyEndAllowThreads(__tstate
);
42851 if (PyErr_Occurred()) SWIG_fail
;
42853 Py_INCREF(Py_None
); resultobj
= Py_None
;
42860 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42861 PyObject
*resultobj
;
42862 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42863 wxWindow
*arg2
= (wxWindow
*) 0 ;
42864 int arg3
= (int) 0 ;
42865 PyObject
* obj0
= 0 ;
42866 PyObject
* obj1
= 0 ;
42867 PyObject
* obj2
= 0 ;
42868 char *kwnames
[] = {
42869 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42874 if (SWIG_arg_fail(1)) SWIG_fail
;
42875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42876 if (SWIG_arg_fail(2)) SWIG_fail
;
42879 arg3
= (int)(SWIG_As_int(obj2
));
42880 if (SWIG_arg_fail(3)) SWIG_fail
;
42884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42885 (arg1
)->Below(arg2
,arg3
);
42887 wxPyEndAllowThreads(__tstate
);
42888 if (PyErr_Occurred()) SWIG_fail
;
42890 Py_INCREF(Py_None
); resultobj
= Py_None
;
42897 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42898 PyObject
*resultobj
;
42899 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42900 wxWindow
*arg2
= (wxWindow
*) 0 ;
42902 int arg4
= (int) 0 ;
42903 PyObject
* obj0
= 0 ;
42904 PyObject
* obj1
= 0 ;
42905 PyObject
* obj2
= 0 ;
42906 PyObject
* obj3
= 0 ;
42907 char *kwnames
[] = {
42908 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
42911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42913 if (SWIG_arg_fail(1)) SWIG_fail
;
42914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42915 if (SWIG_arg_fail(2)) SWIG_fail
;
42917 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42918 if (SWIG_arg_fail(3)) SWIG_fail
;
42922 arg4
= (int)(SWIG_As_int(obj3
));
42923 if (SWIG_arg_fail(4)) SWIG_fail
;
42927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42928 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42933 Py_INCREF(Py_None
); resultobj
= Py_None
;
42940 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42941 PyObject
*resultobj
;
42942 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42943 wxWindow
*arg2
= (wxWindow
*) 0 ;
42946 PyObject
* obj0
= 0 ;
42947 PyObject
* obj1
= 0 ;
42948 PyObject
* obj2
= 0 ;
42949 PyObject
* obj3
= 0 ;
42950 char *kwnames
[] = {
42951 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
42954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42956 if (SWIG_arg_fail(1)) SWIG_fail
;
42957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42958 if (SWIG_arg_fail(2)) SWIG_fail
;
42960 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42961 if (SWIG_arg_fail(3)) SWIG_fail
;
42964 arg4
= (int)(SWIG_As_int(obj3
));
42965 if (SWIG_arg_fail(4)) SWIG_fail
;
42968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42969 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
42971 wxPyEndAllowThreads(__tstate
);
42972 if (PyErr_Occurred()) SWIG_fail
;
42974 Py_INCREF(Py_None
); resultobj
= Py_None
;
42981 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42982 PyObject
*resultobj
;
42983 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42985 PyObject
* obj0
= 0 ;
42986 PyObject
* obj1
= 0 ;
42987 char *kwnames
[] = {
42988 (char *) "self",(char *) "val", NULL
42991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
42992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42993 if (SWIG_arg_fail(1)) SWIG_fail
;
42995 arg2
= (int)(SWIG_As_int(obj1
));
42996 if (SWIG_arg_fail(2)) SWIG_fail
;
42999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43000 (arg1
)->Absolute(arg2
);
43002 wxPyEndAllowThreads(__tstate
);
43003 if (PyErr_Occurred()) SWIG_fail
;
43005 Py_INCREF(Py_None
); resultobj
= Py_None
;
43012 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43013 PyObject
*resultobj
;
43014 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43015 PyObject
* obj0
= 0 ;
43016 char *kwnames
[] = {
43017 (char *) "self", NULL
43020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43022 if (SWIG_arg_fail(1)) SWIG_fail
;
43024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43025 (arg1
)->Unconstrained();
43027 wxPyEndAllowThreads(__tstate
);
43028 if (PyErr_Occurred()) SWIG_fail
;
43030 Py_INCREF(Py_None
); resultobj
= Py_None
;
43037 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43038 PyObject
*resultobj
;
43039 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43040 PyObject
* obj0
= 0 ;
43041 char *kwnames
[] = {
43042 (char *) "self", NULL
43045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43047 if (SWIG_arg_fail(1)) SWIG_fail
;
43049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43052 wxPyEndAllowThreads(__tstate
);
43053 if (PyErr_Occurred()) SWIG_fail
;
43055 Py_INCREF(Py_None
); resultobj
= Py_None
;
43062 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43063 PyObject
*resultobj
;
43064 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43066 PyObject
* obj0
= 0 ;
43067 char *kwnames
[] = {
43068 (char *) "self", NULL
43071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43073 if (SWIG_arg_fail(1)) SWIG_fail
;
43075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43076 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43078 wxPyEndAllowThreads(__tstate
);
43079 if (PyErr_Occurred()) SWIG_fail
;
43082 resultobj
= wxPyMake_wxObject(result
, 0);
43090 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43091 PyObject
*resultobj
;
43092 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43094 PyObject
* obj0
= 0 ;
43095 char *kwnames
[] = {
43096 (char *) "self", NULL
43099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43101 if (SWIG_arg_fail(1)) SWIG_fail
;
43103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43104 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43106 wxPyEndAllowThreads(__tstate
);
43107 if (PyErr_Occurred()) SWIG_fail
;
43109 resultobj
= SWIG_From_int((result
));
43116 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43117 PyObject
*resultobj
;
43118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43120 PyObject
* obj0
= 0 ;
43121 PyObject
* obj1
= 0 ;
43122 char *kwnames
[] = {
43123 (char *) "self",(char *) "which", NULL
43126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43128 if (SWIG_arg_fail(1)) SWIG_fail
;
43130 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43131 if (SWIG_arg_fail(2)) SWIG_fail
;
43134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43135 (arg1
)->SetEdge((wxEdge
)arg2
);
43137 wxPyEndAllowThreads(__tstate
);
43138 if (PyErr_Occurred()) SWIG_fail
;
43140 Py_INCREF(Py_None
); resultobj
= Py_None
;
43147 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43148 PyObject
*resultobj
;
43149 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43151 PyObject
* obj0
= 0 ;
43152 PyObject
* obj1
= 0 ;
43153 char *kwnames
[] = {
43154 (char *) "self",(char *) "v", NULL
43157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43159 if (SWIG_arg_fail(1)) SWIG_fail
;
43161 arg2
= (int)(SWIG_As_int(obj1
));
43162 if (SWIG_arg_fail(2)) SWIG_fail
;
43165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43166 (arg1
)->SetValue(arg2
);
43168 wxPyEndAllowThreads(__tstate
);
43169 if (PyErr_Occurred()) SWIG_fail
;
43171 Py_INCREF(Py_None
); resultobj
= Py_None
;
43178 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43179 PyObject
*resultobj
;
43180 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43182 PyObject
* obj0
= 0 ;
43183 char *kwnames
[] = {
43184 (char *) "self", NULL
43187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43189 if (SWIG_arg_fail(1)) SWIG_fail
;
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43192 result
= (int)(arg1
)->GetMargin();
43194 wxPyEndAllowThreads(__tstate
);
43195 if (PyErr_Occurred()) SWIG_fail
;
43198 resultobj
= SWIG_From_int((int)(result
));
43206 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43207 PyObject
*resultobj
;
43208 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43210 PyObject
* obj0
= 0 ;
43211 PyObject
* obj1
= 0 ;
43212 char *kwnames
[] = {
43213 (char *) "self",(char *) "m", NULL
43216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43218 if (SWIG_arg_fail(1)) SWIG_fail
;
43220 arg2
= (int)(SWIG_As_int(obj1
));
43221 if (SWIG_arg_fail(2)) SWIG_fail
;
43224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43225 (arg1
)->SetMargin(arg2
);
43227 wxPyEndAllowThreads(__tstate
);
43228 if (PyErr_Occurred()) SWIG_fail
;
43230 Py_INCREF(Py_None
); resultobj
= Py_None
;
43237 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43238 PyObject
*resultobj
;
43239 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43241 PyObject
* obj0
= 0 ;
43242 char *kwnames
[] = {
43243 (char *) "self", NULL
43246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43248 if (SWIG_arg_fail(1)) SWIG_fail
;
43250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43251 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43253 wxPyEndAllowThreads(__tstate
);
43254 if (PyErr_Occurred()) SWIG_fail
;
43257 resultobj
= SWIG_From_int((int)(result
));
43265 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43266 PyObject
*resultobj
;
43267 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43269 PyObject
* obj0
= 0 ;
43270 char *kwnames
[] = {
43271 (char *) "self", NULL
43274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43276 if (SWIG_arg_fail(1)) SWIG_fail
;
43278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43279 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43281 wxPyEndAllowThreads(__tstate
);
43282 if (PyErr_Occurred()) SWIG_fail
;
43285 resultobj
= SWIG_From_int((int)(result
));
43293 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43294 PyObject
*resultobj
;
43295 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43297 PyObject
* obj0
= 0 ;
43298 char *kwnames
[] = {
43299 (char *) "self", NULL
43302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43304 if (SWIG_arg_fail(1)) SWIG_fail
;
43306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43307 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43309 wxPyEndAllowThreads(__tstate
);
43310 if (PyErr_Occurred()) SWIG_fail
;
43313 resultobj
= SWIG_From_int((int)(result
));
43321 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43322 PyObject
*resultobj
;
43323 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43325 PyObject
* obj0
= 0 ;
43326 char *kwnames
[] = {
43327 (char *) "self", NULL
43330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43332 if (SWIG_arg_fail(1)) SWIG_fail
;
43334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43335 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43337 wxPyEndAllowThreads(__tstate
);
43338 if (PyErr_Occurred()) SWIG_fail
;
43341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43349 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43350 PyObject
*resultobj
;
43351 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43353 PyObject
* obj0
= 0 ;
43354 PyObject
* obj1
= 0 ;
43355 char *kwnames
[] = {
43356 (char *) "self",(char *) "d", NULL
43359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43361 if (SWIG_arg_fail(1)) SWIG_fail
;
43363 arg2
= (bool)(SWIG_As_bool(obj1
));
43364 if (SWIG_arg_fail(2)) SWIG_fail
;
43367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43368 (arg1
)->SetDone(arg2
);
43370 wxPyEndAllowThreads(__tstate
);
43371 if (PyErr_Occurred()) SWIG_fail
;
43373 Py_INCREF(Py_None
); resultobj
= Py_None
;
43380 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43381 PyObject
*resultobj
;
43382 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43383 wxRelationship result
;
43384 PyObject
* obj0
= 0 ;
43385 char *kwnames
[] = {
43386 (char *) "self", NULL
43389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43391 if (SWIG_arg_fail(1)) SWIG_fail
;
43393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43394 result
= (wxRelationship
)(arg1
)->GetRelationship();
43396 wxPyEndAllowThreads(__tstate
);
43397 if (PyErr_Occurred()) SWIG_fail
;
43399 resultobj
= SWIG_From_int((result
));
43406 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43407 PyObject
*resultobj
;
43408 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43409 wxRelationship arg2
;
43410 PyObject
* obj0
= 0 ;
43411 PyObject
* obj1
= 0 ;
43412 char *kwnames
[] = {
43413 (char *) "self",(char *) "r", NULL
43416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43418 if (SWIG_arg_fail(1)) SWIG_fail
;
43420 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43421 if (SWIG_arg_fail(2)) SWIG_fail
;
43424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43425 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43427 wxPyEndAllowThreads(__tstate
);
43428 if (PyErr_Occurred()) SWIG_fail
;
43430 Py_INCREF(Py_None
); resultobj
= Py_None
;
43437 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43438 PyObject
*resultobj
;
43439 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43440 wxWindow
*arg2
= (wxWindow
*) 0 ;
43442 PyObject
* obj0
= 0 ;
43443 PyObject
* obj1
= 0 ;
43444 char *kwnames
[] = {
43445 (char *) "self",(char *) "otherW", NULL
43448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43450 if (SWIG_arg_fail(1)) SWIG_fail
;
43451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43452 if (SWIG_arg_fail(2)) SWIG_fail
;
43454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43455 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43457 wxPyEndAllowThreads(__tstate
);
43458 if (PyErr_Occurred()) SWIG_fail
;
43461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43469 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43470 PyObject
*resultobj
;
43471 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43472 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43473 wxWindow
*arg3
= (wxWindow
*) 0 ;
43475 PyObject
* obj0
= 0 ;
43476 PyObject
* obj1
= 0 ;
43477 PyObject
* obj2
= 0 ;
43478 char *kwnames
[] = {
43479 (char *) "self",(char *) "constraints",(char *) "win", NULL
43482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43484 if (SWIG_arg_fail(1)) SWIG_fail
;
43485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43486 if (SWIG_arg_fail(2)) SWIG_fail
;
43487 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43488 if (SWIG_arg_fail(3)) SWIG_fail
;
43490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43491 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43493 wxPyEndAllowThreads(__tstate
);
43494 if (PyErr_Occurred()) SWIG_fail
;
43497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43505 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43506 PyObject
*resultobj
;
43507 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43509 wxWindow
*arg3
= (wxWindow
*) 0 ;
43510 wxWindow
*arg4
= (wxWindow
*) 0 ;
43512 PyObject
* obj0
= 0 ;
43513 PyObject
* obj1
= 0 ;
43514 PyObject
* obj2
= 0 ;
43515 PyObject
* obj3
= 0 ;
43516 char *kwnames
[] = {
43517 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
43520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43522 if (SWIG_arg_fail(1)) SWIG_fail
;
43524 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43525 if (SWIG_arg_fail(2)) SWIG_fail
;
43527 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43528 if (SWIG_arg_fail(3)) SWIG_fail
;
43529 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43530 if (SWIG_arg_fail(4)) SWIG_fail
;
43532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43533 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
43535 wxPyEndAllowThreads(__tstate
);
43536 if (PyErr_Occurred()) SWIG_fail
;
43539 resultobj
= SWIG_From_int((int)(result
));
43547 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
43549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43550 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
43552 return Py_BuildValue((char *)"");
43554 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43555 PyObject
*resultobj
;
43556 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43557 wxIndividualLayoutConstraint
*result
;
43558 PyObject
* obj0
= 0 ;
43559 char *kwnames
[] = {
43560 (char *) "self", NULL
43563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
43564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43565 if (SWIG_arg_fail(1)) SWIG_fail
;
43566 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
43568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43575 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43576 PyObject
*resultobj
;
43577 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43578 wxIndividualLayoutConstraint
*result
;
43579 PyObject
* obj0
= 0 ;
43580 char *kwnames
[] = {
43581 (char *) "self", NULL
43584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
43585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43586 if (SWIG_arg_fail(1)) SWIG_fail
;
43587 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
43589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43596 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43597 PyObject
*resultobj
;
43598 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43599 wxIndividualLayoutConstraint
*result
;
43600 PyObject
* obj0
= 0 ;
43601 char *kwnames
[] = {
43602 (char *) "self", NULL
43605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
43606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43607 if (SWIG_arg_fail(1)) SWIG_fail
;
43608 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
43610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43617 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43618 PyObject
*resultobj
;
43619 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43620 wxIndividualLayoutConstraint
*result
;
43621 PyObject
* obj0
= 0 ;
43622 char *kwnames
[] = {
43623 (char *) "self", NULL
43626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
43627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43628 if (SWIG_arg_fail(1)) SWIG_fail
;
43629 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
43631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43638 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43639 PyObject
*resultobj
;
43640 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43641 wxIndividualLayoutConstraint
*result
;
43642 PyObject
* obj0
= 0 ;
43643 char *kwnames
[] = {
43644 (char *) "self", NULL
43647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
43648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43649 if (SWIG_arg_fail(1)) SWIG_fail
;
43650 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
43652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43659 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43660 PyObject
*resultobj
;
43661 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43662 wxIndividualLayoutConstraint
*result
;
43663 PyObject
* obj0
= 0 ;
43664 char *kwnames
[] = {
43665 (char *) "self", NULL
43668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
43669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43670 if (SWIG_arg_fail(1)) SWIG_fail
;
43671 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
43673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43680 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43681 PyObject
*resultobj
;
43682 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43683 wxIndividualLayoutConstraint
*result
;
43684 PyObject
* obj0
= 0 ;
43685 char *kwnames
[] = {
43686 (char *) "self", NULL
43689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
43690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43691 if (SWIG_arg_fail(1)) SWIG_fail
;
43692 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
43694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43701 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43702 PyObject
*resultobj
;
43703 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43704 wxIndividualLayoutConstraint
*result
;
43705 PyObject
* obj0
= 0 ;
43706 char *kwnames
[] = {
43707 (char *) "self", NULL
43710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
43711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43712 if (SWIG_arg_fail(1)) SWIG_fail
;
43713 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
43715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43722 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43723 PyObject
*resultobj
;
43724 wxLayoutConstraints
*result
;
43725 char *kwnames
[] = {
43729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
43731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43732 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
43734 wxPyEndAllowThreads(__tstate
);
43735 if (PyErr_Occurred()) SWIG_fail
;
43737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
43744 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43745 PyObject
*resultobj
;
43746 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43747 wxWindow
*arg2
= (wxWindow
*) 0 ;
43748 int *arg3
= (int *) 0 ;
43752 PyObject
* obj0
= 0 ;
43753 PyObject
* obj1
= 0 ;
43754 char *kwnames
[] = {
43755 (char *) "self",(char *) "win", NULL
43758 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
43759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
43760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43761 if (SWIG_arg_fail(1)) SWIG_fail
;
43762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43763 if (SWIG_arg_fail(2)) SWIG_fail
;
43765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43766 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
43768 wxPyEndAllowThreads(__tstate
);
43769 if (PyErr_Occurred()) SWIG_fail
;
43772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43774 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
43775 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
43782 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43783 PyObject
*resultobj
;
43784 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43786 PyObject
* obj0
= 0 ;
43787 char *kwnames
[] = {
43788 (char *) "self", NULL
43791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
43792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43793 if (SWIG_arg_fail(1)) SWIG_fail
;
43795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43796 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
43798 wxPyEndAllowThreads(__tstate
);
43799 if (PyErr_Occurred()) SWIG_fail
;
43802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43810 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
43812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43813 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
43815 return Py_BuildValue((char *)"");
43817 static PyMethodDef SwigMethods
[] = {
43818 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
43819 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
43820 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43821 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43822 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
43823 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43824 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43825 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43826 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43827 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43828 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43829 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43830 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43831 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43832 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43833 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43834 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43835 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43836 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43837 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43838 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43839 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43840 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43841 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43842 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43843 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
43844 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43845 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43846 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43847 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43848 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43849 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43850 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43851 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43852 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43853 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43854 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43855 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43856 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
43857 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43858 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43859 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43860 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43861 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43862 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43863 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43864 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43865 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43866 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43867 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43868 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43869 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43870 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43871 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
43872 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43873 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43874 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43875 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43876 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43877 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43878 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43879 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43880 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43881 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43882 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43883 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43884 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43885 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43886 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43887 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43888 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43889 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43890 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43891 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43892 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43893 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43894 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43895 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43896 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43897 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43898 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43899 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43900 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43901 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43902 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43903 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43904 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43905 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43906 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43907 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43908 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43909 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43910 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43911 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43912 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43913 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43914 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43915 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43916 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43917 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43918 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43919 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43920 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43921 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43922 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43923 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43924 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
43925 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43926 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43927 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43928 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43929 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43930 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43931 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43932 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43933 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43934 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43935 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43936 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43937 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43938 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43939 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43940 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43941 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43942 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43943 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43944 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43945 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43946 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43947 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43948 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43949 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43950 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43951 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43952 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
43953 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43954 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43955 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43956 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43957 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43958 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43959 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43960 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43961 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43962 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43963 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43964 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43965 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43966 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43967 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43968 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43969 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43970 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43971 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
43972 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43973 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
43974 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43975 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43976 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43977 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43978 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43979 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43980 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43981 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
43982 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
43983 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43984 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43985 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43986 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43987 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43988 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43989 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43990 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43991 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43992 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43993 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43994 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
43995 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43996 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43997 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43998 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43999 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44000 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44001 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44002 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44003 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44004 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44005 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44006 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44007 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44008 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44009 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44010 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44011 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44012 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44013 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44014 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44015 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44016 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44017 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44018 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44019 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44020 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44021 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44022 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44023 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44024 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44025 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44026 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44027 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44028 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44029 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44030 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44031 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44032 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44033 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44034 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44035 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44036 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44037 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44038 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44039 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44040 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44041 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44042 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44043 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44044 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44045 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44046 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44047 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44048 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44049 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44050 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44051 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44052 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44053 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44054 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44055 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44056 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44057 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44058 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44059 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44060 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44061 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44062 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44063 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44064 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44065 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44066 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44067 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44068 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44069 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44070 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44071 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44072 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44073 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44074 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44075 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44076 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44077 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44078 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44079 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44080 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44081 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44082 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44083 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44084 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44085 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44086 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44087 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44088 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44089 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44090 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44091 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44092 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44093 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44094 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44095 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44096 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44097 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44098 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44099 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44100 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44101 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44102 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44103 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44104 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44105 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44106 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44107 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44108 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44109 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44110 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44111 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44112 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44113 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44114 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44115 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44116 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44117 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44118 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44119 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44120 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44121 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44122 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44123 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44124 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44125 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44126 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44127 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44128 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44129 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44130 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44131 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44132 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44133 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44134 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44135 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44136 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44137 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44138 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44139 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44140 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44141 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44142 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44143 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44144 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44145 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44146 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44147 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44148 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44149 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44150 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44151 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44152 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44153 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44154 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44155 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44156 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44157 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44158 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44159 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44160 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44161 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44162 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44163 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44164 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44165 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44166 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44167 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44168 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44169 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44170 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44171 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44172 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44173 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44174 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44175 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44176 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44177 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44178 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44179 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44180 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44181 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44182 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44183 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44184 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44185 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44186 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44187 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44188 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44189 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44190 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44191 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44192 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44193 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44194 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44195 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44196 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44197 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44198 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44199 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44200 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44201 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44202 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44203 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44204 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44205 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44206 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44207 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44208 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44209 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44210 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44211 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44212 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44213 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44214 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44215 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44216 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44217 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44218 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44219 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44220 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44221 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44222 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44223 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44224 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44225 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44226 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44227 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44228 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44229 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44230 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44231 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44232 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44233 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44234 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44235 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44236 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44237 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44238 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44239 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44240 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44241 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44242 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44243 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44244 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44245 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44246 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44247 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44248 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44249 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44250 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44251 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44252 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44253 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44254 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44255 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44256 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44257 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44258 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44259 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44260 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44261 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44262 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44263 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44264 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44265 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44266 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44267 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44268 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44269 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44270 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44271 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44272 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44273 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44274 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44275 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44276 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44277 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44278 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44279 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44280 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44281 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44282 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44283 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44284 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44285 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44286 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44287 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44288 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44289 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44290 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44291 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44292 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44293 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44294 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44295 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44296 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44297 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44298 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44299 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44300 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44301 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44302 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44303 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44304 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44305 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44306 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44307 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44308 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44309 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44310 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44311 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44312 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44313 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44314 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44315 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44316 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44317 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44319 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44320 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44322 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44326 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44328 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44329 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44330 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44332 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44334 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44335 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44336 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44338 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44339 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44340 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44342 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44345 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44347 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44352 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44353 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44360 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44364 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44367 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44368 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44369 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44373 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44377 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44381 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44388 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44390 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44392 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44395 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44397 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44398 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44400 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44401 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44402 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44404 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44405 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44410 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44411 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44414 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44417 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44420 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44423 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44424 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44428 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44431 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44436 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44439 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44441 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44445 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44449 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44465 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44486 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44493 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44503 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44504 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
44506 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
44513 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44514 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
44517 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
44527 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44635 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
44697 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
44737 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
44751 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
44754 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
44809 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
44836 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
44866 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
44874 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
44891 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
44892 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
44929 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
44959 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
44962 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
44966 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
44969 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
44979 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
44991 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"StdDialogButtonSizer_Finalise", (PyCFunction
) _wrap_StdDialogButtonSizer_Finalise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45003 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45013 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45023 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45037 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45044 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45045 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45046 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45047 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45048 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45053 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45080 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45092 { NULL
, NULL
, 0, NULL
}
45096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45098 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45099 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45101 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45102 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45104 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45105 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45107 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45108 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45110 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45111 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45113 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45114 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45116 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45117 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45119 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45120 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45122 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45123 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45125 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45126 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45128 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45131 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45132 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45134 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45135 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45137 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45138 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45140 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45141 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45143 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45144 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45146 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45147 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45149 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45152 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45153 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45155 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45158 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45159 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45161 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45164 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45165 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45167 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45168 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45170 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45171 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45173 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45174 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45176 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45177 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45179 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45180 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45182 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45183 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45185 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45186 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45188 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45191 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45192 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45194 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45195 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45197 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45198 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45200 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45201 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45203 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45204 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45206 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45207 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45209 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45212 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45213 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45215 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45216 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45218 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45221 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45224 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45225 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45227 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45228 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45230 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45231 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45233 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45234 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45236 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45237 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45239 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45240 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45242 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45243 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45245 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45246 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45248 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45249 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45251 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45252 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45254 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45257 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45258 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45260 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45261 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45263 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45264 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45266 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45269 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45270 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45272 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45273 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45275 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45276 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45278 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45279 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45281 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45282 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45284 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45285 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45287 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45288 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45290 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45291 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45293 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45294 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45296 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45297 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45299 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45300 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45302 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45303 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45305 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45306 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45308 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45309 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45311 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45312 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45314 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45315 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45317 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45318 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45320 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45321 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45323 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45324 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45326 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45327 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45329 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45330 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45332 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45333 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45336 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45338 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45339 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45341 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45342 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45344 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45347 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45348 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45350 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45351 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45353 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45354 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45356 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45357 return (void *)((wxObject
*) ((wxSizer
*) x
));
45359 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45360 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45362 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45365 static void *_p_wxEventTo_p_wxObject(void *x
) {
45366 return (void *)((wxObject
*) ((wxEvent
*) x
));
45368 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45369 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45371 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45372 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45374 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45375 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45377 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45378 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45380 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45381 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45383 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45384 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45386 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45387 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45389 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45390 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45392 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45393 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45395 static void *_p_wxControlTo_p_wxObject(void *x
) {
45396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45398 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45399 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45401 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45402 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45404 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45405 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45407 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45408 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45410 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45413 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45414 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45416 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45417 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45419 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45420 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45422 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45423 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45425 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45426 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45428 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45429 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45431 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45432 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45434 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45435 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45437 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45438 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45440 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45441 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45443 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45446 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45449 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45452 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45455 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45458 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45461 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45462 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45464 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45465 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45467 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45468 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45470 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45473 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45474 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45476 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45479 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45480 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45482 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
45483 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45485 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45486 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
45488 static void *_p_wxImageTo_p_wxObject(void *x
) {
45489 return (void *)((wxObject
*) ((wxImage
*) x
));
45491 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
45492 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
45494 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
45495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45497 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
45498 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45500 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
45501 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
45503 static void *_p_wxWindowTo_p_wxObject(void *x
) {
45504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
45506 static void *_p_wxMenuTo_p_wxObject(void *x
) {
45507 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
45509 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
45510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
45512 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
45513 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
45515 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
45516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45518 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
45519 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
45521 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
45522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
45524 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
45525 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
45527 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
45528 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
45530 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
45531 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
45533 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
45534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45536 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
45537 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
45539 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
45540 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
45542 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
45543 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
45545 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
45546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45548 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
45549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45551 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
45552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
45554 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
45555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
45557 static void *_p_wxControlTo_p_wxWindow(void *x
) {
45558 return (void *)((wxWindow
*) ((wxControl
*) x
));
45560 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
45561 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
45563 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
45564 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
45566 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
45567 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45569 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
45570 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
45572 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
45573 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45575 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
45576 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45578 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
45579 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45581 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
45582 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45584 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
45585 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45587 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
45588 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45590 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
45591 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
45593 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}};
45594 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}};
45595 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}};
45596 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}};
45597 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}};
45598 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}};
45599 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}};
45600 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}};
45601 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}};
45602 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}};
45603 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}};
45604 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}};
45605 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}};
45606 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}};
45607 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}};
45608 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}};
45609 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}};
45610 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}};
45611 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}};
45612 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}};
45613 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}};
45614 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}};
45615 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}};
45616 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}};
45617 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}};
45618 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}};
45619 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}};
45620 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}};
45621 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}};
45622 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}};
45623 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}};
45624 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}};
45625 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}};
45626 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}};
45627 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}};
45628 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}};
45629 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}};
45630 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}};
45631 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}};
45632 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}};
45633 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}};
45634 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}};
45635 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}};
45636 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}};
45637 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}};
45638 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}};
45639 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}};
45640 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}};
45641 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}};
45642 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}};
45643 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}};
45644 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}};
45645 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}};
45646 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}};
45647 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}};
45648 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}};
45649 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}};
45650 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}};
45651 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}};
45652 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}};
45653 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}};
45654 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}};
45655 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}};
45656 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}};
45657 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}};
45658 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}};
45659 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}};
45660 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}};
45661 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}};
45662 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}};
45663 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}};
45664 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}};
45665 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}};
45666 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}};
45667 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}};
45668 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}};
45669 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}};
45670 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}};
45671 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}};
45672 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}};
45673 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}};
45674 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}};
45675 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}};
45676 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}};
45677 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}};
45678 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}};
45679 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}};
45680 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}};
45681 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}};
45682 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}};
45683 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}};
45684 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}};
45685 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}};
45686 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}};
45687 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}};
45688 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}};
45689 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}};
45690 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}};
45691 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}};
45692 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}};
45693 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}};
45694 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}};
45695 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}};
45696 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}};
45697 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}};
45698 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}};
45699 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}};
45700 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}};
45701 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}};
45702 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}};
45703 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}};
45704 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}};
45705 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}};
45706 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}};
45707 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}};
45708 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}};
45709 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}};
45710 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}};
45711 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}};
45712 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}};
45713 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}};
45714 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}};
45715 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}};
45716 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}};
45717 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}};
45718 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}};
45720 static swig_type_info
*swig_types_initial
[] = {
45721 _swigt__p_wxLayoutConstraints
,
45722 _swigt__p_wxRealPoint
,
45723 _swigt__p_wxSizerItem
,
45724 _swigt__p_wxGBSizerItem
,
45725 _swigt__p_wxScrollEvent
,
45726 _swigt__p_wxEventLoop
,
45727 _swigt__p_wxIndividualLayoutConstraint
,
45729 _swigt__p_wxBoxSizer
,
45730 _swigt__p_wxStaticBoxSizer
,
45731 _swigt__p_wxGridBagSizer
,
45732 _swigt__p_wxAcceleratorEntry
,
45733 _swigt__p_wxUpdateUIEvent
,
45736 _swigt__p_wxGridSizer
,
45737 _swigt__p_wxFlexGridSizer
,
45738 _swigt__p_wxInitDialogEvent
,
45739 _swigt__p_wxItemContainer
,
45740 _swigt__p_wxNcPaintEvent
,
45741 _swigt__p_wxPaintEvent
,
45742 _swigt__p_wxSysColourChangedEvent
,
45743 _swigt__p_wxMouseCaptureChangedEvent
,
45744 _swigt__p_wxDisplayChangedEvent
,
45745 _swigt__p_wxPaletteChangedEvent
,
45746 _swigt__p_wxControl
,
45748 _swigt__p_wxMenuBarBase
,
45749 _swigt__p_wxSetCursorEvent
,
45750 _swigt__p_wxFSFile
,
45753 _swigt__std__ptrdiff_t
,
45754 _swigt__p_wxRegion
,
45755 _swigt__p_wxPoint2D
,
45759 _swigt__p_wxPySizer
,
45760 _swigt__p_wxVisualAttributes
,
45761 _swigt__p_wxNotifyEvent
,
45762 _swigt__p_wxPyEvent
,
45763 _swigt__p_wxPropagationDisabler
,
45764 _swigt__p_form_ops_t
,
45765 _swigt__p_wxAppTraits
,
45766 _swigt__p_wxArrayString
,
45767 _swigt__p_wxShowEvent
,
45768 _swigt__p_wxToolTip
,
45769 _swigt__p_wxMoveEvent
,
45770 _swigt__p_wxSizeEvent
,
45771 _swigt__p_wxActivateEvent
,
45772 _swigt__p_wxIconizeEvent
,
45773 _swigt__p_wxMaximizeEvent
,
45774 _swigt__p_wxQueryNewPaletteEvent
,
45775 _swigt__p_wxWindowCreateEvent
,
45776 _swigt__p_wxIdleEvent
,
45777 _swigt__p_wxMenuItem
,
45778 _swigt__p_wxStaticBox
,
45780 _swigt__p_wxDuplexMode
,
45781 _swigt__p_wxTIFFHandler
,
45782 _swigt__p_wxXPMHandler
,
45783 _swigt__p_wxPNMHandler
,
45784 _swigt__p_wxJPEGHandler
,
45785 _swigt__p_wxPCXHandler
,
45786 _swigt__p_wxGIFHandler
,
45787 _swigt__p_wxPNGHandler
,
45788 _swigt__p_wxANIHandler
,
45789 _swigt__p_wxMemoryFSHandler
,
45790 _swigt__p_wxZipFSHandler
,
45791 _swigt__p_wxInternetFSHandler
,
45792 _swigt__p_wxPyFileSystemHandler
,
45793 _swigt__p_wxEvtHandler
,
45794 _swigt__p_wxCURHandler
,
45795 _swigt__p_wxICOHandler
,
45796 _swigt__p_wxBMPHandler
,
45797 _swigt__p_wxImageHandler
,
45798 _swigt__p_wxFileSystemHandler
,
45800 _swigt__p_wxButton
,
45801 _swigt__p_wxGBSpan
,
45802 _swigt__p_wxPropagateOnce
,
45803 _swigt__p_wxAcceleratorTable
,
45804 _swigt__p_wxStdDialogButtonSizer
,
45806 _swigt__p_wxGBPosition
,
45809 _swigt__p_wxScrollWinEvent
,
45810 _swigt__p_wxPaperSize
,
45811 _swigt__p_wxImageHistogram
,
45813 _swigt__p_wxCursor
,
45814 _swigt__p_wxObject
,
45815 _swigt__p_wxInputStream
,
45816 _swigt__p_wxOutputStream
,
45817 _swigt__p_wxPyInputStream
,
45818 _swigt__p_wxDateTime
,
45819 _swigt__p_wxKeyEvent
,
45820 _swigt__p_wxNavigationKeyEvent
,
45821 _swigt__p_wxWindowDestroyEvent
,
45822 _swigt__p_unsigned_long
,
45823 _swigt__p_wxWindow
,
45824 _swigt__p_wxMenuBar
,
45825 _swigt__p_wxFileSystem
,
45826 _swigt__p_wxBitmap
,
45827 _swigt__unsigned_int
,
45828 _swigt__p_unsigned_int
,
45829 _swigt__p_wxMenuEvent
,
45830 _swigt__p_wxContextMenuEvent
,
45831 _swigt__p_unsigned_char
,
45832 _swigt__p_wxEraseEvent
,
45833 _swigt__p_wxMouseEvent
,
45834 _swigt__p_wxCloseEvent
,
45836 _swigt__p_wxCommandEvent
,
45837 _swigt__p_wxPyCommandEvent
,
45838 _swigt__p_wxPyDropTarget
,
45839 _swigt__p_wxQuantize
,
45840 _swigt__p_wxChildFocusEvent
,
45841 _swigt__p_wxFocusEvent
,
45842 _swigt__p_wxDropFilesEvent
,
45843 _swigt__p_wxControlWithItems
,
45844 _swigt__p_wxColour
,
45845 _swigt__p_wxValidator
,
45846 _swigt__p_wxPyValidator
,
45851 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
45853 static swig_const_info swig_const_table
[] = {
45854 {0, 0, 0, 0.0, 0, 0}};
45865 /* Python-specific SWIG API */
45866 #define SWIG_newvarlink() SWIG_Python_newvarlink()
45867 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45868 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45870 /* -----------------------------------------------------------------------------
45871 * global variable support code.
45872 * ----------------------------------------------------------------------------- */
45874 typedef struct swig_globalvar
{
45875 char *name
; /* Name of global variable */
45876 PyObject
*(*get_attr
)(); /* Return the current value */
45877 int (*set_attr
)(PyObject
*); /* Set the value */
45878 struct swig_globalvar
*next
;
45881 typedef struct swig_varlinkobject
{
45883 swig_globalvar
*vars
;
45884 } swig_varlinkobject
;
45887 swig_varlink_repr(swig_varlinkobject
*v
) {
45889 return PyString_FromString("<Swig global variables>");
45893 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
45894 swig_globalvar
*var
;
45896 fprintf(fp
,"Swig global variables { ");
45897 for (var
= v
->vars
; var
; var
=var
->next
) {
45898 fprintf(fp
,"%s", var
->name
);
45899 if (var
->next
) fprintf(fp
,", ");
45901 fprintf(fp
," }\n");
45906 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
45907 swig_globalvar
*var
= v
->vars
;
45909 if (strcmp(var
->name
,n
) == 0) {
45910 return (*var
->get_attr
)();
45914 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45919 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
45920 swig_globalvar
*var
= v
->vars
;
45922 if (strcmp(var
->name
,n
) == 0) {
45923 return (*var
->set_attr
)(p
);
45927 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45931 static PyTypeObject varlinktype
= {
45932 PyObject_HEAD_INIT(0)
45933 0, /* Number of items in variable part (ob_size) */
45934 (char *)"swigvarlink", /* Type name (tp_name) */
45935 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
45936 0, /* Itemsize (tp_itemsize) */
45937 0, /* Deallocator (tp_dealloc) */
45938 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
45939 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
45940 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
45941 0, /* tp_compare */
45942 (reprfunc
) swig_varlink_repr
, /* tp_repr */
45943 0, /* tp_as_number */
45944 0, /* tp_as_sequence */
45945 0, /* tp_as_mapping */
45949 0, /* tp_getattro */
45950 0, /* tp_setattro */
45951 0, /* tp_as_buffer */
45954 #if PY_VERSION_HEX >= 0x02000000
45955 0, /* tp_traverse */
45958 #if PY_VERSION_HEX >= 0x02010000
45959 0, /* tp_richcompare */
45960 0, /* tp_weaklistoffset */
45962 #if PY_VERSION_HEX >= 0x02020000
45963 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45965 #if PY_VERSION_HEX >= 0x02030000
45968 #ifdef COUNT_ALLOCS
45969 0,0,0,0 /* tp_alloc -> tp_next */
45973 /* Create a variable linking object for use later */
45975 SWIG_Python_newvarlink(void) {
45976 swig_varlinkobject
*result
= 0;
45977 result
= PyMem_NEW(swig_varlinkobject
,1);
45978 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
45979 result
->ob_type
= &varlinktype
;
45981 result
->ob_refcnt
= 0;
45982 Py_XINCREF((PyObject
*) result
);
45983 return ((PyObject
*) result
);
45987 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45988 swig_varlinkobject
*v
;
45989 swig_globalvar
*gv
;
45990 v
= (swig_varlinkobject
*) p
;
45991 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
45992 gv
->name
= (char *) malloc(strlen(name
)+1);
45993 strcpy(gv
->name
,name
);
45994 gv
->get_attr
= get_attr
;
45995 gv
->set_attr
= set_attr
;
45996 gv
->next
= v
->vars
;
46000 /* -----------------------------------------------------------------------------
46001 * constants/methods manipulation
46002 * ----------------------------------------------------------------------------- */
46004 /* Install Constants */
46006 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46009 for (i
= 0; constants
[i
].type
; i
++) {
46010 switch(constants
[i
].type
) {
46012 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46014 case SWIG_PY_FLOAT
:
46015 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46017 case SWIG_PY_STRING
:
46018 if (constants
[i
].pvalue
) {
46019 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46021 Py_INCREF(Py_None
);
46025 case SWIG_PY_POINTER
:
46026 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46028 case SWIG_PY_BINARY
:
46029 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46036 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46042 /* -----------------------------------------------------------------------------*/
46043 /* Fix SwigMethods to carry the callback ptrs when needed */
46044 /* -----------------------------------------------------------------------------*/
46047 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46048 swig_const_info
*const_table
,
46049 swig_type_info
**types
,
46050 swig_type_info
**types_initial
) {
46052 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46053 char *c
= methods
[i
].ml_doc
;
46054 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46056 swig_const_info
*ci
= 0;
46057 char *name
= c
+ 10;
46058 for (j
= 0; const_table
[j
].type
; j
++) {
46059 if (strncmp(const_table
[j
].name
, name
,
46060 strlen(const_table
[j
].name
)) == 0) {
46061 ci
= &(const_table
[j
]);
46066 size_t shift
= (ci
->ptype
) - types
;
46067 swig_type_info
*ty
= types_initial
[shift
];
46068 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46069 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46070 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46072 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46073 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46075 strncpy(buff
, "swig_ptr: ", 10);
46077 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46078 methods
[i
].ml_doc
= ndoc
;
46084 /* -----------------------------------------------------------------------------*
46085 * Initialize type list
46086 * -----------------------------------------------------------------------------*/
46088 #if PY_MAJOR_VERSION < 2
46089 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46090 is copied out of Python/modsupport.c in python version 2.3.4 */
46092 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46095 if (!PyModule_Check(m
)) {
46096 PyErr_SetString(PyExc_TypeError
,
46097 "PyModule_AddObject() needs module as first arg");
46101 PyErr_SetString(PyExc_TypeError
,
46102 "PyModule_AddObject() needs non-NULL value");
46106 dict
= PyModule_GetDict(m
);
46107 if (dict
== NULL
) {
46108 /* Internal error -- modules must have a dict! */
46109 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46110 PyModule_GetName(m
));
46113 if (PyDict_SetItemString(dict
, name
, o
))
46120 static swig_type_info
**
46121 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46122 static PyMethodDef swig_empty_runtime_method_table
[] = {
46124 NULL
, NULL
, 0, NULL
46128 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46129 swig_empty_runtime_method_table
);
46130 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46131 if (pointer
&& module) {
46132 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46134 return type_list_handle
;
46137 static swig_type_info
**
46138 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46139 swig_type_info
**type_pointer
;
46141 /* first check if module already created */
46142 type_pointer
= SWIG_Python_GetTypeListHandle();
46143 if (type_pointer
) {
46144 return type_pointer
;
46146 /* create a new module and variable */
46147 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46155 /* -----------------------------------------------------------------------------*
46156 * Partial Init method
46157 * -----------------------------------------------------------------------------*/
46159 #ifdef SWIG_LINK_RUNTIME
46163 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46169 SWIGEXPORT(void) SWIG_init(void) {
46170 static PyObject
*SWIG_globals
= 0;
46171 static int typeinit
= 0;
46174 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46176 /* Fix SwigMethods to carry the callback ptrs when needed */
46177 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46179 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46180 d
= PyModule_GetDict(m
);
46183 #ifdef SWIG_LINK_RUNTIME
46184 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46186 # ifndef SWIG_STATIC_RUNTIME
46187 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46190 for (i
= 0; swig_types_initial
[i
]; i
++) {
46191 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46195 SWIG_InstallConstants(d
,swig_const_table
);
46198 #ifndef wxPyUSE_EXPORT
46199 // Make our API structure a CObject so other modules can import it
46200 // from this module.
46201 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46202 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46207 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46210 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46213 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46216 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46219 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46222 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46225 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46228 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46231 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46234 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46237 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46240 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46243 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46246 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46249 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46252 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46255 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46258 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46261 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46264 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46267 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46270 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46273 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46276 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46279 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46282 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46285 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46288 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46291 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46294 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46297 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46300 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46303 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46306 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46309 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46312 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46315 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46318 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46321 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46324 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46327 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46330 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46333 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46336 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46339 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46342 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46345 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46348 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46351 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46354 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46357 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46360 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46363 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46366 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46369 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46372 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46375 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46378 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46381 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46384 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46387 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46390 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46393 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46396 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46399 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46402 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46405 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46408 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46411 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46414 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46417 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46420 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46423 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46426 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46429 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46432 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46435 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46438 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46441 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46444 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46447 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46450 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46453 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46456 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
46459 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
46462 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
46465 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
46468 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
46471 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
46474 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
46477 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
46480 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
46483 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
46486 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
46489 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
46492 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
46495 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
46498 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
46501 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
46504 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
46507 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
46510 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
46513 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
46516 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
46519 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
46522 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
46525 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
46528 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
46531 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
46534 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
46537 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
46540 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
46543 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
46546 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
46549 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
46552 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
46555 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
46558 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
46561 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
46564 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
46567 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
46570 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
46573 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
46576 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
46579 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
46582 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
46585 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
46588 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
46591 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
46594 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
46597 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
46600 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
46603 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
46606 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
46609 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
46612 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
46615 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
46618 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
46621 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
46624 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
46627 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
46630 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
46633 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
46636 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
46639 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
46642 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
46645 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
46648 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
46651 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
46654 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
46657 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
46660 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
46663 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
46666 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
46669 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
46672 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
46675 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
46678 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
46681 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
46684 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
46687 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
46690 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
46693 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
46696 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
46699 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
46702 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
46705 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
46708 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
46711 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
46714 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
46717 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
46720 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
46723 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
46726 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
46729 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
46732 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
46735 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
46738 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
46741 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
46744 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
46747 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
46750 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
46753 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
46756 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
46759 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
46762 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
46765 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
46768 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
46771 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
46774 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
46777 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
46780 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
46783 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
46786 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
46789 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
46792 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
46795 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
46798 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
46801 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
46804 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
46807 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
46810 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
46813 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
46816 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
46819 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
46822 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
46825 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
46828 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
46831 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
46834 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
46837 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
46840 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
46843 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
46846 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
46849 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
46852 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
46855 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
46858 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
46861 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
46864 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
46867 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
46870 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
46873 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
46876 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
46879 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
46882 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
46885 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
46888 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
46891 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
46894 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
46897 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
46900 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
46903 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
46906 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
46909 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
46912 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
46915 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
46918 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
46921 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
46924 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
46927 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
46930 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
46933 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
46936 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
46939 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
46942 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
46945 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
46948 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
46951 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
46954 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
46957 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
46960 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
46963 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
46966 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
46969 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
46972 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
46975 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
46978 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
46981 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
46984 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
46987 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
46990 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
46993 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
46996 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
46999 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47002 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47005 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47008 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47011 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47014 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47017 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47020 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47023 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47026 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47029 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47032 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47035 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47038 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47041 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47044 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47047 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47050 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47053 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47056 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47059 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47062 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47065 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47068 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47071 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47074 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47077 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47080 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47083 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47086 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47089 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47092 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47095 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47098 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47101 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47104 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47107 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47110 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47113 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47116 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47119 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47122 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47125 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47128 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47131 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47134 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47137 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47140 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47143 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47146 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47149 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47152 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47155 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47158 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47161 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47164 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47167 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47170 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47173 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47176 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47179 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47182 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47185 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47188 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47191 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47194 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47197 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47200 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47203 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47206 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47209 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47212 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47215 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47218 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47221 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47224 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47227 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47230 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47233 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47236 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47239 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47242 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47245 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47248 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47251 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47254 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47257 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47260 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47263 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47266 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47269 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47272 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47275 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47278 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47281 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47284 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47287 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47290 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47293 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47296 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47299 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47302 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47305 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47308 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47311 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47314 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47317 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47320 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47323 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47326 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47329 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47332 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47335 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47338 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47341 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47344 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47347 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47350 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47353 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47356 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47359 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47362 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47365 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47368 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47371 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47374 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47377 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47380 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47383 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47386 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47389 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47392 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47395 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47398 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47401 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47404 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47407 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47410 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47413 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47416 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47419 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47422 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47425 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47428 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47431 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47434 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47437 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47440 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47443 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47446 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47449 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47452 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47455 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
47458 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
47461 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
47464 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
47467 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
47470 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
47473 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
47476 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
47479 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
47482 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
47485 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
47488 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
47491 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
47494 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
47497 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
47500 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
47503 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
47506 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
47509 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
47512 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
47515 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
47518 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
47521 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
47524 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
47527 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
47530 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
47533 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
47536 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
47539 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
47542 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
47545 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
47548 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
47551 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
47554 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
47557 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
47560 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
47563 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
47566 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
47569 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
47572 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
47575 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
47578 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
47581 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
47584 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
47587 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
47590 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
47593 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
47596 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
47599 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
47602 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
47605 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
47608 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
47611 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
47614 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
47617 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
47620 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
47623 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
47626 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
47629 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
47632 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
47635 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
47638 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
47641 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
47644 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
47647 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
47650 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
47653 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
47656 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
47659 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
47662 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
47665 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
47668 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
47671 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
47674 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
47677 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
47680 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
47683 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
47686 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
47689 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
47692 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
47695 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
47698 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
47701 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
47704 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
47707 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
47710 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
47713 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
47716 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
47719 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
47722 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
47725 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
47728 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
47731 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
47734 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
47737 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
47740 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
47743 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
47746 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
47749 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
47752 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
47755 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
47758 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
47761 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
47764 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
47767 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
47770 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
47773 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
47776 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
47779 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
47782 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
47785 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
47788 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
47791 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
47794 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
47797 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
47800 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
47803 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
47805 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
47806 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
47808 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
47811 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
47814 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
47817 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
47820 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
47823 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
47826 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
47829 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
47832 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
47835 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
47838 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
47841 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
47844 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
47847 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
47850 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
47853 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
47856 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
47859 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
47862 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
47865 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
47868 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
47871 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
47874 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
47877 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
47880 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
47883 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
47886 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
47889 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
47892 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
47895 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
47898 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
47901 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
47904 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
47907 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
47910 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
47913 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
47916 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
47919 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
47922 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
47925 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
47928 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
47931 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
47934 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
47937 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
47940 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
47943 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
47946 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
47949 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
47952 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
47955 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
47958 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
47960 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
47961 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
47963 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
47966 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
47969 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
47972 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
47975 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
47977 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
47978 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
47979 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
47980 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
47981 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
47982 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
47984 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
47987 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
47990 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
47993 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
47996 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
47999 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48002 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48005 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48008 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48011 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48014 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48017 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48020 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48023 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48026 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48028 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48029 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48030 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48031 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48032 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48033 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48034 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48035 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48036 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48037 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48039 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48040 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48041 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48042 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48043 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48044 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48045 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48046 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48047 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48048 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48049 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48050 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48051 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48052 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48053 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48054 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48055 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48056 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48057 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48058 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48059 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48060 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48061 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48062 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48063 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48064 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48065 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48066 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48067 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48068 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48069 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48070 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48071 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48072 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48073 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48074 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48075 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48076 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48077 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48078 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48079 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48080 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48081 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48082 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48083 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48084 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48085 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48086 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48087 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48088 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48089 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48090 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48091 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48092 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48093 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48094 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48095 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48096 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48097 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48098 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48099 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48100 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48101 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48102 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48103 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48104 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48105 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48106 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48107 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48108 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48109 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48110 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48111 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48112 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48113 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48114 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48115 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48116 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48117 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48118 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48119 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48120 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48121 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48122 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48123 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48124 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48125 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48126 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48127 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48128 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48129 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48130 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48131 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48132 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48133 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48134 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48135 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48137 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48138 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48139 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48140 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48141 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48143 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48146 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48149 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48152 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48155 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48158 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48161 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48164 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48167 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48170 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48173 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48176 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48179 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48182 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48185 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48188 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48191 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48194 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48196 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48197 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48199 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48202 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48205 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48208 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48211 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48213 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48214 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48216 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48219 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48222 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48224 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48226 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48229 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48232 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48235 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48238 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48241 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48244 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48247 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48250 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48253 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48256 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48259 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48262 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48265 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48268 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48271 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48274 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48277 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48280 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48283 // Initialize threading, some globals and such
48287 // Although these are defined in __version__ they need to be here too so
48288 // that an assert can be done to ensure that the wxPython and the wxWindows
48290 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48291 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48292 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));