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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2523 #define SWIG_From_unsigned_SS_int SWIG_From_long
2526 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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();
2605 void wxApp_CleanUp() {
2610 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2614 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2616 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2621 SWIG_type_error("char *", obj
);
2627 SWIGINTERN PyObject
*
2628 SWIG_FromCharPtr(const char* cptr
)
2631 size_t size
= strlen(cptr
);
2632 if (size
> INT_MAX
) {
2633 return SWIG_NewPointerObj((char*)(cptr
),
2634 SWIG_TypeQuery("char *"), 0);
2637 return PyString_FromStringAndSize(cptr
, size
);
2639 return PyString_FromString(cptr
);
2650 // A dummy class that raises an exception if used...
2654 wxEventLoop() { wxPyRaiseNotImplemented(); }
2655 int Run() { return 0; }
2656 void Exit(int rc
= 0) {}
2657 bool Pending() const { return false; }
2658 bool Dispatch() { return false; }
2659 bool IsRunning() const { return false; }
2660 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2661 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2666 #include <wx/evtloop.h>
2672 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2673 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2674 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2675 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2676 wxWindowList
& list
= self
->GetChildren();
2677 return wxPy_ConvertList(&list
);
2679 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2681 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2686 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2693 static long wxWindow_GetHandle(wxWindow
*self
){
2694 return wxPyGetWinHandle(self
);
2696 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2697 self
->AssociateHandle((WXWidget
)handle
);
2700 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2701 return wxWindow::FindWindowById(id
, parent
);
2704 wxWindow
* wxFindWindowByName( const wxString
& name
,
2705 const wxWindow
*parent
= NULL
) {
2706 return wxWindow::FindWindowByName(name
, parent
);
2709 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2710 const wxWindow
*parent
= NULL
) {
2711 return wxWindow::FindWindowByLabel(label
, parent
);
2716 #include <wx/msw/private.h> // to get wxGetWindowId
2720 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2722 WXHWND hWnd
= (WXHWND
)_hWnd
;
2723 long id
= wxGetWindowId(hWnd
);
2724 wxWindow
* win
= new wxWindow
;
2725 parent
->AddChild(win
);
2726 win
->SetEventHandler(win
);
2729 win
->SubclassWin(hWnd
);
2730 win
->AdoptAttributesFromHWND();
2731 win
->SetupColours();
2734 wxPyRaiseNotImplemented();
2740 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2741 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2742 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2744 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2746 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2747 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2748 wxMenuItemList
& list
= self
->GetMenuItems();
2749 return wxPy_ConvertList(&list
);
2751 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2754 wxPyClientData
* data
= new wxPyClientData(clientData
);
2755 return self
->Append(item
, data
);
2757 return self
->Append(item
);
2759 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2761 wxPyClientData
* data
= new wxPyClientData(clientData
);
2762 return self
->Insert(item
, pos
, data
);
2764 return self
->Insert(item
, pos
);
2766 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2767 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2769 Py_INCREF(data
->m_obj
);
2776 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2777 wxPyClientData
* data
= new wxPyClientData(clientData
);
2778 self
->SetClientObject(n
, data
);
2782 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2783 wxPyUserData
* data
= NULL
;
2785 bool blocked
= wxPyBeginBlockThreads();
2786 data
= new wxPyUserData(userData
);
2787 wxPyEndBlockThreads(blocked
);
2789 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2791 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2792 wxPyUserData
* data
= NULL
;
2794 bool blocked
= wxPyBeginBlockThreads();
2795 data
= new wxPyUserData(userData
);
2796 wxPyEndBlockThreads(blocked
);
2798 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2800 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2801 wxPyUserData
* data
= NULL
;
2803 bool blocked
= wxPyBeginBlockThreads();
2804 data
= new wxPyUserData(userData
);
2805 wxPyEndBlockThreads(blocked
);
2807 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2812 SWIG_CheckDoubleInRange(double value
, double min_value
,
2813 double max_value
, const char* errmsg
)
2815 if (value
< min_value
) {
2817 PyErr_Format(PyExc_OverflowError
,
2818 "value %g is less than %s minimum %g",
2819 value
, errmsg
, min_value
);
2822 } else if (value
> max_value
) {
2824 PyErr_Format(PyExc_OverflowError
,
2825 "value %g is greater than %s maximum %g",
2826 value
, errmsg
, max_value
);
2835 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2837 const char* errmsg
= val
? "float" : (char*)0;
2839 if (SWIG_AsVal_double(obj
, &v
)) {
2840 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2841 if (val
) *val
= (float)(v
);
2850 SWIG_type_error(errmsg
, obj
);
2856 SWIGINTERNSHORT
float
2857 SWIG_As_float(PyObject
* obj
)
2860 if (!SWIG_AsVal_float(obj
, &v
)) {
2862 this is needed to make valgrind/purify happier.
2864 memset((void*)&v
, 0, sizeof(float));
2871 SWIG_Check_float(PyObject
* obj
)
2873 return SWIG_AsVal_float(obj
, (float*)0);
2877 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2878 #define SWIG_From_float PyFloat_FromDouble
2881 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2882 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2884 Py_INCREF(data
->m_obj
);
2892 // Figure out the type of the sizer item
2894 struct wxPySizerItemInfo
{
2896 : window(NULL
), sizer(NULL
), gotSize(false),
2897 size(wxDefaultSize
), gotPos(false), pos(-1)
2908 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2910 wxPySizerItemInfo info
;
2912 wxSize
* sizePtr
= &size
;
2914 // Find out what the type of the item is
2916 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2921 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2925 // try wxSize or (w,h)
2926 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2927 info
.size
= *sizePtr
;
2928 info
.gotSize
= true;
2932 if (checkIdx
&& PyInt_Check(item
)) {
2933 info
.pos
= PyInt_AsLong(item
);
2939 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2940 // no expected type, figure out what kind of error message to generate
2941 if ( !checkSize
&& !checkIdx
)
2942 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2943 else if ( checkSize
&& !checkIdx
)
2944 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2945 else if ( !checkSize
&& checkIdx
)
2946 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2948 // can this one happen?
2949 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2955 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2956 if (!self
->GetClientObject())
2957 self
->SetClientObject(new wxPyOORClientData(_self
));
2959 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2961 wxPyUserData
* data
= NULL
;
2962 bool blocked
= wxPyBeginBlockThreads();
2963 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2964 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2965 data
= new wxPyUserData(userData
);
2966 wxPyEndBlockThreads(blocked
);
2968 // Now call the real Add method if a valid item type was found
2970 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2971 else if ( info
.sizer
)
2972 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2973 else if (info
.gotSize
)
2974 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2975 proportion
, flag
, border
, data
);
2979 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2981 wxPyUserData
* data
= NULL
;
2982 bool blocked
= wxPyBeginBlockThreads();
2983 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2984 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2985 data
= new wxPyUserData(userData
);
2986 wxPyEndBlockThreads(blocked
);
2988 // Now call the real Insert method if a valid item type was found
2990 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2991 else if ( info
.sizer
)
2992 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2993 else if (info
.gotSize
)
2994 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2995 proportion
, flag
, border
, data
);
2999 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3001 wxPyUserData
* data
= NULL
;
3002 bool blocked
= wxPyBeginBlockThreads();
3003 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3004 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3005 data
= new wxPyUserData(userData
);
3006 wxPyEndBlockThreads(blocked
);
3008 // Now call the real Prepend method if a valid item type was found
3010 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3011 else if ( info
.sizer
)
3012 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3013 else if (info
.gotSize
)
3014 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3015 proportion
, flag
, border
, data
);
3019 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3020 bool blocked
= wxPyBeginBlockThreads();
3021 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3022 wxPyEndBlockThreads(blocked
);
3024 return self
->Remove(info
.window
);
3025 else if ( info
.sizer
)
3026 return self
->Remove(info
.sizer
);
3027 else if ( info
.gotPos
)
3028 return self
->Remove(info
.pos
);
3032 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3033 bool blocked
= wxPyBeginBlockThreads();
3034 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3035 wxPyEndBlockThreads(blocked
);
3037 return self
->Detach(info
.window
);
3038 else if ( info
.sizer
)
3039 return self
->Detach(info
.sizer
);
3040 else if ( info
.gotPos
)
3041 return self
->Detach(info
.pos
);
3045 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3046 bool blocked
= wxPyBeginBlockThreads();
3047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3048 wxPyEndBlockThreads(blocked
);
3050 return self
->GetItem(info
.window
);
3051 else if ( info
.sizer
)
3052 return self
->GetItem(info
.sizer
);
3053 else if ( info
.gotPos
)
3054 return self
->GetItem(info
.pos
);
3058 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3059 bool blocked
= wxPyBeginBlockThreads();
3060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3061 wxPyEndBlockThreads(blocked
);
3063 self
->SetItemMinSize(info
.window
, size
);
3064 else if ( info
.sizer
)
3065 self
->SetItemMinSize(info
.sizer
, size
);
3066 else if ( info
.gotPos
)
3067 self
->SetItemMinSize(info
.pos
, size
);
3069 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3070 wxSizerItemList
& list
= self
->GetChildren();
3071 return wxPy_ConvertList(&list
);
3073 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3074 bool blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->Show(info
.window
, show
, recursive
);
3079 else if ( info
.sizer
)
3080 return self
->Show(info
.sizer
, show
, recursive
);
3081 else if ( info
.gotPos
)
3082 return self
->Show(info
.pos
, show
);
3086 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3087 bool blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3089 wxPyEndBlockThreads(blocked
);
3091 return self
->IsShown(info
.window
);
3092 else if ( info
.sizer
)
3093 return self
->IsShown(info
.sizer
);
3094 else if ( info
.gotPos
)
3095 return self
->IsShown(info
.pos
);
3101 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3102 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3103 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3108 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3110 if (source
== Py_None
) {
3111 **obj
= wxGBPosition(-1,-1);
3114 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3117 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3119 if (source
== Py_None
) {
3120 **obj
= wxGBSpan(-1,-1);
3123 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3127 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3131 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3132 bool blocked
= wxPyBeginBlockThreads();
3133 PyObject
* tup
= PyTuple_New(2);
3134 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3135 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3136 wxPyEndBlockThreads(blocked
);
3139 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3140 self
->SetRowspan(rowspan
);
3141 self
->SetColspan(colspan
);
3143 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3144 bool blocked
= wxPyBeginBlockThreads();
3145 PyObject
* tup
= PyTuple_New(2);
3146 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3147 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3148 wxPyEndBlockThreads(blocked
);
3151 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3152 wxPyUserData
* data
= NULL
;
3154 bool blocked
= wxPyBeginBlockThreads();
3155 data
= new wxPyUserData(userData
);
3156 wxPyEndBlockThreads(blocked
);
3158 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3160 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3161 wxPyUserData
* data
= NULL
;
3163 bool blocked
= wxPyBeginBlockThreads();
3164 data
= new wxPyUserData(userData
);
3165 wxPyEndBlockThreads(blocked
);
3167 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3169 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3170 wxPyUserData
* data
= NULL
;
3172 bool blocked
= wxPyBeginBlockThreads();
3173 data
= new wxPyUserData(userData
);
3174 wxPyEndBlockThreads(blocked
);
3176 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3178 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3180 self
->GetEndPos(row
, col
);
3181 return wxGBPosition(row
, col
);
3183 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3185 wxPyUserData
* data
= NULL
;
3186 bool blocked
= wxPyBeginBlockThreads();
3187 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3188 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3189 data
= new wxPyUserData(userData
);
3190 wxPyEndBlockThreads(blocked
);
3192 // Now call the real Add method if a valid item type was found
3194 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3195 else if ( info
.sizer
)
3196 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3197 else if (info
.gotSize
)
3198 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3199 pos
, span
, flag
, border
, data
);
3207 static int _wrap_EmptyString_set(PyObject
*) {
3208 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3213 static PyObject
*_wrap_EmptyString_get(void) {
3218 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3220 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3227 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxObject
*arg1
= (wxObject
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 result
= wxObject_GetClassName(arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3259 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxObject
*arg1
= (wxObject
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3269 if (SWIG_arg_fail(1)) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxObject_Destroy(arg1
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3289 return Py_BuildValue((char *)"");
3291 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxSize
*arg1
= (wxSize
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3296 PyObject
* obj1
= 0 ;
3298 (char *) "self",(char *) "x", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail
;
3305 arg2
= (int)(SWIG_As_int(obj1
));
3306 if (SWIG_arg_fail(2)) SWIG_fail
;
3308 if (arg1
) (arg1
)->x
= arg2
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxSize
*arg1
= (wxSize
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3323 (char *) "self", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3328 if (SWIG_arg_fail(1)) SWIG_fail
;
3329 result
= (int) ((arg1
)->x
);
3332 resultobj
= SWIG_From_int((int)(result
));
3340 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxSize
*arg1
= (wxSize
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "y", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 arg2
= (int)(SWIG_As_int(obj1
));
3355 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 if (arg1
) (arg1
)->y
= arg2
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxSize
*arg1
= (wxSize
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 result
= (int) ((arg1
)->y
);
3381 resultobj
= SWIG_From_int((int)(result
));
3389 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 int arg1
= (int) 0 ;
3392 int arg2
= (int) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "w",(char *) "h", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 arg1
= (int)(SWIG_As_int(obj0
));
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3409 arg2
= (int)(SWIG_As_int(obj1
));
3410 if (SWIG_arg_fail(2)) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3427 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxSize
*arg1
= (wxSize
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3437 if (SWIG_arg_fail(1)) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxSize
*arg1
= (wxSize
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "sz", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3466 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3487 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxSize
*arg1
= (wxSize
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "sz", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3522 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxSize
*arg1
= (wxSize
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "sz", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3536 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3550 resultptr
= new wxSize((wxSize
&)(result
));
3551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3559 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxSize
*arg1
= (wxSize
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "sz", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3573 if (SWIG_arg_fail(1)) SWIG_fail
;
3576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 resultptr
= new wxSize((wxSize
&)(result
));
3588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3596 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxSize
*arg1
= (wxSize
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "sz", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail
;
3612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->IncTo((wxSize
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxSize
*arg1
= (wxSize
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "sz", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3641 if (SWIG_arg_fail(1)) SWIG_fail
;
3644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 (arg1
)->DecTo((wxSize
const &)*arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxSize
*arg1
= (wxSize
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 (char *) "self",(char *) "w",(char *) "h", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3674 if (SWIG_arg_fail(1)) SWIG_fail
;
3676 arg2
= (int)(SWIG_As_int(obj1
));
3677 if (SWIG_arg_fail(2)) SWIG_fail
;
3680 arg3
= (int)(SWIG_As_int(obj2
));
3681 if (SWIG_arg_fail(3)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->Set(arg2
,arg3
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxSize
*arg1
= (wxSize
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3704 (char *) "self",(char *) "w", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3709 if (SWIG_arg_fail(1)) SWIG_fail
;
3711 arg2
= (int)(SWIG_As_int(obj1
));
3712 if (SWIG_arg_fail(2)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 (arg1
)->SetWidth(arg2
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxSize
*arg1
= (wxSize
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3735 (char *) "self",(char *) "h", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail
;
3742 arg2
= (int)(SWIG_As_int(obj1
));
3743 if (SWIG_arg_fail(2)) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetHeight(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxSize
*arg1
= (wxSize
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_From_int((int)(result
));
3787 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxSize
*arg1
= (wxSize
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int((int)(result
));
3815 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxSize
*arg1
= (wxSize
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3843 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxSize
*arg1
= (wxSize
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "size", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(1)) SWIG_fail
;
3859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3875 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxSize
*arg1
= (wxSize
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3886 if (SWIG_arg_fail(1)) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (PyObject
*)wxSize_Get(arg1
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3901 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3904 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3906 return Py_BuildValue((char *)"");
3908 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "x", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 arg2
= (double)(SWIG_As_double(obj1
));
3923 if (SWIG_arg_fail(2)) SWIG_fail
;
3925 if (arg1
) (arg1
)->x
= arg2
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3934 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3940 (char *) "self", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail
;
3946 result
= (double) ((arg1
)->x
);
3949 resultobj
= SWIG_From_double((double)(result
));
3957 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "y", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= (double)(SWIG_As_double(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3974 if (arg1
) (arg1
)->y
= arg2
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 result
= (double) ((arg1
)->y
);
3998 resultobj
= SWIG_From_double((double)(result
));
4006 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 double arg1
= (double) 0.0 ;
4009 double arg2
= (double) 0.0 ;
4010 wxRealPoint
*result
;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "x",(char *) "y", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4020 arg1
= (double)(SWIG_As_double(obj0
));
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4026 arg2
= (double)(SWIG_As_double(obj1
));
4027 if (SWIG_arg_fail(2)) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4044 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4047 PyObject
* obj0
= 0 ;
4049 (char *) "self", NULL
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4054 if (SWIG_arg_fail(1)) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4072 wxRealPoint
*arg2
= 0 ;
4075 PyObject
* obj0
= 0 ;
4076 PyObject
* obj1
= 0 ;
4078 (char *) "self",(char *) "pt", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4083 if (SWIG_arg_fail(1)) SWIG_fail
;
4086 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4104 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4107 wxRealPoint
*arg2
= 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "pt", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4118 if (SWIG_arg_fail(1)) SWIG_fail
;
4121 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4139 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4142 wxRealPoint
*arg2
= 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "pt", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4153 if (SWIG_arg_fail(1)) SWIG_fail
;
4156 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4166 wxRealPoint
* resultptr
;
4167 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4176 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4179 wxRealPoint
*arg2
= 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "pt", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 wxRealPoint
* resultptr
;
4204 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4213 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4220 PyObject
* obj2
= 0 ;
4222 (char *) "self",(char *) "x",(char *) "y", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail
;
4229 arg2
= (double)(SWIG_As_double(obj1
));
4230 if (SWIG_arg_fail(2)) SWIG_fail
;
4233 arg3
= (double)(SWIG_As_double(obj2
));
4234 if (SWIG_arg_fail(3)) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxRealPoint_Set(arg1
,arg2
,arg3
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 Py_INCREF(Py_None
); resultobj
= Py_None
;
4250 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4256 (char *) "self", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4276 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxPoint
*arg1
= (wxPoint
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "x", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 arg2
= (int)(SWIG_As_int(obj1
));
4298 if (SWIG_arg_fail(2)) SWIG_fail
;
4300 if (arg1
) (arg1
)->x
= arg2
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxPoint
*arg1
= (wxPoint
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 result
= (int) ((arg1
)->x
);
4324 resultobj
= SWIG_From_int((int)(result
));
4332 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxPoint
*arg1
= (wxPoint
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "y", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= (int)(SWIG_As_int(obj1
));
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4349 if (arg1
) (arg1
)->y
= arg2
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxPoint
*arg1
= (wxPoint
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 result
= (int) ((arg1
)->y
);
4373 resultobj
= SWIG_From_int((int)(result
));
4381 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 int arg1
= (int) 0 ;
4384 int arg2
= (int) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "x",(char *) "y", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 arg1
= (int)(SWIG_As_int(obj0
));
4396 if (SWIG_arg_fail(1)) SWIG_fail
;
4401 arg2
= (int)(SWIG_As_int(obj1
));
4402 if (SWIG_arg_fail(2)) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4419 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxPoint
*arg1
= (wxPoint
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4424 (char *) "self", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxPoint
*arg1
= (wxPoint
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "pt", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4458 if (SWIG_arg_fail(1)) SWIG_fail
;
4461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxPoint
*arg1
= (wxPoint
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "pt", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4493 if (SWIG_arg_fail(1)) SWIG_fail
;
4496 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxPoint
*arg1
= (wxPoint
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4523 (char *) "self",(char *) "pt", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 wxPoint
* resultptr
;
4542 resultptr
= new wxPoint((wxPoint
&)(result
));
4543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4551 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint
*arg1
= (wxPoint
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "pt", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 wxPoint
* resultptr
;
4579 resultptr
= new wxPoint((wxPoint
&)(result
));
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4588 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPoint
*arg1
= (wxPoint
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "pt", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4602 if (SWIG_arg_fail(1)) SWIG_fail
;
4605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4611 result
= (wxPoint
*) &_result_ref
;
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4624 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxPoint
*arg1
= (wxPoint
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "pt", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4638 if (SWIG_arg_fail(1)) SWIG_fail
;
4641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4647 result
= (wxPoint
*) &_result_ref
;
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4660 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxPoint
*arg1
= (wxPoint
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4669 (char *) "self",(char *) "x",(char *) "y", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail
;
4676 arg2
= (long)(SWIG_As_long(obj1
));
4677 if (SWIG_arg_fail(2)) SWIG_fail
;
4680 arg3
= (long)(SWIG_As_long(obj2
));
4681 if (SWIG_arg_fail(3)) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 wxPoint_Set(arg1
,arg2
,arg3
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 Py_INCREF(Py_None
); resultobj
= Py_None
;
4697 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxPoint
*arg1
= (wxPoint
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(1)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (PyObject
*)wxPoint_Get(arg1
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4723 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4726 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4728 return Py_BuildValue((char *)"");
4730 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 int arg1
= (int) 0 ;
4733 int arg2
= (int) 0 ;
4734 int arg3
= (int) 0 ;
4735 int arg4
= (int) 0 ;
4737 PyObject
* obj0
= 0 ;
4738 PyObject
* obj1
= 0 ;
4739 PyObject
* obj2
= 0 ;
4740 PyObject
* obj3
= 0 ;
4742 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4748 arg1
= (int)(SWIG_As_int(obj0
));
4749 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 arg2
= (int)(SWIG_As_int(obj1
));
4755 if (SWIG_arg_fail(2)) SWIG_fail
;
4760 arg3
= (int)(SWIG_As_int(obj2
));
4761 if (SWIG_arg_fail(3)) SWIG_fail
;
4766 arg4
= (int)(SWIG_As_int(obj3
));
4767 if (SWIG_arg_fail(4)) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4784 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4794 (char *) "topLeft",(char *) "bottomRight", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4800 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4820 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "pos",(char *) "size", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4856 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "size", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4869 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4885 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxRect
*arg1
= (wxRect
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4890 (char *) "self", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4895 if (SWIG_arg_fail(1)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 Py_INCREF(Py_None
); resultobj
= Py_None
;
4910 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRect
*arg1
= (wxRect
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4916 (char *) "self", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (int)((wxRect
const *)arg1
)->GetX();
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_From_int((int)(result
));
4938 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "x", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4950 if (SWIG_arg_fail(1)) SWIG_fail
;
4952 arg2
= (int)(SWIG_As_int(obj1
));
4953 if (SWIG_arg_fail(2)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxRect
*arg1
= (wxRect
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (int)(arg1
)->GetY();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_From_int((int)(result
));
4997 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxRect
*arg1
= (wxRect
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5004 (char *) "self",(char *) "y", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5009 if (SWIG_arg_fail(1)) SWIG_fail
;
5011 arg2
= (int)(SWIG_As_int(obj1
));
5012 if (SWIG_arg_fail(2)) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRect
*arg1
= (wxRect
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_From_int((int)(result
));
5056 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRect
*arg1
= (wxRect
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5063 (char *) "self",(char *) "w", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5068 if (SWIG_arg_fail(1)) SWIG_fail
;
5070 arg2
= (int)(SWIG_As_int(obj1
));
5071 if (SWIG_arg_fail(2)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetWidth(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxRect
*arg1
= (wxRect
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_From_int((int)(result
));
5115 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxRect
*arg1
= (wxRect
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5122 (char *) "self",(char *) "h", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5127 if (SWIG_arg_fail(1)) SWIG_fail
;
5129 arg2
= (int)(SWIG_As_int(obj1
));
5130 if (SWIG_arg_fail(2)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 (arg1
)->SetHeight(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 Py_INCREF(Py_None
); resultobj
= Py_None
;
5146 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxRect
*arg1
= (wxRect
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= ((wxRect
const *)arg1
)->GetPosition();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5166 wxPoint
* resultptr
;
5167 resultptr
= new wxPoint((wxPoint
&)(result
));
5168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5176 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxRect
*arg1
= (wxRect
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "p", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 Py_INCREF(Py_None
); resultobj
= Py_None
;
5208 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxRect
*arg1
= (wxRect
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= ((wxRect
const *)arg1
)->GetSize();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5229 resultptr
= new wxSize((wxSize
&)(result
));
5230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5238 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxRect
*arg1
= (wxRect
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "s", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->SetSize((wxSize
const &)*arg2
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxRect
*arg1
= (wxRect
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 wxPoint
* resultptr
;
5291 resultptr
= new wxPoint((wxPoint
&)(result
));
5292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5300 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxRect
*arg1
= (wxRect
*) 0 ;
5305 PyObject
* obj0
= 0 ;
5306 PyObject
* obj1
= 0 ;
5308 (char *) "self",(char *) "p", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail
;
5316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRect
*arg1
= (wxRect
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 wxPoint
* resultptr
;
5353 resultptr
= new wxPoint((wxPoint
&)(result
));
5354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5362 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxRect
*arg1
= (wxRect
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "p", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxRect
*arg1
= (wxRect
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int((int)(result
));
5422 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRect
*arg1
= (wxRect
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5433 if (SWIG_arg_fail(1)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (int)((wxRect
const *)arg1
)->GetTop();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_From_int((int)(result
));
5450 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRect
*arg1
= (wxRect
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRect
*arg1
= (wxRect
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxRect
const *)arg1
)->GetRight();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRect
*arg1
= (wxRect
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "left", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= (int)(SWIG_As_int(obj1
));
5521 if (SWIG_arg_fail(2)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetLeft(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxRect
*arg1
= (wxRect
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "right", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5551 arg2
= (int)(SWIG_As_int(obj1
));
5552 if (SWIG_arg_fail(2)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 (arg1
)->SetRight(arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxRect
*arg1
= (wxRect
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "top", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 arg2
= (int)(SWIG_As_int(obj1
));
5583 if (SWIG_arg_fail(2)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetTop(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxRect
*arg1
= (wxRect
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "bottom", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 arg2
= (int)(SWIG_As_int(obj1
));
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetBottom(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRect
*arg1
= (wxRect
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 PyObject
* obj2
= 0 ;
5640 (char *) "self",(char *) "dx",(char *) "dy", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 arg2
= (int)(SWIG_As_int(obj1
));
5648 if (SWIG_arg_fail(2)) SWIG_fail
;
5651 arg3
= (int)(SWIG_As_int(obj2
));
5652 if (SWIG_arg_fail(3)) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5658 result
= (wxRect
*) &_result_ref
;
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5671 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRect
*arg1
= (wxRect
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5681 (char *) "self",(char *) "dx",(char *) "dy", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail
;
5688 arg2
= (int)(SWIG_As_int(obj1
));
5689 if (SWIG_arg_fail(2)) SWIG_fail
;
5692 arg3
= (int)(SWIG_As_int(obj2
));
5693 if (SWIG_arg_fail(3)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5699 result
= (wxRect
*) &_result_ref
;
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5712 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxRect
*arg1
= (wxRect
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5719 PyObject
* obj2
= 0 ;
5721 (char *) "self",(char *) "dx",(char *) "dy", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail
;
5728 arg2
= (int)(SWIG_As_int(obj1
));
5729 if (SWIG_arg_fail(2)) SWIG_fail
;
5732 arg3
= (int)(SWIG_As_int(obj2
));
5733 if (SWIG_arg_fail(3)) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 (arg1
)->Offset(arg2
,arg3
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxRect
*arg1
= (wxRect
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5757 (char *) "self",(char *) "pt", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5762 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->Offset((wxPoint
const &)*arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxRect
*arg1
= (wxRect
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5790 (char *) "self",(char *) "rect", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5795 if (SWIG_arg_fail(1)) SWIG_fail
;
5798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5809 resultptr
= new wxRect((wxRect
&)(result
));
5810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5818 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxRect
*arg1
= (wxRect
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 (char *) "self",(char *) "rect", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5832 if (SWIG_arg_fail(1)) SWIG_fail
;
5835 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5846 resultptr
= new wxRect((wxRect
&)(result
));
5847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5855 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRect
*arg1
= (wxRect
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "rect", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 resultptr
= new wxRect((wxRect
&)(result
));
5884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5892 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxRect
*arg1
= (wxRect
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "self",(char *) "rect", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5906 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5915 result
= (wxRect
*) &_result_ref
;
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5928 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxRect
*arg1
= (wxRect
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5937 (char *) "self",(char *) "rect", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5963 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxRect
*arg1
= (wxRect
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "self",(char *) "rect", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail
;
5980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5998 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxRect
*arg1
= (wxRect
*) 0 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6006 PyObject
* obj2
= 0 ;
6008 (char *) "self",(char *) "x",(char *) "y", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail
;
6015 arg2
= (int)(SWIG_As_int(obj1
));
6016 if (SWIG_arg_fail(2)) SWIG_fail
;
6019 arg3
= (int)(SWIG_As_int(obj2
));
6020 if (SWIG_arg_fail(3)) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRect
*arg1
= (wxRect
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "pt", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6052 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxRect
*arg1
= (wxRect
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "rect", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6087 if (SWIG_arg_fail(1)) SWIG_fail
;
6090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxRect
*arg1
= (wxRect
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6115 (char *) "self",(char *) "x", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 arg2
= (int)(SWIG_As_int(obj1
));
6123 if (SWIG_arg_fail(2)) SWIG_fail
;
6125 if (arg1
) (arg1
)->x
= arg2
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxRect
*arg1
= (wxRect
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 result
= (int) ((arg1
)->x
);
6149 resultobj
= SWIG_From_int((int)(result
));
6157 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxRect
*arg1
= (wxRect
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "y", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 arg2
= (int)(SWIG_As_int(obj1
));
6172 if (SWIG_arg_fail(2)) SWIG_fail
;
6174 if (arg1
) (arg1
)->y
= arg2
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxRect
*arg1
= (wxRect
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6189 (char *) "self", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6195 result
= (int) ((arg1
)->y
);
6198 resultobj
= SWIG_From_int((int)(result
));
6206 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRect
*arg1
= (wxRect
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6213 (char *) "self",(char *) "width", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 arg2
= (int)(SWIG_As_int(obj1
));
6221 if (SWIG_arg_fail(2)) SWIG_fail
;
6223 if (arg1
) (arg1
)->width
= arg2
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxRect
*arg1
= (wxRect
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 result
= (int) ((arg1
)->width
);
6247 resultobj
= SWIG_From_int((int)(result
));
6255 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRect
*arg1
= (wxRect
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "height", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 arg2
= (int)(SWIG_As_int(obj1
));
6270 if (SWIG_arg_fail(2)) SWIG_fail
;
6272 if (arg1
) (arg1
)->height
= arg2
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxRect
*arg1
= (wxRect
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6292 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 result
= (int) ((arg1
)->height
);
6296 resultobj
= SWIG_From_int((int)(result
));
6304 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxRect
*arg1
= (wxRect
*) 0 ;
6307 int arg2
= (int) 0 ;
6308 int arg3
= (int) 0 ;
6309 int arg4
= (int) 0 ;
6310 int arg5
= (int) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 PyObject
* obj2
= 0 ;
6314 PyObject
* obj3
= 0 ;
6315 PyObject
* obj4
= 0 ;
6317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 arg2
= (int)(SWIG_As_int(obj1
));
6326 if (SWIG_arg_fail(2)) SWIG_fail
;
6331 arg3
= (int)(SWIG_As_int(obj2
));
6332 if (SWIG_arg_fail(3)) SWIG_fail
;
6337 arg4
= (int)(SWIG_As_int(obj3
));
6338 if (SWIG_arg_fail(4)) SWIG_fail
;
6343 arg5
= (int)(SWIG_As_int(obj4
));
6344 if (SWIG_arg_fail(5)) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxRect
*arg1
= (wxRect
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6372 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (PyObject
*)wxRect_Get(arg1
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6387 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6390 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6392 return Py_BuildValue((char *)"");
6394 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxRect
*arg1
= (wxRect
*) 0 ;
6397 wxRect
*arg2
= (wxRect
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 (char *) "r1",(char *) "r2", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(2)) SWIG_fail
;
6411 if (!wxPyCheckForApp()) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6425 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 double arg1
= (double) 0.0 ;
6428 double arg2
= (double) 0.0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "x",(char *) "y", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6439 arg1
= (double)(SWIG_As_double(obj0
));
6440 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 arg2
= (double)(SWIG_As_double(obj1
));
6446 if (SWIG_arg_fail(2)) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6463 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPoint2D
*arg1
= 0 ;
6468 PyObject
* obj0
= 0 ;
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6476 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6492 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6497 PyObject
* obj0
= 0 ;
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6505 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6521 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6524 int *arg2
= (int *) 0 ;
6525 int *arg3
= (int *) 0 ;
6530 PyObject
* obj0
= 0 ;
6532 (char *) "self", NULL
6535 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6536 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6549 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6550 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6551 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6558 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6561 int *arg2
= (int *) 0 ;
6562 int *arg3
= (int *) 0 ;
6567 PyObject
* obj0
= 0 ;
6569 (char *) "self", NULL
6572 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6573 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6586 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6587 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6588 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6595 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_From_double((double)(result
));
6623 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6629 (char *) "self", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6634 if (SWIG_arg_fail(1)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_From_double((double)(result
));
6651 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6658 (char *) "self",(char *) "length", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail
;
6665 arg2
= (double)(SWIG_As_double(obj1
));
6666 if (SWIG_arg_fail(2)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetVectorLength(arg2
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6689 (char *) "self",(char *) "degrees", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6694 if (SWIG_arg_fail(1)) SWIG_fail
;
6696 arg2
= (double)(SWIG_As_double(obj1
));
6697 if (SWIG_arg_fail(2)) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetVectorAngle(arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6716 wxPoint2D
*arg2
= 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6722 (char *) "self",(char *) "pt", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6727 if (SWIG_arg_fail(1)) SWIG_fail
;
6730 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_From_double((double)(result
));
6748 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6751 wxPoint2D
*arg2
= 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "pt", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6762 if (SWIG_arg_fail(1)) SWIG_fail
;
6765 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_From_double((double)(result
));
6783 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6786 wxPoint2D
*arg2
= 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 (char *) "self",(char *) "vec", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6797 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_From_double((double)(result
));
6818 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6821 wxPoint2D
*arg2
= 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "vec", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail
;
6835 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_From_double((double)(result
));
6853 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (arg1
)->operator -();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 wxPoint2D
* resultptr
;
6874 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6883 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6886 wxPoint2D
*arg2
= 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "pt", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6906 result
= (wxPoint2D
*) &_result_ref
;
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6919 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6922 wxPoint2D
*arg2
= 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "pt", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6942 result
= (wxPoint2D
*) &_result_ref
;
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6955 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6958 wxPoint2D
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "pt", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6978 result
= (wxPoint2D
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6991 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6994 wxPoint2D
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "pt", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7014 result
= (wxPoint2D
*) &_result_ref
;
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7027 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7030 wxPoint2D
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "pt", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7062 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7065 wxPoint2D
*arg2
= 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7071 (char *) "self",(char *) "pt", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7097 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "m_x", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 arg2
= (double)(SWIG_As_double(obj1
));
7112 if (SWIG_arg_fail(2)) SWIG_fail
;
7114 if (arg1
) (arg1
)->m_x
= arg2
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7129 (char *) "self", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7134 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 result
= (double) ((arg1
)->m_x
);
7138 resultobj
= SWIG_From_double((double)(result
));
7146 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "m_y", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 arg2
= (double)(SWIG_As_double(obj1
));
7161 if (SWIG_arg_fail(2)) SWIG_fail
;
7163 if (arg1
) (arg1
)->m_y
= arg2
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 result
= (double) ((arg1
)->m_y
);
7187 resultobj
= SWIG_From_double((double)(result
));
7195 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7198 double arg2
= (double) 0 ;
7199 double arg3
= (double) 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7202 PyObject
* obj2
= 0 ;
7204 (char *) "self",(char *) "x",(char *) "y", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7209 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (double)(SWIG_As_double(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7218 arg3
= (double)(SWIG_As_double(obj2
));
7219 if (SWIG_arg_fail(3)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPoint2D_Set(arg1
,arg2
,arg3
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7262 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7265 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7267 return Py_BuildValue((char *)"");
7269 static int _wrap_DefaultPosition_set(PyObject
*) {
7270 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7275 static PyObject
*_wrap_DefaultPosition_get(void) {
7278 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7283 static int _wrap_DefaultSize_set(PyObject
*) {
7284 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7289 static PyObject
*_wrap_DefaultSize_get(void) {
7292 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7297 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 PyObject
*arg1
= (PyObject
*) 0 ;
7300 wxPyInputStream
*result
;
7301 PyObject
* obj0
= 0 ;
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7322 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "self", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7347 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7403 (char *) "self", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7408 if (SWIG_arg_fail(1)) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)(arg1
)->eof();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7425 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 int arg2
= (int) -1 ;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7433 (char *) "self",(char *) "size", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(1)) SWIG_fail
;
7441 arg2
= (int)(SWIG_As_int(obj1
));
7442 if (SWIG_arg_fail(2)) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (PyObject
*)(arg1
)->read(arg2
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7459 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7462 int arg2
= (int) -1 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "size", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 arg2
= (int)(SWIG_As_int(obj1
));
7476 if (SWIG_arg_fail(2)) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (PyObject
*)(arg1
)->readline(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7493 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7496 int arg2
= (int) -1 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "sizehint", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(1)) SWIG_fail
;
7509 arg2
= (int)(SWIG_As_int(obj1
));
7510 if (SWIG_arg_fail(2)) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7527 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7531 int arg3
= (int) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7534 PyObject
* obj2
= 0 ;
7536 (char *) "self",(char *) "offset",(char *) "whence", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7541 if (SWIG_arg_fail(1)) SWIG_fail
;
7543 arg2
= (int)(SWIG_As_int(obj1
));
7544 if (SWIG_arg_fail(2)) SWIG_fail
;
7548 arg3
= (int)(SWIG_As_int(obj2
));
7549 if (SWIG_arg_fail(3)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->seek(arg2
,arg3
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7577 if (SWIG_arg_fail(1)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (int)(arg1
)->tell();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_From_int((int)(result
));
7594 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (char)(arg1
)->Peek();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_From_char((char)(result
));
7622 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (char)(arg1
)->GetC();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_char((char)(result
));
7650 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (size_t)(arg1
)->LastRead();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7678 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)(arg1
)->CanRead();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7706 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (bool)(arg1
)->Eof();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7734 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "c", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(1)) SWIG_fail
;
7749 arg2
= (char)(SWIG_As_char(obj1
));
7750 if (SWIG_arg_fail(2)) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)(arg1
)->Ungetch(arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7768 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7772 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7778 (char *) "self",(char *) "pos",(char *) "mode", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 arg2
= (long)(SWIG_As_long(obj1
));
7786 if (SWIG_arg_fail(2)) SWIG_fail
;
7790 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7791 if (SWIG_arg_fail(3)) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_From_long((long)(result
));
7810 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (long)(arg1
)->TellI();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_From_long((long)(result
));
7838 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7848 PyObject
*arg2
= (PyObject
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "obj", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(1)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 wxOutputStream_write(arg1
,arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7876 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7878 return Py_BuildValue((char *)"");
7880 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7883 wxString
*arg2
= 0 ;
7884 wxString
*arg3
= 0 ;
7885 wxString
*arg4
= 0 ;
7888 wxPyInputStream
*temp1
;
7890 bool temp2
= false ;
7891 bool temp3
= false ;
7892 bool temp4
= false ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7897 PyObject
* obj4
= 0 ;
7899 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7904 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7905 arg1
= temp1
->m_wxis
;
7908 PyErr_Clear(); // clear the failure of the wxPyConvert above
7909 arg1
= wxPyCBInputStream_create(obj0
, false);
7911 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7918 arg2
= wxString_in_helper(obj1
);
7919 if (arg2
== NULL
) SWIG_fail
;
7923 arg3
= wxString_in_helper(obj2
);
7924 if (arg3
== NULL
) SWIG_fail
;
7928 arg4
= wxString_in_helper(obj3
);
7929 if (arg4
== NULL
) SWIG_fail
;
7934 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7935 if (SWIG_arg_fail(5)) SWIG_fail
;
7937 SWIG_null_ref("wxDateTime");
7939 if (SWIG_arg_fail(5)) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= wxPyMake_wxObject(result
, 1);
7990 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8018 wxInputStream
*result
;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxInputStream
*)(arg1
)->GetStream();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 wxPyInputStream
* _ptr
= NULL
;
8038 _ptr
= new wxPyInputStream(result
);
8040 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8048 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8064 result
= (wxString
*) &_result_ref
;
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8083 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxString
const &_result_ref
= (arg1
)->GetLocation();
8099 result
= (wxString
*) &_result_ref
;
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8118 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8134 result
= (wxString
*) &_result_ref
;
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8153 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8164 if (SWIG_arg_fail(1)) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (arg1
)->GetModificationTime();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8173 wxDateTime
* resultptr
;
8174 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8183 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8186 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8188 return Py_BuildValue((char *)"");
8190 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8193 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8195 return Py_BuildValue((char *)"");
8197 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxPyFileSystemHandler
*result
;
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8219 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8222 PyObject
*arg2
= (PyObject
*) 0 ;
8223 PyObject
*arg3
= (PyObject
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 PyObject
* obj2
= 0 ;
8228 (char *) "self",(char *) "self",(char *) "_class", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8233 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8250 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8253 wxString
*arg2
= 0 ;
8255 bool temp2
= false ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "location", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8264 if (SWIG_arg_fail(1)) SWIG_fail
;
8266 arg2
= wxString_in_helper(obj1
);
8267 if (arg2
== NULL
) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8297 wxFileSystem
*arg2
= 0 ;
8298 wxString
*arg3
= 0 ;
8300 bool temp3
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8305 (char *) "self",(char *) "fs",(char *) "location", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8313 if (SWIG_arg_fail(2)) SWIG_fail
;
8315 SWIG_null_ref("wxFileSystem");
8317 if (SWIG_arg_fail(2)) SWIG_fail
;
8320 arg3
= wxString_in_helper(obj2
);
8321 if (arg3
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= wxPyMake_wxObject(result
, 1);
8348 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8351 wxString
*arg2
= 0 ;
8352 int arg3
= (int) 0 ;
8354 bool temp2
= false ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8359 (char *) "self",(char *) "spec",(char *) "flags", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8372 arg3
= (int)(SWIG_As_int(obj2
));
8373 if (SWIG_arg_fail(3)) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8404 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (arg1
)->FindNext();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8436 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8439 wxString
*arg2
= 0 ;
8441 bool temp2
= false ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "location", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 arg2
= wxString_in_helper(obj1
);
8453 if (arg2
== NULL
) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8484 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8487 wxString
*arg2
= 0 ;
8489 bool temp2
= false ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "location", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8532 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8535 wxString
*arg2
= 0 ;
8537 bool temp2
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8541 (char *) "self",(char *) "location", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8546 if (SWIG_arg_fail(1)) SWIG_fail
;
8548 arg2
= wxString_in_helper(obj1
);
8549 if (arg2
== NULL
) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8580 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8583 wxString
*arg2
= 0 ;
8585 bool temp2
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8589 (char *) "self",(char *) "location", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 arg2
= wxString_in_helper(obj1
);
8597 if (arg2
== NULL
) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8628 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8631 wxString
*arg2
= 0 ;
8633 bool temp2
= false ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "location", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail
;
8644 arg2
= wxString_in_helper(obj1
);
8645 if (arg2
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8676 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8679 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8681 return Py_BuildValue((char *)"");
8683 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8685 wxFileSystem
*result
;
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxFileSystem
*)new wxFileSystem();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= wxPyMake_wxObject(result
, 1);
8707 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8712 (char *) "self", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8735 wxString
*arg2
= 0 ;
8736 bool arg3
= (bool) false ;
8737 bool temp2
= false ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 arg2
= wxString_in_helper(obj1
);
8750 if (arg2
== NULL
) SWIG_fail
;
8755 arg3
= (bool)(SWIG_As_bool(obj2
));
8756 if (SWIG_arg_fail(3)) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 Py_INCREF(Py_None
); resultobj
= Py_None
;
8781 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8785 PyObject
* obj0
= 0 ;
8787 (char *) "self", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (arg1
)->GetPath();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8813 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8816 wxString
*arg2
= 0 ;
8818 bool temp2
= false ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "location", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail
;
8829 arg2
= wxString_in_helper(obj1
);
8830 if (arg2
== NULL
) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= wxPyMake_wxObject(result
, 1);
8857 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8860 wxString
*arg2
= 0 ;
8861 int arg3
= (int) 0 ;
8863 bool temp2
= false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "self",(char *) "spec",(char *) "flags", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= wxString_in_helper(obj1
);
8876 if (arg2
== NULL
) SWIG_fail
;
8881 arg3
= (int)(SWIG_As_int(obj2
));
8882 if (SWIG_arg_fail(3)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8913 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (arg1
)->FindNext();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8945 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "handler", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxFileSystem::AddHandler(arg1
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxFileSystem::CleanUpHandlers();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxString
*arg1
= 0 ;
8995 bool temp1
= false ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "filename", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9003 arg1
= wxString_in_helper(obj0
);
9004 if (arg1
== NULL
) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9035 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxString
*arg1
= 0 ;
9039 bool temp1
= false ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "url", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9047 arg1
= wxString_in_helper(obj0
);
9048 if (arg1
== NULL
) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9079 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9084 return Py_BuildValue((char *)"");
9086 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxInternetFSHandler
*result
;
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9108 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9111 wxString
*arg2
= 0 ;
9113 bool temp2
= false ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9117 (char *) "self",(char *) "location", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 arg2
= wxString_in_helper(obj1
);
9125 if (arg2
== NULL
) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9152 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9155 wxFileSystem
*arg2
= 0 ;
9156 wxString
*arg3
= 0 ;
9158 bool temp3
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9163 (char *) "self",(char *) "fs",(char *) "location", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9171 if (SWIG_arg_fail(2)) SWIG_fail
;
9173 SWIG_null_ref("wxFileSystem");
9175 if (SWIG_arg_fail(2)) SWIG_fail
;
9178 arg3
= wxString_in_helper(obj2
);
9179 if (arg3
== NULL
) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= wxPyMake_wxObject(result
, 1);
9206 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9209 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9211 return Py_BuildValue((char *)"");
9213 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxZipFSHandler
*result
;
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9235 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9238 wxString
*arg2
= 0 ;
9240 bool temp2
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9244 (char *) "self",(char *) "location", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail
;
9251 arg2
= wxString_in_helper(obj1
);
9252 if (arg2
== NULL
) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9279 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9282 wxFileSystem
*arg2
= 0 ;
9283 wxString
*arg3
= 0 ;
9285 bool temp3
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 PyObject
* obj2
= 0 ;
9290 (char *) "self",(char *) "fs",(char *) "location", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(2)) SWIG_fail
;
9300 SWIG_null_ref("wxFileSystem");
9302 if (SWIG_arg_fail(2)) SWIG_fail
;
9305 arg3
= wxString_in_helper(obj2
);
9306 if (arg3
== NULL
) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= wxPyMake_wxObject(result
, 1);
9333 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9336 wxString
*arg2
= 0 ;
9337 int arg3
= (int) 0 ;
9339 bool temp2
= false ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9344 (char *) "self",(char *) "spec",(char *) "flags", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 arg2
= wxString_in_helper(obj1
);
9352 if (arg2
== NULL
) SWIG_fail
;
9357 arg3
= (int)(SWIG_As_int(obj2
));
9358 if (SWIG_arg_fail(3)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9389 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (arg1
)->FindNext();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9421 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9426 return Py_BuildValue((char *)"");
9428 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxString
*arg1
= 0 ;
9433 bool temp1
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9438 (char *) "filename",(char *) "image",(char *) "type", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9443 arg1
= wxString_in_helper(obj0
);
9444 if (arg1
== NULL
) SWIG_fail
;
9448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(2)) SWIG_fail
;
9451 SWIG_null_ref("wxImage");
9453 if (SWIG_arg_fail(2)) SWIG_fail
;
9456 arg3
= (long)(SWIG_As_long(obj2
));
9457 if (SWIG_arg_fail(3)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxString
*arg1
= 0 ;
9484 wxBitmap
*arg2
= 0 ;
9486 bool temp1
= false ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 PyObject
* obj2
= 0 ;
9491 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9496 arg1
= wxString_in_helper(obj0
);
9497 if (arg1
== NULL
) SWIG_fail
;
9501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9502 if (SWIG_arg_fail(2)) SWIG_fail
;
9504 SWIG_null_ref("wxBitmap");
9506 if (SWIG_arg_fail(2)) SWIG_fail
;
9509 arg3
= (long)(SWIG_As_long(obj2
));
9510 if (SWIG_arg_fail(3)) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 Py_INCREF(Py_None
); resultobj
= Py_None
;
9534 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxString
*arg1
= 0 ;
9537 PyObject
*arg2
= (PyObject
*) 0 ;
9538 bool temp1
= false ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "filename",(char *) "data", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 arg1
= wxString_in_helper(obj0
);
9548 if (arg1
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxMemoryFSHandler
*result
;
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9596 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxString
*arg1
= 0 ;
9599 bool temp1
= false ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "filename", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9607 arg1
= wxString_in_helper(obj0
);
9608 if (arg1
== NULL
) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9636 wxString
*arg2
= 0 ;
9638 bool temp2
= false ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "location", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail
;
9649 arg2
= wxString_in_helper(obj1
);
9650 if (arg2
== NULL
) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9680 wxFileSystem
*arg2
= 0 ;
9681 wxString
*arg3
= 0 ;
9683 bool temp3
= false ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9688 (char *) "self",(char *) "fs",(char *) "location", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9696 if (SWIG_arg_fail(2)) SWIG_fail
;
9698 SWIG_null_ref("wxFileSystem");
9700 if (SWIG_arg_fail(2)) SWIG_fail
;
9703 arg3
= wxString_in_helper(obj2
);
9704 if (arg3
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= wxPyMake_wxObject(result
, 1);
9731 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9734 wxString
*arg2
= 0 ;
9735 int arg3
= (int) 0 ;
9737 bool temp2
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9742 (char *) "self",(char *) "spec",(char *) "flags", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 arg2
= wxString_in_helper(obj1
);
9750 if (arg2
== NULL
) SWIG_fail
;
9755 arg3
= (int)(SWIG_As_int(obj2
));
9756 if (SWIG_arg_fail(3)) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9787 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (arg1
)->FindNext();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9819 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9822 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9824 return Py_BuildValue((char *)"");
9826 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (arg1
)->GetName();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9858 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->GetExtension();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (long)(arg1
)->GetType();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_From_long((long)(result
));
9918 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (arg1
)->GetMimeType();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9950 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9953 wxString
*arg2
= 0 ;
9955 bool temp2
= false ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9959 (char *) "self",(char *) "name", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 arg2
= wxString_in_helper(obj1
);
9967 if (arg2
== NULL
) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9997 wxString
*arg2
= 0 ;
9998 bool temp2
= false ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "name", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail
;
10009 arg2
= wxString_in_helper(obj1
);
10010 if (arg2
== NULL
) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 (arg1
)->SetName((wxString
const &)*arg2
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10038 wxString
*arg2
= 0 ;
10039 bool temp2
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "extension", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10050 arg2
= wxString_in_helper(obj1
);
10051 if (arg2
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 (arg1
)->SetExtension((wxString
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 Py_INCREF(Py_None
); resultobj
= Py_None
;
10076 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "type", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10088 if (SWIG_arg_fail(1)) SWIG_fail
;
10090 arg2
= (long)(SWIG_As_long(obj1
));
10091 if (SWIG_arg_fail(2)) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->SetType(arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10110 wxString
*arg2
= 0 ;
10111 bool temp2
= false ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self",(char *) "mimetype", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10120 if (SWIG_arg_fail(1)) SWIG_fail
;
10122 arg2
= wxString_in_helper(obj1
);
10123 if (arg2
== NULL
) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10151 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10153 return Py_BuildValue((char *)"");
10155 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxImageHistogram
*result
;
10158 char *kwnames
[] = {
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (wxImageHistogram
*)new wxImageHistogram();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10177 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 unsigned char arg1
;
10180 unsigned char arg2
;
10181 unsigned char arg3
;
10182 unsigned long result
;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "r",(char *) "g",(char *) "b", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10192 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10196 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10197 if (SWIG_arg_fail(2)) SWIG_fail
;
10200 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10201 if (SWIG_arg_fail(3)) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10219 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10222 unsigned char *arg2
= (unsigned char *) 0 ;
10223 unsigned char *arg3
= (unsigned char *) 0 ;
10224 unsigned char *arg4
= (unsigned char *) 0 ;
10225 unsigned char arg5
= (unsigned char) 1 ;
10226 unsigned char arg6
= (unsigned char) 0 ;
10227 unsigned char arg7
= (unsigned char) 0 ;
10229 unsigned char temp2
;
10231 unsigned char temp3
;
10233 unsigned char temp4
;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 PyObject
* obj2
= 0 ;
10238 PyObject
* obj3
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10243 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10244 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10245 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail
;
10251 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10252 if (SWIG_arg_fail(5)) SWIG_fail
;
10257 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10258 if (SWIG_arg_fail(6)) SWIG_fail
;
10263 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10264 if (SWIG_arg_fail(7)) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10278 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10279 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10280 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10281 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10282 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10289 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10292 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10294 return Py_BuildValue((char *)"");
10296 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxString
*arg1
= 0 ;
10299 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10300 int arg3
= (int) -1 ;
10302 bool temp1
= false ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "name",(char *) "type",(char *) "index", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10312 arg1
= wxString_in_helper(obj0
);
10313 if (arg1
== NULL
) SWIG_fail
;
10318 arg2
= (long)(SWIG_As_long(obj1
));
10319 if (SWIG_arg_fail(2)) SWIG_fail
;
10324 arg3
= (int)(SWIG_As_int(obj2
));
10325 if (SWIG_arg_fail(3)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10350 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImage
*arg1
= (wxImage
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxString
*arg1
= 0 ;
10378 wxString
*arg2
= 0 ;
10379 int arg3
= (int) -1 ;
10381 bool temp1
= false ;
10382 bool temp2
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10392 arg1
= wxString_in_helper(obj0
);
10393 if (arg1
== NULL
) SWIG_fail
;
10397 arg2
= wxString_in_helper(obj1
);
10398 if (arg2
== NULL
) SWIG_fail
;
10403 arg3
= (int)(SWIG_As_int(obj2
));
10404 if (SWIG_arg_fail(3)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10437 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxInputStream
*arg1
= 0 ;
10440 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10441 int arg3
= (int) -1 ;
10443 wxPyInputStream
*temp1
;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "stream",(char *) "type",(char *) "index", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10454 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10455 arg1
= temp1
->m_wxis
;
10458 PyErr_Clear(); // clear the failure of the wxPyConvert above
10459 arg1
= wxPyCBInputStream_create(obj0
, false);
10460 if (arg1
== NULL
) {
10461 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10469 arg2
= (long)(SWIG_As_long(obj1
));
10470 if (SWIG_arg_fail(2)) SWIG_fail
;
10475 arg3
= (int)(SWIG_As_int(obj2
));
10476 if (SWIG_arg_fail(3)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10501 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxInputStream
*arg1
= 0 ;
10504 wxString
*arg2
= 0 ;
10505 int arg3
= (int) -1 ;
10507 wxPyInputStream
*temp1
;
10509 bool temp2
= false ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 PyObject
* obj2
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10520 arg1
= temp1
->m_wxis
;
10523 PyErr_Clear(); // clear the failure of the wxPyConvert above
10524 arg1
= wxPyCBInputStream_create(obj0
, false);
10525 if (arg1
== NULL
) {
10526 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10533 arg2
= wxString_in_helper(obj1
);
10534 if (arg2
== NULL
) SWIG_fail
;
10539 arg3
= (int)(SWIG_As_int(obj2
));
10540 if (SWIG_arg_fail(3)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10573 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 int arg1
= (int) 0 ;
10576 int arg2
= (int) 0 ;
10577 bool arg3
= (bool) true ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 PyObject
* obj2
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "width",(char *) "height",(char *) "clear", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10589 arg1
= (int)(SWIG_As_int(obj0
));
10590 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 arg2
= (int)(SWIG_As_int(obj1
));
10596 if (SWIG_arg_fail(2)) SWIG_fail
;
10601 arg3
= (bool)(SWIG_As_bool(obj2
));
10602 if (SWIG_arg_fail(3)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10619 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxBitmap
*arg1
= 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "bitmap", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10632 if (arg1
== NULL
) {
10633 SWIG_null_ref("wxBitmap");
10635 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 if (!wxPyCheckForApp()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10652 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10656 unsigned char *arg3
= (unsigned char *) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 PyObject
* obj2
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "width",(char *) "height",(char *) "data", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10667 arg1
= (int)(SWIG_As_int(obj0
));
10668 if (SWIG_arg_fail(1)) SWIG_fail
;
10671 arg2
= (int)(SWIG_As_int(obj1
));
10672 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10675 if (SWIG_arg_fail(3)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10690 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10694 unsigned char *arg3
= (unsigned char *) 0 ;
10695 unsigned char *arg4
= (unsigned char *) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 PyObject
* obj3
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10707 arg1
= (int)(SWIG_As_int(obj0
));
10708 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 arg2
= (int)(SWIG_As_int(obj1
));
10712 if (SWIG_arg_fail(2)) SWIG_fail
;
10714 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(3)) SWIG_fail
;
10716 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(4)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10732 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxImage
*arg1
= (wxImage
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 PyObject
* obj2
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self",(char *) "width",(char *) "height", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail
;
10748 arg2
= (int)(SWIG_As_int(obj1
));
10749 if (SWIG_arg_fail(2)) SWIG_fail
;
10752 arg3
= (int)(SWIG_As_int(obj2
));
10753 if (SWIG_arg_fail(3)) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->Create(arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxImage
*arg1
= (wxImage
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10779 if (SWIG_arg_fail(1)) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10799 SwigValueWrapper
<wxImage
> result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "width",(char *) "height", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10811 arg2
= (int)(SWIG_As_int(obj1
));
10812 if (SWIG_arg_fail(2)) SWIG_fail
;
10815 arg3
= (int)(SWIG_As_int(obj2
));
10816 if (SWIG_arg_fail(3)) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (arg1
)->Scale(arg2
,arg3
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 wxImage
* resultptr
;
10827 resultptr
= new wxImage((wxImage
&)(result
));
10828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10836 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxImage
*arg1
= (wxImage
*) 0 ;
10841 SwigValueWrapper
<wxImage
> result
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10851 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 arg2
= (int)(SWIG_As_int(obj1
));
10854 if (SWIG_arg_fail(2)) SWIG_fail
;
10857 arg3
= (int)(SWIG_As_int(obj2
));
10858 if (SWIG_arg_fail(3)) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 wxImage
* resultptr
;
10869 resultptr
= new wxImage((wxImage
&)(result
));
10870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10878 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxImage
*arg1
= (wxImage
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "width",(char *) "height", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= (int)(SWIG_As_int(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10899 arg3
= (int)(SWIG_As_int(obj2
));
10900 if (SWIG_arg_fail(3)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10906 result
= (wxImage
*) &_result_ref
;
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10919 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxImage
*arg1
= (wxImage
*) 0 ;
10924 unsigned char arg4
;
10925 unsigned char arg5
;
10926 unsigned char arg6
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 PyObject
* obj2
= 0 ;
10930 PyObject
* obj3
= 0 ;
10931 PyObject
* obj4
= 0 ;
10932 PyObject
* obj5
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 arg2
= (int)(SWIG_As_int(obj1
));
10942 if (SWIG_arg_fail(2)) SWIG_fail
;
10945 arg3
= (int)(SWIG_As_int(obj2
));
10946 if (SWIG_arg_fail(3)) SWIG_fail
;
10949 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10950 if (SWIG_arg_fail(4)) SWIG_fail
;
10953 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10954 if (SWIG_arg_fail(5)) SWIG_fail
;
10957 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10958 if (SWIG_arg_fail(6)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxImage
*arg1
= (wxImage
*) 0 ;
10979 unsigned char result
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 PyObject
* obj2
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "x",(char *) "y", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10989 if (SWIG_arg_fail(1)) SWIG_fail
;
10991 arg2
= (int)(SWIG_As_int(obj1
));
10992 if (SWIG_arg_fail(2)) SWIG_fail
;
10995 arg3
= (int)(SWIG_As_int(obj2
));
10996 if (SWIG_arg_fail(3)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11014 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11019 unsigned char result
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "x",(char *) "y", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11029 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 arg2
= (int)(SWIG_As_int(obj1
));
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11054 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxImage
*arg1
= (wxImage
*) 0 ;
11059 unsigned char result
;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 PyObject
* obj2
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "x",(char *) "y", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11071 arg2
= (int)(SWIG_As_int(obj1
));
11072 if (SWIG_arg_fail(2)) SWIG_fail
;
11075 arg3
= (int)(SWIG_As_int(obj2
));
11076 if (SWIG_arg_fail(3)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11094 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxImage
*arg1
= (wxImage
*) 0 ;
11099 unsigned char arg4
;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 PyObject
* obj3
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11110 if (SWIG_arg_fail(1)) SWIG_fail
;
11112 arg2
= (int)(SWIG_As_int(obj1
));
11113 if (SWIG_arg_fail(2)) SWIG_fail
;
11116 arg3
= (int)(SWIG_As_int(obj2
));
11117 if (SWIG_arg_fail(3)) SWIG_fail
;
11120 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11121 if (SWIG_arg_fail(4)) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxImage
*arg1
= (wxImage
*) 0 ;
11142 unsigned char result
;
11143 PyObject
* obj0
= 0 ;
11144 PyObject
* obj1
= 0 ;
11145 PyObject
* obj2
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self",(char *) "x",(char *) "y", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11152 if (SWIG_arg_fail(1)) SWIG_fail
;
11154 arg2
= (int)(SWIG_As_int(obj1
));
11155 if (SWIG_arg_fail(2)) SWIG_fail
;
11158 arg3
= (int)(SWIG_As_int(obj2
));
11159 if (SWIG_arg_fail(3)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11177 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxImage
*arg1
= (wxImage
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11188 if (SWIG_arg_fail(1)) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (bool)(arg1
)->HasAlpha();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxImage
*arg1
= (wxImage
*) 0 ;
11208 byte
*arg2
= (byte
*) 0 ;
11209 byte
*arg3
= (byte
*) 0 ;
11210 byte
*arg4
= (byte
*) 0 ;
11211 byte arg5
= (byte
) 0 ;
11212 byte arg6
= (byte
) 0 ;
11213 byte arg7
= (byte
) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 PyObject
* obj3
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11229 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11230 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11231 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail
;
11237 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11238 if (SWIG_arg_fail(5)) SWIG_fail
;
11243 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11244 if (SWIG_arg_fail(6)) SWIG_fail
;
11249 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11250 if (SWIG_arg_fail(7)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11264 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11265 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11266 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11267 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11268 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11275 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxImage
*arg1
= (wxImage
*) 0 ;
11278 byte arg2
= (byte
) 128 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self",(char *) "threshold", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11292 if (SWIG_arg_fail(2)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11311 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxImage
*arg1
= (wxImage
*) 0 ;
11314 unsigned char arg2
;
11315 unsigned char arg3
;
11316 unsigned char arg4
;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 PyObject
* obj3
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11328 if (SWIG_arg_fail(1)) SWIG_fail
;
11330 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11331 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11335 if (SWIG_arg_fail(3)) SWIG_fail
;
11338 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11339 if (SWIG_arg_fail(4)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11357 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxImage
*arg1
= (wxImage
*) 0 ;
11360 wxImage
*arg2
= 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 PyObject
* obj2
= 0 ;
11368 PyObject
* obj3
= 0 ;
11369 PyObject
* obj4
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail
;
11378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11379 if (SWIG_arg_fail(2)) SWIG_fail
;
11380 if (arg2
== NULL
) {
11381 SWIG_null_ref("wxImage");
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11387 if (SWIG_arg_fail(3)) SWIG_fail
;
11390 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11391 if (SWIG_arg_fail(4)) SWIG_fail
;
11394 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11395 if (SWIG_arg_fail(5)) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11413 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxString
*arg1
= 0 ;
11417 bool temp1
= false ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "name", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11425 arg1
= wxString_in_helper(obj0
);
11426 if (arg1
== NULL
) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11453 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxString
*arg1
= 0 ;
11456 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11458 bool temp1
= false ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "name",(char *) "type", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 arg1
= wxString_in_helper(obj0
);
11468 if (arg1
== NULL
) SWIG_fail
;
11473 arg2
= (long)(SWIG_As_long(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_int((int)(result
));
11501 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxImage
*arg1
= (wxImage
*) 0 ;
11504 wxString
*arg2
= 0 ;
11505 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11506 int arg4
= (int) -1 ;
11508 bool temp2
= false ;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 PyObject
* obj2
= 0 ;
11512 PyObject
* obj3
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11519 if (SWIG_arg_fail(1)) SWIG_fail
;
11521 arg2
= wxString_in_helper(obj1
);
11522 if (arg2
== NULL
) SWIG_fail
;
11527 arg3
= (long)(SWIG_As_long(obj2
));
11528 if (SWIG_arg_fail(3)) SWIG_fail
;
11533 arg4
= (int)(SWIG_As_int(obj3
));
11534 if (SWIG_arg_fail(4)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11561 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxImage
*arg1
= (wxImage
*) 0 ;
11564 wxString
*arg2
= 0 ;
11565 wxString
*arg3
= 0 ;
11566 int arg4
= (int) -1 ;
11568 bool temp2
= false ;
11569 bool temp3
= false ;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj2
= 0 ;
11573 PyObject
* obj3
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11580 if (SWIG_arg_fail(1)) SWIG_fail
;
11582 arg2
= wxString_in_helper(obj1
);
11583 if (arg2
== NULL
) SWIG_fail
;
11587 arg3
= wxString_in_helper(obj2
);
11588 if (arg3
== NULL
) SWIG_fail
;
11593 arg4
= (int)(SWIG_As_int(obj3
));
11594 if (SWIG_arg_fail(4)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11629 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxImage
*arg1
= (wxImage
*) 0 ;
11632 wxString
*arg2
= 0 ;
11635 bool temp2
= false ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "name",(char *) "type", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 arg3
= (int)(SWIG_As_int(obj2
));
11653 if (SWIG_arg_fail(3)) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11682 wxString
*arg2
= 0 ;
11683 wxString
*arg3
= 0 ;
11685 bool temp2
= false ;
11686 bool temp3
= false ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 arg2
= wxString_in_helper(obj1
);
11699 if (arg2
== NULL
) SWIG_fail
;
11703 arg3
= wxString_in_helper(obj2
);
11704 if (arg3
== NULL
) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxInputStream
*arg1
= 0 ;
11743 wxPyInputStream
*temp1
;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "stream", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11752 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11753 arg1
= temp1
->m_wxis
;
11756 PyErr_Clear(); // clear the failure of the wxPyConvert above
11757 arg1
= wxPyCBInputStream_create(obj0
, false);
11758 if (arg1
== NULL
) {
11759 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)wxImage::CanRead(*arg1
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxImage
*arg1
= (wxImage
*) 0 ;
11792 wxInputStream
*arg2
= 0 ;
11793 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11794 int arg4
= (int) -1 ;
11796 wxPyInputStream
*temp2
;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 PyObject
* obj3
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11808 if (SWIG_arg_fail(1)) SWIG_fail
;
11810 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11811 arg2
= temp2
->m_wxis
;
11814 PyErr_Clear(); // clear the failure of the wxPyConvert above
11815 arg2
= wxPyCBInputStream_create(obj1
, false);
11816 if (arg2
== NULL
) {
11817 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11825 arg3
= (long)(SWIG_As_long(obj2
));
11826 if (SWIG_arg_fail(3)) SWIG_fail
;
11831 arg4
= (int)(SWIG_As_int(obj3
));
11832 if (SWIG_arg_fail(4)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxImage
*arg1
= (wxImage
*) 0 ;
11862 wxInputStream
*arg2
= 0 ;
11863 wxString
*arg3
= 0 ;
11864 int arg4
= (int) -1 ;
11866 wxPyInputStream
*temp2
;
11868 bool temp3
= false ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 PyObject
* obj3
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11881 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11882 arg2
= temp2
->m_wxis
;
11885 PyErr_Clear(); // clear the failure of the wxPyConvert above
11886 arg2
= wxPyCBInputStream_create(obj1
, false);
11887 if (arg2
== NULL
) {
11888 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11895 arg3
= wxString_in_helper(obj2
);
11896 if (arg3
== NULL
) SWIG_fail
;
11901 arg4
= (int)(SWIG_As_int(obj3
));
11902 if (SWIG_arg_fail(4)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11937 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxImage
*arg1
= (wxImage
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->Ok();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxImage
*arg1
= (wxImage
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (int)(arg1
)->GetWidth();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int((int)(result
));
11993 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxImage
*arg1
= (wxImage
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (int)(arg1
)->GetHeight();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int((int)(result
));
12021 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxImage
*arg1
= (wxImage
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= wxImage_GetSize(arg1
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 wxSize
* resultptr
;
12042 resultptr
= new wxSize((wxSize
&)(result
));
12043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12051 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxImage
*arg1
= (wxImage
*) 0 ;
12055 SwigValueWrapper
<wxImage
> result
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "rect", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 wxImage
* resultptr
;
12079 resultptr
= new wxImage((wxImage
&)(result
));
12080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12088 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxImage
*arg1
= (wxImage
*) 0 ;
12091 SwigValueWrapper
<wxImage
> result
;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (arg1
)->Copy();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 wxImage
* resultptr
;
12109 resultptr
= new wxImage((wxImage
&)(result
));
12110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12118 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxImage
*arg1
= (wxImage
*) 0 ;
12121 wxImage
*arg2
= 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12134 if (SWIG_arg_fail(1)) SWIG_fail
;
12136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(2)) SWIG_fail
;
12138 if (arg2
== NULL
) {
12139 SWIG_null_ref("wxImage");
12141 if (SWIG_arg_fail(2)) SWIG_fail
;
12144 arg3
= (int)(SWIG_As_int(obj2
));
12145 if (SWIG_arg_fail(3)) SWIG_fail
;
12148 arg4
= (int)(SWIG_As_int(obj3
));
12149 if (SWIG_arg_fail(4)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxImage
*arg1
= (wxImage
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (PyObject
*)wxImage_GetData(arg1
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
;
12191 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxImage
*arg1
= (wxImage
*) 0 ;
12194 PyObject
*arg2
= (PyObject
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "data", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 wxImage_SetData(arg1
,arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxImage
*arg1
= (wxImage
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
;
12245 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxImage
*arg1
= (wxImage
*) 0 ;
12248 PyObject
*arg2
= (PyObject
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self",(char *) "data", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 wxImage_SetDataBuffer(arg1
,arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 Py_INCREF(Py_None
); resultobj
= Py_None
;
12273 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxImage
*arg1
= (wxImage
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12284 if (SWIG_arg_fail(1)) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= result
;
12299 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxImage
*arg1
= (wxImage
*) 0 ;
12302 PyObject
*arg2
= (PyObject
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "data", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 wxImage_SetAlphaData(arg1
,arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 Py_INCREF(Py_None
); resultobj
= Py_None
;
12327 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxImage
*arg1
= (wxImage
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12338 if (SWIG_arg_fail(1)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= result
;
12353 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxImage
*arg1
= (wxImage
*) 0 ;
12356 PyObject
*arg2
= (PyObject
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self",(char *) "data", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 wxImage_SetAlphaBuffer(arg1
,arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12381 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxImage
*arg1
= (wxImage
*) 0 ;
12384 unsigned char arg2
;
12385 unsigned char arg3
;
12386 unsigned char arg4
;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 PyObject
* obj2
= 0 ;
12390 PyObject
* obj3
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12399 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12400 if (SWIG_arg_fail(2)) SWIG_fail
;
12403 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12404 if (SWIG_arg_fail(3)) SWIG_fail
;
12407 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12408 if (SWIG_arg_fail(4)) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxImage
*arg1
= (wxImage
*) 0 ;
12427 unsigned char result
;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (unsigned char)(arg1
)->GetMaskRed();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12452 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxImage
*arg1
= (wxImage
*) 0 ;
12455 unsigned char result
;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (unsigned char)(arg1
)->GetMaskGreen();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12480 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxImage
*arg1
= (wxImage
*) 0 ;
12483 unsigned char result
;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (unsigned char)(arg1
)->GetMaskBlue();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12508 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxImage
*arg1
= (wxImage
*) 0 ;
12511 bool arg2
= (bool) true ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self",(char *) "mask", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 arg2
= (bool)(SWIG_As_bool(obj1
));
12524 if (SWIG_arg_fail(2)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetMask(arg2
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxImage
*arg1
= (wxImage
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->HasMask();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxImage
*arg1
= (wxImage
*) 0 ;
12573 wxPoint
*arg3
= 0 ;
12574 bool arg4
= (bool) true ;
12575 wxPoint
*arg5
= (wxPoint
*) NULL
;
12576 SwigValueWrapper
<wxImage
> result
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 PyObject
* obj2
= 0 ;
12581 PyObject
* obj3
= 0 ;
12582 PyObject
* obj4
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12589 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 arg2
= (double)(SWIG_As_double(obj1
));
12592 if (SWIG_arg_fail(2)) SWIG_fail
;
12596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12600 arg4
= (bool)(SWIG_As_bool(obj3
));
12601 if (SWIG_arg_fail(4)) SWIG_fail
;
12605 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(5)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12616 wxImage
* resultptr
;
12617 resultptr
= new wxImage((wxImage
&)(result
));
12618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12626 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxImage
*arg1
= (wxImage
*) 0 ;
12629 bool arg2
= (bool) true ;
12630 SwigValueWrapper
<wxImage
> result
;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "clockwise", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 arg2
= (bool)(SWIG_As_bool(obj1
));
12643 if (SWIG_arg_fail(2)) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (arg1
)->Rotate90(arg2
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 wxImage
* resultptr
;
12655 resultptr
= new wxImage((wxImage
&)(result
));
12656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12664 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxImage
*arg1
= (wxImage
*) 0 ;
12667 bool arg2
= (bool) true ;
12668 SwigValueWrapper
<wxImage
> result
;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "horizontally", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 arg2
= (bool)(SWIG_As_bool(obj1
));
12681 if (SWIG_arg_fail(2)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (arg1
)->Mirror(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 wxImage
* resultptr
;
12693 resultptr
= new wxImage((wxImage
&)(result
));
12694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12702 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxImage
*arg1
= (wxImage
*) 0 ;
12705 unsigned char arg2
;
12706 unsigned char arg3
;
12707 unsigned char arg4
;
12708 unsigned char arg5
;
12709 unsigned char arg6
;
12710 unsigned char arg7
;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 PyObject
* obj3
= 0 ;
12715 PyObject
* obj4
= 0 ;
12716 PyObject
* obj5
= 0 ;
12717 PyObject
* obj6
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail
;
12726 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12727 if (SWIG_arg_fail(2)) SWIG_fail
;
12730 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12731 if (SWIG_arg_fail(3)) SWIG_fail
;
12734 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12735 if (SWIG_arg_fail(4)) SWIG_fail
;
12738 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12739 if (SWIG_arg_fail(5)) SWIG_fail
;
12742 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12743 if (SWIG_arg_fail(6)) SWIG_fail
;
12746 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12747 if (SWIG_arg_fail(7)) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 Py_INCREF(Py_None
); resultobj
= Py_None
;
12763 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxImage
*arg1
= (wxImage
*) 0 ;
12766 unsigned char arg2
;
12767 unsigned char arg3
;
12768 unsigned char arg4
;
12769 SwigValueWrapper
<wxImage
> result
;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 PyObject
* obj2
= 0 ;
12773 PyObject
* obj3
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12783 if (SWIG_arg_fail(2)) SWIG_fail
;
12786 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12787 if (SWIG_arg_fail(3)) SWIG_fail
;
12790 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12791 if (SWIG_arg_fail(4)) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 wxImage
* resultptr
;
12802 resultptr
= new wxImage((wxImage
&)(result
));
12803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12811 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxImage
*arg1
= (wxImage
*) 0 ;
12814 wxString
*arg2
= 0 ;
12815 wxString
*arg3
= 0 ;
12816 bool temp2
= false ;
12817 bool temp3
= false ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "name",(char *) "value", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12827 if (SWIG_arg_fail(1)) SWIG_fail
;
12829 arg2
= wxString_in_helper(obj1
);
12830 if (arg2
== NULL
) SWIG_fail
;
12834 arg3
= wxString_in_helper(obj2
);
12835 if (arg3
== NULL
) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxImage
*arg1
= (wxImage
*) 0 ;
12871 wxString
*arg2
= 0 ;
12873 bool temp2
= false ;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 PyObject
* obj2
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "name",(char *) "value", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail
;
12885 arg2
= wxString_in_helper(obj1
);
12886 if (arg2
== NULL
) SWIG_fail
;
12890 arg3
= (int)(SWIG_As_int(obj2
));
12891 if (SWIG_arg_fail(3)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxImage
*arg1
= (wxImage
*) 0 ;
12918 wxString
*arg2
= 0 ;
12920 bool temp2
= false ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self",(char *) "name", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail
;
12931 arg2
= wxString_in_helper(obj1
);
12932 if (arg2
== NULL
) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12963 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxImage
*arg1
= (wxImage
*) 0 ;
12966 wxString
*arg2
= 0 ;
12968 bool temp2
= false ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "name", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 arg2
= wxString_in_helper(obj1
);
12980 if (arg2
== NULL
) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_From_int((int)(result
));
13007 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxImage
*arg1
= (wxImage
*) 0 ;
13010 wxString
*arg2
= 0 ;
13012 bool temp2
= false ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "name", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13021 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxImage
*arg1
= (wxImage
*) 0 ;
13054 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13055 unsigned long result
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "stopafter", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13068 if (SWIG_arg_fail(2)) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13087 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxImage
*arg1
= (wxImage
*) 0 ;
13090 wxImageHistogram
*arg2
= 0 ;
13091 unsigned long result
;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "h", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13104 if (arg2
== NULL
) {
13105 SWIG_null_ref("wxImageHistogram");
13107 if (SWIG_arg_fail(2)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13125 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "handler", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 wxImage::AddHandler(arg1
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "handler", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxImage::InsertHandler(arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxString
*arg1
= 0 ;
13179 bool temp1
= false ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "name", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13187 arg1
= wxString_in_helper(obj0
);
13188 if (arg1
== NULL
) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13218 char *kwnames
[] = {
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= wxImage::GetImageExtWildcard();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13243 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxImage
*arg1
= (wxImage
*) 0 ;
13246 int arg2
= (int) -1 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "depth", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail
;
13259 arg2
= (int)(SWIG_As_int(obj1
));
13260 if (SWIG_arg_fail(2)) SWIG_fail
;
13264 if (!wxPyCheckForApp()) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 wxBitmap
* resultptr
;
13273 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13282 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxImage
*arg1
= (wxImage
*) 0 ;
13285 unsigned char arg2
;
13286 unsigned char arg3
;
13287 unsigned char arg4
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 PyObject
* obj2
= 0 ;
13292 PyObject
* obj3
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail
;
13301 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13302 if (SWIG_arg_fail(2)) SWIG_fail
;
13305 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13306 if (SWIG_arg_fail(3)) SWIG_fail
;
13309 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13310 if (SWIG_arg_fail(4)) SWIG_fail
;
13313 if (!wxPyCheckForApp()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 wxBitmap
* resultptr
;
13322 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13331 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13334 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13336 return Py_BuildValue((char *)"");
13338 static int _wrap_NullImage_set(PyObject
*) {
13339 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13344 static PyObject
*_wrap_NullImage_get(void) {
13347 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13352 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13353 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13358 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13363 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13365 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13372 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13373 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13378 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13383 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13385 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13392 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13393 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13398 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13403 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13405 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13412 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13413 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13418 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13423 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13425 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13432 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13433 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13438 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13443 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13445 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13452 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxBMPHandler
*result
;
13455 char *kwnames
[] = {
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (wxBMPHandler
*)new wxBMPHandler();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13474 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13477 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13479 return Py_BuildValue((char *)"");
13481 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxICOHandler
*result
;
13484 char *kwnames
[] = {
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxICOHandler
*)new wxICOHandler();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13503 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13506 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13508 return Py_BuildValue((char *)"");
13510 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxCURHandler
*result
;
13513 char *kwnames
[] = {
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (wxCURHandler
*)new wxCURHandler();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13532 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13535 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13537 return Py_BuildValue((char *)"");
13539 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxANIHandler
*result
;
13542 char *kwnames
[] = {
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxANIHandler
*)new wxANIHandler();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13561 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13564 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13566 return Py_BuildValue((char *)"");
13568 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxPNGHandler
*result
;
13571 char *kwnames
[] = {
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxPNGHandler
*)new wxPNGHandler();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13590 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxGIFHandler
*result
;
13600 char *kwnames
[] = {
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (wxGIFHandler
*)new wxGIFHandler();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13619 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13624 return Py_BuildValue((char *)"");
13626 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxPCXHandler
*result
;
13629 char *kwnames
[] = {
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxPCXHandler
*)new wxPCXHandler();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13648 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13651 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13653 return Py_BuildValue((char *)"");
13655 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxJPEGHandler
*result
;
13658 char *kwnames
[] = {
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13677 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13680 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13682 return Py_BuildValue((char *)"");
13684 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxPNMHandler
*result
;
13687 char *kwnames
[] = {
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (wxPNMHandler
*)new wxPNMHandler();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13706 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxXPMHandler
*result
;
13716 char *kwnames
[] = {
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (wxXPMHandler
*)new wxXPMHandler();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13735 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13738 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13740 return Py_BuildValue((char *)"");
13742 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxTIFFHandler
*result
;
13745 char *kwnames
[] = {
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13764 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13767 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13769 return Py_BuildValue((char *)"");
13771 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxImage
*arg1
= 0 ;
13774 wxImage
*arg2
= 0 ;
13775 int arg3
= (int) 236 ;
13776 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 PyObject
* obj2
= 0 ;
13781 PyObject
* obj3
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13790 if (arg1
== NULL
) {
13791 SWIG_null_ref("wxImage");
13793 if (SWIG_arg_fail(1)) SWIG_fail
;
13796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13797 if (SWIG_arg_fail(2)) SWIG_fail
;
13798 if (arg2
== NULL
) {
13799 SWIG_null_ref("wxImage");
13801 if (SWIG_arg_fail(2)) SWIG_fail
;
13805 arg3
= (int)(SWIG_As_int(obj2
));
13806 if (SWIG_arg_fail(3)) SWIG_fail
;
13811 arg4
= (int)(SWIG_As_int(obj3
));
13812 if (SWIG_arg_fail(4)) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13831 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13834 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13836 return Py_BuildValue((char *)"");
13838 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxEvtHandler
*result
;
13841 char *kwnames
[] = {
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (wxEvtHandler
*)new wxEvtHandler();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13860 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13863 wxEvtHandler
*result
;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13871 if (SWIG_arg_fail(1)) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= wxPyMake_wxObject(result
, 0);
13888 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13891 wxEvtHandler
*result
;
13892 PyObject
* obj0
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= wxPyMake_wxObject(result
, 0);
13916 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13919 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "handler", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(2)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 (arg1
)->SetNextHandler(arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13945 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13948 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "handler", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(1)) SWIG_fail
;
13958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13959 if (SWIG_arg_fail(2)) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->SetPreviousHandler(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13974 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14002 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "enabled", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 arg2
= (bool)(SWIG_As_bool(obj1
));
14017 if (SWIG_arg_fail(2)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 (arg1
)->SetEvtHandlerEnabled(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14036 wxEvent
*arg2
= 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "event", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14050 if (arg2
== NULL
) {
14051 SWIG_null_ref("wxEvent");
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14074 wxEvent
*arg2
= 0 ;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self",(char *) "event", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14083 if (SWIG_arg_fail(1)) SWIG_fail
;
14085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14086 if (SWIG_arg_fail(2)) SWIG_fail
;
14087 if (arg2
== NULL
) {
14088 SWIG_null_ref("wxEvent");
14090 if (SWIG_arg_fail(2)) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->AddPendingEvent(*arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->ProcessPendingEvents();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14137 PyObject
*arg5
= (PyObject
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 PyObject
* obj2
= 0 ;
14141 PyObject
* obj3
= 0 ;
14142 PyObject
* obj4
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail
;
14151 arg2
= (int)(SWIG_As_int(obj1
));
14152 if (SWIG_arg_fail(2)) SWIG_fail
;
14155 arg3
= (int)(SWIG_As_int(obj2
));
14156 if (SWIG_arg_fail(3)) SWIG_fail
;
14159 arg4
= (int)(SWIG_As_int(obj3
));
14160 if (SWIG_arg_fail(4)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14181 int arg3
= (int) -1 ;
14182 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 PyObject
* obj3
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(1)) SWIG_fail
;
14196 arg2
= (int)(SWIG_As_int(obj1
));
14197 if (SWIG_arg_fail(2)) SWIG_fail
;
14201 arg3
= (int)(SWIG_As_int(obj2
));
14202 if (SWIG_arg_fail(3)) SWIG_fail
;
14207 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14208 if (SWIG_arg_fail(4)) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14227 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14230 PyObject
*arg2
= (PyObject
*) 0 ;
14231 bool arg3
= (bool) true ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "_self",(char *) "incref", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14241 if (SWIG_arg_fail(1)) SWIG_fail
;
14245 arg3
= (bool)(SWIG_As_bool(obj2
));
14246 if (SWIG_arg_fail(3)) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14266 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14268 return Py_BuildValue((char *)"");
14270 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxEventType result
;
14273 char *kwnames
[] = {
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (wxEventType
)wxNewEventType();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_From_int((int)(result
));
14294 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxEvent
*arg1
= (wxEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxEvent
*arg1
= (wxEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "typ", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->SetEventType(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxEvent
*arg1
= (wxEvent
*) 0 ;
14353 wxEventType result
;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= SWIG_From_int((int)(result
));
14378 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxEvent
*arg1
= (wxEvent
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= wxPyMake_wxObject(result
, 0);
14406 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxEvent
*arg1
= (wxEvent
*) 0 ;
14409 wxObject
*arg2
= (wxObject
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "obj", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(2)) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 (arg1
)->SetEventObject(arg2
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 Py_INCREF(Py_None
); resultobj
= Py_None
;
14435 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxEvent
*arg1
= (wxEvent
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_From_long((long)(result
));
14463 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxEvent
*arg1
= (wxEvent
*) 0 ;
14466 long arg2
= (long) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "ts", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 arg2
= (long)(SWIG_As_long(obj1
));
14479 if (SWIG_arg_fail(2)) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 (arg1
)->SetTimestamp(arg2
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxEvent
*arg1
= (wxEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxEvent
const *)arg1
)->GetId();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_From_int((int)(result
));
14524 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxEvent
*arg1
= (wxEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "Id", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 arg2
= (int)(SWIG_As_int(obj1
));
14539 if (SWIG_arg_fail(2)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 (arg1
)->SetId(arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxEvent
*arg1
= (wxEvent
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14566 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14583 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxEvent
*arg1
= (wxEvent
*) 0 ;
14586 bool arg2
= (bool) true ;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "skip", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail
;
14598 arg2
= (bool)(SWIG_As_bool(obj1
));
14599 if (SWIG_arg_fail(2)) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->Skip(arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxEvent
*arg1
= (wxEvent
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14627 if (SWIG_arg_fail(1)) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14644 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxEvent
*arg1
= (wxEvent
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14655 if (SWIG_arg_fail(1)) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxEvent
*arg1
= (wxEvent
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (int)(arg1
)->StopPropagation();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_From_int((int)(result
));
14700 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxEvent
*arg1
= (wxEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "propagationLevel", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail
;
14714 arg2
= (int)(SWIG_As_int(obj1
));
14715 if (SWIG_arg_fail(2)) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->ResumePropagation(arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14731 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxEvent
*arg1
= (wxEvent
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14742 if (SWIG_arg_fail(1)) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (wxEvent
*)(arg1
)->Clone();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14757 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14760 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14762 return Py_BuildValue((char *)"");
14764 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxEvent
*arg1
= 0 ;
14767 wxPropagationDisabler
*result
;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "event", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(1)) SWIG_fail
;
14777 if (arg1
== NULL
) {
14778 SWIG_null_ref("wxEvent");
14780 if (SWIG_arg_fail(1)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14796 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14824 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14826 return Py_BuildValue((char *)"");
14828 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxEvent
*arg1
= 0 ;
14831 wxPropagateOnce
*result
;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "event", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 if (arg1
== NULL
) {
14842 SWIG_null_ref("wxEvent");
14844 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14860 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14890 return Py_BuildValue((char *)"");
14892 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14895 int arg2
= (int) 0 ;
14896 wxCommandEvent
*result
;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "commandType",(char *) "winid", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14906 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14912 arg2
= (int)(SWIG_As_int(obj1
));
14913 if (SWIG_arg_fail(2)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14930 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14941 if (SWIG_arg_fail(1)) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_From_int((int)(result
));
14958 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14961 wxString
*arg2
= 0 ;
14962 bool temp2
= false ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "s", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->SetString((wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 Py_INCREF(Py_None
); resultobj
= Py_None
;
14999 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15010 if (SWIG_arg_fail(1)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15031 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15059 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15070 if (SWIG_arg_fail(1)) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "extraLong", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail
;
15101 arg2
= (long)(SWIG_As_long(obj1
));
15102 if (SWIG_arg_fail(2)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetExtraLong(arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_long((long)(result
));
15146 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "i", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 arg2
= (int)(SWIG_As_int(obj1
));
15161 if (SWIG_arg_fail(2)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetInt(arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_From_long((long)(result
));
15205 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15231 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15234 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15236 return Py_BuildValue((char *)"");
15238 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15241 int arg2
= (int) 0 ;
15242 wxNotifyEvent
*result
;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "commandType",(char *) "winid", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15252 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 arg2
= (int)(SWIG_As_int(obj1
));
15259 if (SWIG_arg_fail(2)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15276 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 Py_INCREF(Py_None
); resultobj
= Py_None
;
15326 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15337 if (SWIG_arg_fail(1)) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)(arg1
)->IsAllowed();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15357 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15359 return Py_BuildValue((char *)"");
15361 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15364 int arg2
= (int) 0 ;
15365 int arg3
= (int) 0 ;
15366 int arg4
= (int) 0 ;
15367 wxScrollEvent
*result
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 PyObject
* obj3
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15379 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15380 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 arg2
= (int)(SWIG_As_int(obj1
));
15386 if (SWIG_arg_fail(2)) SWIG_fail
;
15391 arg3
= (int)(SWIG_As_int(obj2
));
15392 if (SWIG_arg_fail(3)) SWIG_fail
;
15397 arg4
= (int)(SWIG_As_int(obj3
));
15398 if (SWIG_arg_fail(4)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15415 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15426 if (SWIG_arg_fail(1)) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_From_int((int)(result
));
15443 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_From_int((int)(result
));
15471 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "orient", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15483 if (SWIG_arg_fail(1)) SWIG_fail
;
15485 arg2
= (int)(SWIG_As_int(obj1
));
15486 if (SWIG_arg_fail(2)) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetOrientation(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "pos", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15514 if (SWIG_arg_fail(1)) SWIG_fail
;
15516 arg2
= (int)(SWIG_As_int(obj1
));
15517 if (SWIG_arg_fail(2)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->SetPosition(arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15536 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15538 return Py_BuildValue((char *)"");
15540 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15543 int arg2
= (int) 0 ;
15544 int arg3
= (int) 0 ;
15545 wxScrollWinEvent
*result
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15556 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15557 if (SWIG_arg_fail(1)) SWIG_fail
;
15562 arg2
= (int)(SWIG_As_int(obj1
));
15563 if (SWIG_arg_fail(2)) SWIG_fail
;
15568 arg3
= (int)(SWIG_As_int(obj2
));
15569 if (SWIG_arg_fail(3)) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15586 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_int((int)(result
));
15614 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int((int)(result
));
15642 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "orient", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15656 arg2
= (int)(SWIG_As_int(obj1
));
15657 if (SWIG_arg_fail(2)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->SetOrientation(arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 Py_INCREF(Py_None
); resultobj
= Py_None
;
15673 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "pos", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15685 if (SWIG_arg_fail(1)) SWIG_fail
;
15687 arg2
= (int)(SWIG_As_int(obj1
));
15688 if (SWIG_arg_fail(2)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetPosition(arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 Py_INCREF(Py_None
); resultobj
= Py_None
;
15704 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15709 return Py_BuildValue((char *)"");
15711 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15714 wxMouseEvent
*result
;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "mouseType", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15723 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15724 if (SWIG_arg_fail(1)) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= wxPyMake_wxObject(result
, 1);
15743 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15754 if (SWIG_arg_fail(1)) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15774 int arg2
= (int) wxMOUSE_BTN_ANY
;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "but", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15784 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 arg2
= (int)(SWIG_As_int(obj1
));
15788 if (SWIG_arg_fail(2)) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15810 int arg2
= (int) wxMOUSE_BTN_ANY
;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self",(char *) "but", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15820 if (SWIG_arg_fail(1)) SWIG_fail
;
15823 arg2
= (int)(SWIG_As_int(obj1
));
15824 if (SWIG_arg_fail(2)) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15846 int arg2
= (int) wxMOUSE_BTN_ANY
;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "but", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15856 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 arg2
= (int)(SWIG_As_int(obj1
));
15860 if (SWIG_arg_fail(2)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15879 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "but", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail
;
15894 arg2
= (int)(SWIG_As_int(obj1
));
15895 if (SWIG_arg_fail(2)) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "but", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15926 if (SWIG_arg_fail(1)) SWIG_fail
;
15928 arg2
= (int)(SWIG_As_int(obj1
));
15929 if (SWIG_arg_fail(2)) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15947 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_From_int((int)(result
));
15975 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16031 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16126 if (SWIG_arg_fail(1)) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)(arg1
)->LeftIsDown();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)(arg1
)->MiddleIsDown();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (bool)(arg1
)->RightIsDown();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16574 if (SWIG_arg_fail(1)) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (arg1
)->GetPosition();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 wxPoint
* resultptr
;
16584 resultptr
= new wxPoint((wxPoint
&)(result
));
16585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16593 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16596 long *arg2
= (long *) 0 ;
16597 long *arg3
= (long *) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self", NULL
16607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16611 if (SWIG_arg_fail(1)) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->GetPosition(arg2
,arg3
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16621 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16623 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16630 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "dc", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(2)) SWIG_fail
;
16647 if (arg2
== NULL
) {
16648 SWIG_null_ref("wxDC");
16650 if (SWIG_arg_fail(2)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 wxPoint
* resultptr
;
16661 resultptr
= new wxPoint((wxPoint
&)(result
));
16662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16670 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16681 if (SWIG_arg_fail(1)) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_From_int((int)(result
));
16698 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16702 PyObject
* obj0
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16709 if (SWIG_arg_fail(1)) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_From_int((int)(result
));
16726 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16737 if (SWIG_arg_fail(1)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_From_int((int)(result
));
16754 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= SWIG_From_int((int)(result
));
16782 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_From_int((int)(result
));
16810 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16838 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "m_x", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16850 if (SWIG_arg_fail(1)) SWIG_fail
;
16852 arg2
= (int)(SWIG_As_int(obj1
));
16853 if (SWIG_arg_fail(2)) SWIG_fail
;
16855 if (arg1
) (arg1
)->m_x
= arg2
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16864 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16876 result
= (int) ((arg1
)->m_x
);
16879 resultobj
= SWIG_From_int((int)(result
));
16887 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "m_y", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16901 arg2
= (int)(SWIG_As_int(obj1
));
16902 if (SWIG_arg_fail(2)) SWIG_fail
;
16904 if (arg1
) (arg1
)->m_y
= arg2
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16925 result
= (int) ((arg1
)->m_y
);
16928 resultobj
= SWIG_From_int((int)(result
));
16936 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "m_leftDown", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16948 if (SWIG_arg_fail(1)) SWIG_fail
;
16950 arg2
= (bool)(SWIG_As_bool(obj1
));
16951 if (SWIG_arg_fail(2)) SWIG_fail
;
16953 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 result
= (bool) ((arg1
)->m_leftDown
);
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16985 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "m_middleDown", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 arg2
= (bool)(SWIG_As_bool(obj1
));
17000 if (SWIG_arg_fail(2)) SWIG_fail
;
17002 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17022 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 result
= (bool) ((arg1
)->m_middleDown
);
17026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17034 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self",(char *) "m_rightDown", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 arg2
= (bool)(SWIG_As_bool(obj1
));
17049 if (SWIG_arg_fail(2)) SWIG_fail
;
17051 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17053 Py_INCREF(Py_None
); resultobj
= Py_None
;
17060 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17072 result
= (bool) ((arg1
)->m_rightDown
);
17075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17083 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "m_controlDown", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail
;
17097 arg2
= (bool)(SWIG_As_bool(obj1
));
17098 if (SWIG_arg_fail(2)) SWIG_fail
;
17100 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17109 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 result
= (bool) ((arg1
)->m_controlDown
);
17124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17132 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self",(char *) "m_shiftDown", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17144 if (SWIG_arg_fail(1)) SWIG_fail
;
17146 arg2
= (bool)(SWIG_As_bool(obj1
));
17147 if (SWIG_arg_fail(2)) SWIG_fail
;
17149 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail
;
17170 result
= (bool) ((arg1
)->m_shiftDown
);
17173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17181 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "m_altDown", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 arg2
= (bool)(SWIG_As_bool(obj1
));
17196 if (SWIG_arg_fail(2)) SWIG_fail
;
17198 if (arg1
) (arg1
)->m_altDown
= arg2
;
17200 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17218 if (SWIG_arg_fail(1)) SWIG_fail
;
17219 result
= (bool) ((arg1
)->m_altDown
);
17222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17230 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self",(char *) "m_metaDown", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(1)) SWIG_fail
;
17244 arg2
= (bool)(SWIG_As_bool(obj1
));
17245 if (SWIG_arg_fail(2)) SWIG_fail
;
17247 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17249 Py_INCREF(Py_None
); resultobj
= Py_None
;
17256 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17267 if (SWIG_arg_fail(1)) SWIG_fail
;
17268 result
= (bool) ((arg1
)->m_metaDown
);
17271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "m_wheelRotation", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17291 if (SWIG_arg_fail(1)) SWIG_fail
;
17293 arg2
= (int)(SWIG_As_int(obj1
));
17294 if (SWIG_arg_fail(2)) SWIG_fail
;
17296 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17298 Py_INCREF(Py_None
); resultobj
= Py_None
;
17305 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17317 result
= (int) ((arg1
)->m_wheelRotation
);
17320 resultobj
= SWIG_From_int((int)(result
));
17328 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "m_wheelDelta", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17340 if (SWIG_arg_fail(1)) SWIG_fail
;
17342 arg2
= (int)(SWIG_As_int(obj1
));
17343 if (SWIG_arg_fail(2)) SWIG_fail
;
17345 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 result
= (int) ((arg1
)->m_wheelDelta
);
17369 resultobj
= SWIG_From_int((int)(result
));
17377 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "m_linesPerAction", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 arg2
= (int)(SWIG_As_int(obj1
));
17392 if (SWIG_arg_fail(2)) SWIG_fail
;
17394 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17396 Py_INCREF(Py_None
); resultobj
= Py_None
;
17403 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17414 if (SWIG_arg_fail(1)) SWIG_fail
;
17415 result
= (int) ((arg1
)->m_linesPerAction
);
17418 resultobj
= SWIG_From_int((int)(result
));
17426 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17429 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17431 return Py_BuildValue((char *)"");
17433 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 int arg1
= (int) 0 ;
17436 int arg2
= (int) 0 ;
17437 wxSetCursorEvent
*result
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "x",(char *) "y", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17447 arg1
= (int)(SWIG_As_int(obj0
));
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17453 arg2
= (int)(SWIG_As_int(obj1
));
17454 if (SWIG_arg_fail(2)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17471 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17482 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_From_int((int)(result
));
17499 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_From_int((int)(result
));
17527 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17530 wxCursor
*arg2
= 0 ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self",(char *) "cursor", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17542 if (SWIG_arg_fail(2)) SWIG_fail
;
17543 if (arg2
== NULL
) {
17544 SWIG_null_ref("wxCursor");
17546 if (SWIG_arg_fail(2)) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17578 result
= (wxCursor
*) &_result_ref
;
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 wxCursor
* resultptr
= new wxCursor(*result
);
17586 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17594 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17625 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17627 return Py_BuildValue((char *)"");
17629 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17632 wxKeyEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "keyType", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17641 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17659 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17670 if (SWIG_arg_fail(1)) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17687 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17698 if (SWIG_arg_fail(1)) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17743 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17754 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17771 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17799 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17810 if (SWIG_arg_fail(1)) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17827 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_From_int((int)(result
));
17855 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17859 PyObject
* obj0
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17866 if (SWIG_arg_fail(1)) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_From_int((int)(result
));
17883 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17886 unsigned int result
;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17911 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17914 unsigned int result
;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17939 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (arg1
)->GetPosition();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxPoint
* resultptr
;
17960 resultptr
= new wxPoint((wxPoint
&)(result
));
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17969 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17972 long *arg2
= (long *) 0 ;
17973 long *arg3
= (long *) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17984 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(1)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->GetPosition(arg2
,arg3
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17997 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17998 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17999 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18006 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18017 if (SWIG_arg_fail(1)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_From_int((int)(result
));
18034 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_From_int((int)(result
));
18062 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "m_x", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 arg2
= (int)(SWIG_As_int(obj1
));
18077 if (SWIG_arg_fail(2)) SWIG_fail
;
18079 if (arg1
) (arg1
)->m_x
= arg2
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 result
= (int) ((arg1
)->m_x
);
18103 resultobj
= SWIG_From_int((int)(result
));
18111 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "m_y", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18125 arg2
= (int)(SWIG_As_int(obj1
));
18126 if (SWIG_arg_fail(2)) SWIG_fail
;
18128 if (arg1
) (arg1
)->m_y
= arg2
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18148 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 result
= (int) ((arg1
)->m_y
);
18152 resultobj
= SWIG_From_int((int)(result
));
18160 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "m_keyCode", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 arg2
= (long)(SWIG_As_long(obj1
));
18175 if (SWIG_arg_fail(2)) SWIG_fail
;
18177 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18179 Py_INCREF(Py_None
); resultobj
= Py_None
;
18186 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 result
= (long) ((arg1
)->m_keyCode
);
18201 resultobj
= SWIG_From_long((long)(result
));
18209 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "m_controlDown", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18221 if (SWIG_arg_fail(1)) SWIG_fail
;
18223 arg2
= (bool)(SWIG_As_bool(obj1
));
18224 if (SWIG_arg_fail(2)) SWIG_fail
;
18226 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18228 Py_INCREF(Py_None
); resultobj
= Py_None
;
18235 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18246 if (SWIG_arg_fail(1)) SWIG_fail
;
18247 result
= (bool) ((arg1
)->m_controlDown
);
18250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18258 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "m_shiftDown", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 arg2
= (bool)(SWIG_As_bool(obj1
));
18273 if (SWIG_arg_fail(2)) SWIG_fail
;
18275 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18296 result
= (bool) ((arg1
)->m_shiftDown
);
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "m_altDown", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18319 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 arg2
= (bool)(SWIG_As_bool(obj1
));
18322 if (SWIG_arg_fail(2)) SWIG_fail
;
18324 if (arg1
) (arg1
)->m_altDown
= arg2
;
18326 Py_INCREF(Py_None
); resultobj
= Py_None
;
18333 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail
;
18345 result
= (bool) ((arg1
)->m_altDown
);
18348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "m_metaDown", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 arg2
= (bool)(SWIG_As_bool(obj1
));
18371 if (SWIG_arg_fail(2)) SWIG_fail
;
18373 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18375 Py_INCREF(Py_None
); resultobj
= Py_None
;
18382 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail
;
18394 result
= (bool) ((arg1
)->m_metaDown
);
18397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "m_scanCode", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 arg2
= (bool)(SWIG_As_bool(obj1
));
18420 if (SWIG_arg_fail(2)) SWIG_fail
;
18422 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18424 Py_INCREF(Py_None
); resultobj
= Py_None
;
18431 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail
;
18443 result
= (bool) ((arg1
)->m_scanCode
);
18446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18454 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18457 unsigned int arg2
;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "m_rawCode", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18469 if (SWIG_arg_fail(2)) SWIG_fail
;
18471 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18483 unsigned int result
;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail
;
18492 result
= (unsigned int) ((arg1
)->m_rawCode
);
18495 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18503 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18506 unsigned int arg2
;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "m_rawFlags", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail
;
18517 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18518 if (SWIG_arg_fail(2)) SWIG_fail
;
18520 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18522 Py_INCREF(Py_None
); resultobj
= Py_None
;
18529 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18532 unsigned int result
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18541 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18544 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18552 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18555 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18557 return Py_BuildValue((char *)"");
18559 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18562 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18563 int arg2
= (int) 0 ;
18564 wxSizeEvent
*result
;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "sz",(char *) "winid", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18581 arg2
= (int)(SWIG_As_int(obj1
));
18582 if (SWIG_arg_fail(2)) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18599 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 wxSize
* resultptr
;
18620 resultptr
= new wxSize((wxSize
&)(result
));
18621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18629 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxRect
* resultptr
;
18650 resultptr
= new wxRect((wxRect
&)(result
));
18651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18659 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "rect", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail
;
18674 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18675 if (SWIG_arg_fail(2)) SWIG_fail
;
18676 if (argp
== NULL
) {
18677 SWIG_null_ref("wxRect");
18679 if (SWIG_arg_fail(2)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->SetRect(arg2
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self",(char *) "size", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18711 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18712 if (SWIG_arg_fail(2)) SWIG_fail
;
18713 if (argp
== NULL
) {
18714 SWIG_null_ref("wxSize");
18716 if (SWIG_arg_fail(2)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 wxSizeEvent_SetSize(arg1
,arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18736 wxSize
*arg2
= (wxSize
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "m_size", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18745 if (SWIG_arg_fail(1)) SWIG_fail
;
18746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(2)) SWIG_fail
;
18748 if (arg1
) (arg1
)->m_size
= *arg2
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 result
= (wxSize
*)& ((arg1
)->m_size
);
18771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18778 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18781 wxRect
*arg2
= (wxRect
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "m_rect", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(2)) SWIG_fail
;
18793 if (arg1
) (arg1
)->m_rect
= *arg2
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18814 result
= (wxRect
*)& ((arg1
)->m_rect
);
18816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18823 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18826 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18828 return Py_BuildValue((char *)"");
18830 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18834 int arg2
= (int) 0 ;
18835 wxMoveEvent
*result
;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "pos",(char *) "winid", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18852 arg2
= (int)(SWIG_As_int(obj1
));
18853 if (SWIG_arg_fail(2)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18870 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(1)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 wxPoint
* resultptr
;
18891 resultptr
= new wxPoint((wxPoint
&)(result
));
18892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18900 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18920 wxRect
* resultptr
;
18921 resultptr
= new wxRect((wxRect
&)(result
));
18922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18930 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "rect", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 (arg1
)->SetRect((wxRect
const &)*arg2
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 Py_INCREF(Py_None
); resultobj
= Py_None
;
18962 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18965 wxPoint
*arg2
= 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "pos", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18975 if (SWIG_arg_fail(1)) SWIG_fail
;
18978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 Py_INCREF(Py_None
); resultobj
= Py_None
;
18994 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
18996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18997 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
18999 return Py_BuildValue((char *)"");
19001 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 int arg1
= (int) 0 ;
19004 wxPaintEvent
*result
;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "Id", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19013 arg1
= (int)(SWIG_As_int(obj0
));
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19031 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19034 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19036 return Py_BuildValue((char *)"");
19038 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 int arg1
= (int) 0 ;
19041 wxNcPaintEvent
*result
;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "winid", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19050 arg1
= (int)(SWIG_As_int(obj0
));
19051 if (SWIG_arg_fail(1)) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19068 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19071 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19073 return Py_BuildValue((char *)"");
19075 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 int arg1
= (int) 0 ;
19078 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19079 wxEraseEvent
*result
;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "Id",(char *) "dc", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 arg1
= (int)(SWIG_As_int(obj0
));
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19095 if (SWIG_arg_fail(2)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19111 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19122 if (SWIG_arg_fail(1)) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= wxPyMake_wxObject(result
, 0);
19139 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19142 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19144 return Py_BuildValue((char *)"");
19146 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19149 int arg2
= (int) 0 ;
19150 wxFocusEvent
*result
;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "type",(char *) "winid", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19160 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19161 if (SWIG_arg_fail(1)) SWIG_fail
;
19166 arg2
= (int)(SWIG_As_int(obj1
));
19167 if (SWIG_arg_fail(2)) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19184 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= wxPyMake_wxObject(result
, 0);
19212 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19215 wxWindow
*arg2
= (wxWindow
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self",(char *) "win", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(2)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 (arg1
)->SetWindow(arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19244 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19246 return Py_BuildValue((char *)"");
19248 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxWindow
*arg1
= (wxWindow
*) NULL
;
19251 wxChildFocusEvent
*result
;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "win", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19260 if (SWIG_arg_fail(1)) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19276 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19287 if (SWIG_arg_fail(1)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= wxPyMake_wxObject(result
, 0);
19304 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19307 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19309 return Py_BuildValue((char *)"");
19311 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19314 bool arg2
= (bool) true ;
19315 int arg3
= (int) 0 ;
19316 wxActivateEvent
*result
;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 PyObject
* obj2
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "type",(char *) "active",(char *) "Id", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19327 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19328 if (SWIG_arg_fail(1)) SWIG_fail
;
19333 arg2
= (bool)(SWIG_As_bool(obj1
));
19334 if (SWIG_arg_fail(2)) SWIG_fail
;
19339 arg3
= (int)(SWIG_As_int(obj2
));
19340 if (SWIG_arg_fail(3)) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19357 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19361 PyObject
* obj0
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19368 if (SWIG_arg_fail(1)) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19385 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19388 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19390 return Py_BuildValue((char *)"");
19392 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 int arg1
= (int) 0 ;
19395 wxInitDialogEvent
*result
;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "Id", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19404 arg1
= (int)(SWIG_As_int(obj0
));
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19422 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19425 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19427 return Py_BuildValue((char *)"");
19429 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19432 int arg2
= (int) 0 ;
19433 wxMenu
*arg3
= (wxMenu
*) NULL
;
19434 wxMenuEvent
*result
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 PyObject
* obj2
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "type",(char *) "winid",(char *) "menu", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19445 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19446 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 arg2
= (int)(SWIG_As_int(obj1
));
19452 if (SWIG_arg_fail(2)) SWIG_fail
;
19456 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19457 if (SWIG_arg_fail(3)) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19473 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19484 if (SWIG_arg_fail(1)) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_From_int((int)(result
));
19501 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= wxPyMake_wxObject(result
, 0);
19557 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19560 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19562 return Py_BuildValue((char *)"");
19564 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19567 int arg2
= (int) 0 ;
19568 wxCloseEvent
*result
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "type",(char *) "winid", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19578 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19584 arg2
= (int)(SWIG_As_int(obj1
));
19585 if (SWIG_arg_fail(2)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19602 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "logOff", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 arg2
= (bool)(SWIG_As_bool(obj1
));
19617 if (SWIG_arg_fail(2)) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetLoggingOff(arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19664 bool arg2
= (bool) true ;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "veto", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19676 arg2
= (bool)(SWIG_As_bool(obj1
));
19677 if (SWIG_arg_fail(2)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->Veto(arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "canVeto", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 arg2
= (bool)(SWIG_As_bool(obj1
));
19709 if (SWIG_arg_fail(2)) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 (arg1
)->SetCanVeto(arg2
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 Py_INCREF(Py_None
); resultobj
= Py_None
;
19725 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19784 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19786 return Py_BuildValue((char *)"");
19788 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 int arg1
= (int) 0 ;
19791 bool arg2
= (bool) false ;
19792 wxShowEvent
*result
;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "winid",(char *) "show", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19802 arg1
= (int)(SWIG_As_int(obj0
));
19803 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 arg2
= (bool)(SWIG_As_bool(obj1
));
19809 if (SWIG_arg_fail(2)) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19826 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self",(char *) "show", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19838 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 arg2
= (bool)(SWIG_As_bool(obj1
));
19841 if (SWIG_arg_fail(2)) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->SetShow(arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 Py_INCREF(Py_None
); resultobj
= Py_None
;
19857 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19868 if (SWIG_arg_fail(1)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19888 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19890 return Py_BuildValue((char *)"");
19892 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 int arg1
= (int) 0 ;
19895 bool arg2
= (bool) true ;
19896 wxIconizeEvent
*result
;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "id",(char *) "iconized", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19906 arg1
= (int)(SWIG_As_int(obj0
));
19907 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 arg2
= (bool)(SWIG_As_bool(obj1
));
19913 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
19930 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
19940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (bool)(arg1
)->Iconized();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19961 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
19963 return Py_BuildValue((char *)"");
19965 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 int arg1
= (int) 0 ;
19968 wxMaximizeEvent
*result
;
19969 PyObject
* obj0
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "id", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
19977 arg1
= (int)(SWIG_As_int(obj0
));
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
19995 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19998 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20000 return Py_BuildValue((char *)"");
20002 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (arg1
)->GetPosition();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20022 wxPoint
* resultptr
;
20023 resultptr
= new wxPoint((wxPoint
&)(result
));
20024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20032 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20043 if (SWIG_arg_fail(1)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (int)(arg1
)->GetNumberOfFiles();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_From_int((int)(result
));
20060 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20071 if (SWIG_arg_fail(1)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
;
20086 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20089 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20091 return Py_BuildValue((char *)"");
20093 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 int arg1
= (int) 0 ;
20096 wxUpdateUIEvent
*result
;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "commandId", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20105 arg1
= (int)(SWIG_As_int(obj0
));
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20123 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20162 if (SWIG_arg_fail(1)) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20211 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20250 if (SWIG_arg_fail(1)) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20267 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20295 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self",(char *) "check", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 arg2
= (bool)(SWIG_As_bool(obj1
));
20310 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->Check(arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 Py_INCREF(Py_None
); resultobj
= Py_None
;
20326 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "enable", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20338 if (SWIG_arg_fail(1)) SWIG_fail
;
20340 arg2
= (bool)(SWIG_As_bool(obj1
));
20341 if (SWIG_arg_fail(2)) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->Enable(arg2
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 Py_INCREF(Py_None
); resultobj
= Py_None
;
20357 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20360 wxString
*arg2
= 0 ;
20361 bool temp2
= false ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self",(char *) "text", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20370 if (SWIG_arg_fail(1)) SWIG_fail
;
20372 arg2
= wxString_in_helper(obj1
);
20373 if (arg2
== NULL
) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->SetText((wxString
const &)*arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 Py_INCREF(Py_None
); resultobj
= Py_None
;
20398 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "updateInterval", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20408 arg1
= (long)(SWIG_As_long(obj0
));
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 Py_INCREF(Py_None
); resultobj
= Py_None
;
20425 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20428 char *kwnames
[] = {
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_From_long((long)(result
));
20449 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxWindow
*arg1
= (wxWindow
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "win", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20460 if (SWIG_arg_fail(1)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20477 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 char *kwnames
[] = {
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 wxUpdateUIEvent::ResetUpdateTime();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxUpdateUIMode arg1
;
20501 PyObject
* obj0
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "mode", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20508 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20525 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxUpdateUIMode result
;
20528 char *kwnames
[] = {
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_From_int((result
));
20547 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20550 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20552 return Py_BuildValue((char *)"");
20554 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxSysColourChangedEvent
*result
;
20557 char *kwnames
[] = {
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20576 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20579 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20581 return Py_BuildValue((char *)"");
20583 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 int arg1
= (int) 0 ;
20586 wxWindow
*arg2
= (wxWindow
*) NULL
;
20587 wxMouseCaptureChangedEvent
*result
;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "winid",(char *) "gainedCapture", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 arg1
= (int)(SWIG_As_int(obj0
));
20598 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20603 if (SWIG_arg_fail(2)) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20619 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= wxPyMake_wxObject(result
, 0);
20647 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20652 return Py_BuildValue((char *)"");
20654 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxDisplayChangedEvent
*result
;
20657 char *kwnames
[] = {
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20676 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20679 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20681 return Py_BuildValue((char *)"");
20683 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 int arg1
= (int) 0 ;
20686 wxPaletteChangedEvent
*result
;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "id", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20695 arg1
= (int)(SWIG_As_int(obj0
));
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20713 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20716 wxWindow
*arg2
= (wxWindow
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "win", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20727 if (SWIG_arg_fail(2)) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->SetChangedWindow(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 Py_INCREF(Py_None
); resultobj
= Py_None
;
20742 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20753 if (SWIG_arg_fail(1)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= wxPyMake_wxObject(result
, 0);
20770 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20773 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20775 return Py_BuildValue((char *)"");
20777 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 int arg1
= (int) 0 ;
20780 wxQueryNewPaletteEvent
*result
;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "winid", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20789 arg1
= (int)(SWIG_As_int(obj0
));
20790 if (SWIG_arg_fail(1)) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20807 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "realized", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 arg2
= (bool)(SWIG_As_bool(obj1
));
20822 if (SWIG_arg_fail(2)) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->SetPaletteRealized(arg2
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20869 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20871 return Py_BuildValue((char *)"");
20873 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxNavigationKeyEvent
*result
;
20876 char *kwnames
[] = {
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20895 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
20905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20906 if (SWIG_arg_fail(1)) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20923 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "forward", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail
;
20937 arg2
= (bool)(SWIG_As_bool(obj1
));
20938 if (SWIG_arg_fail(2)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 (arg1
)->SetDirection(arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 Py_INCREF(Py_None
); resultobj
= Py_None
;
20954 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20982 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "ischange", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20994 if (SWIG_arg_fail(1)) SWIG_fail
;
20996 arg2
= (bool)(SWIG_As_bool(obj1
));
20997 if (SWIG_arg_fail(2)) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->SetWindowChange(arg2
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 PyObject
* obj1
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self",(char *) "flags", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21025 if (SWIG_arg_fail(1)) SWIG_fail
;
21027 arg2
= (long)(SWIG_As_long(obj1
));
21028 if (SWIG_arg_fail(2)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 (arg1
)->SetFlags(arg2
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 Py_INCREF(Py_None
); resultobj
= Py_None
;
21044 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= wxPyMake_wxObject(result
, 0);
21072 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21075 wxWindow
*arg2
= (wxWindow
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "win", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21086 if (SWIG_arg_fail(2)) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->SetCurrentFocus(arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 Py_INCREF(Py_None
); resultobj
= Py_None
;
21101 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21104 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21106 return Py_BuildValue((char *)"");
21108 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxWindow
*arg1
= (wxWindow
*) NULL
;
21111 wxWindowCreateEvent
*result
;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "win", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21136 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21147 if (SWIG_arg_fail(1)) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= wxPyMake_wxObject(result
, 0);
21164 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21167 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21169 return Py_BuildValue((char *)"");
21171 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxWindow
*arg1
= (wxWindow
*) NULL
;
21174 wxWindowDestroyEvent
*result
;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "win", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21183 if (SWIG_arg_fail(1)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21199 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= wxPyMake_wxObject(result
, 0);
21227 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21230 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21232 return Py_BuildValue((char *)"");
21234 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21237 int arg2
= (int) 0 ;
21238 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21239 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21240 wxContextMenuEvent
*result
;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "type",(char *) "winid",(char *) "pt", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21252 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21253 if (SWIG_arg_fail(1)) SWIG_fail
;
21258 arg2
= (int)(SWIG_As_int(obj1
));
21259 if (SWIG_arg_fail(2)) SWIG_fail
;
21265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21282 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21293 if (SWIG_arg_fail(1)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21298 result
= (wxPoint
*) &_result_ref
;
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21311 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21314 wxPoint
*arg2
= 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "pos", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 Py_INCREF(Py_None
); resultobj
= Py_None
;
21343 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21346 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21348 return Py_BuildValue((char *)"");
21350 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxIdleEvent
*result
;
21353 char *kwnames
[] = {
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (wxIdleEvent
*)new wxIdleEvent();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21372 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21375 bool arg2
= (bool) true ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "needMore", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21384 if (SWIG_arg_fail(1)) SWIG_fail
;
21387 arg2
= (bool)(SWIG_As_bool(obj1
));
21388 if (SWIG_arg_fail(2)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 (arg1
)->RequestMore(arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 Py_INCREF(Py_None
); resultobj
= Py_None
;
21405 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21433 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "mode", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21443 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21444 if (SWIG_arg_fail(1)) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 Py_INCREF(Py_None
); resultobj
= Py_None
;
21460 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21463 char *kwnames
[] = {
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_From_int((result
));
21482 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxWindow
*arg1
= (wxWindow
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "win", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)wxIdleEvent::CanSend(arg1
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21510 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21513 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21515 return Py_BuildValue((char *)"");
21517 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 int arg1
= (int) 0 ;
21520 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "winid",(char *) "commandType", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21531 arg1
= (int)(SWIG_As_int(obj0
));
21532 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21538 if (SWIG_arg_fail(2)) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21555 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21583 PyObject
*arg2
= (PyObject
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 (arg1
)->SetSelf(arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 Py_INCREF(Py_None
); resultobj
= Py_None
;
21608 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21619 if (SWIG_arg_fail(1)) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (PyObject
*)(arg1
)->GetSelf();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= result
;
21634 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21637 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21639 return Py_BuildValue((char *)"");
21641 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21644 int arg2
= (int) 0 ;
21645 wxPyCommandEvent
*result
;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "commandType",(char *) "id", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21661 arg2
= (int)(SWIG_As_int(obj1
));
21662 if (SWIG_arg_fail(2)) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21679 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 Py_INCREF(Py_None
); resultobj
= Py_None
;
21704 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21707 PyObject
*arg2
= (PyObject
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self",(char *) "self", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21716 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 (arg1
)->SetSelf(arg2
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21743 if (SWIG_arg_fail(1)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (PyObject
*)(arg1
)->GetSelf();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= result
;
21758 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21761 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21763 return Py_BuildValue((char *)"");
21765 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21768 char *kwnames
[] = {
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (wxPyApp
*)new_wxPyApp();
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21787 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21797 if (SWIG_arg_fail(1)) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21815 PyObject
*arg2
= (PyObject
*) 0 ;
21816 PyObject
*arg3
= (PyObject
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 PyObject
* obj2
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "self",(char *) "_class", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 Py_INCREF(Py_None
); resultobj
= Py_None
;
21843 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21875 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21878 wxString
*arg2
= 0 ;
21879 bool temp2
= false ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "name", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
21887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21888 if (SWIG_arg_fail(1)) SWIG_fail
;
21890 arg2
= wxString_in_helper(obj1
);
21891 if (arg2
== NULL
) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->SetAppName((wxString
const &)*arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21916 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= ((wxPyApp
const *)arg1
)->GetClassName();
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21948 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21951 wxString
*arg2
= 0 ;
21952 bool temp2
= false ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "name", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
21960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21961 if (SWIG_arg_fail(1)) SWIG_fail
;
21963 arg2
= wxString_in_helper(obj1
);
21964 if (arg2
== NULL
) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 (arg1
)->SetClassName((wxString
const &)*arg2
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 Py_INCREF(Py_None
); resultobj
= Py_None
;
21989 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
21999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22000 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22005 result
= (wxString
*) &_result_ref
;
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22024 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22027 wxString
*arg2
= 0 ;
22028 bool temp2
= false ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "name", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22039 arg2
= wxString_in_helper(obj1
);
22040 if (arg2
== NULL
) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22065 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22068 wxAppTraits
*result
;
22069 PyObject
* obj0
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22076 if (SWIG_arg_fail(1)) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22091 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22101 if (SWIG_arg_fail(1)) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 (arg1
)->ProcessPendingEvents();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 Py_INCREF(Py_None
); resultobj
= Py_None
;
22116 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22119 bool arg2
= (bool) false ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "onlyIfNeeded", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 arg2
= (bool)(SWIG_As_bool(obj1
));
22133 if (SWIG_arg_fail(2)) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (bool)(arg1
)->Yield(arg2
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22152 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->WakeUpIdle();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22180 char *kwnames
[] = {
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)wxPyApp::IsMainLoopRunning();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)(arg1
)->MainLoop();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_From_int((int)(result
));
22229 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 Py_INCREF(Py_None
); resultobj
= Py_None
;
22254 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22264 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->ExitMainLoop();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(1)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (bool)(arg1
)->Pending();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22307 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (bool)(arg1
)->Dispatch();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22335 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (bool)(arg1
)->ProcessIdle();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22363 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22366 wxWindow
*arg2
= (wxWindow
*) 0 ;
22367 wxIdleEvent
*arg3
= 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 PyObject
* obj2
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "win",(char *) "event", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(2)) SWIG_fail
;
22382 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22383 if (SWIG_arg_fail(3)) SWIG_fail
;
22384 if (arg3
== NULL
) {
22385 SWIG_null_ref("wxIdleEvent");
22387 if (SWIG_arg_fail(3)) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22433 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22436 wxWindow
*arg2
= (wxWindow
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self",(char *) "win", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(2)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetTopWindow(arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= wxPyMake_wxObject(result
, 0);
22490 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "flag", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 arg2
= (bool)(SWIG_As_bool(obj1
));
22505 if (SWIG_arg_fail(2)) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetExitOnFrameDelete(arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22549 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "flag", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 arg2
= (bool)(SWIG_As_bool(obj1
));
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 (arg1
)->SetUseBestVisual(arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 Py_INCREF(Py_None
); resultobj
= Py_None
;
22580 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22608 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self",(char *) "mode", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22620 if (SWIG_arg_fail(1)) SWIG_fail
;
22622 arg2
= (int)(SWIG_As_int(obj1
));
22623 if (SWIG_arg_fail(2)) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 (arg1
)->SetPrintMode(arg2
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22650 if (SWIG_arg_fail(1)) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_From_int((int)(result
));
22667 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "mode", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 arg2
= (int)(SWIG_As_int(obj1
));
22682 if (SWIG_arg_fail(2)) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 (arg1
)->SetAssertMode(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 Py_INCREF(Py_None
); resultobj
= Py_None
;
22698 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22709 if (SWIG_arg_fail(1)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (int)(arg1
)->GetAssertMode();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_From_int((int)(result
));
22726 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22729 char *kwnames
[] = {
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22750 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22753 char *kwnames
[] = {
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_From_long((long)(result
));
22774 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22777 char *kwnames
[] = {
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= SWIG_From_long((long)(result
));
22798 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22801 char *kwnames
[] = {
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (long)wxPyApp::GetMacExitMenuItemId();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_long((long)(result
));
22822 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22825 char *kwnames
[] = {
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= wxPyApp::GetMacHelpMenuTitleName();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22850 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "val", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22860 arg1
= (bool)(SWIG_As_bool(obj0
));
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 Py_INCREF(Py_None
); resultobj
= Py_None
;
22877 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22880 PyObject
* obj0
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "val", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
22887 arg1
= (long)(SWIG_As_long(obj0
));
22888 if (SWIG_arg_fail(1)) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 wxPyApp::SetMacAboutMenuItemId(arg1
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "val", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
22914 arg1
= (long)(SWIG_As_long(obj0
));
22915 if (SWIG_arg_fail(1)) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "val", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
22941 arg1
= (long)(SWIG_As_long(obj0
));
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 wxPyApp::SetMacExitMenuItemId(arg1
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 Py_INCREF(Py_None
); resultobj
= Py_None
;
22958 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxString
*arg1
= 0 ;
22961 bool temp1
= false ;
22962 PyObject
* obj0
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "val", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
22969 arg1
= wxString_in_helper(obj0
);
22970 if (arg1
== NULL
) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22995 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23005 if (SWIG_arg_fail(1)) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->_BootstrapApp();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23023 char *kwnames
[] = {
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (int)wxPyApp::GetComCtl32Version();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_From_int((int)(result
));
23044 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23047 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23049 return Py_BuildValue((char *)"");
23051 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 char *kwnames
[] = {
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23075 char *kwnames
[] = {
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (bool)wxYield();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23096 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23099 char *kwnames
[] = {
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (bool)wxYieldIfNeeded();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23120 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxWindow
*arg1
= (wxWindow
*) NULL
;
23123 bool arg2
= (bool) false ;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "win",(char *) "onlyIfNeeded", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23134 if (SWIG_arg_fail(1)) SWIG_fail
;
23138 arg2
= (bool)(SWIG_As_bool(obj1
));
23139 if (SWIG_arg_fail(2)) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (bool)wxSafeYield(arg1
,arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23158 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 char *kwnames
[] = {
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 Py_INCREF(Py_None
); resultobj
= Py_None
;
23179 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23182 wxEvent
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "dest",(char *) "event", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23191 if (SWIG_arg_fail(1)) SWIG_fail
;
23193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23194 if (SWIG_arg_fail(2)) SWIG_fail
;
23195 if (arg2
== NULL
) {
23196 SWIG_null_ref("wxEvent");
23198 if (SWIG_arg_fail(2)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 wxPostEvent(arg1
,*arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 char *kwnames
[] = {
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 Py_INCREF(Py_None
); resultobj
= Py_None
;
23235 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23238 char *kwnames
[] = {
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (wxPyApp
*)wxPyGetApp();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= wxPyMake_wxObject(result
, 0);
23259 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 char *arg1
= (char *) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "encoding", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23268 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23269 SWIG_arg_fail(1);SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxSetDefaultPyEncoding((char const *)arg1
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23288 char *kwnames
[] = {
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (char *)wxGetDefaultPyEncoding();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_FromCharPtr(result
);
23307 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxEventLoop
*result
;
23310 char *kwnames
[] = {
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (wxEventLoop
*)new wxEventLoop();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23329 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 Py_INCREF(Py_None
); resultobj
= Py_None
;
23354 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23365 if (SWIG_arg_fail(1)) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (int)(arg1
)->Run();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_From_int((int)(result
));
23382 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23385 int arg2
= (int) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self",(char *) "rc", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 arg2
= (int)(SWIG_As_int(obj1
));
23398 if (SWIG_arg_fail(2)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 (arg1
)->Exit(arg2
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 Py_INCREF(Py_None
); resultobj
= Py_None
;
23415 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23443 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (bool)(arg1
)->Dispatch();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23471 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23499 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxEventLoop
*result
;
23502 char *kwnames
[] = {
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23521 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "loop", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23531 if (SWIG_arg_fail(1)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 wxEventLoop::SetActive(arg1
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 Py_INCREF(Py_None
); resultobj
= Py_None
;
23546 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23549 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23551 return Py_BuildValue((char *)"");
23553 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 int arg1
= (int) 0 ;
23556 int arg2
= (int) 0 ;
23557 int arg3
= (int) 0 ;
23558 wxAcceleratorEntry
*result
;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 PyObject
* obj2
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23569 arg1
= (int)(SWIG_As_int(obj0
));
23570 if (SWIG_arg_fail(1)) SWIG_fail
;
23575 arg2
= (int)(SWIG_As_int(obj1
));
23576 if (SWIG_arg_fail(2)) SWIG_fail
;
23581 arg3
= (int)(SWIG_As_int(obj2
));
23582 if (SWIG_arg_fail(3)) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23599 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 Py_INCREF(Py_None
); resultobj
= Py_None
;
23624 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 PyObject
* obj2
= 0 ;
23633 PyObject
* obj3
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23640 if (SWIG_arg_fail(1)) SWIG_fail
;
23642 arg2
= (int)(SWIG_As_int(obj1
));
23643 if (SWIG_arg_fail(2)) SWIG_fail
;
23646 arg3
= (int)(SWIG_As_int(obj2
));
23647 if (SWIG_arg_fail(3)) SWIG_fail
;
23650 arg4
= (int)(SWIG_As_int(obj3
));
23651 if (SWIG_arg_fail(4)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 (arg1
)->Set(arg2
,arg3
,arg4
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 Py_INCREF(Py_None
); resultobj
= Py_None
;
23667 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23678 if (SWIG_arg_fail(1)) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (int)(arg1
)->GetFlags();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_From_int((int)(result
));
23695 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (int)(arg1
)->GetKeyCode();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_From_int((int)(result
));
23723 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23734 if (SWIG_arg_fail(1)) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (int)(arg1
)->GetCommand();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_From_int((int)(result
));
23751 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23754 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23756 return Py_BuildValue((char *)"");
23758 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23761 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23762 wxAcceleratorTable
*result
;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23770 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23771 if (arg2
) arg1
= PyList_Size(obj0
);
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23794 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23804 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23830 if (SWIG_arg_fail(1)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23847 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23850 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23852 return Py_BuildValue((char *)"");
23854 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23855 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23860 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23863 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23868 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxString
*arg1
= 0 ;
23871 wxAcceleratorEntry
*result
;
23872 bool temp1
= false ;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "label", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23880 arg1
= wxString_in_helper(obj0
);
23881 if (arg1
== NULL
) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
23906 static int _wrap_PanelNameStr_set(PyObject
*) {
23907 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
23912 static PyObject
*_wrap_PanelNameStr_get(void) {
23917 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
23919 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
23926 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxVisualAttributes
*result
;
23929 char *kwnames
[] = {
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
23948 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
23957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
23958 if (SWIG_arg_fail(1)) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 delete_wxVisualAttributes(arg1
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 Py_INCREF(Py_None
); resultobj
= Py_None
;
23973 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
23976 wxFont
*arg2
= (wxFont
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "font", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
23985 if (SWIG_arg_fail(1)) SWIG_fail
;
23986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(2)) SWIG_fail
;
23988 if (arg1
) (arg1
)->font
= *arg2
;
23990 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24008 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 result
= (wxFont
*)& ((arg1
)->font
);
24011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24018 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24021 wxColour
*arg2
= (wxColour
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self",(char *) "colFg", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24030 if (SWIG_arg_fail(1)) SWIG_fail
;
24031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(2)) SWIG_fail
;
24033 if (arg1
) (arg1
)->colFg
= *arg2
;
24035 Py_INCREF(Py_None
); resultobj
= Py_None
;
24042 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail
;
24054 result
= (wxColour
*)& ((arg1
)->colFg
);
24056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24063 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24066 wxColour
*arg2
= (wxColour
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self",(char *) "colBg", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24075 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(2)) SWIG_fail
;
24078 if (arg1
) (arg1
)->colBg
= *arg2
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24098 if (SWIG_arg_fail(1)) SWIG_fail
;
24099 result
= (wxColour
*)& ((arg1
)->colBg
);
24101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24108 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24111 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24113 return Py_BuildValue((char *)"");
24115 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxWindow
*arg1
= (wxWindow
*) 0 ;
24118 int arg2
= (int) (int)-1 ;
24119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24123 long arg5
= (long) 0 ;
24124 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24125 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24129 bool temp6
= false ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 PyObject
* obj3
= 0 ;
24134 PyObject
* obj4
= 0 ;
24135 PyObject
* obj5
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24145 arg2
= (int const)(SWIG_As_int(obj1
));
24146 if (SWIG_arg_fail(2)) SWIG_fail
;
24152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24163 arg5
= (long)(SWIG_As_long(obj4
));
24164 if (SWIG_arg_fail(5)) SWIG_fail
;
24169 arg6
= wxString_in_helper(obj5
);
24170 if (arg6
== NULL
) SWIG_fail
;
24175 if (!wxPyCheckForApp()) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24197 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24200 char *kwnames
[] = {
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24206 if (!wxPyCheckForApp()) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxWindow
*)new wxWindow();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24220 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxWindow
*arg1
= (wxWindow
*) 0 ;
24223 wxWindow
*arg2
= (wxWindow
*) 0 ;
24224 int arg3
= (int) (int)-1 ;
24225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24229 long arg6
= (long) 0 ;
24230 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24235 bool temp7
= false ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 PyObject
* obj2
= 0 ;
24239 PyObject
* obj3
= 0 ;
24240 PyObject
* obj4
= 0 ;
24241 PyObject
* obj5
= 0 ;
24242 PyObject
* obj6
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24249 if (SWIG_arg_fail(1)) SWIG_fail
;
24250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(2)) SWIG_fail
;
24254 arg3
= (int const)(SWIG_As_int(obj2
));
24255 if (SWIG_arg_fail(3)) SWIG_fail
;
24261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24272 arg6
= (long)(SWIG_As_long(obj5
));
24273 if (SWIG_arg_fail(6)) SWIG_fail
;
24278 arg7
= wxString_in_helper(obj6
);
24279 if (arg7
== NULL
) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24307 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 bool arg2
= (bool) false ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self",(char *) "force", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail
;
24323 arg2
= (bool)(SWIG_As_bool(obj1
));
24324 if (SWIG_arg_fail(2)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->Close(arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxWindow
*arg1
= (wxWindow
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (bool)(arg1
)->Destroy();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24371 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxWindow
*arg1
= (wxWindow
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (bool)(arg1
)->DestroyChildren();
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24399 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxWindow
*arg1
= (wxWindow
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24427 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxWindow
*arg1
= (wxWindow
*) 0 ;
24430 wxString
*arg2
= 0 ;
24431 bool temp2
= false ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "title", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 arg2
= wxString_in_helper(obj1
);
24443 if (arg2
== NULL
) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 (arg1
)->SetTitle((wxString
const &)*arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxWindow
*arg1
= (wxWindow
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24479 if (SWIG_arg_fail(1)) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= ((wxWindow
const *)arg1
)->GetTitle();
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24500 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxWindow
*arg1
= (wxWindow
*) 0 ;
24503 wxString
*arg2
= 0 ;
24504 bool temp2
= false ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "label", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24513 if (SWIG_arg_fail(1)) SWIG_fail
;
24515 arg2
= wxString_in_helper(obj1
);
24516 if (arg2
== NULL
) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 (arg1
)->SetLabel((wxString
const &)*arg2
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 Py_INCREF(Py_None
); resultobj
= Py_None
;
24541 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxWindow
*arg1
= (wxWindow
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24552 if (SWIG_arg_fail(1)) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= ((wxWindow
const *)arg1
)->GetLabel();
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24573 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24576 wxString
*arg2
= 0 ;
24577 bool temp2
= false ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "name", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(1)) SWIG_fail
;
24588 arg2
= wxString_in_helper(obj1
);
24589 if (arg2
== NULL
) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 (arg1
)->SetName((wxString
const &)*arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 Py_INCREF(Py_None
); resultobj
= Py_None
;
24614 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxWindow
*arg1
= (wxWindow
*) 0 ;
24618 PyObject
* obj0
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24625 if (SWIG_arg_fail(1)) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= ((wxWindow
const *)arg1
)->GetName();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24646 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxWindow
*arg1
= (wxWindow
*) 0 ;
24649 wxWindowVariant arg2
;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self",(char *) "variant", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24658 if (SWIG_arg_fail(1)) SWIG_fail
;
24660 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24661 if (SWIG_arg_fail(2)) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 Py_INCREF(Py_None
); resultobj
= Py_None
;
24677 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxWindow
*arg1
= (wxWindow
*) 0 ;
24680 wxWindowVariant result
;
24681 PyObject
* obj0
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24688 if (SWIG_arg_fail(1)) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_From_int((result
));
24703 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxWindow
*arg1
= (wxWindow
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self",(char *) "winid", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail
;
24717 arg2
= (int)(SWIG_As_int(obj1
));
24718 if (SWIG_arg_fail(2)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->SetId(arg2
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 Py_INCREF(Py_None
); resultobj
= Py_None
;
24734 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxWindow
*arg1
= (wxWindow
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (int)((wxWindow
const *)arg1
)->GetId();
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_From_int((int)(result
));
24762 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24765 char *kwnames
[] = {
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (int)wxWindow::NewControlId();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_From_int((int)(result
));
24786 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "winid", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24797 arg1
= (int)(SWIG_As_int(obj0
));
24798 if (SWIG_arg_fail(1)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (int)wxWindow::NextControlId(arg1
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_From_int((int)(result
));
24816 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "winid", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24827 arg1
= (int)(SWIG_As_int(obj0
));
24828 if (SWIG_arg_fail(1)) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (int)wxWindow::PrevControlId(arg1
);
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= SWIG_From_int((int)(result
));
24846 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxWindow
*arg1
= (wxWindow
*) 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "size", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail
;
24862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->SetSize((wxSize
const &)*arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxWindow
*arg1
= (wxWindow
*) 0 ;
24885 int arg6
= (int) wxSIZE_AUTO
;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 PyObject
* obj3
= 0 ;
24890 PyObject
* obj4
= 0 ;
24891 PyObject
* obj5
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24900 arg2
= (int)(SWIG_As_int(obj1
));
24901 if (SWIG_arg_fail(2)) SWIG_fail
;
24904 arg3
= (int)(SWIG_As_int(obj2
));
24905 if (SWIG_arg_fail(3)) SWIG_fail
;
24908 arg4
= (int)(SWIG_As_int(obj3
));
24909 if (SWIG_arg_fail(4)) SWIG_fail
;
24912 arg5
= (int)(SWIG_As_int(obj4
));
24913 if (SWIG_arg_fail(5)) SWIG_fail
;
24917 arg6
= (int)(SWIG_As_int(obj5
));
24918 if (SWIG_arg_fail(6)) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 Py_INCREF(Py_None
); resultobj
= Py_None
;
24935 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxWindow
*arg1
= (wxWindow
*) 0 ;
24939 int arg3
= (int) wxSIZE_AUTO
;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24953 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24957 arg3
= (int)(SWIG_As_int(obj2
));
24958 if (SWIG_arg_fail(3)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 PyObject
* obj2
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self",(char *) "width",(char *) "height", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 arg2
= (int)(SWIG_As_int(obj1
));
24992 if (SWIG_arg_fail(2)) SWIG_fail
;
24995 arg3
= (int)(SWIG_As_int(obj2
));
24996 if (SWIG_arg_fail(3)) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 (arg1
)->SetSize(arg2
,arg3
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 Py_INCREF(Py_None
); resultobj
= Py_None
;
25012 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxWindow
*arg1
= (wxWindow
*) 0 ;
25015 wxPoint
*arg2
= 0 ;
25016 int arg3
= (int) wxSIZE_USE_EXISTING
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 PyObject
* obj2
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "pt",(char *) "flags", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25027 if (SWIG_arg_fail(1)) SWIG_fail
;
25030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25034 arg3
= (int)(SWIG_As_int(obj2
));
25035 if (SWIG_arg_fail(3)) SWIG_fail
;
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25045 Py_INCREF(Py_None
); resultobj
= Py_None
;
25052 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 int arg4
= (int) wxSIZE_USE_EXISTING
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 PyObject
* obj2
= 0 ;
25061 PyObject
* obj3
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 arg2
= (int)(SWIG_As_int(obj1
));
25071 if (SWIG_arg_fail(2)) SWIG_fail
;
25074 arg3
= (int)(SWIG_As_int(obj2
));
25075 if (SWIG_arg_fail(3)) SWIG_fail
;
25079 arg4
= (int)(SWIG_As_int(obj3
));
25080 if (SWIG_arg_fail(4)) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 (arg1
)->Move(arg2
,arg3
,arg4
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 Py_INCREF(Py_None
); resultobj
= Py_None
;
25097 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxWindow
*arg1
= (wxWindow
*) 0 ;
25100 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25101 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "size", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail
;
25115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxWindow
*arg1
= (wxWindow
*) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25142 if (SWIG_arg_fail(1)) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxWindow
*arg1
= (wxWindow
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 Py_INCREF(Py_None
); resultobj
= Py_None
;
25182 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25184 wxWindow
*arg1
= (wxWindow
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self",(char *) "size", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail
;
25198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 Py_INCREF(Py_None
); resultobj
= Py_None
;
25214 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxWindow
*arg1
= (wxWindow
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 PyObject
* obj2
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "width",(char *) "height", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25230 arg2
= (int)(SWIG_As_int(obj1
));
25231 if (SWIG_arg_fail(2)) SWIG_fail
;
25234 arg3
= (int)(SWIG_As_int(obj2
));
25235 if (SWIG_arg_fail(3)) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 (arg1
)->SetClientSize(arg2
,arg3
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 Py_INCREF(Py_None
); resultobj
= Py_None
;
25251 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "rect", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25267 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 Py_INCREF(Py_None
); resultobj
= Py_None
;
25283 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxWindow
*arg1
= (wxWindow
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self", NULL
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25294 if (SWIG_arg_fail(1)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (arg1
)->GetPosition();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 wxPoint
* resultptr
;
25304 resultptr
= new wxPoint((wxPoint
&)(result
));
25305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25313 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxWindow
*arg1
= (wxWindow
*) 0 ;
25316 int *arg2
= (int *) 0 ;
25317 int *arg3
= (int *) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self", NULL
25327 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25328 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->GetPosition(arg2
,arg3
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25340 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25341 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25342 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25343 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25350 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxWindow
*arg1
= (wxWindow
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25361 if (SWIG_arg_fail(1)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= ((wxWindow
const *)arg1
)->GetSize();
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 wxSize
* resultptr
;
25371 resultptr
= new wxSize((wxSize
&)(result
));
25372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25380 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxWindow
*arg1
= (wxWindow
*) 0 ;
25383 int *arg2
= (int *) 0 ;
25384 int *arg3
= (int *) 0 ;
25389 PyObject
* obj0
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self", NULL
25394 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25395 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25408 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25410 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25417 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25428 if (SWIG_arg_fail(1)) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= ((wxWindow
const *)arg1
)->GetRect();
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25437 wxRect
* resultptr
;
25438 resultptr
= new wxRect((wxRect
&)(result
));
25439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25447 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxWindow
*arg1
= (wxWindow
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 wxSize
* resultptr
;
25468 resultptr
= new wxSize((wxSize
&)(result
));
25469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25477 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxWindow
*arg1
= (wxWindow
*) 0 ;
25480 int *arg2
= (int *) 0 ;
25481 int *arg3
= (int *) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25492 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25495 if (SWIG_arg_fail(1)) SWIG_fail
;
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25505 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25506 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25507 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25514 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25525 if (SWIG_arg_fail(1)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 wxPoint
* resultptr
;
25535 resultptr
= new wxPoint((wxPoint
&)(result
));
25536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25544 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25564 wxRect
* resultptr
;
25565 resultptr
= new wxRect((wxRect
&)(result
));
25566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25574 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxWindow
*arg1
= (wxWindow
*) 0 ;
25578 PyObject
* obj0
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25585 if (SWIG_arg_fail(1)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 wxSize
* resultptr
;
25595 resultptr
= new wxSize((wxSize
&)(result
));
25596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25604 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxWindow
*arg1
= (wxWindow
*) 0 ;
25607 int *arg2
= (int *) 0 ;
25608 int *arg3
= (int *) 0 ;
25613 PyObject
* obj0
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self", NULL
25618 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25619 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25622 if (SWIG_arg_fail(1)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 Py_INCREF(Py_None
); resultobj
= Py_None
;
25631 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25632 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25633 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25634 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25641 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxWindow
*arg1
= (wxWindow
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25651 if (SWIG_arg_fail(1)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 (arg1
)->InvalidateBestSize();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxWindow
*arg1
= (wxWindow
*) 0 ;
25670 PyObject
* obj0
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25686 wxSize
* resultptr
;
25687 resultptr
= new wxSize((wxSize
&)(result
));
25688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25696 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxWindow
*arg1
= (wxWindow
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(1)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 wxSize
* resultptr
;
25717 resultptr
= new wxSize((wxSize
&)(result
));
25718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25726 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxWindow
*arg1
= (wxWindow
*) 0 ;
25729 int arg2
= (int) wxBOTH
;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self",(char *) "direction", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25738 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 arg2
= (int)(SWIG_As_int(obj1
));
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->Center(arg2
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 int arg2
= (int) wxBOTH
;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "dir", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25774 arg2
= (int)(SWIG_As_int(obj1
));
25775 if (SWIG_arg_fail(2)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->CenterOnScreen(arg2
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxWindow
*arg1
= (wxWindow
*) 0 ;
25795 int arg2
= (int) wxBOTH
;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "dir", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25804 if (SWIG_arg_fail(1)) SWIG_fail
;
25807 arg2
= (int)(SWIG_As_int(obj1
));
25808 if (SWIG_arg_fail(2)) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->CenterOnParent(arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
25834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25835 if (SWIG_arg_fail(1)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 Py_INCREF(Py_None
); resultobj
= Py_None
;
25850 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxWindow
*arg1
= (wxWindow
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 (arg1
)->FitInside();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 Py_INCREF(Py_None
); resultobj
= Py_None
;
25875 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxWindow
*arg1
= (wxWindow
*) 0 ;
25880 int arg4
= (int) -1 ;
25881 int arg5
= (int) -1 ;
25882 int arg6
= (int) -1 ;
25883 int arg7
= (int) -1 ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 PyObject
* obj3
= 0 ;
25888 PyObject
* obj4
= 0 ;
25889 PyObject
* obj5
= 0 ;
25890 PyObject
* obj6
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 arg2
= (int)(SWIG_As_int(obj1
));
25900 if (SWIG_arg_fail(2)) SWIG_fail
;
25903 arg3
= (int)(SWIG_As_int(obj2
));
25904 if (SWIG_arg_fail(3)) SWIG_fail
;
25908 arg4
= (int)(SWIG_As_int(obj3
));
25909 if (SWIG_arg_fail(4)) SWIG_fail
;
25914 arg5
= (int)(SWIG_As_int(obj4
));
25915 if (SWIG_arg_fail(5)) SWIG_fail
;
25920 arg6
= (int)(SWIG_As_int(obj5
));
25921 if (SWIG_arg_fail(6)) SWIG_fail
;
25926 arg7
= (int)(SWIG_As_int(obj6
));
25927 if (SWIG_arg_fail(7)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxWindow
*arg1
= (wxWindow
*) 0 ;
25948 wxSize
const &arg3_defvalue
= wxDefaultSize
;
25949 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
25950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 PyObject
* obj2
= 0 ;
25958 PyObject
* obj3
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25968 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25973 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
25979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 Py_INCREF(Py_None
); resultobj
= Py_None
;
25996 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 int arg4
= (int) -1 ;
26002 int arg5
= (int) -1 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 PyObject
* obj2
= 0 ;
26006 PyObject
* obj3
= 0 ;
26007 PyObject
* obj4
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 arg2
= (int)(SWIG_As_int(obj1
));
26017 if (SWIG_arg_fail(2)) SWIG_fail
;
26020 arg3
= (int)(SWIG_As_int(obj2
));
26021 if (SWIG_arg_fail(3)) SWIG_fail
;
26025 arg4
= (int)(SWIG_As_int(obj3
));
26026 if (SWIG_arg_fail(4)) SWIG_fail
;
26031 arg5
= (int)(SWIG_As_int(obj4
));
26032 if (SWIG_arg_fail(5)) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 Py_INCREF(Py_None
); resultobj
= Py_None
;
26049 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxWindow
*arg1
= (wxWindow
*) 0 ;
26053 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26054 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 PyObject
* obj2
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail
;
26069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26074 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 Py_INCREF(Py_None
); resultobj
= Py_None
;
26091 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxWindow
*arg1
= (wxWindow
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26102 if (SWIG_arg_fail(1)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 wxSize
* resultptr
;
26112 resultptr
= new wxSize((wxSize
&)(result
));
26113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26121 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26122 PyObject
*resultobj
;
26123 wxWindow
*arg1
= (wxWindow
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 wxSize
* resultptr
;
26142 resultptr
= new wxSize((wxSize
&)(result
));
26143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26151 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxWindow
*arg1
= (wxWindow
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self",(char *) "minSize", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26164 if (SWIG_arg_fail(1)) SWIG_fail
;
26167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxWindow
*arg1
= (wxWindow
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "maxSize", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26196 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 Py_INCREF(Py_None
); resultobj
= Py_None
;
26215 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26226 if (SWIG_arg_fail(1)) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_From_int((int)(result
));
26243 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxWindow
*arg1
= (wxWindow
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26254 if (SWIG_arg_fail(1)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_From_int((int)(result
));
26271 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26282 if (SWIG_arg_fail(1)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_From_int((int)(result
));
26299 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_From_int((int)(result
));
26327 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "size", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 Py_INCREF(Py_None
); resultobj
= Py_None
;
26359 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26361 wxWindow
*arg1
= (wxWindow
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 PyObject
* obj2
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self",(char *) "w",(char *) "h", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail
;
26375 arg2
= (int)(SWIG_As_int(obj1
));
26376 if (SWIG_arg_fail(2)) SWIG_fail
;
26379 arg3
= (int)(SWIG_As_int(obj2
));
26380 if (SWIG_arg_fail(3)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetVirtualSize(arg2
,arg3
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxSize
* resultptr
;
26417 resultptr
= new wxSize((wxSize
&)(result
));
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26426 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxWindow
*arg1
= (wxWindow
*) 0 ;
26429 int *arg2
= (int *) 0 ;
26430 int *arg3
= (int *) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26441 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26453 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26454 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26455 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26456 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26463 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxWindow
*arg1
= (wxWindow
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 wxSize
* resultptr
;
26484 resultptr
= new wxSize((wxSize
&)(result
));
26485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26493 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxWindow
*arg1
= (wxWindow
*) 0 ;
26496 bool arg2
= (bool) true ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "show", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26506 if (SWIG_arg_fail(1)) SWIG_fail
;
26509 arg2
= (bool)(SWIG_As_bool(obj1
));
26510 if (SWIG_arg_fail(2)) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (bool)(arg1
)->Show(arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26529 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(1)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (bool)(arg1
)->Hide();
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26557 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 bool arg2
= (bool) true ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self",(char *) "enable", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail
;
26573 arg2
= (bool)(SWIG_As_bool(obj1
));
26574 if (SWIG_arg_fail(2)) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 result
= (bool)(arg1
)->Enable(arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26593 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxWindow
*arg1
= (wxWindow
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (bool)(arg1
)->Disable();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26621 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxWindow
*arg1
= (wxWindow
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "self", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26632 if (SWIG_arg_fail(1)) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26649 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxWindow
*arg1
= (wxWindow
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 char *kwnames
[] = {
26655 (char *) "self", NULL
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26660 if (SWIG_arg_fail(1)) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26677 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
;
26679 wxWindow
*arg1
= (wxWindow
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "style", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail
;
26691 arg2
= (long)(SWIG_As_long(obj1
));
26692 if (SWIG_arg_fail(2)) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 (arg1
)->SetWindowStyleFlag(arg2
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 Py_INCREF(Py_None
); resultobj
= Py_None
;
26708 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxWindow
*arg1
= (wxWindow
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 char *kwnames
[] = {
26714 (char *) "self", NULL
26717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
26718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26719 if (SWIG_arg_fail(1)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_From_long((long)(result
));
26736 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxWindow
*arg1
= (wxWindow
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "flag", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26749 if (SWIG_arg_fail(1)) SWIG_fail
;
26751 arg2
= (int)(SWIG_As_int(obj1
));
26752 if (SWIG_arg_fail(2)) SWIG_fail
;
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26770 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxWindow
*arg1
= (wxWindow
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26781 if (SWIG_arg_fail(1)) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26798 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxWindow
*arg1
= (wxWindow
*) 0 ;
26802 PyObject
* obj0
= 0 ;
26803 PyObject
* obj1
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "exStyle", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26810 if (SWIG_arg_fail(1)) SWIG_fail
;
26812 arg2
= (long)(SWIG_As_long(obj1
));
26813 if (SWIG_arg_fail(2)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->SetExtraStyle(arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 Py_INCREF(Py_None
); resultobj
= Py_None
;
26829 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxWindow
*arg1
= (wxWindow
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_From_long((long)(result
));
26857 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxWindow
*arg1
= (wxWindow
*) 0 ;
26860 bool arg2
= (bool) true ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self",(char *) "modal", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26869 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 arg2
= (bool)(SWIG_As_bool(obj1
));
26873 if (SWIG_arg_fail(2)) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->MakeModal(arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 Py_INCREF(Py_None
); resultobj
= Py_None
;
26890 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self",(char *) "enableTheme", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
26901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26902 if (SWIG_arg_fail(1)) SWIG_fail
;
26904 arg2
= (bool)(SWIG_As_bool(obj1
));
26905 if (SWIG_arg_fail(2)) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 (arg1
)->SetThemeEnabled(arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 Py_INCREF(Py_None
); resultobj
= Py_None
;
26921 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
;
26923 wxWindow
*arg1
= (wxWindow
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
26931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26932 if (SWIG_arg_fail(1)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26949 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxWindow
*arg1
= (wxWindow
*) 0 ;
26952 PyObject
* obj0
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
26958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26959 if (SWIG_arg_fail(1)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 (arg1
)->SetFocus();
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 Py_INCREF(Py_None
); resultobj
= Py_None
;
26974 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
26983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26984 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 (arg1
)->SetFocusFromKbd();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 Py_INCREF(Py_None
); resultobj
= Py_None
;
26999 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
;
27002 char *kwnames
[] = {
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27008 if (!wxPyCheckForApp()) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (wxWindow
*)wxWindow::FindFocus();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= wxPyMake_wxObject(result
, 0);
27024 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27052 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxWindow
*arg1
= (wxWindow
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27063 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27080 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxWindow
*arg1
= (wxWindow
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27091 if (SWIG_arg_fail(1)) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= wxPyMake_wxObject(result
, 0);
27108 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
;
27110 wxWindow
*arg1
= (wxWindow
*) 0 ;
27111 wxWindow
*arg2
= (wxWindow
*) 0 ;
27113 PyObject
* obj0
= 0 ;
27114 PyObject
* obj1
= 0 ;
27115 char *kwnames
[] = {
27116 (char *) "self",(char *) "child", NULL
27119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27121 if (SWIG_arg_fail(1)) SWIG_fail
;
27122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(2)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= wxPyMake_wxObject(result
, 0);
27140 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27143 wxWindow
*arg2
= (wxWindow
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "win", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 (arg1
)->SetTmpDefaultItem(arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 Py_INCREF(Py_None
); resultobj
= Py_None
;
27169 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxWindow
*arg1
= (wxWindow
*) 0 ;
27172 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "flags", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail
;
27185 arg2
= (int)(SWIG_As_int(obj1
));
27186 if (SWIG_arg_fail(2)) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (bool)(arg1
)->Navigate(arg2
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27205 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxWindow
*arg1
= (wxWindow
*) 0 ;
27208 wxWindow
*arg2
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "win", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(2)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 (arg1
)->MoveAfterInTabOrder(arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 Py_INCREF(Py_None
); resultobj
= Py_None
;
27234 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxWindow
*arg1
= (wxWindow
*) 0 ;
27237 wxWindow
*arg2
= (wxWindow
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "win", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail
;
27247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(2)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->MoveBeforeInTabOrder(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 Py_INCREF(Py_None
); resultobj
= Py_None
;
27263 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxWindow
*arg1
= (wxWindow
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27274 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= result
;
27289 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxWindow
*arg1
= (wxWindow
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= wxPyMake_wxObject(result
, 0);
27317 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxWindow
*arg1
= (wxWindow
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= wxPyMake_wxObject(result
, 0);
27345 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27373 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxWindow
*arg1
= (wxWindow
*) 0 ;
27376 wxWindow
*arg2
= (wxWindow
*) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 PyObject
* obj1
= 0 ;
27380 char *kwnames
[] = {
27381 (char *) "self",(char *) "newParent", NULL
27384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27386 if (SWIG_arg_fail(1)) SWIG_fail
;
27387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(2)) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (bool)(arg1
)->Reparent(arg2
);
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27405 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxWindow
*arg1
= (wxWindow
*) 0 ;
27408 wxWindow
*arg2
= (wxWindow
*) 0 ;
27409 PyObject
* obj0
= 0 ;
27410 PyObject
* obj1
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self",(char *) "child", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27417 if (SWIG_arg_fail(1)) SWIG_fail
;
27418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27419 if (SWIG_arg_fail(2)) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 (arg1
)->AddChild(arg2
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 Py_INCREF(Py_None
); resultobj
= Py_None
;
27434 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27437 wxWindow
*arg2
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "child", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27446 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27448 if (SWIG_arg_fail(2)) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 (arg1
)->RemoveChild(arg2
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 Py_INCREF(Py_None
); resultobj
= Py_None
;
27463 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxWindow
*arg1
= (wxWindow
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "winid", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27476 if (SWIG_arg_fail(1)) SWIG_fail
;
27478 arg2
= (long)(SWIG_As_long(obj1
));
27479 if (SWIG_arg_fail(2)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= wxPyMake_wxObject(result
, 0);
27497 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxWindow
*arg1
= (wxWindow
*) 0 ;
27500 wxString
*arg2
= 0 ;
27502 bool temp2
= false ;
27503 PyObject
* obj0
= 0 ;
27504 PyObject
* obj1
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self",(char *) "name", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27511 if (SWIG_arg_fail(1)) SWIG_fail
;
27513 arg2
= wxString_in_helper(obj1
);
27514 if (arg2
== NULL
) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= wxPyMake_wxObject(result
, 0);
27541 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxWindow
*arg1
= (wxWindow
*) 0 ;
27544 wxEvtHandler
*result
;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27552 if (SWIG_arg_fail(1)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= wxPyMake_wxObject(result
, 0);
27569 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxWindow
*arg1
= (wxWindow
*) 0 ;
27572 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self",(char *) "handler", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail
;
27582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27583 if (SWIG_arg_fail(2)) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 (arg1
)->SetEventHandler(arg2
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxWindow
*arg1
= (wxWindow
*) 0 ;
27601 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "handler", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail
;
27611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(2)) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 (arg1
)->PushEventHandler(arg2
);
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 Py_INCREF(Py_None
); resultobj
= Py_None
;
27627 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxWindow
*arg1
= (wxWindow
*) 0 ;
27630 bool arg2
= (bool) false ;
27631 wxEvtHandler
*result
;
27632 PyObject
* obj0
= 0 ;
27633 PyObject
* obj1
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self",(char *) "deleteHandler", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail
;
27643 arg2
= (bool)(SWIG_As_bool(obj1
));
27644 if (SWIG_arg_fail(2)) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= wxPyMake_wxObject(result
, 0);
27663 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxWindow
*arg1
= (wxWindow
*) 0 ;
27666 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "handler", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27676 if (SWIG_arg_fail(1)) SWIG_fail
;
27677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(2)) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27695 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxWindow
*arg1
= (wxWindow
*) 0 ;
27698 wxValidator
*arg2
= 0 ;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self",(char *) "validator", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail
;
27709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(2)) SWIG_fail
;
27711 if (arg2
== NULL
) {
27712 SWIG_null_ref("wxValidator");
27714 if (SWIG_arg_fail(2)) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 Py_INCREF(Py_None
); resultobj
= Py_None
;
27730 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxWindow
*arg1
= (wxWindow
*) 0 ;
27733 wxValidator
*result
;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27741 if (SWIG_arg_fail(1)) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (wxValidator
*)(arg1
)->GetValidator();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= wxPyMake_wxObject(result
, 0);
27758 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (bool)(arg1
)->Validate();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27786 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27797 if (SWIG_arg_fail(1)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (bool)(arg1
)->TransferDataToWindow();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27814 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxWindow
*arg1
= (wxWindow
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= (bool)(arg1
)->TransferDataFromWindow();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27842 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxWindow
*arg1
= (wxWindow
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27852 if (SWIG_arg_fail(1)) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->InitDialog();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxWindow
*arg1
= (wxWindow
*) 0 ;
27870 wxAcceleratorTable
*arg2
= 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self",(char *) "accel", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail
;
27881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27882 if (SWIG_arg_fail(2)) SWIG_fail
;
27883 if (arg2
== NULL
) {
27884 SWIG_null_ref("wxAcceleratorTable");
27886 if (SWIG_arg_fail(2)) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 wxAcceleratorTable
*result
;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
27912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
27928 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxWindow
*arg1
= (wxWindow
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 PyObject
* obj3
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27945 if (SWIG_arg_fail(1)) SWIG_fail
;
27947 arg2
= (int)(SWIG_As_int(obj1
));
27948 if (SWIG_arg_fail(2)) SWIG_fail
;
27951 arg3
= (int)(SWIG_As_int(obj2
));
27952 if (SWIG_arg_fail(3)) SWIG_fail
;
27955 arg4
= (int)(SWIG_As_int(obj3
));
27956 if (SWIG_arg_fail(4)) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27974 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxWindow
*arg1
= (wxWindow
*) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self",(char *) "hotkeyId", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
27986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(1)) SWIG_fail
;
27989 arg2
= (int)(SWIG_As_int(obj1
));
27990 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28008 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxWindow
*arg1
= (wxWindow
*) 0 ;
28011 wxPoint
*arg2
= 0 ;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "pt", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28022 if (SWIG_arg_fail(1)) SWIG_fail
;
28025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28035 wxPoint
* resultptr
;
28036 resultptr
= new wxPoint((wxPoint
&)(result
));
28037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28045 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxWindow
*arg1
= (wxWindow
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "sz", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28059 if (SWIG_arg_fail(1)) SWIG_fail
;
28062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28072 wxSize
* resultptr
;
28073 resultptr
= new wxSize((wxSize
&)(result
));
28074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28082 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxWindow
*arg1
= (wxWindow
*) 0 ;
28085 wxPoint
*arg2
= 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self",(char *) "pt", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28096 if (SWIG_arg_fail(1)) SWIG_fail
;
28099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28109 wxPoint
* resultptr
;
28110 resultptr
= new wxPoint((wxPoint
&)(result
));
28111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28119 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxWindow
*arg1
= (wxWindow
*) 0 ;
28125 PyObject
* obj0
= 0 ;
28126 PyObject
* obj1
= 0 ;
28127 char *kwnames
[] = {
28128 (char *) "self",(char *) "sz", NULL
28131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28133 if (SWIG_arg_fail(1)) SWIG_fail
;
28136 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 wxSize
* resultptr
;
28147 resultptr
= new wxSize((wxSize
&)(result
));
28148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28156 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxWindow
*arg1
= (wxWindow
*) 0 ;
28159 wxPoint
*arg2
= 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "pt", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28170 if (SWIG_arg_fail(1)) SWIG_fail
;
28173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28183 wxPoint
* resultptr
;
28184 resultptr
= new wxPoint((wxPoint
&)(result
));
28185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28193 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxWindow
*arg1
= (wxWindow
*) 0 ;
28199 PyObject
* obj0
= 0 ;
28200 PyObject
* obj1
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self",(char *) "sz", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28207 if (SWIG_arg_fail(1)) SWIG_fail
;
28210 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28220 wxSize
* resultptr
;
28221 resultptr
= new wxSize((wxSize
&)(result
));
28222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28230 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 PyObject
* obj2
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "x",(char *) "y", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28244 if (SWIG_arg_fail(1)) SWIG_fail
;
28246 arg2
= (int)(SWIG_As_int(obj1
));
28247 if (SWIG_arg_fail(2)) SWIG_fail
;
28250 arg3
= (int)(SWIG_As_int(obj2
));
28251 if (SWIG_arg_fail(3)) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->WarpPointer(arg2
,arg3
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 Py_INCREF(Py_None
); resultobj
= Py_None
;
28267 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxWindow
*arg1
= (wxWindow
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28277 if (SWIG_arg_fail(1)) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->CaptureMouse();
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28302 if (SWIG_arg_fail(1)) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->ReleaseMouse();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 Py_INCREF(Py_None
); resultobj
= Py_None
;
28317 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28320 char *kwnames
[] = {
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28326 if (!wxPyCheckForApp()) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (wxWindow
*)wxWindow::GetCapture();
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= wxPyMake_wxObject(result
, 0);
28342 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxWindow
*arg1
= (wxWindow
*) 0 ;
28346 PyObject
* obj0
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28370 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxWindow
*arg1
= (wxWindow
*) 0 ;
28373 bool arg2
= (bool) true ;
28374 wxRect
*arg3
= (wxRect
*) NULL
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 PyObject
* obj2
= 0 ;
28378 char *kwnames
[] = {
28379 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28384 if (SWIG_arg_fail(1)) SWIG_fail
;
28387 arg2
= (bool)(SWIG_As_bool(obj1
));
28388 if (SWIG_arg_fail(2)) SWIG_fail
;
28392 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28393 if (SWIG_arg_fail(3)) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 Py_INCREF(Py_None
); resultobj
= Py_None
;
28409 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxWindow
*arg1
= (wxWindow
*) 0 ;
28413 bool arg3
= (bool) true ;
28415 PyObject
* obj0
= 0 ;
28416 PyObject
* obj1
= 0 ;
28417 PyObject
* obj2
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
28431 arg3
= (bool)(SWIG_As_bool(obj2
));
28432 if (SWIG_arg_fail(3)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 Py_INCREF(Py_None
); resultobj
= Py_None
;
28449 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxWindow
*arg1
= (wxWindow
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 Py_INCREF(Py_None
); resultobj
= Py_None
;
28474 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxWindow
*arg1
= (wxWindow
*) 0 ;
28477 PyObject
* obj0
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 (arg1
)->ClearBackground();
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 Py_INCREF(Py_None
); resultobj
= Py_None
;
28499 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxWindow
*arg1
= (wxWindow
*) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28524 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxWindow
*arg1
= (wxWindow
*) 0 ;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28534 if (SWIG_arg_fail(1)) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 Py_INCREF(Py_None
); resultobj
= Py_None
;
28549 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxWindow
*arg1
= (wxWindow
*) 0 ;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 char *kwnames
[] = {
28556 (char *) "self",(char *) "dc", NULL
28559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28561 if (SWIG_arg_fail(1)) SWIG_fail
;
28563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28564 if (SWIG_arg_fail(2)) SWIG_fail
;
28565 if (arg2
== NULL
) {
28566 SWIG_null_ref("wxDC");
28568 if (SWIG_arg_fail(2)) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 (arg1
)->PrepareDC(*arg2
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 Py_INCREF(Py_None
); resultobj
= Py_None
;
28584 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxWindow
*arg1
= (wxWindow
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28595 if (SWIG_arg_fail(1)) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28600 result
= (wxRegion
*) &_result_ref
;
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28613 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
;
28615 wxWindow
*arg1
= (wxWindow
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28633 wxRect
* resultptr
;
28634 resultptr
= new wxRect((wxRect
&)(result
));
28635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28643 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxWindow
*arg1
= (wxWindow
*) 0 ;
28648 int arg4
= (int) 1 ;
28649 int arg5
= (int) 1 ;
28651 PyObject
* obj0
= 0 ;
28652 PyObject
* obj1
= 0 ;
28653 PyObject
* obj2
= 0 ;
28654 PyObject
* obj3
= 0 ;
28655 PyObject
* obj4
= 0 ;
28656 char *kwnames
[] = {
28657 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28662 if (SWIG_arg_fail(1)) SWIG_fail
;
28664 arg2
= (int)(SWIG_As_int(obj1
));
28665 if (SWIG_arg_fail(2)) SWIG_fail
;
28668 arg3
= (int)(SWIG_As_int(obj2
));
28669 if (SWIG_arg_fail(3)) SWIG_fail
;
28673 arg4
= (int)(SWIG_As_int(obj3
));
28674 if (SWIG_arg_fail(4)) SWIG_fail
;
28679 arg5
= (int)(SWIG_As_int(obj4
));
28680 if (SWIG_arg_fail(5)) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28699 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxWindow
*arg1
= (wxWindow
*) 0 ;
28702 wxPoint
*arg2
= 0 ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self",(char *) "pt", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28713 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28734 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxWindow
*arg1
= (wxWindow
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "rect", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28769 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxWindow
*arg1
= (wxWindow
*) 0 ;
28772 wxVisualAttributes result
;
28773 PyObject
* obj0
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28780 if (SWIG_arg_fail(1)) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28789 wxVisualAttributes
* resultptr
;
28790 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28799 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28802 wxVisualAttributes result
;
28803 PyObject
* obj0
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "variant", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28811 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28812 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 if (!wxPyCheckForApp()) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28824 wxVisualAttributes
* resultptr
;
28825 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28834 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxWindow
*arg1
= (wxWindow
*) 0 ;
28837 wxColour
*arg2
= 0 ;
28840 PyObject
* obj0
= 0 ;
28841 PyObject
* obj1
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "colour", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail
;
28851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28869 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxWindow
*arg1
= (wxWindow
*) 0 ;
28872 wxColour
*arg2
= 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "self",(char *) "colour", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28882 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 Py_INCREF(Py_None
); resultobj
= Py_None
;
28901 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxWindow
*arg1
= (wxWindow
*) 0 ;
28904 wxColour
*arg2
= 0 ;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "self",(char *) "colour", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28915 if (SWIG_arg_fail(1)) SWIG_fail
;
28918 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28936 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxWindow
*arg1
= (wxWindow
*) 0 ;
28939 wxColour
*arg2
= 0 ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "colour", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28949 if (SWIG_arg_fail(1)) SWIG_fail
;
28952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 Py_INCREF(Py_None
); resultobj
= Py_None
;
28968 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxWindow
*arg1
= (wxWindow
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(1)) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28988 wxColour
* resultptr
;
28989 resultptr
= new wxColour((wxColour
&)(result
));
28990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28998 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
;
29000 wxWindow
*arg1
= (wxWindow
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29009 if (SWIG_arg_fail(1)) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29018 wxColour
* resultptr
;
29019 resultptr
= new wxColour((wxColour
&)(result
));
29020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29028 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxWindow
*arg1
= (wxWindow
*) 0 ;
29031 wxBackgroundStyle arg2
;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "style", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29044 if (SWIG_arg_fail(2)) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29062 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxWindow
*arg1
= (wxWindow
*) 0 ;
29065 wxBackgroundStyle result
;
29066 PyObject
* obj0
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "self", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29073 if (SWIG_arg_fail(1)) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_From_int((result
));
29088 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
;
29090 wxWindow
*arg1
= (wxWindow
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 char *kwnames
[] = {
29094 (char *) "self", NULL
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29099 if (SWIG_arg_fail(1)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)(arg1
)->HasTransparentBackground();
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxWindow
*arg1
= (wxWindow
*) 0 ;
29119 wxCursor
*arg2
= 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "cursor", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29129 if (SWIG_arg_fail(1)) SWIG_fail
;
29131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29132 if (SWIG_arg_fail(2)) SWIG_fail
;
29133 if (arg2
== NULL
) {
29134 SWIG_null_ref("wxCursor");
29136 if (SWIG_arg_fail(2)) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29154 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxWindow
*arg1
= (wxWindow
*) 0 ;
29158 PyObject
* obj0
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29165 if (SWIG_arg_fail(1)) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (arg1
)->GetCursor();
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29174 wxCursor
* resultptr
;
29175 resultptr
= new wxCursor((wxCursor
&)(result
));
29176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29184 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
;
29186 wxWindow
*arg1
= (wxWindow
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "font", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29197 if (SWIG_arg_fail(1)) SWIG_fail
;
29199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 if (arg2
== NULL
) {
29202 SWIG_null_ref("wxFont");
29204 if (SWIG_arg_fail(2)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxWindow
*arg1
= (wxWindow
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "font", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(1)) SWIG_fail
;
29236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29237 if (SWIG_arg_fail(2)) SWIG_fail
;
29238 if (arg2
== NULL
) {
29239 SWIG_null_ref("wxFont");
29241 if (SWIG_arg_fail(2)) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 Py_INCREF(Py_None
); resultobj
= Py_None
;
29257 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
;
29259 wxWindow
*arg1
= (wxWindow
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29268 if (SWIG_arg_fail(1)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (arg1
)->GetFont();
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 wxFont
* resultptr
;
29278 resultptr
= new wxFont((wxFont
&)(result
));
29279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29287 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxWindow
*arg1
= (wxWindow
*) 0 ;
29290 wxCaret
*arg2
= (wxCaret
*) 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self",(char *) "caret", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->SetCaret(arg2
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 Py_INCREF(Py_None
); resultobj
= Py_None
;
29316 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxWindow
*arg1
= (wxWindow
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29327 if (SWIG_arg_fail(1)) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29342 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxWindow
*arg1
= (wxWindow
*) 0 ;
29346 PyObject
* obj0
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "self", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_From_int((int)(result
));
29370 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxWindow
*arg1
= (wxWindow
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self", NULL
29379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29381 if (SWIG_arg_fail(1)) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_From_int((int)(result
));
29398 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxWindow
*arg1
= (wxWindow
*) 0 ;
29401 wxString
*arg2
= 0 ;
29402 int *arg3
= (int *) 0 ;
29403 int *arg4
= (int *) 0 ;
29404 bool temp2
= false ;
29409 PyObject
* obj0
= 0 ;
29410 PyObject
* obj1
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self",(char *) "string", NULL
29415 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29416 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(1)) SWIG_fail
;
29421 arg2
= wxString_in_helper(obj1
);
29422 if (arg2
== NULL
) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 Py_INCREF(Py_None
); resultobj
= Py_None
;
29433 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29434 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29435 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29436 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29451 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxWindow
*arg1
= (wxWindow
*) 0 ;
29454 wxString
*arg2
= 0 ;
29455 int *arg3
= (int *) 0 ;
29456 int *arg4
= (int *) 0 ;
29457 int *arg5
= (int *) 0 ;
29458 int *arg6
= (int *) 0 ;
29459 wxFont
*arg7
= (wxFont
*) NULL
;
29460 bool temp2
= false ;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 PyObject
* obj2
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "string",(char *) "font", NULL
29476 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29477 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29478 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29479 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29482 if (SWIG_arg_fail(1)) SWIG_fail
;
29484 arg2
= wxString_in_helper(obj1
);
29485 if (arg2
== NULL
) SWIG_fail
;
29489 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29490 if (SWIG_arg_fail(7)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 Py_INCREF(Py_None
); resultobj
= Py_None
;
29500 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29501 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29502 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29503 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29504 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29505 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29506 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29507 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29522 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxWindow
*arg1
= (wxWindow
*) 0 ;
29525 int *arg2
= (int *) 0 ;
29526 int *arg3
= (int *) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "x",(char *) "y", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29540 if (SWIG_arg_fail(1)) SWIG_fail
;
29542 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29543 temp2
= SWIG_As_int(obj1
);
29544 if (SWIG_arg_fail(2)) SWIG_fail
;
29546 res2
= SWIG_NEWOBJ
;
29550 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29551 temp3
= SWIG_As_int(obj2
);
29552 if (SWIG_arg_fail(3)) SWIG_fail
;
29554 res3
= SWIG_NEWOBJ
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 Py_INCREF(Py_None
); resultobj
= Py_None
;
29565 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29566 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29567 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29568 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29575 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxWindow
*arg1
= (wxWindow
*) 0 ;
29578 int *arg2
= (int *) 0 ;
29579 int *arg3
= (int *) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "x",(char *) "y", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29593 if (SWIG_arg_fail(1)) SWIG_fail
;
29595 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29596 temp2
= SWIG_As_int(obj1
);
29597 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 res2
= SWIG_NEWOBJ
;
29603 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29604 temp3
= SWIG_As_int(obj2
);
29605 if (SWIG_arg_fail(3)) SWIG_fail
;
29607 res3
= SWIG_NEWOBJ
;
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 Py_INCREF(Py_None
); resultobj
= Py_None
;
29618 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29619 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29620 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29621 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29628 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxWindow
*arg1
= (wxWindow
*) 0 ;
29631 wxPoint
*arg2
= 0 ;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self",(char *) "pt", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail
;
29645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 wxPoint
* resultptr
;
29656 resultptr
= new wxPoint((wxPoint
&)(result
));
29657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29665 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxWindow
*arg1
= (wxWindow
*) 0 ;
29668 wxPoint
*arg2
= 0 ;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "self",(char *) "pt", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29679 if (SWIG_arg_fail(1)) SWIG_fail
;
29682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29692 wxPoint
* resultptr
;
29693 resultptr
= new wxPoint((wxPoint
&)(result
));
29694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29702 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxWindow
*arg1
= (wxWindow
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "x",(char *) "y", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(1)) SWIG_fail
;
29719 arg2
= (int)(SWIG_As_int(obj1
));
29720 if (SWIG_arg_fail(2)) SWIG_fail
;
29723 arg3
= (int)(SWIG_As_int(obj2
));
29724 if (SWIG_arg_fail(3)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= SWIG_From_int((result
));
29740 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxWindow
*arg1
= (wxWindow
*) 0 ;
29743 wxPoint
*arg2
= 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "pt", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_From_int((result
));
29773 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29774 PyObject
*resultobj
;
29775 wxWindow
*arg1
= (wxWindow
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29781 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail
;
29785 arg2
= (long)(SWIG_As_long(obj1
));
29786 if (SWIG_arg_fail(2)) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_From_int((result
));
29802 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29803 PyObject
*resultobj
;
29804 wxWindow
*arg1
= (wxWindow
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29808 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29810 if (SWIG_arg_fail(1)) SWIG_fail
;
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_From_int((result
));
29825 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29830 argc
= PyObject_Length(args
);
29831 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29832 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29838 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29846 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29853 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29861 _v
= SWIG_Check_long(argv
[1]);
29863 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29868 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29873 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxWindow
*arg1
= (wxWindow
*) 0 ;
29876 long arg2
= (long) wxUPDATE_UI_NONE
;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self",(char *) "flags", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29885 if (SWIG_arg_fail(1)) SWIG_fail
;
29888 arg2
= (long)(SWIG_As_long(obj1
));
29889 if (SWIG_arg_fail(2)) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 (arg1
)->UpdateWindowUI(arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 Py_INCREF(Py_None
); resultobj
= Py_None
;
29906 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxWindow
*arg1
= (wxWindow
*) 0 ;
29909 wxMenu
*arg2
= (wxMenu
*) 0 ;
29910 int arg3
= (int) -1 ;
29911 int arg4
= (int) -1 ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 PyObject
* obj3
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29923 if (SWIG_arg_fail(1)) SWIG_fail
;
29924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29925 if (SWIG_arg_fail(2)) SWIG_fail
;
29928 arg3
= (int)(SWIG_As_int(obj2
));
29929 if (SWIG_arg_fail(3)) SWIG_fail
;
29934 arg4
= (int)(SWIG_As_int(obj3
));
29935 if (SWIG_arg_fail(4)) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29954 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxWindow
*arg1
= (wxWindow
*) 0 ;
29957 wxMenu
*arg2
= (wxMenu
*) 0 ;
29958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 char *kwnames
[] = {
29966 (char *) "self",(char *) "menu",(char *) "pos", NULL
29969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29971 if (SWIG_arg_fail(1)) SWIG_fail
;
29972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29973 if (SWIG_arg_fail(2)) SWIG_fail
;
29977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29996 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxWindow
*arg1
= (wxWindow
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30007 if (SWIG_arg_fail(1)) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (long)wxWindow_GetHandle(arg1
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_From_long((long)(result
));
30024 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxWindow
*arg1
= (wxWindow
*) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self",(char *) "handle", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 arg2
= (long)(SWIG_As_long(obj1
));
30039 if (SWIG_arg_fail(2)) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 wxWindow_AssociateHandle(arg1
,arg2
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 Py_INCREF(Py_None
); resultobj
= Py_None
;
30055 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxWindow
*arg1
= (wxWindow
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(1)) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 (arg1
)->DissociateHandle();
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 Py_INCREF(Py_None
); resultobj
= Py_None
;
30080 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxWindow
*arg1
= (wxWindow
*) 0 ;
30083 wxPaintEvent
*arg2
= 0 ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "event", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30092 if (SWIG_arg_fail(1)) SWIG_fail
;
30094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 if (arg2
== NULL
) {
30097 SWIG_null_ref("wxPaintEvent");
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 (arg1
)->OnPaint(*arg2
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 Py_INCREF(Py_None
); resultobj
= Py_None
;
30115 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxWindow
*arg1
= (wxWindow
*) 0 ;
30120 PyObject
* obj0
= 0 ;
30121 PyObject
* obj1
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self",(char *) "orient", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30135 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30149 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
;
30151 wxWindow
*arg1
= (wxWindow
*) 0 ;
30156 bool arg6
= (bool) true ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 PyObject
* obj3
= 0 ;
30161 PyObject
* obj4
= 0 ;
30162 PyObject
* obj5
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(1)) SWIG_fail
;
30171 arg2
= (int)(SWIG_As_int(obj1
));
30172 if (SWIG_arg_fail(2)) SWIG_fail
;
30175 arg3
= (int)(SWIG_As_int(obj2
));
30176 if (SWIG_arg_fail(3)) SWIG_fail
;
30179 arg4
= (int)(SWIG_As_int(obj3
));
30180 if (SWIG_arg_fail(4)) SWIG_fail
;
30183 arg5
= (int)(SWIG_As_int(obj4
));
30184 if (SWIG_arg_fail(5)) SWIG_fail
;
30188 arg6
= (bool)(SWIG_As_bool(obj5
));
30189 if (SWIG_arg_fail(6)) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 Py_INCREF(Py_None
); resultobj
= Py_None
;
30206 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
;
30208 wxWindow
*arg1
= (wxWindow
*) 0 ;
30211 bool arg4
= (bool) true ;
30212 PyObject
* obj0
= 0 ;
30213 PyObject
* obj1
= 0 ;
30214 PyObject
* obj2
= 0 ;
30215 PyObject
* obj3
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 arg2
= (int)(SWIG_As_int(obj1
));
30225 if (SWIG_arg_fail(2)) SWIG_fail
;
30228 arg3
= (int)(SWIG_As_int(obj2
));
30229 if (SWIG_arg_fail(3)) SWIG_fail
;
30233 arg4
= (bool)(SWIG_As_bool(obj3
));
30234 if (SWIG_arg_fail(4)) SWIG_fail
;
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 Py_INCREF(Py_None
); resultobj
= Py_None
;
30251 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
;
30253 wxWindow
*arg1
= (wxWindow
*) 0 ;
30256 PyObject
* obj0
= 0 ;
30257 PyObject
* obj1
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "self",(char *) "orientation", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30264 if (SWIG_arg_fail(1)) SWIG_fail
;
30266 arg2
= (int)(SWIG_As_int(obj1
));
30267 if (SWIG_arg_fail(2)) SWIG_fail
;
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= SWIG_From_int((int)(result
));
30285 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxWindow
*arg1
= (wxWindow
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self",(char *) "orientation", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30298 if (SWIG_arg_fail(1)) SWIG_fail
;
30300 arg2
= (int)(SWIG_As_int(obj1
));
30301 if (SWIG_arg_fail(2)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= SWIG_From_int((int)(result
));
30319 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
;
30321 wxWindow
*arg1
= (wxWindow
*) 0 ;
30324 PyObject
* obj0
= 0 ;
30325 PyObject
* obj1
= 0 ;
30326 char *kwnames
[] = {
30327 (char *) "self",(char *) "orientation", NULL
30330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30332 if (SWIG_arg_fail(1)) SWIG_fail
;
30334 arg2
= (int)(SWIG_As_int(obj1
));
30335 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_From_int((int)(result
));
30353 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxWindow
*arg1
= (wxWindow
*) 0 ;
30358 wxRect
*arg4
= (wxRect
*) NULL
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 PyObject
* obj3
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30369 if (SWIG_arg_fail(1)) SWIG_fail
;
30371 arg2
= (int)(SWIG_As_int(obj1
));
30372 if (SWIG_arg_fail(2)) SWIG_fail
;
30375 arg3
= (int)(SWIG_As_int(obj2
));
30376 if (SWIG_arg_fail(3)) SWIG_fail
;
30379 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30380 if (SWIG_arg_fail(4)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30396 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxWindow
*arg1
= (wxWindow
*) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 char *kwnames
[] = {
30404 (char *) "self",(char *) "lines", NULL
30407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30409 if (SWIG_arg_fail(1)) SWIG_fail
;
30411 arg2
= (int)(SWIG_As_int(obj1
));
30412 if (SWIG_arg_fail(2)) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (bool)(arg1
)->ScrollLines(arg2
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30430 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxWindow
*arg1
= (wxWindow
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self",(char *) "pages", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail
;
30445 arg2
= (int)(SWIG_As_int(obj1
));
30446 if (SWIG_arg_fail(2)) SWIG_fail
;
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 result
= (bool)(arg1
)->ScrollPages(arg2
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30464 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
;
30466 wxWindow
*arg1
= (wxWindow
*) 0 ;
30468 PyObject
* obj0
= 0 ;
30469 char *kwnames
[] = {
30470 (char *) "self", NULL
30473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30475 if (SWIG_arg_fail(1)) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= (bool)(arg1
)->LineUp();
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30492 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxWindow
*arg1
= (wxWindow
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 char *kwnames
[] = {
30498 (char *) "self", NULL
30501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (bool)(arg1
)->LineDown();
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30520 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxWindow
*arg1
= (wxWindow
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (bool)(arg1
)->PageUp();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxWindow
*arg1
= (wxWindow
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (bool)(arg1
)->PageDown();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30576 static PyObject
*_wrap_Window_SetHelpText(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_SetHelpText",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
)->SetHelpText((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_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxWindow
*arg1
= (wxWindow
*) 0 ;
30620 wxString
*arg2
= 0 ;
30621 bool temp2
= false ;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "text", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30632 arg2
= wxString_in_helper(obj1
);
30633 if (arg2
== NULL
) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 Py_INCREF(Py_None
); resultobj
= Py_None
;
30658 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
;
30660 wxWindow
*arg1
= (wxWindow
*) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "self", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30669 if (SWIG_arg_fail(1)) SWIG_fail
;
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30690 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxWindow
*arg1
= (wxWindow
*) 0 ;
30693 wxString
*arg2
= 0 ;
30694 bool temp2
= false ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "tip", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= wxString_in_helper(obj1
);
30706 if (arg2
== NULL
) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30731 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxWindow
*arg1
= (wxWindow
*) 0 ;
30734 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "tip", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30745 if (SWIG_arg_fail(2)) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 (arg1
)->SetToolTip(arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 Py_INCREF(Py_None
); resultobj
= Py_None
;
30760 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxWindow
*arg1
= (wxWindow
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail
;
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= wxPyMake_wxObject(result
, 0);
30788 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxWindow
*arg1
= (wxWindow
*) 0 ;
30791 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30792 PyObject
* obj0
= 0 ;
30793 PyObject
* obj1
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self",(char *) "dropTarget", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30802 if (SWIG_arg_fail(2)) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 (arg1
)->SetDropTarget(arg2
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 Py_INCREF(Py_None
); resultobj
= Py_None
;
30817 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
;
30819 wxWindow
*arg1
= (wxWindow
*) 0 ;
30820 wxPyDropTarget
*result
;
30821 PyObject
* obj0
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30828 if (SWIG_arg_fail(1)) SWIG_fail
;
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30843 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxWindow
*arg1
= (wxWindow
*) 0 ;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 char *kwnames
[] = {
30850 (char *) "self",(char *) "accept", NULL
30853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
30854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30855 if (SWIG_arg_fail(1)) SWIG_fail
;
30857 arg2
= (bool)(SWIG_As_bool(obj1
));
30858 if (SWIG_arg_fail(2)) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->DragAcceptFiles(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxWindow
*arg1
= (wxWindow
*) 0 ;
30877 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "constraints", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30886 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30888 if (SWIG_arg_fail(2)) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 (arg1
)->SetConstraints(arg2
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 Py_INCREF(Py_None
); resultobj
= Py_None
;
30903 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxWindow
*arg1
= (wxWindow
*) 0 ;
30906 wxLayoutConstraints
*result
;
30907 PyObject
* obj0
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30914 if (SWIG_arg_fail(1)) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30929 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
;
30931 wxWindow
*arg1
= (wxWindow
*) 0 ;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self",(char *) "autoLayout", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
30940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30941 if (SWIG_arg_fail(1)) SWIG_fail
;
30943 arg2
= (bool)(SWIG_As_bool(obj1
));
30944 if (SWIG_arg_fail(2)) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 (arg1
)->SetAutoLayout(arg2
);
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 Py_INCREF(Py_None
); resultobj
= Py_None
;
30960 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxWindow
*arg1
= (wxWindow
*) 0 ;
30964 PyObject
* obj0
= 0 ;
30965 char *kwnames
[] = {
30966 (char *) "self", NULL
30969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
30970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30971 if (SWIG_arg_fail(1)) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30988 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxWindow
*arg1
= (wxWindow
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
30998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30999 if (SWIG_arg_fail(1)) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (bool)(arg1
)->Layout();
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31016 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxWindow
*arg1
= (wxWindow
*) 0 ;
31019 wxSizer
*arg2
= (wxSizer
*) 0 ;
31020 bool arg3
= (bool) true ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 PyObject
* obj2
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail
;
31031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31032 if (SWIG_arg_fail(2)) SWIG_fail
;
31035 arg3
= (bool)(SWIG_As_bool(obj2
));
31036 if (SWIG_arg_fail(3)) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->SetSizer(arg2
,arg3
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 Py_INCREF(Py_None
); resultobj
= Py_None
;
31053 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxWindow
*arg1
= (wxWindow
*) 0 ;
31056 wxSizer
*arg2
= (wxSizer
*) 0 ;
31057 bool arg3
= (bool) true ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(1)) SWIG_fail
;
31068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(2)) SWIG_fail
;
31072 arg3
= (bool)(SWIG_As_bool(obj2
));
31073 if (SWIG_arg_fail(3)) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 Py_INCREF(Py_None
); resultobj
= Py_None
;
31090 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
;
31092 wxWindow
*arg1
= (wxWindow
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31101 if (SWIG_arg_fail(1)) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= wxPyMake_wxSizer(result
, 0);
31118 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxWindow
*arg1
= (wxWindow
*) 0 ;
31121 wxSizer
*arg2
= (wxSizer
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "sizer", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31130 if (SWIG_arg_fail(1)) SWIG_fail
;
31131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31132 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->SetContainingSizer(arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 Py_INCREF(Py_None
); resultobj
= Py_None
;
31147 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxWindow
*arg1
= (wxWindow
*) 0 ;
31151 PyObject
* obj0
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31158 if (SWIG_arg_fail(1)) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= wxPyMake_wxSizer(result
, 0);
31175 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxWindow
*arg1
= (wxWindow
*) 0 ;
31178 PyObject
* obj0
= 0 ;
31179 char *kwnames
[] = {
31180 (char *) "self", NULL
31183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31185 if (SWIG_arg_fail(1)) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 (arg1
)->InheritAttributes();
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 Py_INCREF(Py_None
); resultobj
= Py_None
;
31200 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
;
31202 wxWindow
*arg1
= (wxWindow
*) 0 ;
31204 PyObject
* obj0
= 0 ;
31205 char *kwnames
[] = {
31206 (char *) "self", NULL
31209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31211 if (SWIG_arg_fail(1)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31228 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31231 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31233 return Py_BuildValue((char *)"");
31235 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31238 wxWindow
*arg2
= (wxWindow
*) NULL
;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "id",(char *) "parent", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31248 arg1
= (long)(SWIG_As_long(obj0
));
31249 if (SWIG_arg_fail(1)) SWIG_fail
;
31252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31253 if (SWIG_arg_fail(2)) SWIG_fail
;
31256 if (!wxPyCheckForApp()) SWIG_fail
;
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= wxPyMake_wxObject(result
, 0);
31272 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
;
31274 wxString
*arg1
= 0 ;
31275 wxWindow
*arg2
= (wxWindow
*) NULL
;
31277 bool temp1
= false ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "name",(char *) "parent", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31286 arg1
= wxString_in_helper(obj0
);
31287 if (arg1
== NULL
) SWIG_fail
;
31291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31292 if (SWIG_arg_fail(2)) SWIG_fail
;
31295 if (!wxPyCheckForApp()) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= wxPyMake_wxObject(result
, 0);
31319 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
;
31321 wxString
*arg1
= 0 ;
31322 wxWindow
*arg2
= (wxWindow
*) NULL
;
31324 bool temp1
= false ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "label",(char *) "parent", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31333 arg1
= wxString_in_helper(obj0
);
31334 if (arg1
== NULL
) SWIG_fail
;
31338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31339 if (SWIG_arg_fail(2)) SWIG_fail
;
31342 if (!wxPyCheckForApp()) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= wxPyMake_wxObject(result
, 0);
31366 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
;
31368 wxWindow
*arg1
= (wxWindow
*) 0 ;
31369 unsigned long arg2
;
31371 PyObject
* obj0
= 0 ;
31372 PyObject
* obj1
= 0 ;
31373 char *kwnames
[] = {
31374 (char *) "parent",(char *) "_hWnd", NULL
31377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail
;
31381 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31382 if (SWIG_arg_fail(2)) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= wxPyMake_wxObject(result
, 0);
31400 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxValidator
*result
;
31403 char *kwnames
[] = {
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (wxValidator
*)new wxValidator();
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31422 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxValidator
*arg1
= (wxValidator
*) 0 ;
31425 wxValidator
*result
;
31426 PyObject
* obj0
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "self", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31433 if (SWIG_arg_fail(1)) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (wxValidator
*)(arg1
)->Clone();
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= wxPyMake_wxObject(result
, 0);
31450 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxValidator
*arg1
= (wxValidator
*) 0 ;
31453 wxWindow
*arg2
= (wxWindow
*) 0 ;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 char *kwnames
[] = {
31458 (char *) "self",(char *) "parent", NULL
31461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(1)) SWIG_fail
;
31464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31465 if (SWIG_arg_fail(2)) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (bool)(arg1
)->Validate(arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31482 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxValidator
*arg1
= (wxValidator
*) 0 ;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31493 if (SWIG_arg_fail(1)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (bool)(arg1
)->TransferToWindow();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31510 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxValidator
*arg1
= (wxValidator
*) 0 ;
31514 PyObject
* obj0
= 0 ;
31515 char *kwnames
[] = {
31516 (char *) "self", NULL
31519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31521 if (SWIG_arg_fail(1)) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (bool)(arg1
)->TransferFromWindow();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31538 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
;
31540 wxValidator
*arg1
= (wxValidator
*) 0 ;
31542 PyObject
* obj0
= 0 ;
31543 char *kwnames
[] = {
31544 (char *) "self", NULL
31547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31549 if (SWIG_arg_fail(1)) SWIG_fail
;
31551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 result
= (wxWindow
*)(arg1
)->GetWindow();
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= wxPyMake_wxObject(result
, 0);
31566 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31568 wxValidator
*arg1
= (wxValidator
*) 0 ;
31569 wxWindow
*arg2
= (wxWindow
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self",(char *) "window", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail
;
31579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31580 if (SWIG_arg_fail(2)) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 (arg1
)->SetWindow(arg2
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 Py_INCREF(Py_None
); resultobj
= Py_None
;
31595 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
;
31598 char *kwnames
[] = {
31602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= (bool)wxValidator::IsSilent();
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31619 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
;
31621 int arg1
= (int) true ;
31622 PyObject
* obj0
= 0 ;
31623 char *kwnames
[] = {
31624 (char *) "doIt", NULL
31627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31630 arg1
= (int)(SWIG_As_int(obj0
));
31631 if (SWIG_arg_fail(1)) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 wxValidator::SetBellOnError(arg1
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 Py_INCREF(Py_None
); resultobj
= Py_None
;
31648 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31651 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31653 return Py_BuildValue((char *)"");
31655 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
;
31657 wxPyValidator
*result
;
31658 char *kwnames
[] = {
31662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (wxPyValidator
*)new wxPyValidator();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31677 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31680 PyObject
*arg2
= (PyObject
*) 0 ;
31681 PyObject
*arg3
= (PyObject
*) 0 ;
31682 int arg4
= (int) true ;
31683 PyObject
* obj0
= 0 ;
31684 PyObject
* obj1
= 0 ;
31685 PyObject
* obj2
= 0 ;
31686 PyObject
* obj3
= 0 ;
31687 char *kwnames
[] = {
31688 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31693 if (SWIG_arg_fail(1)) SWIG_fail
;
31698 arg4
= (int)(SWIG_As_int(obj3
));
31699 if (SWIG_arg_fail(4)) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 Py_INCREF(Py_None
); resultobj
= Py_None
;
31716 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31719 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31721 return Py_BuildValue((char *)"");
31723 static int _wrap_DefaultValidator_set(PyObject
*) {
31724 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31729 static PyObject
*_wrap_DefaultValidator_get(void) {
31732 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31737 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
;
31739 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31740 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31741 long arg2
= (long) 0 ;
31743 bool temp1
= false ;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 char *kwnames
[] = {
31747 (char *) "title",(char *) "style", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31753 arg1
= wxString_in_helper(obj0
);
31754 if (arg1
== NULL
) SWIG_fail
;
31760 arg2
= (long)(SWIG_As_long(obj1
));
31761 if (SWIG_arg_fail(2)) SWIG_fail
;
31765 if (!wxPyCheckForApp()) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31787 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxMenu
*arg1
= (wxMenu
*) 0 ;
31791 wxString
*arg3
= 0 ;
31792 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31793 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31794 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31795 wxMenuItem
*result
;
31796 bool temp3
= false ;
31797 bool temp4
= false ;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 PyObject
* obj2
= 0 ;
31801 PyObject
* obj3
= 0 ;
31802 PyObject
* obj4
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31809 if (SWIG_arg_fail(1)) SWIG_fail
;
31811 arg2
= (int)(SWIG_As_int(obj1
));
31812 if (SWIG_arg_fail(2)) SWIG_fail
;
31815 arg3
= wxString_in_helper(obj2
);
31816 if (arg3
== NULL
) SWIG_fail
;
31821 arg4
= wxString_in_helper(obj3
);
31822 if (arg4
== NULL
) SWIG_fail
;
31828 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31829 if (SWIG_arg_fail(5)) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= wxPyMake_wxObject(result
, 0);
31864 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxMenu
*arg1
= (wxMenu
*) 0 ;
31867 wxMenuItem
*result
;
31868 PyObject
* obj0
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31875 if (SWIG_arg_fail(1)) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= wxPyMake_wxObject(result
, 0);
31892 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
;
31894 wxMenu
*arg1
= (wxMenu
*) 0 ;
31896 wxString
*arg3
= 0 ;
31897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31899 wxMenuItem
*result
;
31900 bool temp3
= false ;
31901 bool temp4
= false ;
31902 PyObject
* obj0
= 0 ;
31903 PyObject
* obj1
= 0 ;
31904 PyObject
* obj2
= 0 ;
31905 PyObject
* obj3
= 0 ;
31906 char *kwnames
[] = {
31907 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31912 if (SWIG_arg_fail(1)) SWIG_fail
;
31914 arg2
= (int)(SWIG_As_int(obj1
));
31915 if (SWIG_arg_fail(2)) SWIG_fail
;
31918 arg3
= wxString_in_helper(obj2
);
31919 if (arg3
== NULL
) SWIG_fail
;
31924 arg4
= wxString_in_helper(obj3
);
31925 if (arg4
== NULL
) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= wxPyMake_wxObject(result
, 0);
31961 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
;
31963 wxMenu
*arg1
= (wxMenu
*) 0 ;
31965 wxString
*arg3
= 0 ;
31966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31968 wxMenuItem
*result
;
31969 bool temp3
= false ;
31970 bool temp4
= false ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 PyObject
* obj2
= 0 ;
31974 PyObject
* obj3
= 0 ;
31975 char *kwnames
[] = {
31976 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31981 if (SWIG_arg_fail(1)) SWIG_fail
;
31983 arg2
= (int)(SWIG_As_int(obj1
));
31984 if (SWIG_arg_fail(2)) SWIG_fail
;
31987 arg3
= wxString_in_helper(obj2
);
31988 if (arg3
== NULL
) SWIG_fail
;
31993 arg4
= wxString_in_helper(obj3
);
31994 if (arg4
== NULL
) SWIG_fail
;
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32006 resultobj
= wxPyMake_wxObject(result
, 0);
32030 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
;
32032 wxMenu
*arg1
= (wxMenu
*) 0 ;
32034 wxString
*arg3
= 0 ;
32035 wxMenu
*arg4
= (wxMenu
*) 0 ;
32036 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32037 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32038 wxMenuItem
*result
;
32039 bool temp3
= false ;
32040 bool temp5
= false ;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 PyObject
* obj2
= 0 ;
32044 PyObject
* obj3
= 0 ;
32045 PyObject
* obj4
= 0 ;
32046 char *kwnames
[] = {
32047 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(1)) SWIG_fail
;
32054 arg2
= (int)(SWIG_As_int(obj1
));
32055 if (SWIG_arg_fail(2)) SWIG_fail
;
32058 arg3
= wxString_in_helper(obj2
);
32059 if (arg3
== NULL
) SWIG_fail
;
32062 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32063 if (SWIG_arg_fail(4)) SWIG_fail
;
32066 arg5
= wxString_in_helper(obj4
);
32067 if (arg5
== NULL
) SWIG_fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= wxPyMake_wxObject(result
, 0);
32103 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxMenu
*arg1
= (wxMenu
*) 0 ;
32106 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32107 wxMenuItem
*result
;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 char *kwnames
[] = {
32111 (char *) "self",(char *) "item", NULL
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32116 if (SWIG_arg_fail(1)) SWIG_fail
;
32117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32118 if (SWIG_arg_fail(2)) SWIG_fail
;
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32127 resultobj
= wxPyMake_wxObject(result
, 0);
32135 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32136 PyObject
*resultobj
;
32137 wxMenu
*arg1
= (wxMenu
*) 0 ;
32138 PyObject
* obj0
= 0 ;
32139 char *kwnames
[] = {
32140 (char *) "self", NULL
32143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32145 if (SWIG_arg_fail(1)) SWIG_fail
;
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 Py_INCREF(Py_None
); resultobj
= Py_None
;
32160 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
;
32162 wxMenu
*arg1
= (wxMenu
*) 0 ;
32164 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32165 wxMenuItem
*result
;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 PyObject
* obj2
= 0 ;
32169 char *kwnames
[] = {
32170 (char *) "self",(char *) "pos",(char *) "item", NULL
32173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32175 if (SWIG_arg_fail(1)) SWIG_fail
;
32177 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32178 if (SWIG_arg_fail(2)) SWIG_fail
;
32180 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32181 if (SWIG_arg_fail(3)) SWIG_fail
;
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= wxPyMake_wxObject(result
, 0);
32198 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxMenu
*arg1
= (wxMenu
*) 0 ;
32203 wxString
*arg4
= 0 ;
32204 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32205 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32206 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32207 wxMenuItem
*result
;
32208 bool temp4
= false ;
32209 bool temp5
= false ;
32210 PyObject
* obj0
= 0 ;
32211 PyObject
* obj1
= 0 ;
32212 PyObject
* obj2
= 0 ;
32213 PyObject
* obj3
= 0 ;
32214 PyObject
* obj4
= 0 ;
32215 PyObject
* obj5
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
32229 if (SWIG_arg_fail(3)) SWIG_fail
;
32232 arg4
= wxString_in_helper(obj3
);
32233 if (arg4
== NULL
) SWIG_fail
;
32238 arg5
= wxString_in_helper(obj4
);
32239 if (arg5
== NULL
) SWIG_fail
;
32245 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32246 if (SWIG_arg_fail(6)) SWIG_fail
;
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32257 resultobj
= wxPyMake_wxObject(result
, 0);
32281 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxMenu
*arg1
= (wxMenu
*) 0 ;
32285 wxMenuItem
*result
;
32286 PyObject
* obj0
= 0 ;
32287 PyObject
* obj1
= 0 ;
32288 char *kwnames
[] = {
32289 (char *) "self",(char *) "pos", NULL
32292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32294 if (SWIG_arg_fail(1)) SWIG_fail
;
32296 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32297 if (SWIG_arg_fail(2)) SWIG_fail
;
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= wxPyMake_wxObject(result
, 0);
32315 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxMenu
*arg1
= (wxMenu
*) 0 ;
32320 wxString
*arg4
= 0 ;
32321 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32322 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32323 wxMenuItem
*result
;
32324 bool temp4
= false ;
32325 bool temp5
= false ;
32326 PyObject
* obj0
= 0 ;
32327 PyObject
* obj1
= 0 ;
32328 PyObject
* obj2
= 0 ;
32329 PyObject
* obj3
= 0 ;
32330 PyObject
* obj4
= 0 ;
32331 char *kwnames
[] = {
32332 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32337 if (SWIG_arg_fail(1)) SWIG_fail
;
32339 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32340 if (SWIG_arg_fail(2)) SWIG_fail
;
32343 arg3
= (int)(SWIG_As_int(obj2
));
32344 if (SWIG_arg_fail(3)) SWIG_fail
;
32347 arg4
= wxString_in_helper(obj3
);
32348 if (arg4
== NULL
) SWIG_fail
;
32353 arg5
= wxString_in_helper(obj4
);
32354 if (arg5
== NULL
) SWIG_fail
;
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= wxPyMake_wxObject(result
, 0);
32390 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxMenu
*arg1
= (wxMenu
*) 0 ;
32395 wxString
*arg4
= 0 ;
32396 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32397 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32398 wxMenuItem
*result
;
32399 bool temp4
= false ;
32400 bool temp5
= false ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 PyObject
* obj2
= 0 ;
32404 PyObject
* obj3
= 0 ;
32405 PyObject
* obj4
= 0 ;
32406 char *kwnames
[] = {
32407 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32412 if (SWIG_arg_fail(1)) SWIG_fail
;
32414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32415 if (SWIG_arg_fail(2)) SWIG_fail
;
32418 arg3
= (int)(SWIG_As_int(obj2
));
32419 if (SWIG_arg_fail(3)) SWIG_fail
;
32422 arg4
= wxString_in_helper(obj3
);
32423 if (arg4
== NULL
) SWIG_fail
;
32428 arg5
= wxString_in_helper(obj4
);
32429 if (arg5
== NULL
) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= wxPyMake_wxObject(result
, 0);
32465 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
;
32467 wxMenu
*arg1
= (wxMenu
*) 0 ;
32470 wxString
*arg4
= 0 ;
32471 wxMenu
*arg5
= (wxMenu
*) 0 ;
32472 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32473 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32474 wxMenuItem
*result
;
32475 bool temp4
= false ;
32476 bool temp6
= false ;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 PyObject
* obj2
= 0 ;
32480 PyObject
* obj3
= 0 ;
32481 PyObject
* obj4
= 0 ;
32482 PyObject
* obj5
= 0 ;
32483 char *kwnames
[] = {
32484 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32489 if (SWIG_arg_fail(1)) SWIG_fail
;
32491 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32492 if (SWIG_arg_fail(2)) SWIG_fail
;
32495 arg3
= (int)(SWIG_As_int(obj2
));
32496 if (SWIG_arg_fail(3)) SWIG_fail
;
32499 arg4
= wxString_in_helper(obj3
);
32500 if (arg4
== NULL
) SWIG_fail
;
32503 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32504 if (SWIG_arg_fail(5)) SWIG_fail
;
32507 arg6
= wxString_in_helper(obj5
);
32508 if (arg6
== NULL
) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32520 resultobj
= wxPyMake_wxObject(result
, 0);
32544 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxMenu
*arg1
= (wxMenu
*) 0 ;
32547 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32548 wxMenuItem
*result
;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self",(char *) "item", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32557 if (SWIG_arg_fail(1)) SWIG_fail
;
32558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32559 if (SWIG_arg_fail(2)) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= wxPyMake_wxObject(result
, 0);
32576 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxMenu
*arg1
= (wxMenu
*) 0 ;
32580 wxString
*arg3
= 0 ;
32581 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32582 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32583 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32584 wxMenuItem
*result
;
32585 bool temp3
= false ;
32586 bool temp4
= false ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 PyObject
* obj2
= 0 ;
32590 PyObject
* obj3
= 0 ;
32591 PyObject
* obj4
= 0 ;
32592 char *kwnames
[] = {
32593 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32598 if (SWIG_arg_fail(1)) SWIG_fail
;
32600 arg2
= (int)(SWIG_As_int(obj1
));
32601 if (SWIG_arg_fail(2)) SWIG_fail
;
32604 arg3
= wxString_in_helper(obj2
);
32605 if (arg3
== NULL
) SWIG_fail
;
32610 arg4
= wxString_in_helper(obj3
);
32611 if (arg4
== NULL
) SWIG_fail
;
32617 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32618 if (SWIG_arg_fail(5)) SWIG_fail
;
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= wxPyMake_wxObject(result
, 0);
32653 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxMenu
*arg1
= (wxMenu
*) 0 ;
32656 wxMenuItem
*result
;
32657 PyObject
* obj0
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self", NULL
32662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32664 if (SWIG_arg_fail(1)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= wxPyMake_wxObject(result
, 0);
32681 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32682 PyObject
*resultobj
;
32683 wxMenu
*arg1
= (wxMenu
*) 0 ;
32685 wxString
*arg3
= 0 ;
32686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32688 wxMenuItem
*result
;
32689 bool temp3
= false ;
32690 bool temp4
= false ;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 PyObject
* obj2
= 0 ;
32694 PyObject
* obj3
= 0 ;
32695 char *kwnames
[] = {
32696 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32701 if (SWIG_arg_fail(1)) SWIG_fail
;
32703 arg2
= (int)(SWIG_As_int(obj1
));
32704 if (SWIG_arg_fail(2)) SWIG_fail
;
32707 arg3
= wxString_in_helper(obj2
);
32708 if (arg3
== NULL
) SWIG_fail
;
32713 arg4
= wxString_in_helper(obj3
);
32714 if (arg4
== NULL
) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= wxPyMake_wxObject(result
, 0);
32750 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
;
32752 wxMenu
*arg1
= (wxMenu
*) 0 ;
32754 wxString
*arg3
= 0 ;
32755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32757 wxMenuItem
*result
;
32758 bool temp3
= false ;
32759 bool temp4
= false ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 PyObject
* obj2
= 0 ;
32763 PyObject
* obj3
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32770 if (SWIG_arg_fail(1)) SWIG_fail
;
32772 arg2
= (int)(SWIG_As_int(obj1
));
32773 if (SWIG_arg_fail(2)) SWIG_fail
;
32776 arg3
= wxString_in_helper(obj2
);
32777 if (arg3
== NULL
) SWIG_fail
;
32782 arg4
= wxString_in_helper(obj3
);
32783 if (arg4
== NULL
) SWIG_fail
;
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32789 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= wxPyMake_wxObject(result
, 0);
32819 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
;
32821 wxMenu
*arg1
= (wxMenu
*) 0 ;
32823 wxString
*arg3
= 0 ;
32824 wxMenu
*arg4
= (wxMenu
*) 0 ;
32825 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32826 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32827 wxMenuItem
*result
;
32828 bool temp3
= false ;
32829 bool temp5
= false ;
32830 PyObject
* obj0
= 0 ;
32831 PyObject
* obj1
= 0 ;
32832 PyObject
* obj2
= 0 ;
32833 PyObject
* obj3
= 0 ;
32834 PyObject
* obj4
= 0 ;
32835 char *kwnames
[] = {
32836 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32841 if (SWIG_arg_fail(1)) SWIG_fail
;
32843 arg2
= (int)(SWIG_As_int(obj1
));
32844 if (SWIG_arg_fail(2)) SWIG_fail
;
32847 arg3
= wxString_in_helper(obj2
);
32848 if (arg3
== NULL
) SWIG_fail
;
32851 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32852 if (SWIG_arg_fail(4)) SWIG_fail
;
32855 arg5
= wxString_in_helper(obj4
);
32856 if (arg5
== NULL
) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 resultobj
= wxPyMake_wxObject(result
, 0);
32892 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxMenu
*arg1
= (wxMenu
*) 0 ;
32896 wxMenuItem
*result
;
32897 PyObject
* obj0
= 0 ;
32898 PyObject
* obj1
= 0 ;
32899 char *kwnames
[] = {
32900 (char *) "self",(char *) "id", NULL
32903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32905 if (SWIG_arg_fail(1)) SWIG_fail
;
32907 arg2
= (int)(SWIG_As_int(obj1
));
32908 if (SWIG_arg_fail(2)) SWIG_fail
;
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= wxPyMake_wxObject(result
, 0);
32926 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32927 PyObject
*resultobj
;
32928 wxMenu
*arg1
= (wxMenu
*) 0 ;
32929 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32930 wxMenuItem
*result
;
32931 PyObject
* obj0
= 0 ;
32932 PyObject
* obj1
= 0 ;
32933 char *kwnames
[] = {
32934 (char *) "self",(char *) "item", NULL
32937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32939 if (SWIG_arg_fail(1)) SWIG_fail
;
32940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32941 if (SWIG_arg_fail(2)) SWIG_fail
;
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= wxPyMake_wxObject(result
, 0);
32958 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
;
32960 wxMenu
*arg1
= (wxMenu
*) 0 ;
32963 PyObject
* obj0
= 0 ;
32964 PyObject
* obj1
= 0 ;
32965 char *kwnames
[] = {
32966 (char *) "self",(char *) "id", NULL
32969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32971 if (SWIG_arg_fail(1)) SWIG_fail
;
32973 arg2
= (int)(SWIG_As_int(obj1
));
32974 if (SWIG_arg_fail(2)) SWIG_fail
;
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= (bool)(arg1
)->Delete(arg2
);
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32992 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
;
32994 wxMenu
*arg1
= (wxMenu
*) 0 ;
32995 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 char *kwnames
[] = {
33000 (char *) "self",(char *) "item", NULL
33003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(1)) SWIG_fail
;
33006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33007 if (SWIG_arg_fail(2)) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (bool)(arg1
)->Delete(arg2
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33024 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxMenu
*arg1
= (wxMenu
*) 0 ;
33027 PyObject
* obj0
= 0 ;
33028 char *kwnames
[] = {
33029 (char *) "self", NULL
33032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33034 if (SWIG_arg_fail(1)) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 wxMenu_Destroy(arg1
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 Py_INCREF(Py_None
); resultobj
= Py_None
;
33049 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxMenu
*arg1
= (wxMenu
*) 0 ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self",(char *) "id", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 arg2
= (int)(SWIG_As_int(obj1
));
33065 if (SWIG_arg_fail(2)) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 result
= (bool)(arg1
)->Destroy(arg2
);
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33083 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33084 PyObject
*resultobj
;
33085 wxMenu
*arg1
= (wxMenu
*) 0 ;
33086 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self",(char *) "item", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(1)) SWIG_fail
;
33097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33098 if (SWIG_arg_fail(2)) SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 result
= (bool)(arg1
)->Destroy(arg2
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33115 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
;
33117 wxMenu
*arg1
= (wxMenu
*) 0 ;
33119 PyObject
* obj0
= 0 ;
33120 char *kwnames
[] = {
33121 (char *) "self", NULL
33124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33126 if (SWIG_arg_fail(1)) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33143 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
;
33145 wxMenu
*arg1
= (wxMenu
*) 0 ;
33147 PyObject
* obj0
= 0 ;
33148 char *kwnames
[] = {
33149 (char *) "self", NULL
33152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= result
;
33169 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
;
33171 wxMenu
*arg1
= (wxMenu
*) 0 ;
33172 wxString
*arg2
= 0 ;
33174 bool temp2
= false ;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 char *kwnames
[] = {
33178 (char *) "self",(char *) "item", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33183 if (SWIG_arg_fail(1)) SWIG_fail
;
33185 arg2
= wxString_in_helper(obj1
);
33186 if (arg2
== NULL
) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_From_int((int)(result
));
33213 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33214 PyObject
*resultobj
;
33215 wxMenu
*arg1
= (wxMenu
*) 0 ;
33217 wxMenuItem
*result
;
33218 PyObject
* obj0
= 0 ;
33219 PyObject
* obj1
= 0 ;
33220 char *kwnames
[] = {
33221 (char *) "self",(char *) "id", NULL
33224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33226 if (SWIG_arg_fail(1)) SWIG_fail
;
33228 arg2
= (int)(SWIG_As_int(obj1
));
33229 if (SWIG_arg_fail(2)) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= wxPyMake_wxObject(result
, 0);
33247 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
;
33249 wxMenu
*arg1
= (wxMenu
*) 0 ;
33251 wxMenuItem
*result
;
33252 PyObject
* obj0
= 0 ;
33253 PyObject
* obj1
= 0 ;
33254 char *kwnames
[] = {
33255 (char *) "self",(char *) "position", NULL
33258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail
;
33262 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33263 if (SWIG_arg_fail(2)) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33273 resultobj
= wxPyMake_wxObject(result
, 0);
33281 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
;
33283 wxMenu
*arg1
= (wxMenu
*) 0 ;
33286 PyObject
* obj0
= 0 ;
33287 PyObject
* obj1
= 0 ;
33288 PyObject
* obj2
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self",(char *) "id",(char *) "enable", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33295 if (SWIG_arg_fail(1)) SWIG_fail
;
33297 arg2
= (int)(SWIG_As_int(obj1
));
33298 if (SWIG_arg_fail(2)) SWIG_fail
;
33301 arg3
= (bool)(SWIG_As_bool(obj2
));
33302 if (SWIG_arg_fail(3)) SWIG_fail
;
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 (arg1
)->Enable(arg2
,arg3
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 Py_INCREF(Py_None
); resultobj
= Py_None
;
33318 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
;
33320 wxMenu
*arg1
= (wxMenu
*) 0 ;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 char *kwnames
[] = {
33326 (char *) "self",(char *) "id", NULL
33329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33331 if (SWIG_arg_fail(1)) SWIG_fail
;
33333 arg2
= (int)(SWIG_As_int(obj1
));
33334 if (SWIG_arg_fail(2)) SWIG_fail
;
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33352 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
;
33354 wxMenu
*arg1
= (wxMenu
*) 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 char *kwnames
[] = {
33361 (char *) "self",(char *) "id",(char *) "check", NULL
33364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",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
= (bool)(SWIG_As_bool(obj2
));
33373 if (SWIG_arg_fail(3)) SWIG_fail
;
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 (arg1
)->Check(arg2
,arg3
);
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33382 Py_INCREF(Py_None
); resultobj
= Py_None
;
33389 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
;
33391 wxMenu
*arg1
= (wxMenu
*) 0 ;
33394 PyObject
* obj0
= 0 ;
33395 PyObject
* obj1
= 0 ;
33396 char *kwnames
[] = {
33397 (char *) "self",(char *) "id", NULL
33400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33402 if (SWIG_arg_fail(1)) SWIG_fail
;
33404 arg2
= (int)(SWIG_As_int(obj1
));
33405 if (SWIG_arg_fail(2)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33411 wxPyEndAllowThreads(__tstate
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33423 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
;
33425 wxMenu
*arg1
= (wxMenu
*) 0 ;
33427 wxString
*arg3
= 0 ;
33428 bool temp3
= false ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "self",(char *) "id",(char *) "label", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail
;
33440 arg2
= (int)(SWIG_As_int(obj1
));
33441 if (SWIG_arg_fail(2)) SWIG_fail
;
33444 arg3
= wxString_in_helper(obj2
);
33445 if (arg3
== NULL
) SWIG_fail
;
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33455 Py_INCREF(Py_None
); resultobj
= Py_None
;
33470 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
;
33472 wxMenu
*arg1
= (wxMenu
*) 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 char *kwnames
[] = {
33478 (char *) "self",(char *) "id", NULL
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33483 if (SWIG_arg_fail(1)) SWIG_fail
;
33485 arg2
= (int)(SWIG_As_int(obj1
));
33486 if (SWIG_arg_fail(2)) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33508 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
;
33510 wxMenu
*arg1
= (wxMenu
*) 0 ;
33512 wxString
*arg3
= 0 ;
33513 bool temp3
= false ;
33514 PyObject
* obj0
= 0 ;
33515 PyObject
* obj1
= 0 ;
33516 PyObject
* obj2
= 0 ;
33517 char *kwnames
[] = {
33518 (char *) "self",(char *) "id",(char *) "helpString", NULL
33521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33523 if (SWIG_arg_fail(1)) SWIG_fail
;
33525 arg2
= (int)(SWIG_As_int(obj1
));
33526 if (SWIG_arg_fail(2)) SWIG_fail
;
33529 arg3
= wxString_in_helper(obj2
);
33530 if (arg3
== NULL
) SWIG_fail
;
33534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 Py_INCREF(Py_None
); resultobj
= Py_None
;
33555 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
;
33557 wxMenu
*arg1
= (wxMenu
*) 0 ;
33560 PyObject
* obj0
= 0 ;
33561 PyObject
* obj1
= 0 ;
33562 char *kwnames
[] = {
33563 (char *) "self",(char *) "id", NULL
33566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33568 if (SWIG_arg_fail(1)) SWIG_fail
;
33570 arg2
= (int)(SWIG_As_int(obj1
));
33571 if (SWIG_arg_fail(2)) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33593 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxMenu
*arg1
= (wxMenu
*) 0 ;
33596 wxString
*arg2
= 0 ;
33597 bool temp2
= false ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self",(char *) "title", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",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
;
33608 arg2
= wxString_in_helper(obj1
);
33609 if (arg2
== NULL
) SWIG_fail
;
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 (arg1
)->SetTitle((wxString
const &)*arg2
);
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 Py_INCREF(Py_None
); resultobj
= Py_None
;
33634 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
;
33636 wxMenu
*arg1
= (wxMenu
*) 0 ;
33638 PyObject
* obj0
= 0 ;
33639 char *kwnames
[] = {
33640 (char *) "self", NULL
33643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33645 if (SWIG_arg_fail(1)) SWIG_fail
;
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 result
= ((wxMenu
const *)arg1
)->GetTitle();
33650 wxPyEndAllowThreads(__tstate
);
33651 if (PyErr_Occurred()) SWIG_fail
;
33655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33666 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
;
33668 wxMenu
*arg1
= (wxMenu
*) 0 ;
33669 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 char *kwnames
[] = {
33673 (char *) "self",(char *) "handler", NULL
33676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33678 if (SWIG_arg_fail(1)) SWIG_fail
;
33679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33680 if (SWIG_arg_fail(2)) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 (arg1
)->SetEventHandler(arg2
);
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 Py_INCREF(Py_None
); resultobj
= Py_None
;
33695 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
;
33697 wxMenu
*arg1
= (wxMenu
*) 0 ;
33698 wxEvtHandler
*result
;
33699 PyObject
* obj0
= 0 ;
33700 char *kwnames
[] = {
33701 (char *) "self", NULL
33704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33706 if (SWIG_arg_fail(1)) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= wxPyMake_wxObject(result
, 0);
33723 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
;
33725 wxMenu
*arg1
= (wxMenu
*) 0 ;
33726 wxWindow
*arg2
= (wxWindow
*) 0 ;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char *kwnames
[] = {
33730 (char *) "self",(char *) "win", NULL
33733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33735 if (SWIG_arg_fail(1)) SWIG_fail
;
33736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33737 if (SWIG_arg_fail(2)) SWIG_fail
;
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 (arg1
)->SetInvokingWindow(arg2
);
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33745 Py_INCREF(Py_None
); resultobj
= Py_None
;
33752 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
;
33754 wxMenu
*arg1
= (wxMenu
*) 0 ;
33756 PyObject
* obj0
= 0 ;
33757 char *kwnames
[] = {
33758 (char *) "self", NULL
33761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33763 if (SWIG_arg_fail(1)) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= wxPyMake_wxObject(result
, 0);
33780 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxMenu
*arg1
= (wxMenu
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 char *kwnames
[] = {
33786 (char *) "self", NULL
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33791 if (SWIG_arg_fail(1)) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33800 resultobj
= SWIG_From_long((long)(result
));
33808 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33809 PyObject
*resultobj
;
33810 wxMenu
*arg1
= (wxMenu
*) 0 ;
33811 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33812 PyObject
* obj0
= 0 ;
33813 PyObject
* obj1
= 0 ;
33814 char *kwnames
[] = {
33815 (char *) "self",(char *) "source", NULL
33818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33820 if (SWIG_arg_fail(1)) SWIG_fail
;
33822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33823 if (SWIG_arg_fail(2)) SWIG_fail
;
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 (arg1
)->UpdateUI(arg2
);
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 Py_INCREF(Py_None
); resultobj
= Py_None
;
33839 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxMenu
*arg1
= (wxMenu
*) 0 ;
33843 PyObject
* obj0
= 0 ;
33844 char *kwnames
[] = {
33845 (char *) "self", NULL
33848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33850 if (SWIG_arg_fail(1)) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= wxPyMake_wxObject(result
, 0);
33867 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
;
33869 wxMenu
*arg1
= (wxMenu
*) 0 ;
33870 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 char *kwnames
[] = {
33874 (char *) "self",(char *) "menubar", NULL
33877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail
;
33880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33881 if (SWIG_arg_fail(2)) SWIG_fail
;
33883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33884 (arg1
)->Attach(arg2
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 Py_INCREF(Py_None
); resultobj
= Py_None
;
33896 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
;
33898 wxMenu
*arg1
= (wxMenu
*) 0 ;
33899 PyObject
* obj0
= 0 ;
33900 char *kwnames
[] = {
33901 (char *) "self", NULL
33904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33906 if (SWIG_arg_fail(1)) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 Py_INCREF(Py_None
); resultobj
= Py_None
;
33921 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
;
33923 wxMenu
*arg1
= (wxMenu
*) 0 ;
33925 PyObject
* obj0
= 0 ;
33926 char *kwnames
[] = {
33927 (char *) "self", NULL
33930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33932 if (SWIG_arg_fail(1)) SWIG_fail
;
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33949 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxMenu
*arg1
= (wxMenu
*) 0 ;
33952 wxMenu
*arg2
= (wxMenu
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self",(char *) "parent", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->SetParent(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33978 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxMenu
*arg1
= (wxMenu
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 char *kwnames
[] = {
33984 (char *) "self", NULL
33987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
33988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= wxPyMake_wxObject(result
, 0);
34006 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34009 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34011 return Py_BuildValue((char *)"");
34013 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34014 PyObject
*resultobj
;
34015 long arg1
= (long) 0 ;
34017 PyObject
* obj0
= 0 ;
34018 char *kwnames
[] = {
34019 (char *) "style", NULL
34022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34025 arg1
= (long)(SWIG_As_long(obj0
));
34026 if (SWIG_arg_fail(1)) SWIG_fail
;
34030 if (!wxPyCheckForApp()) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34044 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
;
34046 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34047 wxMenu
*arg2
= (wxMenu
*) 0 ;
34048 wxString
*arg3
= 0 ;
34050 bool temp3
= false ;
34051 PyObject
* obj0
= 0 ;
34052 PyObject
* obj1
= 0 ;
34053 PyObject
* obj2
= 0 ;
34054 char *kwnames
[] = {
34055 (char *) "self",(char *) "menu",(char *) "title", NULL
34058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34060 if (SWIG_arg_fail(1)) SWIG_fail
;
34061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34062 if (SWIG_arg_fail(2)) SWIG_fail
;
34064 arg3
= wxString_in_helper(obj2
);
34065 if (arg3
== NULL
) SWIG_fail
;
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34092 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
;
34094 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34096 wxMenu
*arg3
= (wxMenu
*) 0 ;
34097 wxString
*arg4
= 0 ;
34099 bool temp4
= false ;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 PyObject
* obj2
= 0 ;
34103 PyObject
* obj3
= 0 ;
34104 char *kwnames
[] = {
34105 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34110 if (SWIG_arg_fail(1)) SWIG_fail
;
34112 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34113 if (SWIG_arg_fail(2)) SWIG_fail
;
34115 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34116 if (SWIG_arg_fail(3)) SWIG_fail
;
34118 arg4
= wxString_in_helper(obj3
);
34119 if (arg4
== NULL
) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34146 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34157 if (SWIG_arg_fail(1)) SWIG_fail
;
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34174 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
;
34176 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self",(char *) "pos", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34189 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34190 if (SWIG_arg_fail(2)) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= wxPyMake_wxObject(result
, 0);
34208 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34209 PyObject
*resultobj
;
34210 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34212 wxMenu
*arg3
= (wxMenu
*) 0 ;
34213 wxString
*arg4
= 0 ;
34215 bool temp4
= false ;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 PyObject
* obj2
= 0 ;
34219 PyObject
* obj3
= 0 ;
34220 char *kwnames
[] = {
34221 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34226 if (SWIG_arg_fail(1)) SWIG_fail
;
34228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34229 if (SWIG_arg_fail(2)) SWIG_fail
;
34231 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34232 if (SWIG_arg_fail(3)) SWIG_fail
;
34234 arg4
= wxString_in_helper(obj3
);
34235 if (arg4
== NULL
) SWIG_fail
;
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= wxPyMake_wxObject(result
, 0);
34262 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34263 PyObject
*resultobj
;
34264 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self",(char *) "pos", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail
;
34277 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34278 if (SWIG_arg_fail(2)) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= wxPyMake_wxObject(result
, 0);
34296 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
;
34298 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 PyObject
* obj2
= 0 ;
34304 char *kwnames
[] = {
34305 (char *) "self",(char *) "pos",(char *) "enable", NULL
34308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",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
= (bool)(SWIG_As_bool(obj2
));
34317 if (SWIG_arg_fail(3)) SWIG_fail
;
34320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34321 (arg1
)->EnableTop(arg2
,arg3
);
34323 wxPyEndAllowThreads(__tstate
);
34324 if (PyErr_Occurred()) SWIG_fail
;
34326 Py_INCREF(Py_None
); resultobj
= Py_None
;
34333 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
;
34335 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 PyObject
* obj1
= 0 ;
34340 char *kwnames
[] = {
34341 (char *) "self",(char *) "pos", NULL
34344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34346 if (SWIG_arg_fail(1)) SWIG_fail
;
34348 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34349 if (SWIG_arg_fail(2)) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34367 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34368 PyObject
*resultobj
;
34369 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34371 wxString
*arg3
= 0 ;
34372 bool temp3
= false ;
34373 PyObject
* obj0
= 0 ;
34374 PyObject
* obj1
= 0 ;
34375 PyObject
* obj2
= 0 ;
34376 char *kwnames
[] = {
34377 (char *) "self",(char *) "pos",(char *) "label", NULL
34380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34382 if (SWIG_arg_fail(1)) SWIG_fail
;
34384 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34385 if (SWIG_arg_fail(2)) SWIG_fail
;
34388 arg3
= wxString_in_helper(obj2
);
34389 if (arg3
== NULL
) SWIG_fail
;
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34399 Py_INCREF(Py_None
); resultobj
= Py_None
;
34414 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34415 PyObject
*resultobj
;
34416 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self",(char *) "pos", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34427 if (SWIG_arg_fail(1)) SWIG_fail
;
34429 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34430 if (SWIG_arg_fail(2)) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34452 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
;
34454 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34455 wxString
*arg2
= 0 ;
34456 wxString
*arg3
= 0 ;
34458 bool temp2
= false ;
34459 bool temp3
= false ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 PyObject
* obj2
= 0 ;
34463 char *kwnames
[] = {
34464 (char *) "self",(char *) "menu",(char *) "item", NULL
34467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34469 if (SWIG_arg_fail(1)) SWIG_fail
;
34471 arg2
= wxString_in_helper(obj1
);
34472 if (arg2
== NULL
) SWIG_fail
;
34476 arg3
= wxString_in_helper(obj2
);
34477 if (arg3
== NULL
) SWIG_fail
;
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= SWIG_From_int((int)(result
));
34512 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34516 wxMenuItem
*result
;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self",(char *) "id", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34525 if (SWIG_arg_fail(1)) SWIG_fail
;
34527 arg2
= (int)(SWIG_As_int(obj1
));
34528 if (SWIG_arg_fail(2)) SWIG_fail
;
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= wxPyMake_wxObject(result
, 0);
34546 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
;
34548 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34549 wxString
*arg2
= 0 ;
34551 bool temp2
= false ;
34552 PyObject
* obj0
= 0 ;
34553 PyObject
* obj1
= 0 ;
34554 char *kwnames
[] = {
34555 (char *) "self",(char *) "title", NULL
34558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(1)) SWIG_fail
;
34562 arg2
= wxString_in_helper(obj1
);
34563 if (arg2
== NULL
) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= SWIG_From_int((int)(result
));
34590 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34595 PyObject
* obj0
= 0 ;
34596 PyObject
* obj1
= 0 ;
34597 PyObject
* obj2
= 0 ;
34598 char *kwnames
[] = {
34599 (char *) "self",(char *) "id",(char *) "enable", NULL
34602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34604 if (SWIG_arg_fail(1)) SWIG_fail
;
34606 arg2
= (int)(SWIG_As_int(obj1
));
34607 if (SWIG_arg_fail(2)) SWIG_fail
;
34610 arg3
= (bool)(SWIG_As_bool(obj2
));
34611 if (SWIG_arg_fail(3)) SWIG_fail
;
34614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34615 (arg1
)->Enable(arg2
,arg3
);
34617 wxPyEndAllowThreads(__tstate
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34620 Py_INCREF(Py_None
); resultobj
= Py_None
;
34627 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34628 PyObject
*resultobj
;
34629 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34632 PyObject
* obj0
= 0 ;
34633 PyObject
* obj1
= 0 ;
34634 PyObject
* obj2
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self",(char *) "id",(char *) "check", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34641 if (SWIG_arg_fail(1)) SWIG_fail
;
34643 arg2
= (int)(SWIG_As_int(obj1
));
34644 if (SWIG_arg_fail(2)) SWIG_fail
;
34647 arg3
= (bool)(SWIG_As_bool(obj2
));
34648 if (SWIG_arg_fail(3)) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 (arg1
)->Check(arg2
,arg3
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 Py_INCREF(Py_None
); resultobj
= Py_None
;
34664 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "id", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail
;
34679 arg2
= (int)(SWIG_As_int(obj1
));
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34698 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "id", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34711 if (SWIG_arg_fail(1)) SWIG_fail
;
34713 arg2
= (int)(SWIG_As_int(obj1
));
34714 if (SWIG_arg_fail(2)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34732 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34733 PyObject
*resultobj
;
34734 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34736 wxString
*arg3
= 0 ;
34737 bool temp3
= false ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 PyObject
* obj2
= 0 ;
34741 char *kwnames
[] = {
34742 (char *) "self",(char *) "id",(char *) "label", NULL
34745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(1)) SWIG_fail
;
34749 arg2
= (int)(SWIG_As_int(obj1
));
34750 if (SWIG_arg_fail(2)) SWIG_fail
;
34753 arg3
= wxString_in_helper(obj2
);
34754 if (arg3
== NULL
) SWIG_fail
;
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34764 Py_INCREF(Py_None
); resultobj
= Py_None
;
34779 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34780 PyObject
*resultobj
;
34781 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34784 PyObject
* obj0
= 0 ;
34785 PyObject
* obj1
= 0 ;
34786 char *kwnames
[] = {
34787 (char *) "self",(char *) "id", NULL
34790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34792 if (SWIG_arg_fail(1)) SWIG_fail
;
34794 arg2
= (int)(SWIG_As_int(obj1
));
34795 if (SWIG_arg_fail(2)) SWIG_fail
;
34798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34799 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34801 wxPyEndAllowThreads(__tstate
);
34802 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34817 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34818 PyObject
*resultobj
;
34819 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34821 wxString
*arg3
= 0 ;
34822 bool temp3
= false ;
34823 PyObject
* obj0
= 0 ;
34824 PyObject
* obj1
= 0 ;
34825 PyObject
* obj2
= 0 ;
34826 char *kwnames
[] = {
34827 (char *) "self",(char *) "id",(char *) "helpString", NULL
34830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34832 if (SWIG_arg_fail(1)) SWIG_fail
;
34834 arg2
= (int)(SWIG_As_int(obj1
));
34835 if (SWIG_arg_fail(2)) SWIG_fail
;
34838 arg3
= wxString_in_helper(obj2
);
34839 if (arg3
== NULL
) SWIG_fail
;
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34849 Py_INCREF(Py_None
); resultobj
= Py_None
;
34864 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self",(char *) "id", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34877 if (SWIG_arg_fail(1)) SWIG_fail
;
34879 arg2
= (int)(SWIG_As_int(obj1
));
34880 if (SWIG_arg_fail(2)) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34902 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
;
34904 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34922 resultobj
= wxPyMake_wxObject(result
, 0);
34930 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34931 PyObject
*resultobj
;
34932 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34934 PyObject
* obj0
= 0 ;
34935 char *kwnames
[] = {
34936 (char *) "self", NULL
34939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
34940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34941 if (SWIG_arg_fail(1)) SWIG_fail
;
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
34946 wxPyEndAllowThreads(__tstate
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34958 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34959 PyObject
*resultobj
;
34960 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34961 wxFrame
*arg2
= (wxFrame
*) 0 ;
34962 PyObject
* obj0
= 0 ;
34963 PyObject
* obj1
= 0 ;
34964 char *kwnames
[] = {
34965 (char *) "self",(char *) "frame", NULL
34968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34970 if (SWIG_arg_fail(1)) SWIG_fail
;
34971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
34972 if (SWIG_arg_fail(2)) SWIG_fail
;
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 (arg1
)->Attach(arg2
);
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34980 Py_INCREF(Py_None
); resultobj
= Py_None
;
34987 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
;
34989 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34990 PyObject
* obj0
= 0 ;
34991 char *kwnames
[] = {
34992 (char *) "self", NULL
34995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
34996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34997 if (SWIG_arg_fail(1)) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 Py_INCREF(Py_None
); resultobj
= Py_None
;
35012 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35015 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35017 return Py_BuildValue((char *)"");
35019 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35020 PyObject
*resultobj
;
35021 wxMenu
*arg1
= (wxMenu
*) NULL
;
35022 int arg2
= (int) wxID_ANY
;
35023 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35024 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35027 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35028 wxMenu
*arg6
= (wxMenu
*) NULL
;
35029 wxMenuItem
*result
;
35030 bool temp3
= false ;
35031 bool temp4
= false ;
35032 PyObject
* obj0
= 0 ;
35033 PyObject
* obj1
= 0 ;
35034 PyObject
* obj2
= 0 ;
35035 PyObject
* obj3
= 0 ;
35036 PyObject
* obj4
= 0 ;
35037 PyObject
* obj5
= 0 ;
35038 char *kwnames
[] = {
35039 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35045 if (SWIG_arg_fail(1)) SWIG_fail
;
35049 arg2
= (int)(SWIG_As_int(obj1
));
35050 if (SWIG_arg_fail(2)) SWIG_fail
;
35055 arg3
= wxString_in_helper(obj2
);
35056 if (arg3
== NULL
) SWIG_fail
;
35062 arg4
= wxString_in_helper(obj3
);
35063 if (arg4
== NULL
) SWIG_fail
;
35069 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35070 if (SWIG_arg_fail(5)) SWIG_fail
;
35074 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35075 if (SWIG_arg_fail(6)) SWIG_fail
;
35078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35079 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35081 wxPyEndAllowThreads(__tstate
);
35082 if (PyErr_Occurred()) SWIG_fail
;
35085 resultobj
= wxPyMake_wxObject(result
, 1);
35109 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
;
35111 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "self", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35120 if (SWIG_arg_fail(1)) SWIG_fail
;
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= wxPyMake_wxObject(result
, 0);
35137 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35138 PyObject
*resultobj
;
35139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35140 wxMenu
*arg2
= (wxMenu
*) 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 char *kwnames
[] = {
35144 (char *) "self",(char *) "menu", NULL
35147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35149 if (SWIG_arg_fail(1)) SWIG_fail
;
35150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35151 if (SWIG_arg_fail(2)) SWIG_fail
;
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 (arg1
)->SetMenu(arg2
);
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 Py_INCREF(Py_None
); resultobj
= Py_None
;
35166 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35170 PyObject
* obj0
= 0 ;
35171 PyObject
* obj1
= 0 ;
35172 char *kwnames
[] = {
35173 (char *) "self",(char *) "id", NULL
35176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35178 if (SWIG_arg_fail(1)) SWIG_fail
;
35180 arg2
= (int)(SWIG_As_int(obj1
));
35181 if (SWIG_arg_fail(2)) SWIG_fail
;
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 (arg1
)->SetId(arg2
);
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35190 Py_INCREF(Py_None
); resultobj
= Py_None
;
35197 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
;
35199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35201 PyObject
* obj0
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35208 if (SWIG_arg_fail(1)) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_From_int((int)(result
));
35225 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35236 if (SWIG_arg_fail(1)) SWIG_fail
;
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35253 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35256 wxString
*arg2
= 0 ;
35257 bool temp2
= false ;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self",(char *) "str", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35266 if (SWIG_arg_fail(1)) SWIG_fail
;
35268 arg2
= wxString_in_helper(obj1
);
35269 if (arg2
== NULL
) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->SetText((wxString
const &)*arg2
);
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 Py_INCREF(Py_None
); resultobj
= Py_None
;
35294 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35295 PyObject
*resultobj
;
35296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35298 PyObject
* obj0
= 0 ;
35299 char *kwnames
[] = {
35300 (char *) "self", NULL
35303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35305 if (SWIG_arg_fail(1)) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35326 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35330 PyObject
* obj0
= 0 ;
35331 char *kwnames
[] = {
35332 (char *) "self", NULL
35335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35337 if (SWIG_arg_fail(1)) SWIG_fail
;
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35342 result
= (wxString
*) &_result_ref
;
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35350 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35352 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35361 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
;
35363 wxString
*arg1
= 0 ;
35365 bool temp1
= false ;
35366 PyObject
* obj0
= 0 ;
35367 char *kwnames
[] = {
35368 (char *) "text", NULL
35371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35373 arg1
= wxString_in_helper(obj0
);
35374 if (arg1
== NULL
) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35405 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
;
35407 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35409 PyObject
* obj0
= 0 ;
35410 char *kwnames
[] = {
35411 (char *) "self", NULL
35414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35416 if (SWIG_arg_fail(1)) SWIG_fail
;
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= SWIG_From_int((result
));
35431 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35432 PyObject
*resultobj
;
35433 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35435 PyObject
* obj0
= 0 ;
35436 PyObject
* obj1
= 0 ;
35437 char *kwnames
[] = {
35438 (char *) "self",(char *) "kind", NULL
35441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35443 if (SWIG_arg_fail(1)) SWIG_fail
;
35445 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35446 if (SWIG_arg_fail(2)) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 (arg1
)->SetKind((wxItemKind
)arg2
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 Py_INCREF(Py_None
); resultobj
= Py_None
;
35462 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35466 PyObject
* obj0
= 0 ;
35467 PyObject
* obj1
= 0 ;
35468 char *kwnames
[] = {
35469 (char *) "self",(char *) "checkable", NULL
35472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35474 if (SWIG_arg_fail(1)) SWIG_fail
;
35476 arg2
= (bool)(SWIG_As_bool(obj1
));
35477 if (SWIG_arg_fail(2)) SWIG_fail
;
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 (arg1
)->SetCheckable(arg2
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 Py_INCREF(Py_None
); resultobj
= Py_None
;
35493 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
;
35495 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35497 PyObject
* obj0
= 0 ;
35498 char *kwnames
[] = {
35499 (char *) "self", NULL
35502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35504 if (SWIG_arg_fail(1)) SWIG_fail
;
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35521 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
;
35523 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35525 PyObject
* obj0
= 0 ;
35526 char *kwnames
[] = {
35527 (char *) "self", NULL
35530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35532 if (SWIG_arg_fail(1)) SWIG_fail
;
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35549 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35550 PyObject
*resultobj
;
35551 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35552 wxMenu
*arg2
= (wxMenu
*) 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 char *kwnames
[] = {
35556 (char *) "self",(char *) "menu", NULL
35559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35561 if (SWIG_arg_fail(1)) SWIG_fail
;
35562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35563 if (SWIG_arg_fail(2)) SWIG_fail
;
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 (arg1
)->SetSubMenu(arg2
);
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35571 Py_INCREF(Py_None
); resultobj
= Py_None
;
35578 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
;
35580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35582 PyObject
* obj0
= 0 ;
35583 char *kwnames
[] = {
35584 (char *) "self", NULL
35587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35589 if (SWIG_arg_fail(1)) SWIG_fail
;
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= wxPyMake_wxObject(result
, 0);
35606 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
;
35608 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35609 bool arg2
= (bool) true ;
35610 PyObject
* obj0
= 0 ;
35611 PyObject
* obj1
= 0 ;
35612 char *kwnames
[] = {
35613 (char *) "self",(char *) "enable", NULL
35616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35618 if (SWIG_arg_fail(1)) SWIG_fail
;
35621 arg2
= (bool)(SWIG_As_bool(obj1
));
35622 if (SWIG_arg_fail(2)) SWIG_fail
;
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 (arg1
)->Enable(arg2
);
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 Py_INCREF(Py_None
); resultobj
= Py_None
;
35639 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
;
35641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35650 if (SWIG_arg_fail(1)) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35667 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
;
35669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35670 bool arg2
= (bool) true ;
35671 PyObject
* obj0
= 0 ;
35672 PyObject
* obj1
= 0 ;
35673 char *kwnames
[] = {
35674 (char *) "self",(char *) "check", NULL
35677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35679 if (SWIG_arg_fail(1)) SWIG_fail
;
35682 arg2
= (bool)(SWIG_As_bool(obj1
));
35683 if (SWIG_arg_fail(2)) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 (arg1
)->Check(arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 Py_INCREF(Py_None
); resultobj
= Py_None
;
35700 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35704 PyObject
* obj0
= 0 ;
35705 char *kwnames
[] = {
35706 (char *) "self", NULL
35709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35711 if (SWIG_arg_fail(1)) SWIG_fail
;
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35728 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35729 PyObject
*resultobj
;
35730 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35731 PyObject
* obj0
= 0 ;
35732 char *kwnames
[] = {
35733 (char *) "self", NULL
35736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35738 if (SWIG_arg_fail(1)) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35756 wxString
*arg2
= 0 ;
35757 bool temp2
= false ;
35758 PyObject
* obj0
= 0 ;
35759 PyObject
* obj1
= 0 ;
35760 char *kwnames
[] = {
35761 (char *) "self",(char *) "str", NULL
35764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35766 if (SWIG_arg_fail(1)) SWIG_fail
;
35768 arg2
= wxString_in_helper(obj1
);
35769 if (arg2
== NULL
) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 (arg1
)->SetHelp((wxString
const &)*arg2
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 Py_INCREF(Py_None
); resultobj
= Py_None
;
35794 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35795 PyObject
*resultobj
;
35796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35798 PyObject
* obj0
= 0 ;
35799 char *kwnames
[] = {
35800 (char *) "self", NULL
35803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35805 if (SWIG_arg_fail(1)) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35810 result
= (wxString
*) &_result_ref
;
35813 wxPyEndAllowThreads(__tstate
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35829 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35830 PyObject
*resultobj
;
35831 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35832 wxAcceleratorEntry
*result
;
35833 PyObject
* obj0
= 0 ;
35834 char *kwnames
[] = {
35835 (char *) "self", NULL
35838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35840 if (SWIG_arg_fail(1)) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35855 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35858 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char *kwnames
[] = {
35862 (char *) "self",(char *) "accel", NULL
35865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35867 if (SWIG_arg_fail(1)) SWIG_fail
;
35868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35869 if (SWIG_arg_fail(2)) SWIG_fail
;
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 (arg1
)->SetAccel(arg2
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 Py_INCREF(Py_None
); resultobj
= Py_None
;
35884 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
;
35886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35888 PyObject
* obj0
= 0 ;
35889 PyObject
* obj1
= 0 ;
35890 char *kwnames
[] = {
35891 (char *) "self",(char *) "font", NULL
35894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
35895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35896 if (SWIG_arg_fail(1)) SWIG_fail
;
35898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
35899 if (SWIG_arg_fail(2)) SWIG_fail
;
35900 if (arg2
== NULL
) {
35901 SWIG_null_ref("wxFont");
35903 if (SWIG_arg_fail(2)) SWIG_fail
;
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 (arg1
)->SetFont((wxFont
const &)*arg2
);
35909 wxPyEndAllowThreads(__tstate
);
35910 if (PyErr_Occurred()) SWIG_fail
;
35912 Py_INCREF(Py_None
); resultobj
= Py_None
;
35919 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35920 PyObject
*resultobj
;
35921 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35923 PyObject
* obj0
= 0 ;
35924 char *kwnames
[] = {
35925 (char *) "self", NULL
35928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
35929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35930 if (SWIG_arg_fail(1)) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 result
= (arg1
)->GetFont();
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35939 wxFont
* resultptr
;
35940 resultptr
= new wxFont((wxFont
&)(result
));
35941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
35949 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
;
35951 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35952 wxColour
*arg2
= 0 ;
35954 PyObject
* obj0
= 0 ;
35955 PyObject
* obj1
= 0 ;
35956 char *kwnames
[] = {
35957 (char *) "self",(char *) "colText", NULL
35960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
35961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35962 if (SWIG_arg_fail(1)) SWIG_fail
;
35965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 Py_INCREF(Py_None
); resultobj
= Py_None
;
35981 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 char *kwnames
[] = {
35987 (char *) "self", NULL
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
35991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35992 if (SWIG_arg_fail(1)) SWIG_fail
;
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= (arg1
)->GetTextColour();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 wxColour
* resultptr
;
36002 resultptr
= new wxColour((wxColour
&)(result
));
36003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36011 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36012 PyObject
*resultobj
;
36013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36014 wxColour
*arg2
= 0 ;
36016 PyObject
* obj0
= 0 ;
36017 PyObject
* obj1
= 0 ;
36018 char *kwnames
[] = {
36019 (char *) "self",(char *) "colBack", NULL
36022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36024 if (SWIG_arg_fail(1)) SWIG_fail
;
36027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 Py_INCREF(Py_None
); resultobj
= Py_None
;
36043 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
;
36045 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36047 PyObject
* obj0
= 0 ;
36048 char *kwnames
[] = {
36049 (char *) "self", NULL
36052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36054 if (SWIG_arg_fail(1)) SWIG_fail
;
36056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36057 result
= (arg1
)->GetBackgroundColour();
36059 wxPyEndAllowThreads(__tstate
);
36060 if (PyErr_Occurred()) SWIG_fail
;
36063 wxColour
* resultptr
;
36064 resultptr
= new wxColour((wxColour
&)(result
));
36065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36073 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36076 wxBitmap
*arg2
= 0 ;
36077 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36078 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 PyObject
* obj2
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36088 if (SWIG_arg_fail(1)) SWIG_fail
;
36090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36091 if (SWIG_arg_fail(2)) SWIG_fail
;
36092 if (arg2
== NULL
) {
36093 SWIG_null_ref("wxBitmap");
36095 if (SWIG_arg_fail(2)) SWIG_fail
;
36099 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36100 if (SWIG_arg_fail(3)) SWIG_fail
;
36101 if (arg3
== NULL
) {
36102 SWIG_null_ref("wxBitmap");
36104 if (SWIG_arg_fail(3)) SWIG_fail
;
36108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36109 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 Py_INCREF(Py_None
); resultobj
= Py_None
;
36121 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
;
36123 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36124 wxBitmap
*arg2
= 0 ;
36125 PyObject
* obj0
= 0 ;
36126 PyObject
* obj1
= 0 ;
36127 char *kwnames
[] = {
36128 (char *) "self",(char *) "bmpDisabled", NULL
36131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36133 if (SWIG_arg_fail(1)) SWIG_fail
;
36135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36136 if (SWIG_arg_fail(2)) SWIG_fail
;
36137 if (arg2
== NULL
) {
36138 SWIG_null_ref("wxBitmap");
36140 if (SWIG_arg_fail(2)) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 Py_INCREF(Py_None
); resultobj
= Py_None
;
36156 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36167 if (SWIG_arg_fail(1)) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36172 result
= (wxBitmap
*) &_result_ref
;
36175 wxPyEndAllowThreads(__tstate
);
36176 if (PyErr_Occurred()) SWIG_fail
;
36179 wxBitmap
* resultptr
= new wxBitmap(*result
);
36180 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36188 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
;
36190 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 char *kwnames
[] = {
36195 (char *) "self",(char *) "nWidth", NULL
36198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36200 if (SWIG_arg_fail(1)) SWIG_fail
;
36202 arg2
= (int)(SWIG_As_int(obj1
));
36203 if (SWIG_arg_fail(2)) SWIG_fail
;
36206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36207 (arg1
)->SetMarginWidth(arg2
);
36209 wxPyEndAllowThreads(__tstate
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36212 Py_INCREF(Py_None
); resultobj
= Py_None
;
36219 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36220 PyObject
*resultobj
;
36221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36223 PyObject
* obj0
= 0 ;
36224 char *kwnames
[] = {
36225 (char *) "self", NULL
36228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36230 if (SWIG_arg_fail(1)) SWIG_fail
;
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 result
= (int)(arg1
)->GetMarginWidth();
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= SWIG_From_int((int)(result
));
36247 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
;
36250 char *kwnames
[] = {
36254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36257 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_From_int((int)(result
));
36271 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36272 PyObject
*resultobj
;
36273 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36275 PyObject
* obj0
= 0 ;
36276 char *kwnames
[] = {
36277 (char *) "self", NULL
36280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36282 if (SWIG_arg_fail(1)) SWIG_fail
;
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 result
= (bool)(arg1
)->IsOwnerDrawn();
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36299 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36300 PyObject
*resultobj
;
36301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36302 bool arg2
= (bool) true ;
36303 PyObject
* obj0
= 0 ;
36304 PyObject
* obj1
= 0 ;
36305 char *kwnames
[] = {
36306 (char *) "self",(char *) "ownerDrawn", NULL
36309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36311 if (SWIG_arg_fail(1)) SWIG_fail
;
36314 arg2
= (bool)(SWIG_As_bool(obj1
));
36315 if (SWIG_arg_fail(2)) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->SetOwnerDrawn(arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 Py_INCREF(Py_None
); resultobj
= Py_None
;
36332 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
;
36334 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36335 PyObject
* obj0
= 0 ;
36336 char *kwnames
[] = {
36337 (char *) "self", NULL
36340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36342 if (SWIG_arg_fail(1)) SWIG_fail
;
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 (arg1
)->ResetOwnerDrawn();
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 Py_INCREF(Py_None
); resultobj
= Py_None
;
36357 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
;
36359 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36360 wxBitmap
*arg2
= 0 ;
36361 PyObject
* obj0
= 0 ;
36362 PyObject
* obj1
= 0 ;
36363 char *kwnames
[] = {
36364 (char *) "self",(char *) "bitmap", NULL
36367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36369 if (SWIG_arg_fail(1)) SWIG_fail
;
36371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36372 if (SWIG_arg_fail(2)) SWIG_fail
;
36373 if (arg2
== NULL
) {
36374 SWIG_null_ref("wxBitmap");
36376 if (SWIG_arg_fail(2)) SWIG_fail
;
36379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36380 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 Py_INCREF(Py_None
); resultobj
= Py_None
;
36392 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
;
36394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 char *kwnames
[] = {
36398 (char *) "self", NULL
36401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36403 if (SWIG_arg_fail(1)) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36407 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36408 result
= (wxBitmap
*) &_result_ref
;
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36415 wxBitmap
* resultptr
= new wxBitmap(*result
);
36416 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36424 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36427 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36429 return Py_BuildValue((char *)"");
36431 static int _wrap_ControlNameStr_set(PyObject
*) {
36432 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36437 static PyObject
*_wrap_ControlNameStr_get(void) {
36442 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36444 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36451 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxWindow
*arg1
= (wxWindow
*) 0 ;
36454 int arg2
= (int) -1 ;
36455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36457 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36458 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36459 long arg5
= (long) 0 ;
36460 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36461 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36462 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36467 bool temp7
= false ;
36468 PyObject
* obj0
= 0 ;
36469 PyObject
* obj1
= 0 ;
36470 PyObject
* obj2
= 0 ;
36471 PyObject
* obj3
= 0 ;
36472 PyObject
* obj4
= 0 ;
36473 PyObject
* obj5
= 0 ;
36474 PyObject
* obj6
= 0 ;
36475 char *kwnames
[] = {
36476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36481 if (SWIG_arg_fail(1)) SWIG_fail
;
36484 arg2
= (int)(SWIG_As_int(obj1
));
36485 if (SWIG_arg_fail(2)) SWIG_fail
;
36491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36502 arg5
= (long)(SWIG_As_long(obj4
));
36503 if (SWIG_arg_fail(5)) SWIG_fail
;
36508 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36509 if (SWIG_arg_fail(6)) SWIG_fail
;
36510 if (arg6
== NULL
) {
36511 SWIG_null_ref("wxValidator");
36513 if (SWIG_arg_fail(6)) SWIG_fail
;
36518 arg7
= wxString_in_helper(obj6
);
36519 if (arg7
== NULL
) SWIG_fail
;
36524 if (!wxPyCheckForApp()) SWIG_fail
;
36525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36526 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36546 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36547 PyObject
*resultobj
;
36549 char *kwnames
[] = {
36553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36555 if (!wxPyCheckForApp()) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 result
= (wxControl
*)new wxControl();
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36569 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
;
36571 wxControl
*arg1
= (wxControl
*) 0 ;
36572 wxWindow
*arg2
= (wxWindow
*) 0 ;
36573 int arg3
= (int) -1 ;
36574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36578 long arg6
= (long) 0 ;
36579 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36580 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36581 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36586 bool temp8
= false ;
36587 PyObject
* obj0
= 0 ;
36588 PyObject
* obj1
= 0 ;
36589 PyObject
* obj2
= 0 ;
36590 PyObject
* obj3
= 0 ;
36591 PyObject
* obj4
= 0 ;
36592 PyObject
* obj5
= 0 ;
36593 PyObject
* obj6
= 0 ;
36594 PyObject
* obj7
= 0 ;
36595 char *kwnames
[] = {
36596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36601 if (SWIG_arg_fail(1)) SWIG_fail
;
36602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36603 if (SWIG_arg_fail(2)) SWIG_fail
;
36606 arg3
= (int)(SWIG_As_int(obj2
));
36607 if (SWIG_arg_fail(3)) SWIG_fail
;
36613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36624 arg6
= (long)(SWIG_As_long(obj5
));
36625 if (SWIG_arg_fail(6)) SWIG_fail
;
36630 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36631 if (SWIG_arg_fail(7)) SWIG_fail
;
36632 if (arg7
== NULL
) {
36633 SWIG_null_ref("wxValidator");
36635 if (SWIG_arg_fail(7)) SWIG_fail
;
36640 arg8
= wxString_in_helper(obj7
);
36641 if (arg8
== NULL
) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36669 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36670 PyObject
*resultobj
;
36671 wxControl
*arg1
= (wxControl
*) 0 ;
36672 wxCommandEvent
*arg2
= 0 ;
36673 PyObject
* obj0
= 0 ;
36674 PyObject
* obj1
= 0 ;
36675 char *kwnames
[] = {
36676 (char *) "self",(char *) "event", NULL
36679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36681 if (SWIG_arg_fail(1)) SWIG_fail
;
36683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36684 if (SWIG_arg_fail(2)) SWIG_fail
;
36685 if (arg2
== NULL
) {
36686 SWIG_null_ref("wxCommandEvent");
36688 if (SWIG_arg_fail(2)) SWIG_fail
;
36691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36692 (arg1
)->Command(*arg2
);
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36697 Py_INCREF(Py_None
); resultobj
= Py_None
;
36704 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36705 PyObject
*resultobj
;
36706 wxControl
*arg1
= (wxControl
*) 0 ;
36708 PyObject
* obj0
= 0 ;
36709 char *kwnames
[] = {
36710 (char *) "self", NULL
36713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36715 if (SWIG_arg_fail(1)) SWIG_fail
;
36717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36718 result
= (arg1
)->GetLabel();
36720 wxPyEndAllowThreads(__tstate
);
36721 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36736 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
;
36738 wxControl
*arg1
= (wxControl
*) 0 ;
36739 wxString
*arg2
= 0 ;
36740 bool temp2
= false ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char *kwnames
[] = {
36744 (char *) "self",(char *) "label", NULL
36747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36749 if (SWIG_arg_fail(1)) SWIG_fail
;
36751 arg2
= wxString_in_helper(obj1
);
36752 if (arg2
== NULL
) SWIG_fail
;
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 (arg1
)->SetLabel((wxString
const &)*arg2
);
36759 wxPyEndAllowThreads(__tstate
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36762 Py_INCREF(Py_None
); resultobj
= Py_None
;
36777 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
;
36779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36780 wxVisualAttributes result
;
36781 PyObject
* obj0
= 0 ;
36782 char *kwnames
[] = {
36783 (char *) "variant", NULL
36786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36789 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36790 if (SWIG_arg_fail(1)) SWIG_fail
;
36794 if (!wxPyCheckForApp()) SWIG_fail
;
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36802 wxVisualAttributes
* resultptr
;
36803 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36812 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36815 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36817 return Py_BuildValue((char *)"");
36819 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36820 PyObject
*resultobj
;
36821 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36822 wxString
*arg2
= 0 ;
36823 PyObject
*arg3
= (PyObject
*) NULL
;
36825 bool temp2
= false ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 PyObject
* obj2
= 0 ;
36829 char *kwnames
[] = {
36830 (char *) "self",(char *) "item",(char *) "clientData", NULL
36833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36835 if (SWIG_arg_fail(1)) SWIG_fail
;
36837 arg2
= wxString_in_helper(obj1
);
36838 if (arg2
== NULL
) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36848 wxPyEndAllowThreads(__tstate
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36852 resultobj
= SWIG_From_int((int)(result
));
36868 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36869 PyObject
*resultobj
;
36870 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36871 wxArrayString
*arg2
= 0 ;
36872 bool temp2
= false ;
36873 PyObject
* obj0
= 0 ;
36874 PyObject
* obj1
= 0 ;
36875 char *kwnames
[] = {
36876 (char *) "self",(char *) "strings", NULL
36879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36881 if (SWIG_arg_fail(1)) SWIG_fail
;
36883 if (! PySequence_Check(obj1
)) {
36884 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36887 arg2
= new wxArrayString
;
36889 int i
, len
=PySequence_Length(obj1
);
36890 for (i
=0; i
<len
; i
++) {
36891 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36893 PyObject
* str
= PyObject_Unicode(item
);
36895 PyObject
* str
= PyObject_Str(item
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36898 arg2
->Add(Py2wxString(str
));
36904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36905 (arg1
)->Append((wxArrayString
const &)*arg2
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 Py_INCREF(Py_None
); resultobj
= Py_None
;
36912 if (temp2
) delete arg2
;
36917 if (temp2
) delete arg2
;
36923 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36926 wxString
*arg2
= 0 ;
36928 PyObject
*arg4
= (PyObject
*) NULL
;
36930 bool temp2
= false ;
36931 PyObject
* obj0
= 0 ;
36932 PyObject
* obj1
= 0 ;
36933 PyObject
* obj2
= 0 ;
36934 PyObject
* obj3
= 0 ;
36935 char *kwnames
[] = {
36936 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36941 if (SWIG_arg_fail(1)) SWIG_fail
;
36943 arg2
= wxString_in_helper(obj1
);
36944 if (arg2
== NULL
) SWIG_fail
;
36948 arg3
= (int)(SWIG_As_int(obj2
));
36949 if (SWIG_arg_fail(3)) SWIG_fail
;
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36962 resultobj
= SWIG_From_int((int)(result
));
36978 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
;
36980 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 char *kwnames
[] = {
36983 (char *) "self", NULL
36986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
36987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36988 if (SWIG_arg_fail(1)) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 Py_INCREF(Py_None
); resultobj
= Py_None
;
37003 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37007 PyObject
* obj0
= 0 ;
37008 PyObject
* obj1
= 0 ;
37009 char *kwnames
[] = {
37010 (char *) "self",(char *) "n", NULL
37013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37015 if (SWIG_arg_fail(1)) SWIG_fail
;
37017 arg2
= (int)(SWIG_As_int(obj1
));
37018 if (SWIG_arg_fail(2)) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 (arg1
)->Delete(arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 Py_INCREF(Py_None
); resultobj
= Py_None
;
37034 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37038 PyObject
* obj0
= 0 ;
37039 char *kwnames
[] = {
37040 (char *) "self", NULL
37043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37045 if (SWIG_arg_fail(1)) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37054 resultobj
= SWIG_From_int((int)(result
));
37062 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
;
37064 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37066 PyObject
* obj0
= 0 ;
37067 char *kwnames
[] = {
37068 (char *) "self", NULL
37071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37073 if (SWIG_arg_fail(1)) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37090 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
;
37092 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37095 PyObject
* obj0
= 0 ;
37096 PyObject
* obj1
= 0 ;
37097 char *kwnames
[] = {
37098 (char *) "self",(char *) "n", NULL
37101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37103 if (SWIG_arg_fail(1)) SWIG_fail
;
37105 arg2
= (int)(SWIG_As_int(obj1
));
37106 if (SWIG_arg_fail(2)) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37112 wxPyEndAllowThreads(__tstate
);
37113 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37128 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37129 PyObject
*resultobj
;
37130 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37131 wxArrayString result
;
37132 PyObject
* obj0
= 0 ;
37133 char *kwnames
[] = {
37134 (char *) "self", NULL
37137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37139 if (SWIG_arg_fail(1)) SWIG_fail
;
37141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37142 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37144 wxPyEndAllowThreads(__tstate
);
37145 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= wxArrayString2PyList_helper(result
);
37156 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
;
37158 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37160 wxString
*arg3
= 0 ;
37161 bool temp3
= false ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 PyObject
* obj2
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self",(char *) "n",(char *) "s", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37171 if (SWIG_arg_fail(1)) SWIG_fail
;
37173 arg2
= (int)(SWIG_As_int(obj1
));
37174 if (SWIG_arg_fail(2)) SWIG_fail
;
37177 arg3
= wxString_in_helper(obj2
);
37178 if (arg3
== NULL
) SWIG_fail
;
37182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37183 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37185 wxPyEndAllowThreads(__tstate
);
37186 if (PyErr_Occurred()) SWIG_fail
;
37188 Py_INCREF(Py_None
); resultobj
= Py_None
;
37203 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37204 PyObject
*resultobj
;
37205 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37206 wxString
*arg2
= 0 ;
37208 bool temp2
= false ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 char *kwnames
[] = {
37212 (char *) "self",(char *) "s", NULL
37215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37217 if (SWIG_arg_fail(1)) SWIG_fail
;
37219 arg2
= wxString_in_helper(obj1
);
37220 if (arg2
== NULL
) SWIG_fail
;
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_From_int((int)(result
));
37247 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
;
37249 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37251 PyObject
* obj0
= 0 ;
37252 PyObject
* obj1
= 0 ;
37253 char *kwnames
[] = {
37254 (char *) "self",(char *) "n", NULL
37257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37259 if (SWIG_arg_fail(1)) SWIG_fail
;
37261 arg2
= (int)(SWIG_As_int(obj1
));
37262 if (SWIG_arg_fail(2)) SWIG_fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 (arg1
)->Select(arg2
);
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 Py_INCREF(Py_None
); resultobj
= Py_None
;
37278 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37279 PyObject
*resultobj
;
37280 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37282 PyObject
* obj0
= 0 ;
37283 char *kwnames
[] = {
37284 (char *) "self", NULL
37287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37289 if (SWIG_arg_fail(1)) SWIG_fail
;
37291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37292 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37298 resultobj
= SWIG_From_int((int)(result
));
37306 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
;
37308 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37310 PyObject
* obj0
= 0 ;
37311 char *kwnames
[] = {
37312 (char *) "self", NULL
37315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37317 if (SWIG_arg_fail(1)) SWIG_fail
;
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37338 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
;
37340 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self",(char *) "n", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail
;
37353 arg2
= (int)(SWIG_As_int(obj1
));
37354 if (SWIG_arg_fail(2)) SWIG_fail
;
37357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37358 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37363 resultobj
= result
;
37370 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37371 PyObject
*resultobj
;
37372 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37374 PyObject
*arg3
= (PyObject
*) 0 ;
37375 PyObject
* obj0
= 0 ;
37376 PyObject
* obj1
= 0 ;
37377 PyObject
* obj2
= 0 ;
37378 char *kwnames
[] = {
37379 (char *) "self",(char *) "n",(char *) "clientData", NULL
37382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37384 if (SWIG_arg_fail(1)) SWIG_fail
;
37386 arg2
= (int)(SWIG_As_int(obj1
));
37387 if (SWIG_arg_fail(2)) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 Py_INCREF(Py_None
); resultobj
= Py_None
;
37404 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37407 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37409 return Py_BuildValue((char *)"");
37411 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37414 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37416 return Py_BuildValue((char *)"");
37418 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37419 PyObject
*resultobj
;
37420 wxSizerItem
*result
;
37421 char *kwnames
[] = {
37425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37428 result
= (wxSizerItem
*)new wxSizerItem();
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37440 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37441 PyObject
*resultobj
;
37442 wxWindow
*arg1
= (wxWindow
*) 0 ;
37446 PyObject
*arg5
= (PyObject
*) NULL
;
37447 wxSizerItem
*result
;
37448 PyObject
* obj0
= 0 ;
37449 PyObject
* obj1
= 0 ;
37450 PyObject
* obj2
= 0 ;
37451 PyObject
* obj3
= 0 ;
37452 PyObject
* obj4
= 0 ;
37453 char *kwnames
[] = {
37454 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37459 if (SWIG_arg_fail(1)) SWIG_fail
;
37461 arg2
= (int)(SWIG_As_int(obj1
));
37462 if (SWIG_arg_fail(2)) SWIG_fail
;
37465 arg3
= (int)(SWIG_As_int(obj2
));
37466 if (SWIG_arg_fail(3)) SWIG_fail
;
37469 arg4
= (int)(SWIG_As_int(obj3
));
37470 if (SWIG_arg_fail(4)) SWIG_fail
;
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37479 wxPyEndAllowThreads(__tstate
);
37480 if (PyErr_Occurred()) SWIG_fail
;
37482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37489 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37490 PyObject
*resultobj
;
37496 PyObject
*arg6
= (PyObject
*) NULL
;
37497 wxSizerItem
*result
;
37498 PyObject
* obj0
= 0 ;
37499 PyObject
* obj1
= 0 ;
37500 PyObject
* obj2
= 0 ;
37501 PyObject
* obj3
= 0 ;
37502 PyObject
* obj4
= 0 ;
37503 PyObject
* obj5
= 0 ;
37504 char *kwnames
[] = {
37505 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37510 arg1
= (int)(SWIG_As_int(obj0
));
37511 if (SWIG_arg_fail(1)) SWIG_fail
;
37514 arg2
= (int)(SWIG_As_int(obj1
));
37515 if (SWIG_arg_fail(2)) SWIG_fail
;
37518 arg3
= (int)(SWIG_As_int(obj2
));
37519 if (SWIG_arg_fail(3)) SWIG_fail
;
37522 arg4
= (int)(SWIG_As_int(obj3
));
37523 if (SWIG_arg_fail(4)) SWIG_fail
;
37526 arg5
= (int)(SWIG_As_int(obj4
));
37527 if (SWIG_arg_fail(5)) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37534 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37546 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
;
37548 wxSizer
*arg1
= (wxSizer
*) 0 ;
37552 PyObject
*arg5
= (PyObject
*) NULL
;
37553 wxSizerItem
*result
;
37554 PyObject
* obj0
= 0 ;
37555 PyObject
* obj1
= 0 ;
37556 PyObject
* obj2
= 0 ;
37557 PyObject
* obj3
= 0 ;
37558 PyObject
* obj4
= 0 ;
37559 char *kwnames
[] = {
37560 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37565 if (SWIG_arg_fail(1)) SWIG_fail
;
37567 arg2
= (int)(SWIG_As_int(obj1
));
37568 if (SWIG_arg_fail(2)) SWIG_fail
;
37571 arg3
= (int)(SWIG_As_int(obj2
));
37572 if (SWIG_arg_fail(3)) SWIG_fail
;
37575 arg4
= (int)(SWIG_As_int(obj3
));
37576 if (SWIG_arg_fail(4)) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37595 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37596 PyObject
*resultobj
;
37597 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37598 PyObject
* obj0
= 0 ;
37599 char *kwnames
[] = {
37600 (char *) "self", NULL
37603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37605 if (SWIG_arg_fail(1)) SWIG_fail
;
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 (arg1
)->DeleteWindows();
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37613 Py_INCREF(Py_None
); resultobj
= Py_None
;
37620 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37621 PyObject
*resultobj
;
37622 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37623 PyObject
* obj0
= 0 ;
37624 char *kwnames
[] = {
37625 (char *) "self", NULL
37628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37630 if (SWIG_arg_fail(1)) SWIG_fail
;
37632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37633 (arg1
)->DetachSizer();
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37638 Py_INCREF(Py_None
); resultobj
= Py_None
;
37645 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
;
37647 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37649 PyObject
* obj0
= 0 ;
37650 char *kwnames
[] = {
37651 (char *) "self", NULL
37654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37656 if (SWIG_arg_fail(1)) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 result
= (arg1
)->GetSize();
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37665 wxSize
* resultptr
;
37666 resultptr
= new wxSize((wxSize
&)(result
));
37667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37675 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37676 PyObject
*resultobj
;
37677 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37679 PyObject
* obj0
= 0 ;
37680 char *kwnames
[] = {
37681 (char *) "self", NULL
37684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37686 if (SWIG_arg_fail(1)) SWIG_fail
;
37688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 result
= (arg1
)->CalcMin();
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 wxSize
* resultptr
;
37696 resultptr
= new wxSize((wxSize
&)(result
));
37697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37705 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37706 PyObject
*resultobj
;
37707 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37710 PyObject
* obj0
= 0 ;
37711 PyObject
* obj1
= 0 ;
37712 PyObject
* obj2
= 0 ;
37713 char *kwnames
[] = {
37714 (char *) "self",(char *) "pos",(char *) "size", NULL
37717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37719 if (SWIG_arg_fail(1)) SWIG_fail
;
37722 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37723 if (SWIG_arg_fail(2)) SWIG_fail
;
37724 if (argp
== NULL
) {
37725 SWIG_null_ref("wxPoint");
37727 if (SWIG_arg_fail(2)) SWIG_fail
;
37732 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37733 if (SWIG_arg_fail(3)) SWIG_fail
;
37734 if (argp
== NULL
) {
37735 SWIG_null_ref("wxSize");
37737 if (SWIG_arg_fail(3)) SWIG_fail
;
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 (arg1
)->SetDimension(arg2
,arg3
);
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37747 Py_INCREF(Py_None
); resultobj
= Py_None
;
37754 static PyObject
*_wrap_SizerItem_GetMinSize(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_GetMinSize",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
= (arg1
)->GetMinSize();
37770 wxPyEndAllowThreads(__tstate
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37774 wxSize
* resultptr
;
37775 resultptr
= new wxSize((wxSize
&)(result
));
37776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37784 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37788 PyObject
* obj0
= 0 ;
37789 char *kwnames
[] = {
37790 (char *) "self", NULL
37793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37795 if (SWIG_arg_fail(1)) SWIG_fail
;
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37804 wxSize
* resultptr
;
37805 resultptr
= new wxSize((wxSize
&)(result
));
37806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37814 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
;
37816 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37819 PyObject
* obj0
= 0 ;
37820 PyObject
* obj1
= 0 ;
37821 PyObject
* obj2
= 0 ;
37822 char *kwnames
[] = {
37823 (char *) "self",(char *) "x",(char *) "y", NULL
37826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37828 if (SWIG_arg_fail(1)) SWIG_fail
;
37830 arg2
= (int)(SWIG_As_int(obj1
));
37831 if (SWIG_arg_fail(2)) SWIG_fail
;
37834 arg3
= (int)(SWIG_As_int(obj2
));
37835 if (SWIG_arg_fail(3)) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 (arg1
)->SetInitSize(arg2
,arg3
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 Py_INCREF(Py_None
); resultobj
= Py_None
;
37851 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 PyObject
* obj1
= 0 ;
37858 PyObject
* obj2
= 0 ;
37859 char *kwnames
[] = {
37860 (char *) "self",(char *) "width",(char *) "height", NULL
37863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37865 if (SWIG_arg_fail(1)) SWIG_fail
;
37867 arg2
= (int)(SWIG_As_int(obj1
));
37868 if (SWIG_arg_fail(2)) SWIG_fail
;
37871 arg3
= (int)(SWIG_As_int(obj2
));
37872 if (SWIG_arg_fail(3)) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 (arg1
)->SetRatio(arg2
,arg3
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37881 Py_INCREF(Py_None
); resultobj
= Py_None
;
37888 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37889 PyObject
*resultobj
;
37890 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37892 PyObject
* obj0
= 0 ;
37893 PyObject
* obj1
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "self",(char *) "size", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37900 if (SWIG_arg_fail(1)) SWIG_fail
;
37903 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37904 if (SWIG_arg_fail(2)) SWIG_fail
;
37905 if (argp
== NULL
) {
37906 SWIG_null_ref("wxSize");
37908 if (SWIG_arg_fail(2)) SWIG_fail
;
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 (arg1
)->SetRatio(arg2
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37918 Py_INCREF(Py_None
); resultobj
= Py_None
;
37925 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37926 PyObject
*resultobj
;
37927 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37929 PyObject
* obj0
= 0 ;
37930 PyObject
* obj1
= 0 ;
37931 char *kwnames
[] = {
37932 (char *) "self",(char *) "ratio", NULL
37935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37937 if (SWIG_arg_fail(1)) SWIG_fail
;
37939 arg2
= (float)(SWIG_As_float(obj1
));
37940 if (SWIG_arg_fail(2)) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 (arg1
)->SetRatio(arg2
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37949 Py_INCREF(Py_None
); resultobj
= Py_None
;
37956 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
;
37958 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 char *kwnames
[] = {
37962 (char *) "self", NULL
37965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
37966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37967 if (SWIG_arg_fail(1)) SWIG_fail
;
37969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37970 result
= (float)(arg1
)->GetRatio();
37972 wxPyEndAllowThreads(__tstate
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37976 resultobj
= SWIG_From_float((float)(result
));
37984 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37985 PyObject
*resultobj
;
37986 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37988 PyObject
* obj0
= 0 ;
37989 char *kwnames
[] = {
37990 (char *) "self", NULL
37993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
37994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37995 if (SWIG_arg_fail(1)) SWIG_fail
;
37997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 result
= (arg1
)->GetRect();
38000 wxPyEndAllowThreads(__tstate
);
38001 if (PyErr_Occurred()) SWIG_fail
;
38004 wxRect
* resultptr
;
38005 resultptr
= new wxRect((wxRect
&)(result
));
38006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38014 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
;
38016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38018 PyObject
* obj0
= 0 ;
38019 char *kwnames
[] = {
38020 (char *) "self", NULL
38023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38025 if (SWIG_arg_fail(1)) SWIG_fail
;
38027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38028 result
= (bool)(arg1
)->IsWindow();
38030 wxPyEndAllowThreads(__tstate
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38042 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38043 PyObject
*resultobj
;
38044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38046 PyObject
* obj0
= 0 ;
38047 char *kwnames
[] = {
38048 (char *) "self", NULL
38051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38053 if (SWIG_arg_fail(1)) SWIG_fail
;
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38056 result
= (bool)(arg1
)->IsSizer();
38058 wxPyEndAllowThreads(__tstate
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38070 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38071 PyObject
*resultobj
;
38072 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38074 PyObject
* obj0
= 0 ;
38075 char *kwnames
[] = {
38076 (char *) "self", NULL
38079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38081 if (SWIG_arg_fail(1)) SWIG_fail
;
38083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38084 result
= (bool)(arg1
)->IsSpacer();
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38098 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38099 PyObject
*resultobj
;
38100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38102 PyObject
* obj0
= 0 ;
38103 PyObject
* obj1
= 0 ;
38104 char *kwnames
[] = {
38105 (char *) "self",(char *) "proportion", NULL
38108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38110 if (SWIG_arg_fail(1)) SWIG_fail
;
38112 arg2
= (int)(SWIG_As_int(obj1
));
38113 if (SWIG_arg_fail(2)) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 (arg1
)->SetProportion(arg2
);
38119 wxPyEndAllowThreads(__tstate
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38122 Py_INCREF(Py_None
); resultobj
= Py_None
;
38129 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38130 PyObject
*resultobj
;
38131 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38133 PyObject
* obj0
= 0 ;
38134 char *kwnames
[] = {
38135 (char *) "self", NULL
38138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38140 if (SWIG_arg_fail(1)) SWIG_fail
;
38142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38143 result
= (int)(arg1
)->GetProportion();
38145 wxPyEndAllowThreads(__tstate
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= SWIG_From_int((int)(result
));
38157 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38158 PyObject
*resultobj
;
38159 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38161 PyObject
* obj0
= 0 ;
38162 PyObject
* obj1
= 0 ;
38163 char *kwnames
[] = {
38164 (char *) "self",(char *) "flag", NULL
38167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38169 if (SWIG_arg_fail(1)) SWIG_fail
;
38171 arg2
= (int)(SWIG_As_int(obj1
));
38172 if (SWIG_arg_fail(2)) SWIG_fail
;
38175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38176 (arg1
)->SetFlag(arg2
);
38178 wxPyEndAllowThreads(__tstate
);
38179 if (PyErr_Occurred()) SWIG_fail
;
38181 Py_INCREF(Py_None
); resultobj
= Py_None
;
38188 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38189 PyObject
*resultobj
;
38190 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38192 PyObject
* obj0
= 0 ;
38193 char *kwnames
[] = {
38194 (char *) "self", NULL
38197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38199 if (SWIG_arg_fail(1)) SWIG_fail
;
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 result
= (int)(arg1
)->GetFlag();
38204 wxPyEndAllowThreads(__tstate
);
38205 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= SWIG_From_int((int)(result
));
38216 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
;
38218 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38220 PyObject
* obj0
= 0 ;
38221 PyObject
* obj1
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self",(char *) "border", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38228 if (SWIG_arg_fail(1)) SWIG_fail
;
38230 arg2
= (int)(SWIG_As_int(obj1
));
38231 if (SWIG_arg_fail(2)) SWIG_fail
;
38234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38235 (arg1
)->SetBorder(arg2
);
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38240 Py_INCREF(Py_None
); resultobj
= Py_None
;
38247 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
;
38249 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 char *kwnames
[] = {
38253 (char *) "self", NULL
38256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38258 if (SWIG_arg_fail(1)) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 result
= (int)(arg1
)->GetBorder();
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= SWIG_From_int((int)(result
));
38275 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38276 PyObject
*resultobj
;
38277 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38279 PyObject
* obj0
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38286 if (SWIG_arg_fail(1)) SWIG_fail
;
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= (wxWindow
*)(arg1
)->GetWindow();
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= wxPyMake_wxObject(result
, 0);
38303 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38306 wxWindow
*arg2
= (wxWindow
*) 0 ;
38307 PyObject
* obj0
= 0 ;
38308 PyObject
* obj1
= 0 ;
38309 char *kwnames
[] = {
38310 (char *) "self",(char *) "window", NULL
38313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38315 if (SWIG_arg_fail(1)) SWIG_fail
;
38316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38317 if (SWIG_arg_fail(2)) SWIG_fail
;
38319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38320 (arg1
)->SetWindow(arg2
);
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38325 Py_INCREF(Py_None
); resultobj
= Py_None
;
38332 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38333 PyObject
*resultobj
;
38334 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38336 PyObject
* obj0
= 0 ;
38337 char *kwnames
[] = {
38338 (char *) "self", NULL
38341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38343 if (SWIG_arg_fail(1)) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= (wxSizer
*)(arg1
)->GetSizer();
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38352 resultobj
= wxPyMake_wxSizer(result
, 0);
38360 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38361 PyObject
*resultobj
;
38362 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38363 wxSizer
*arg2
= (wxSizer
*) 0 ;
38364 PyObject
* obj0
= 0 ;
38365 PyObject
* obj1
= 0 ;
38366 char *kwnames
[] = {
38367 (char *) "self",(char *) "sizer", NULL
38370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38372 if (SWIG_arg_fail(1)) SWIG_fail
;
38373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38374 if (SWIG_arg_fail(2)) SWIG_fail
;
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 (arg1
)->SetSizer(arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 Py_INCREF(Py_None
); resultobj
= Py_None
;
38389 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
;
38391 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38393 PyObject
* obj0
= 0 ;
38394 char *kwnames
[] = {
38395 (char *) "self", NULL
38398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38400 if (SWIG_arg_fail(1)) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38405 result
= (wxSize
*) &_result_ref
;
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38418 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
;
38420 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 char *kwnames
[] = {
38426 (char *) "self",(char *) "size", NULL
38429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38431 if (SWIG_arg_fail(1)) SWIG_fail
;
38434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38438 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38440 wxPyEndAllowThreads(__tstate
);
38441 if (PyErr_Occurred()) SWIG_fail
;
38443 Py_INCREF(Py_None
); resultobj
= Py_None
;
38450 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38451 PyObject
*resultobj
;
38452 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38454 PyObject
* obj0
= 0 ;
38455 PyObject
* obj1
= 0 ;
38456 char *kwnames
[] = {
38457 (char *) "self",(char *) "show", NULL
38460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38462 if (SWIG_arg_fail(1)) SWIG_fail
;
38464 arg2
= (bool)(SWIG_As_bool(obj1
));
38465 if (SWIG_arg_fail(2)) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->Show(arg2
);
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 Py_INCREF(Py_None
); resultobj
= Py_None
;
38481 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
;
38483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 char *kwnames
[] = {
38487 (char *) "self", NULL
38490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38492 if (SWIG_arg_fail(1)) SWIG_fail
;
38494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38495 result
= (bool)(arg1
)->IsShown();
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38509 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
;
38511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38513 PyObject
* obj0
= 0 ;
38514 char *kwnames
[] = {
38515 (char *) "self", NULL
38518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38520 if (SWIG_arg_fail(1)) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= (arg1
)->GetPosition();
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38529 wxPoint
* resultptr
;
38530 resultptr
= new wxPoint((wxPoint
&)(result
));
38531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38539 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 char *kwnames
[] = {
38545 (char *) "self", NULL
38548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38550 if (SWIG_arg_fail(1)) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38558 resultobj
= result
;
38565 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38568 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38570 return Py_BuildValue((char *)"");
38572 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38573 PyObject
*resultobj
;
38574 wxSizer
*arg1
= (wxSizer
*) 0 ;
38575 PyObject
*arg2
= (PyObject
*) 0 ;
38576 PyObject
* obj0
= 0 ;
38577 PyObject
* obj1
= 0 ;
38578 char *kwnames
[] = {
38579 (char *) "self",(char *) "_self", NULL
38582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38584 if (SWIG_arg_fail(1)) SWIG_fail
;
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 wxSizer__setOORInfo(arg1
,arg2
);
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 Py_INCREF(Py_None
); resultobj
= Py_None
;
38600 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
;
38602 wxSizer
*arg1
= (wxSizer
*) 0 ;
38603 PyObject
*arg2
= (PyObject
*) 0 ;
38604 int arg3
= (int) 0 ;
38605 int arg4
= (int) 0 ;
38606 int arg5
= (int) 0 ;
38607 PyObject
*arg6
= (PyObject
*) NULL
;
38608 wxSizerItem
*result
;
38609 PyObject
* obj0
= 0 ;
38610 PyObject
* obj1
= 0 ;
38611 PyObject
* obj2
= 0 ;
38612 PyObject
* obj3
= 0 ;
38613 PyObject
* obj4
= 0 ;
38614 PyObject
* obj5
= 0 ;
38615 char *kwnames
[] = {
38616 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38621 if (SWIG_arg_fail(1)) SWIG_fail
;
38625 arg3
= (int)(SWIG_As_int(obj2
));
38626 if (SWIG_arg_fail(3)) SWIG_fail
;
38631 arg4
= (int)(SWIG_As_int(obj3
));
38632 if (SWIG_arg_fail(4)) SWIG_fail
;
38637 arg5
= (int)(SWIG_As_int(obj4
));
38638 if (SWIG_arg_fail(5)) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38658 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
;
38660 wxSizer
*arg1
= (wxSizer
*) 0 ;
38662 PyObject
*arg3
= (PyObject
*) 0 ;
38663 int arg4
= (int) 0 ;
38664 int arg5
= (int) 0 ;
38665 int arg6
= (int) 0 ;
38666 PyObject
*arg7
= (PyObject
*) NULL
;
38667 wxSizerItem
*result
;
38668 PyObject
* obj0
= 0 ;
38669 PyObject
* obj1
= 0 ;
38670 PyObject
* obj2
= 0 ;
38671 PyObject
* obj3
= 0 ;
38672 PyObject
* obj4
= 0 ;
38673 PyObject
* obj5
= 0 ;
38674 PyObject
* obj6
= 0 ;
38675 char *kwnames
[] = {
38676 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38681 if (SWIG_arg_fail(1)) SWIG_fail
;
38683 arg2
= (int)(SWIG_As_int(obj1
));
38684 if (SWIG_arg_fail(2)) SWIG_fail
;
38689 arg4
= (int)(SWIG_As_int(obj3
));
38690 if (SWIG_arg_fail(4)) SWIG_fail
;
38695 arg5
= (int)(SWIG_As_int(obj4
));
38696 if (SWIG_arg_fail(5)) SWIG_fail
;
38701 arg6
= (int)(SWIG_As_int(obj5
));
38702 if (SWIG_arg_fail(6)) SWIG_fail
;
38709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38710 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38712 wxPyEndAllowThreads(__tstate
);
38713 if (PyErr_Occurred()) SWIG_fail
;
38715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38722 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38723 PyObject
*resultobj
;
38724 wxSizer
*arg1
= (wxSizer
*) 0 ;
38725 PyObject
*arg2
= (PyObject
*) 0 ;
38726 int arg3
= (int) 0 ;
38727 int arg4
= (int) 0 ;
38728 int arg5
= (int) 0 ;
38729 PyObject
*arg6
= (PyObject
*) NULL
;
38730 wxSizerItem
*result
;
38731 PyObject
* obj0
= 0 ;
38732 PyObject
* obj1
= 0 ;
38733 PyObject
* obj2
= 0 ;
38734 PyObject
* obj3
= 0 ;
38735 PyObject
* obj4
= 0 ;
38736 PyObject
* obj5
= 0 ;
38737 char *kwnames
[] = {
38738 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38743 if (SWIG_arg_fail(1)) SWIG_fail
;
38747 arg3
= (int)(SWIG_As_int(obj2
));
38748 if (SWIG_arg_fail(3)) SWIG_fail
;
38753 arg4
= (int)(SWIG_As_int(obj3
));
38754 if (SWIG_arg_fail(4)) SWIG_fail
;
38759 arg5
= (int)(SWIG_As_int(obj4
));
38760 if (SWIG_arg_fail(5)) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38780 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38781 PyObject
*resultobj
;
38782 wxSizer
*arg1
= (wxSizer
*) 0 ;
38783 PyObject
*arg2
= (PyObject
*) 0 ;
38785 PyObject
* obj0
= 0 ;
38786 PyObject
* obj1
= 0 ;
38787 char *kwnames
[] = {
38788 (char *) "self",(char *) "item", NULL
38791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38793 if (SWIG_arg_fail(1)) SWIG_fail
;
38796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38797 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38799 wxPyEndAllowThreads(__tstate
);
38800 if (PyErr_Occurred()) SWIG_fail
;
38803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38811 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38812 PyObject
*resultobj
;
38813 wxSizer
*arg1
= (wxSizer
*) 0 ;
38814 PyObject
*arg2
= (PyObject
*) 0 ;
38816 PyObject
* obj0
= 0 ;
38817 PyObject
* obj1
= 0 ;
38818 char *kwnames
[] = {
38819 (char *) "self",(char *) "item", NULL
38822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38824 if (SWIG_arg_fail(1)) SWIG_fail
;
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38828 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38842 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38843 PyObject
*resultobj
;
38844 wxSizer
*arg1
= (wxSizer
*) 0 ;
38845 PyObject
*arg2
= (PyObject
*) 0 ;
38846 wxSizerItem
*result
;
38847 PyObject
* obj0
= 0 ;
38848 PyObject
* obj1
= 0 ;
38849 char *kwnames
[] = {
38850 (char *) "self",(char *) "item", NULL
38853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38855 if (SWIG_arg_fail(1)) SWIG_fail
;
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38871 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38872 PyObject
*resultobj
;
38873 wxSizer
*arg1
= (wxSizer
*) 0 ;
38874 PyObject
*arg2
= (PyObject
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 PyObject
* obj2
= 0 ;
38880 char *kwnames
[] = {
38881 (char *) "self",(char *) "item",(char *) "size", NULL
38884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38886 if (SWIG_arg_fail(1)) SWIG_fail
;
38890 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38894 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38899 Py_INCREF(Py_None
); resultobj
= Py_None
;
38906 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38907 PyObject
*resultobj
;
38908 wxSizer
*arg1
= (wxSizer
*) 0 ;
38909 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38910 wxSizerItem
*result
;
38911 PyObject
* obj0
= 0 ;
38912 PyObject
* obj1
= 0 ;
38913 char *kwnames
[] = {
38914 (char *) "self",(char *) "item", NULL
38917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38919 if (SWIG_arg_fail(1)) SWIG_fail
;
38920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38921 if (SWIG_arg_fail(2)) SWIG_fail
;
38923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38924 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38936 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38937 PyObject
*resultobj
;
38938 wxSizer
*arg1
= (wxSizer
*) 0 ;
38940 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
38941 wxSizerItem
*result
;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 PyObject
* obj2
= 0 ;
38945 char *kwnames
[] = {
38946 (char *) "self",(char *) "index",(char *) "item", NULL
38949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38951 if (SWIG_arg_fail(1)) SWIG_fail
;
38953 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
38954 if (SWIG_arg_fail(2)) SWIG_fail
;
38956 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38957 if (SWIG_arg_fail(3)) SWIG_fail
;
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38972 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38973 PyObject
*resultobj
;
38974 wxSizer
*arg1
= (wxSizer
*) 0 ;
38975 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38976 wxSizerItem
*result
;
38977 PyObject
* obj0
= 0 ;
38978 PyObject
* obj1
= 0 ;
38979 char *kwnames
[] = {
38980 (char *) "self",(char *) "item", NULL
38983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38985 if (SWIG_arg_fail(1)) SWIG_fail
;
38986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38987 if (SWIG_arg_fail(2)) SWIG_fail
;
38989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38990 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
38992 wxPyEndAllowThreads(__tstate
);
38993 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39002 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39003 PyObject
*resultobj
;
39004 wxSizer
*arg1
= (wxSizer
*) 0 ;
39009 PyObject
* obj0
= 0 ;
39010 PyObject
* obj1
= 0 ;
39011 PyObject
* obj2
= 0 ;
39012 PyObject
* obj3
= 0 ;
39013 PyObject
* obj4
= 0 ;
39014 char *kwnames
[] = {
39015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39020 if (SWIG_arg_fail(1)) SWIG_fail
;
39022 arg2
= (int)(SWIG_As_int(obj1
));
39023 if (SWIG_arg_fail(2)) SWIG_fail
;
39026 arg3
= (int)(SWIG_As_int(obj2
));
39027 if (SWIG_arg_fail(3)) SWIG_fail
;
39030 arg4
= (int)(SWIG_As_int(obj3
));
39031 if (SWIG_arg_fail(4)) SWIG_fail
;
39034 arg5
= (int)(SWIG_As_int(obj4
));
39035 if (SWIG_arg_fail(5)) SWIG_fail
;
39038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39039 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39041 wxPyEndAllowThreads(__tstate
);
39042 if (PyErr_Occurred()) SWIG_fail
;
39044 Py_INCREF(Py_None
); resultobj
= Py_None
;
39051 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39052 PyObject
*resultobj
;
39053 wxSizer
*arg1
= (wxSizer
*) 0 ;
39056 PyObject
* obj0
= 0 ;
39057 PyObject
* obj1
= 0 ;
39058 char *kwnames
[] = {
39059 (char *) "self",(char *) "size", NULL
39062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39064 if (SWIG_arg_fail(1)) SWIG_fail
;
39067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39076 Py_INCREF(Py_None
); resultobj
= Py_None
;
39083 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39084 PyObject
*resultobj
;
39085 wxSizer
*arg1
= (wxSizer
*) 0 ;
39087 PyObject
* obj0
= 0 ;
39088 char *kwnames
[] = {
39089 (char *) "self", NULL
39092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39094 if (SWIG_arg_fail(1)) SWIG_fail
;
39096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39097 result
= (arg1
)->GetSize();
39099 wxPyEndAllowThreads(__tstate
);
39100 if (PyErr_Occurred()) SWIG_fail
;
39103 wxSize
* resultptr
;
39104 resultptr
= new wxSize((wxSize
&)(result
));
39105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39113 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39114 PyObject
*resultobj
;
39115 wxSizer
*arg1
= (wxSizer
*) 0 ;
39117 PyObject
* obj0
= 0 ;
39118 char *kwnames
[] = {
39119 (char *) "self", NULL
39122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39124 if (SWIG_arg_fail(1)) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 result
= (arg1
)->GetPosition();
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39133 wxPoint
* resultptr
;
39134 resultptr
= new wxPoint((wxPoint
&)(result
));
39135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39143 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxSizer
*arg1
= (wxSizer
*) 0 ;
39147 PyObject
* obj0
= 0 ;
39148 char *kwnames
[] = {
39149 (char *) "self", NULL
39152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39154 if (SWIG_arg_fail(1)) SWIG_fail
;
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 result
= (arg1
)->GetMinSize();
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39163 wxSize
* resultptr
;
39164 resultptr
= new wxSize((wxSize
&)(result
));
39165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39173 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39174 PyObject
*resultobj
;
39175 wxSizer
*arg1
= (wxSizer
*) 0 ;
39176 PyObject
* obj0
= 0 ;
39177 char *kwnames
[] = {
39178 (char *) "self", NULL
39181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39183 if (SWIG_arg_fail(1)) SWIG_fail
;
39185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39186 (arg1
)->RecalcSizes();
39188 wxPyEndAllowThreads(__tstate
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39191 Py_INCREF(Py_None
); resultobj
= Py_None
;
39198 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39199 PyObject
*resultobj
;
39200 wxSizer
*arg1
= (wxSizer
*) 0 ;
39202 PyObject
* obj0
= 0 ;
39203 char *kwnames
[] = {
39204 (char *) "self", NULL
39207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39209 if (SWIG_arg_fail(1)) SWIG_fail
;
39211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39212 result
= (arg1
)->CalcMin();
39214 wxPyEndAllowThreads(__tstate
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39218 wxSize
* resultptr
;
39219 resultptr
= new wxSize((wxSize
&)(result
));
39220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39228 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39229 PyObject
*resultobj
;
39230 wxSizer
*arg1
= (wxSizer
*) 0 ;
39231 PyObject
* obj0
= 0 ;
39232 char *kwnames
[] = {
39233 (char *) "self", NULL
39236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39238 if (SWIG_arg_fail(1)) SWIG_fail
;
39240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39246 Py_INCREF(Py_None
); resultobj
= Py_None
;
39253 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39254 PyObject
*resultobj
;
39255 wxSizer
*arg1
= (wxSizer
*) 0 ;
39256 wxWindow
*arg2
= (wxWindow
*) 0 ;
39258 PyObject
* obj0
= 0 ;
39259 PyObject
* obj1
= 0 ;
39260 char *kwnames
[] = {
39261 (char *) "self",(char *) "window", NULL
39264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39266 if (SWIG_arg_fail(1)) SWIG_fail
;
39267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39268 if (SWIG_arg_fail(2)) SWIG_fail
;
39270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39271 result
= (arg1
)->Fit(arg2
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39277 wxSize
* resultptr
;
39278 resultptr
= new wxSize((wxSize
&)(result
));
39279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39287 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39288 PyObject
*resultobj
;
39289 wxSizer
*arg1
= (wxSizer
*) 0 ;
39290 wxWindow
*arg2
= (wxWindow
*) 0 ;
39291 PyObject
* obj0
= 0 ;
39292 PyObject
* obj1
= 0 ;
39293 char *kwnames
[] = {
39294 (char *) "self",(char *) "window", NULL
39297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39299 if (SWIG_arg_fail(1)) SWIG_fail
;
39300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39301 if (SWIG_arg_fail(2)) SWIG_fail
;
39303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39304 (arg1
)->FitInside(arg2
);
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39309 Py_INCREF(Py_None
); resultobj
= Py_None
;
39316 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39317 PyObject
*resultobj
;
39318 wxSizer
*arg1
= (wxSizer
*) 0 ;
39319 wxWindow
*arg2
= (wxWindow
*) 0 ;
39320 PyObject
* obj0
= 0 ;
39321 PyObject
* obj1
= 0 ;
39322 char *kwnames
[] = {
39323 (char *) "self",(char *) "window", NULL
39326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39328 if (SWIG_arg_fail(1)) SWIG_fail
;
39329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39330 if (SWIG_arg_fail(2)) SWIG_fail
;
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 (arg1
)->SetSizeHints(arg2
);
39335 wxPyEndAllowThreads(__tstate
);
39336 if (PyErr_Occurred()) SWIG_fail
;
39338 Py_INCREF(Py_None
); resultobj
= Py_None
;
39345 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39346 PyObject
*resultobj
;
39347 wxSizer
*arg1
= (wxSizer
*) 0 ;
39348 wxWindow
*arg2
= (wxWindow
*) 0 ;
39349 PyObject
* obj0
= 0 ;
39350 PyObject
* obj1
= 0 ;
39351 char *kwnames
[] = {
39352 (char *) "self",(char *) "window", NULL
39355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39357 if (SWIG_arg_fail(1)) SWIG_fail
;
39358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39359 if (SWIG_arg_fail(2)) SWIG_fail
;
39361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39362 (arg1
)->SetVirtualSizeHints(arg2
);
39364 wxPyEndAllowThreads(__tstate
);
39365 if (PyErr_Occurred()) SWIG_fail
;
39367 Py_INCREF(Py_None
); resultobj
= Py_None
;
39374 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39375 PyObject
*resultobj
;
39376 wxSizer
*arg1
= (wxSizer
*) 0 ;
39377 bool arg2
= (bool) false ;
39378 PyObject
* obj0
= 0 ;
39379 PyObject
* obj1
= 0 ;
39380 char *kwnames
[] = {
39381 (char *) "self",(char *) "deleteWindows", NULL
39384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39386 if (SWIG_arg_fail(1)) SWIG_fail
;
39389 arg2
= (bool)(SWIG_As_bool(obj1
));
39390 if (SWIG_arg_fail(2)) SWIG_fail
;
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 (arg1
)->Clear(arg2
);
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 Py_INCREF(Py_None
); resultobj
= Py_None
;
39407 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39408 PyObject
*resultobj
;
39409 wxSizer
*arg1
= (wxSizer
*) 0 ;
39410 PyObject
* obj0
= 0 ;
39411 char *kwnames
[] = {
39412 (char *) "self", NULL
39415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39417 if (SWIG_arg_fail(1)) SWIG_fail
;
39419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39420 (arg1
)->DeleteWindows();
39422 wxPyEndAllowThreads(__tstate
);
39423 if (PyErr_Occurred()) SWIG_fail
;
39425 Py_INCREF(Py_None
); resultobj
= Py_None
;
39432 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39433 PyObject
*resultobj
;
39434 wxSizer
*arg1
= (wxSizer
*) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 char *kwnames
[] = {
39438 (char *) "self", NULL
39441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39443 if (SWIG_arg_fail(1)) SWIG_fail
;
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39446 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= result
;
39458 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39459 PyObject
*resultobj
;
39460 wxSizer
*arg1
= (wxSizer
*) 0 ;
39461 PyObject
*arg2
= (PyObject
*) 0 ;
39462 bool arg3
= (bool) true ;
39463 bool arg4
= (bool) false ;
39465 PyObject
* obj0
= 0 ;
39466 PyObject
* obj1
= 0 ;
39467 PyObject
* obj2
= 0 ;
39468 PyObject
* obj3
= 0 ;
39469 char *kwnames
[] = {
39470 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39475 if (SWIG_arg_fail(1)) SWIG_fail
;
39479 arg3
= (bool)(SWIG_As_bool(obj2
));
39480 if (SWIG_arg_fail(3)) SWIG_fail
;
39485 arg4
= (bool)(SWIG_As_bool(obj3
));
39486 if (SWIG_arg_fail(4)) SWIG_fail
;
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39505 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
;
39507 wxSizer
*arg1
= (wxSizer
*) 0 ;
39508 PyObject
*arg2
= (PyObject
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 PyObject
* obj1
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self",(char *) "item", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39518 if (SWIG_arg_fail(1)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39536 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39537 PyObject
*resultobj
;
39538 wxSizer
*arg1
= (wxSizer
*) 0 ;
39540 PyObject
* obj0
= 0 ;
39541 PyObject
* obj1
= 0 ;
39542 char *kwnames
[] = {
39543 (char *) "self",(char *) "show", NULL
39546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39548 if (SWIG_arg_fail(1)) SWIG_fail
;
39550 arg2
= (bool)(SWIG_As_bool(obj1
));
39551 if (SWIG_arg_fail(2)) SWIG_fail
;
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 (arg1
)->ShowItems(arg2
);
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39560 Py_INCREF(Py_None
); resultobj
= Py_None
;
39567 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39570 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39572 return Py_BuildValue((char *)"");
39574 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39575 PyObject
*resultobj
;
39577 char *kwnames
[] = {
39581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (wxPySizer
*)new wxPySizer();
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39596 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39599 PyObject
*arg2
= (PyObject
*) 0 ;
39600 PyObject
*arg3
= (PyObject
*) 0 ;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 PyObject
* obj2
= 0 ;
39604 char *kwnames
[] = {
39605 (char *) "self",(char *) "self",(char *) "_class", NULL
39608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39610 if (SWIG_arg_fail(1)) SWIG_fail
;
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 Py_INCREF(Py_None
); resultobj
= Py_None
;
39627 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39630 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39632 return Py_BuildValue((char *)"");
39634 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39636 int arg1
= (int) wxHORIZONTAL
;
39637 wxBoxSizer
*result
;
39638 PyObject
* obj0
= 0 ;
39639 char *kwnames
[] = {
39640 (char *) "orient", NULL
39643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39646 arg1
= (int)(SWIG_As_int(obj0
));
39647 if (SWIG_arg_fail(1)) SWIG_fail
;
39651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39652 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39654 wxPyEndAllowThreads(__tstate
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39664 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39665 PyObject
*resultobj
;
39666 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39668 PyObject
* obj0
= 0 ;
39669 char *kwnames
[] = {
39670 (char *) "self", NULL
39673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39675 if (SWIG_arg_fail(1)) SWIG_fail
;
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 result
= (int)(arg1
)->GetOrientation();
39680 wxPyEndAllowThreads(__tstate
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39684 resultobj
= SWIG_From_int((int)(result
));
39692 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
;
39694 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39696 PyObject
* obj0
= 0 ;
39697 PyObject
* obj1
= 0 ;
39698 char *kwnames
[] = {
39699 (char *) "self",(char *) "orient", NULL
39702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39704 if (SWIG_arg_fail(1)) SWIG_fail
;
39706 arg2
= (int)(SWIG_As_int(obj1
));
39707 if (SWIG_arg_fail(2)) SWIG_fail
;
39710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39711 (arg1
)->SetOrientation(arg2
);
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39716 Py_INCREF(Py_None
); resultobj
= Py_None
;
39723 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39726 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39728 return Py_BuildValue((char *)"");
39730 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
;
39732 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39733 int arg2
= (int) wxHORIZONTAL
;
39734 wxStaticBoxSizer
*result
;
39735 PyObject
* obj0
= 0 ;
39736 PyObject
* obj1
= 0 ;
39737 char *kwnames
[] = {
39738 (char *) "box",(char *) "orient", NULL
39741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39743 if (SWIG_arg_fail(1)) SWIG_fail
;
39746 arg2
= (int)(SWIG_As_int(obj1
));
39747 if (SWIG_arg_fail(2)) SWIG_fail
;
39751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39752 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39754 wxPyEndAllowThreads(__tstate
);
39755 if (PyErr_Occurred()) SWIG_fail
;
39757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39764 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39765 PyObject
*resultobj
;
39766 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39767 wxStaticBox
*result
;
39768 PyObject
* obj0
= 0 ;
39769 char *kwnames
[] = {
39770 (char *) "self", NULL
39773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39775 if (SWIG_arg_fail(1)) SWIG_fail
;
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39780 wxPyEndAllowThreads(__tstate
);
39781 if (PyErr_Occurred()) SWIG_fail
;
39784 resultobj
= wxPyMake_wxObject(result
, 0);
39792 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39795 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39797 return Py_BuildValue((char *)"");
39799 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39800 PyObject
*resultobj
;
39801 int arg1
= (int) 1 ;
39802 int arg2
= (int) 0 ;
39803 int arg3
= (int) 0 ;
39804 int arg4
= (int) 0 ;
39805 wxGridSizer
*result
;
39806 PyObject
* obj0
= 0 ;
39807 PyObject
* obj1
= 0 ;
39808 PyObject
* obj2
= 0 ;
39809 PyObject
* obj3
= 0 ;
39810 char *kwnames
[] = {
39811 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39817 arg1
= (int)(SWIG_As_int(obj0
));
39818 if (SWIG_arg_fail(1)) SWIG_fail
;
39823 arg2
= (int)(SWIG_As_int(obj1
));
39824 if (SWIG_arg_fail(2)) SWIG_fail
;
39829 arg3
= (int)(SWIG_As_int(obj2
));
39830 if (SWIG_arg_fail(3)) SWIG_fail
;
39835 arg4
= (int)(SWIG_As_int(obj3
));
39836 if (SWIG_arg_fail(4)) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39843 wxPyEndAllowThreads(__tstate
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39853 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39854 PyObject
*resultobj
;
39855 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39857 PyObject
* obj0
= 0 ;
39858 PyObject
* obj1
= 0 ;
39859 char *kwnames
[] = {
39860 (char *) "self",(char *) "cols", NULL
39863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39865 if (SWIG_arg_fail(1)) SWIG_fail
;
39867 arg2
= (int)(SWIG_As_int(obj1
));
39868 if (SWIG_arg_fail(2)) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 (arg1
)->SetCols(arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 Py_INCREF(Py_None
); resultobj
= Py_None
;
39884 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39888 PyObject
* obj0
= 0 ;
39889 PyObject
* obj1
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self",(char *) "rows", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39896 if (SWIG_arg_fail(1)) SWIG_fail
;
39898 arg2
= (int)(SWIG_As_int(obj1
));
39899 if (SWIG_arg_fail(2)) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 (arg1
)->SetRows(arg2
);
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 Py_INCREF(Py_None
); resultobj
= Py_None
;
39915 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39919 PyObject
* obj0
= 0 ;
39920 PyObject
* obj1
= 0 ;
39921 char *kwnames
[] = {
39922 (char *) "self",(char *) "gap", NULL
39925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39927 if (SWIG_arg_fail(1)) SWIG_fail
;
39929 arg2
= (int)(SWIG_As_int(obj1
));
39930 if (SWIG_arg_fail(2)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 (arg1
)->SetVGap(arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 Py_INCREF(Py_None
); resultobj
= Py_None
;
39946 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39950 PyObject
* obj0
= 0 ;
39951 PyObject
* obj1
= 0 ;
39952 char *kwnames
[] = {
39953 (char *) "self",(char *) "gap", NULL
39956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39958 if (SWIG_arg_fail(1)) SWIG_fail
;
39960 arg2
= (int)(SWIG_As_int(obj1
));
39961 if (SWIG_arg_fail(2)) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 (arg1
)->SetHGap(arg2
);
39967 wxPyEndAllowThreads(__tstate
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 Py_INCREF(Py_None
); resultobj
= Py_None
;
39977 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39981 PyObject
* obj0
= 0 ;
39982 char *kwnames
[] = {
39983 (char *) "self", NULL
39986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
39987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39988 if (SWIG_arg_fail(1)) SWIG_fail
;
39990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39991 result
= (int)(arg1
)->GetCols();
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39997 resultobj
= SWIG_From_int((int)(result
));
40005 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40006 PyObject
*resultobj
;
40007 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40009 PyObject
* obj0
= 0 ;
40010 char *kwnames
[] = {
40011 (char *) "self", NULL
40014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40016 if (SWIG_arg_fail(1)) SWIG_fail
;
40018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40019 result
= (int)(arg1
)->GetRows();
40021 wxPyEndAllowThreads(__tstate
);
40022 if (PyErr_Occurred()) SWIG_fail
;
40025 resultobj
= SWIG_From_int((int)(result
));
40033 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40034 PyObject
*resultobj
;
40035 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40037 PyObject
* obj0
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40044 if (SWIG_arg_fail(1)) SWIG_fail
;
40046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40047 result
= (int)(arg1
)->GetVGap();
40049 wxPyEndAllowThreads(__tstate
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40053 resultobj
= SWIG_From_int((int)(result
));
40061 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40065 PyObject
* obj0
= 0 ;
40066 char *kwnames
[] = {
40067 (char *) "self", NULL
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40072 if (SWIG_arg_fail(1)) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 result
= (int)(arg1
)->GetHGap();
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= SWIG_From_int((int)(result
));
40089 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40092 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40094 return Py_BuildValue((char *)"");
40096 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 int arg1
= (int) 1 ;
40099 int arg2
= (int) 0 ;
40100 int arg3
= (int) 0 ;
40101 int arg4
= (int) 0 ;
40102 wxFlexGridSizer
*result
;
40103 PyObject
* obj0
= 0 ;
40104 PyObject
* obj1
= 0 ;
40105 PyObject
* obj2
= 0 ;
40106 PyObject
* obj3
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40114 arg1
= (int)(SWIG_As_int(obj0
));
40115 if (SWIG_arg_fail(1)) SWIG_fail
;
40120 arg2
= (int)(SWIG_As_int(obj1
));
40121 if (SWIG_arg_fail(2)) SWIG_fail
;
40126 arg3
= (int)(SWIG_As_int(obj2
));
40127 if (SWIG_arg_fail(3)) SWIG_fail
;
40132 arg4
= (int)(SWIG_As_int(obj3
));
40133 if (SWIG_arg_fail(4)) SWIG_fail
;
40137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40138 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40150 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40151 PyObject
*resultobj
;
40152 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40154 int arg3
= (int) 0 ;
40155 PyObject
* obj0
= 0 ;
40156 PyObject
* obj1
= 0 ;
40157 PyObject
* obj2
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40164 if (SWIG_arg_fail(1)) SWIG_fail
;
40166 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40167 if (SWIG_arg_fail(2)) SWIG_fail
;
40171 arg3
= (int)(SWIG_As_int(obj2
));
40172 if (SWIG_arg_fail(3)) SWIG_fail
;
40176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40177 (arg1
)->AddGrowableRow(arg2
,arg3
);
40179 wxPyEndAllowThreads(__tstate
);
40180 if (PyErr_Occurred()) SWIG_fail
;
40182 Py_INCREF(Py_None
); resultobj
= Py_None
;
40189 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40190 PyObject
*resultobj
;
40191 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40193 PyObject
* obj0
= 0 ;
40194 PyObject
* obj1
= 0 ;
40195 char *kwnames
[] = {
40196 (char *) "self",(char *) "idx", NULL
40199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40201 if (SWIG_arg_fail(1)) SWIG_fail
;
40203 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40204 if (SWIG_arg_fail(2)) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 (arg1
)->RemoveGrowableRow(arg2
);
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 Py_INCREF(Py_None
); resultobj
= Py_None
;
40220 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40224 int arg3
= (int) 0 ;
40225 PyObject
* obj0
= 0 ;
40226 PyObject
* obj1
= 0 ;
40227 PyObject
* obj2
= 0 ;
40228 char *kwnames
[] = {
40229 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40234 if (SWIG_arg_fail(1)) SWIG_fail
;
40236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40237 if (SWIG_arg_fail(2)) SWIG_fail
;
40241 arg3
= (int)(SWIG_As_int(obj2
));
40242 if (SWIG_arg_fail(3)) SWIG_fail
;
40246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40247 (arg1
)->AddGrowableCol(arg2
,arg3
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40252 Py_INCREF(Py_None
); resultobj
= Py_None
;
40259 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40260 PyObject
*resultobj
;
40261 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40263 PyObject
* obj0
= 0 ;
40264 PyObject
* obj1
= 0 ;
40265 char *kwnames
[] = {
40266 (char *) "self",(char *) "idx", NULL
40269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40271 if (SWIG_arg_fail(1)) SWIG_fail
;
40273 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40274 if (SWIG_arg_fail(2)) SWIG_fail
;
40277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40278 (arg1
)->RemoveGrowableCol(arg2
);
40280 wxPyEndAllowThreads(__tstate
);
40281 if (PyErr_Occurred()) SWIG_fail
;
40283 Py_INCREF(Py_None
); resultobj
= Py_None
;
40290 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40291 PyObject
*resultobj
;
40292 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40294 PyObject
* obj0
= 0 ;
40295 PyObject
* obj1
= 0 ;
40296 char *kwnames
[] = {
40297 (char *) "self",(char *) "direction", NULL
40300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40302 if (SWIG_arg_fail(1)) SWIG_fail
;
40304 arg2
= (int)(SWIG_As_int(obj1
));
40305 if (SWIG_arg_fail(2)) SWIG_fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 (arg1
)->SetFlexibleDirection(arg2
);
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 Py_INCREF(Py_None
); resultobj
= Py_None
;
40321 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40325 PyObject
* obj0
= 0 ;
40326 char *kwnames
[] = {
40327 (char *) "self", NULL
40330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40332 if (SWIG_arg_fail(1)) SWIG_fail
;
40334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40335 result
= (int)(arg1
)->GetFlexibleDirection();
40337 wxPyEndAllowThreads(__tstate
);
40338 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_From_int((int)(result
));
40349 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40350 PyObject
*resultobj
;
40351 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40352 wxFlexSizerGrowMode arg2
;
40353 PyObject
* obj0
= 0 ;
40354 PyObject
* obj1
= 0 ;
40355 char *kwnames
[] = {
40356 (char *) "self",(char *) "mode", NULL
40359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40361 if (SWIG_arg_fail(1)) SWIG_fail
;
40363 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40364 if (SWIG_arg_fail(2)) SWIG_fail
;
40367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40368 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40370 wxPyEndAllowThreads(__tstate
);
40371 if (PyErr_Occurred()) SWIG_fail
;
40373 Py_INCREF(Py_None
); resultobj
= Py_None
;
40380 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
;
40382 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40383 wxFlexSizerGrowMode result
;
40384 PyObject
* obj0
= 0 ;
40385 char *kwnames
[] = {
40386 (char *) "self", NULL
40389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40391 if (SWIG_arg_fail(1)) SWIG_fail
;
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40396 wxPyEndAllowThreads(__tstate
);
40397 if (PyErr_Occurred()) SWIG_fail
;
40399 resultobj
= SWIG_From_int((result
));
40406 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
;
40408 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40409 wxArrayInt
*result
;
40410 PyObject
* obj0
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40417 if (SWIG_arg_fail(1)) SWIG_fail
;
40419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40421 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40422 result
= (wxArrayInt
*) &_result_ref
;
40425 wxPyEndAllowThreads(__tstate
);
40426 if (PyErr_Occurred()) SWIG_fail
;
40429 resultobj
= PyList_New(0);
40431 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40432 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40433 PyList_Append(resultobj
, val
);
40443 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40444 PyObject
*resultobj
;
40445 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40446 wxArrayInt
*result
;
40447 PyObject
* obj0
= 0 ;
40448 char *kwnames
[] = {
40449 (char *) "self", NULL
40452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40454 if (SWIG_arg_fail(1)) SWIG_fail
;
40456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40458 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40459 result
= (wxArrayInt
*) &_result_ref
;
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40466 resultobj
= PyList_New(0);
40468 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40469 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40470 PyList_Append(resultobj
, val
);
40480 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40483 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40485 return Py_BuildValue((char *)"");
40487 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40488 PyObject
*resultobj
;
40489 wxStdDialogButtonSizer
*result
;
40490 char *kwnames
[] = {
40494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40497 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40499 wxPyEndAllowThreads(__tstate
);
40500 if (PyErr_Occurred()) SWIG_fail
;
40502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40509 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40510 PyObject
*resultobj
;
40511 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40512 wxButton
*arg2
= (wxButton
*) 0 ;
40513 PyObject
* obj0
= 0 ;
40514 PyObject
* obj1
= 0 ;
40515 char *kwnames
[] = {
40516 (char *) "self",(char *) "button", NULL
40519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40521 if (SWIG_arg_fail(1)) SWIG_fail
;
40522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40523 if (SWIG_arg_fail(2)) SWIG_fail
;
40525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40526 (arg1
)->AddButton(arg2
);
40528 wxPyEndAllowThreads(__tstate
);
40529 if (PyErr_Occurred()) SWIG_fail
;
40531 Py_INCREF(Py_None
); resultobj
= Py_None
;
40538 static PyObject
*_wrap_StdDialogButtonSizer_Finalise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40539 PyObject
*resultobj
;
40540 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40541 PyObject
* obj0
= 0 ;
40542 char *kwnames
[] = {
40543 (char *) "self", NULL
40546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Finalise",kwnames
,&obj0
)) goto fail
;
40547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40548 if (SWIG_arg_fail(1)) SWIG_fail
;
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 (arg1
)->Finalise();
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40556 Py_INCREF(Py_None
); resultobj
= Py_None
;
40563 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40564 PyObject
*resultobj
;
40565 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40566 wxButton
*arg2
= (wxButton
*) 0 ;
40567 PyObject
* obj0
= 0 ;
40568 PyObject
* obj1
= 0 ;
40569 char *kwnames
[] = {
40570 (char *) "self",(char *) "button", NULL
40573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40575 if (SWIG_arg_fail(1)) SWIG_fail
;
40576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40577 if (SWIG_arg_fail(2)) SWIG_fail
;
40579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40580 (arg1
)->SetAffirmativeButton(arg2
);
40582 wxPyEndAllowThreads(__tstate
);
40583 if (PyErr_Occurred()) SWIG_fail
;
40585 Py_INCREF(Py_None
); resultobj
= Py_None
;
40592 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40593 PyObject
*resultobj
;
40594 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40595 wxButton
*arg2
= (wxButton
*) 0 ;
40596 PyObject
* obj0
= 0 ;
40597 PyObject
* obj1
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "self",(char *) "button", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40604 if (SWIG_arg_fail(1)) SWIG_fail
;
40605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40606 if (SWIG_arg_fail(2)) SWIG_fail
;
40608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40609 (arg1
)->SetNegativeButton(arg2
);
40611 wxPyEndAllowThreads(__tstate
);
40612 if (PyErr_Occurred()) SWIG_fail
;
40614 Py_INCREF(Py_None
); resultobj
= Py_None
;
40621 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40622 PyObject
*resultobj
;
40623 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40624 wxButton
*arg2
= (wxButton
*) 0 ;
40625 PyObject
* obj0
= 0 ;
40626 PyObject
* obj1
= 0 ;
40627 char *kwnames
[] = {
40628 (char *) "self",(char *) "button", NULL
40631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40633 if (SWIG_arg_fail(1)) SWIG_fail
;
40634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40635 if (SWIG_arg_fail(2)) SWIG_fail
;
40637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40638 (arg1
)->SetCancelButton(arg2
);
40640 wxPyEndAllowThreads(__tstate
);
40641 if (PyErr_Occurred()) SWIG_fail
;
40643 Py_INCREF(Py_None
); resultobj
= Py_None
;
40650 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40651 PyObject
*resultobj
;
40652 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40654 PyObject
* obj0
= 0 ;
40655 char *kwnames
[] = {
40656 (char *) "self", NULL
40659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40661 if (SWIG_arg_fail(1)) SWIG_fail
;
40663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40664 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40666 wxPyEndAllowThreads(__tstate
);
40667 if (PyErr_Occurred()) SWIG_fail
;
40670 resultobj
= wxPyMake_wxObject(result
, 0);
40678 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40679 PyObject
*resultobj
;
40680 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40682 PyObject
* obj0
= 0 ;
40683 char *kwnames
[] = {
40684 (char *) "self", NULL
40687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40689 if (SWIG_arg_fail(1)) SWIG_fail
;
40691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40692 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40694 wxPyEndAllowThreads(__tstate
);
40695 if (PyErr_Occurred()) SWIG_fail
;
40698 resultobj
= wxPyMake_wxObject(result
, 0);
40706 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40707 PyObject
*resultobj
;
40708 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40710 PyObject
* obj0
= 0 ;
40711 char *kwnames
[] = {
40712 (char *) "self", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40717 if (SWIG_arg_fail(1)) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40722 wxPyEndAllowThreads(__tstate
);
40723 if (PyErr_Occurred()) SWIG_fail
;
40726 resultobj
= wxPyMake_wxObject(result
, 0);
40734 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40735 PyObject
*resultobj
;
40736 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40738 PyObject
* obj0
= 0 ;
40739 char *kwnames
[] = {
40740 (char *) "self", NULL
40743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40745 if (SWIG_arg_fail(1)) SWIG_fail
;
40747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40748 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40750 wxPyEndAllowThreads(__tstate
);
40751 if (PyErr_Occurred()) SWIG_fail
;
40754 resultobj
= wxPyMake_wxObject(result
, 0);
40762 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40763 PyObject
*resultobj
;
40764 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40766 PyObject
* obj0
= 0 ;
40767 char *kwnames
[] = {
40768 (char *) "self", NULL
40771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40773 if (SWIG_arg_fail(1)) SWIG_fail
;
40775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40776 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40778 wxPyEndAllowThreads(__tstate
);
40779 if (PyErr_Occurred()) SWIG_fail
;
40782 resultobj
= wxPyMake_wxObject(result
, 0);
40790 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40793 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40795 return Py_BuildValue((char *)"");
40797 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40798 PyObject
*resultobj
;
40799 int arg1
= (int) 0 ;
40800 int arg2
= (int) 0 ;
40801 wxGBPosition
*result
;
40802 PyObject
* obj0
= 0 ;
40803 PyObject
* obj1
= 0 ;
40804 char *kwnames
[] = {
40805 (char *) "row",(char *) "col", NULL
40808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40811 arg1
= (int)(SWIG_As_int(obj0
));
40812 if (SWIG_arg_fail(1)) SWIG_fail
;
40817 arg2
= (int)(SWIG_As_int(obj1
));
40818 if (SWIG_arg_fail(2)) SWIG_fail
;
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40825 wxPyEndAllowThreads(__tstate
);
40826 if (PyErr_Occurred()) SWIG_fail
;
40828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40835 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40836 PyObject
*resultobj
;
40837 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40839 PyObject
* obj0
= 0 ;
40840 char *kwnames
[] = {
40841 (char *) "self", NULL
40844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40846 if (SWIG_arg_fail(1)) SWIG_fail
;
40848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40849 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40851 wxPyEndAllowThreads(__tstate
);
40852 if (PyErr_Occurred()) SWIG_fail
;
40855 resultobj
= SWIG_From_int((int)(result
));
40863 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40864 PyObject
*resultobj
;
40865 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40867 PyObject
* obj0
= 0 ;
40868 char *kwnames
[] = {
40869 (char *) "self", NULL
40872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40874 if (SWIG_arg_fail(1)) SWIG_fail
;
40876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40877 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40883 resultobj
= SWIG_From_int((int)(result
));
40891 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40892 PyObject
*resultobj
;
40893 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40895 PyObject
* obj0
= 0 ;
40896 PyObject
* obj1
= 0 ;
40897 char *kwnames
[] = {
40898 (char *) "self",(char *) "row", NULL
40901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40903 if (SWIG_arg_fail(1)) SWIG_fail
;
40905 arg2
= (int)(SWIG_As_int(obj1
));
40906 if (SWIG_arg_fail(2)) SWIG_fail
;
40909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40910 (arg1
)->SetRow(arg2
);
40912 wxPyEndAllowThreads(__tstate
);
40913 if (PyErr_Occurred()) SWIG_fail
;
40915 Py_INCREF(Py_None
); resultobj
= Py_None
;
40922 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40923 PyObject
*resultobj
;
40924 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40926 PyObject
* obj0
= 0 ;
40927 PyObject
* obj1
= 0 ;
40928 char *kwnames
[] = {
40929 (char *) "self",(char *) "col", NULL
40932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40934 if (SWIG_arg_fail(1)) SWIG_fail
;
40936 arg2
= (int)(SWIG_As_int(obj1
));
40937 if (SWIG_arg_fail(2)) SWIG_fail
;
40940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 (arg1
)->SetCol(arg2
);
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40946 Py_INCREF(Py_None
); resultobj
= Py_None
;
40953 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40954 PyObject
*resultobj
;
40955 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40956 wxGBPosition
*arg2
= 0 ;
40958 wxGBPosition temp2
;
40959 PyObject
* obj0
= 0 ;
40960 PyObject
* obj1
= 0 ;
40961 char *kwnames
[] = {
40962 (char *) "self",(char *) "other", NULL
40965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40967 if (SWIG_arg_fail(1)) SWIG_fail
;
40970 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40988 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40989 PyObject
*resultobj
;
40990 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40991 wxGBPosition
*arg2
= 0 ;
40993 wxGBPosition temp2
;
40994 PyObject
* obj0
= 0 ;
40995 PyObject
* obj1
= 0 ;
40996 char *kwnames
[] = {
40997 (char *) "self",(char *) "other", NULL
41000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41002 if (SWIG_arg_fail(1)) SWIG_fail
;
41005 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41009 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41011 wxPyEndAllowThreads(__tstate
);
41012 if (PyErr_Occurred()) SWIG_fail
;
41015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41023 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41024 PyObject
*resultobj
;
41025 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41026 int arg2
= (int) 0 ;
41027 int arg3
= (int) 0 ;
41028 PyObject
* obj0
= 0 ;
41029 PyObject
* obj1
= 0 ;
41030 PyObject
* obj2
= 0 ;
41031 char *kwnames
[] = {
41032 (char *) "self",(char *) "row",(char *) "col", NULL
41035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41037 if (SWIG_arg_fail(1)) SWIG_fail
;
41040 arg2
= (int)(SWIG_As_int(obj1
));
41041 if (SWIG_arg_fail(2)) SWIG_fail
;
41046 arg3
= (int)(SWIG_As_int(obj2
));
41047 if (SWIG_arg_fail(3)) SWIG_fail
;
41051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41052 wxGBPosition_Set(arg1
,arg2
,arg3
);
41054 wxPyEndAllowThreads(__tstate
);
41055 if (PyErr_Occurred()) SWIG_fail
;
41057 Py_INCREF(Py_None
); resultobj
= Py_None
;
41064 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41065 PyObject
*resultobj
;
41066 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41068 PyObject
* obj0
= 0 ;
41069 char *kwnames
[] = {
41070 (char *) "self", NULL
41073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41075 if (SWIG_arg_fail(1)) SWIG_fail
;
41077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41078 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41080 wxPyEndAllowThreads(__tstate
);
41081 if (PyErr_Occurred()) SWIG_fail
;
41083 resultobj
= result
;
41090 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41093 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41095 return Py_BuildValue((char *)"");
41097 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 int arg1
= (int) 1 ;
41100 int arg2
= (int) 1 ;
41102 PyObject
* obj0
= 0 ;
41103 PyObject
* obj1
= 0 ;
41104 char *kwnames
[] = {
41105 (char *) "rowspan",(char *) "colspan", NULL
41108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41111 arg1
= (int)(SWIG_As_int(obj0
));
41112 if (SWIG_arg_fail(1)) SWIG_fail
;
41117 arg2
= (int)(SWIG_As_int(obj1
));
41118 if (SWIG_arg_fail(2)) SWIG_fail
;
41122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41123 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41125 wxPyEndAllowThreads(__tstate
);
41126 if (PyErr_Occurred()) SWIG_fail
;
41128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41135 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41136 PyObject
*resultobj
;
41137 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41139 PyObject
* obj0
= 0 ;
41140 char *kwnames
[] = {
41141 (char *) "self", NULL
41144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41146 if (SWIG_arg_fail(1)) SWIG_fail
;
41148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41149 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41151 wxPyEndAllowThreads(__tstate
);
41152 if (PyErr_Occurred()) SWIG_fail
;
41155 resultobj
= SWIG_From_int((int)(result
));
41163 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41164 PyObject
*resultobj
;
41165 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41167 PyObject
* obj0
= 0 ;
41168 char *kwnames
[] = {
41169 (char *) "self", NULL
41172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41174 if (SWIG_arg_fail(1)) SWIG_fail
;
41176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41177 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41179 wxPyEndAllowThreads(__tstate
);
41180 if (PyErr_Occurred()) SWIG_fail
;
41183 resultobj
= SWIG_From_int((int)(result
));
41191 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41192 PyObject
*resultobj
;
41193 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41195 PyObject
* obj0
= 0 ;
41196 PyObject
* obj1
= 0 ;
41197 char *kwnames
[] = {
41198 (char *) "self",(char *) "rowspan", NULL
41201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41203 if (SWIG_arg_fail(1)) SWIG_fail
;
41205 arg2
= (int)(SWIG_As_int(obj1
));
41206 if (SWIG_arg_fail(2)) SWIG_fail
;
41209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41210 (arg1
)->SetRowspan(arg2
);
41212 wxPyEndAllowThreads(__tstate
);
41213 if (PyErr_Occurred()) SWIG_fail
;
41215 Py_INCREF(Py_None
); resultobj
= Py_None
;
41222 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41223 PyObject
*resultobj
;
41224 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41226 PyObject
* obj0
= 0 ;
41227 PyObject
* obj1
= 0 ;
41228 char *kwnames
[] = {
41229 (char *) "self",(char *) "colspan", NULL
41232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41234 if (SWIG_arg_fail(1)) SWIG_fail
;
41236 arg2
= (int)(SWIG_As_int(obj1
));
41237 if (SWIG_arg_fail(2)) SWIG_fail
;
41240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41241 (arg1
)->SetColspan(arg2
);
41243 wxPyEndAllowThreads(__tstate
);
41244 if (PyErr_Occurred()) SWIG_fail
;
41246 Py_INCREF(Py_None
); resultobj
= Py_None
;
41253 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41254 PyObject
*resultobj
;
41255 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41256 wxGBSpan
*arg2
= 0 ;
41259 PyObject
* obj0
= 0 ;
41260 PyObject
* obj1
= 0 ;
41261 char *kwnames
[] = {
41262 (char *) "self",(char *) "other", NULL
41265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41267 if (SWIG_arg_fail(1)) SWIG_fail
;
41270 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41274 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41276 wxPyEndAllowThreads(__tstate
);
41277 if (PyErr_Occurred()) SWIG_fail
;
41280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41288 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41289 PyObject
*resultobj
;
41290 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41291 wxGBSpan
*arg2
= 0 ;
41294 PyObject
* obj0
= 0 ;
41295 PyObject
* obj1
= 0 ;
41296 char *kwnames
[] = {
41297 (char *) "self",(char *) "other", NULL
41300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41302 if (SWIG_arg_fail(1)) SWIG_fail
;
41305 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41309 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41311 wxPyEndAllowThreads(__tstate
);
41312 if (PyErr_Occurred()) SWIG_fail
;
41315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41323 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41324 PyObject
*resultobj
;
41325 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41326 int arg2
= (int) 1 ;
41327 int arg3
= (int) 1 ;
41328 PyObject
* obj0
= 0 ;
41329 PyObject
* obj1
= 0 ;
41330 PyObject
* obj2
= 0 ;
41331 char *kwnames
[] = {
41332 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41337 if (SWIG_arg_fail(1)) SWIG_fail
;
41340 arg2
= (int)(SWIG_As_int(obj1
));
41341 if (SWIG_arg_fail(2)) SWIG_fail
;
41346 arg3
= (int)(SWIG_As_int(obj2
));
41347 if (SWIG_arg_fail(3)) SWIG_fail
;
41351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41352 wxGBSpan_Set(arg1
,arg2
,arg3
);
41354 wxPyEndAllowThreads(__tstate
);
41355 if (PyErr_Occurred()) SWIG_fail
;
41357 Py_INCREF(Py_None
); resultobj
= Py_None
;
41364 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41365 PyObject
*resultobj
;
41366 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41368 PyObject
* obj0
= 0 ;
41369 char *kwnames
[] = {
41370 (char *) "self", NULL
41373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41375 if (SWIG_arg_fail(1)) SWIG_fail
;
41377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41378 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41380 wxPyEndAllowThreads(__tstate
);
41381 if (PyErr_Occurred()) SWIG_fail
;
41383 resultobj
= result
;
41390 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41393 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41395 return Py_BuildValue((char *)"");
41397 static int _wrap_DefaultSpan_set(PyObject
*) {
41398 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41403 static PyObject
*_wrap_DefaultSpan_get(void) {
41406 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41411 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
;
41413 wxGBSizerItem
*result
;
41414 char *kwnames
[] = {
41418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41421 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41423 wxPyEndAllowThreads(__tstate
);
41424 if (PyErr_Occurred()) SWIG_fail
;
41426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41433 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41434 PyObject
*resultobj
;
41435 wxWindow
*arg1
= (wxWindow
*) 0 ;
41436 wxGBPosition
*arg2
= 0 ;
41437 wxGBSpan
*arg3
= 0 ;
41440 PyObject
*arg6
= (PyObject
*) NULL
;
41441 wxGBSizerItem
*result
;
41442 wxGBPosition temp2
;
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 char *kwnames
[] = {
41451 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41456 if (SWIG_arg_fail(1)) SWIG_fail
;
41459 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41463 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41466 arg4
= (int)(SWIG_As_int(obj3
));
41467 if (SWIG_arg_fail(4)) SWIG_fail
;
41470 arg5
= (int)(SWIG_As_int(obj4
));
41471 if (SWIG_arg_fail(5)) SWIG_fail
;
41477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41478 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41490 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41491 PyObject
*resultobj
;
41492 wxSizer
*arg1
= (wxSizer
*) 0 ;
41493 wxGBPosition
*arg2
= 0 ;
41494 wxGBSpan
*arg3
= 0 ;
41497 PyObject
*arg6
= (PyObject
*) NULL
;
41498 wxGBSizerItem
*result
;
41499 wxGBPosition temp2
;
41501 PyObject
* obj0
= 0 ;
41502 PyObject
* obj1
= 0 ;
41503 PyObject
* obj2
= 0 ;
41504 PyObject
* obj3
= 0 ;
41505 PyObject
* obj4
= 0 ;
41506 PyObject
* obj5
= 0 ;
41507 char *kwnames
[] = {
41508 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41513 if (SWIG_arg_fail(1)) SWIG_fail
;
41516 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41520 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41523 arg4
= (int)(SWIG_As_int(obj3
));
41524 if (SWIG_arg_fail(4)) SWIG_fail
;
41527 arg5
= (int)(SWIG_As_int(obj4
));
41528 if (SWIG_arg_fail(5)) SWIG_fail
;
41534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41535 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41537 wxPyEndAllowThreads(__tstate
);
41538 if (PyErr_Occurred()) SWIG_fail
;
41540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41547 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41548 PyObject
*resultobj
;
41551 wxGBPosition
*arg3
= 0 ;
41552 wxGBSpan
*arg4
= 0 ;
41555 PyObject
*arg7
= (PyObject
*) NULL
;
41556 wxGBSizerItem
*result
;
41557 wxGBPosition temp3
;
41559 PyObject
* obj0
= 0 ;
41560 PyObject
* obj1
= 0 ;
41561 PyObject
* obj2
= 0 ;
41562 PyObject
* obj3
= 0 ;
41563 PyObject
* obj4
= 0 ;
41564 PyObject
* obj5
= 0 ;
41565 PyObject
* obj6
= 0 ;
41566 char *kwnames
[] = {
41567 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41572 arg1
= (int)(SWIG_As_int(obj0
));
41573 if (SWIG_arg_fail(1)) SWIG_fail
;
41576 arg2
= (int)(SWIG_As_int(obj1
));
41577 if (SWIG_arg_fail(2)) SWIG_fail
;
41581 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41585 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41588 arg5
= (int)(SWIG_As_int(obj4
));
41589 if (SWIG_arg_fail(5)) SWIG_fail
;
41592 arg6
= (int)(SWIG_As_int(obj5
));
41593 if (SWIG_arg_fail(6)) SWIG_fail
;
41599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41600 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41602 wxPyEndAllowThreads(__tstate
);
41603 if (PyErr_Occurred()) SWIG_fail
;
41605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41612 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41613 PyObject
*resultobj
;
41614 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41615 wxGBPosition result
;
41616 PyObject
* obj0
= 0 ;
41617 char *kwnames
[] = {
41618 (char *) "self", NULL
41621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41623 if (SWIG_arg_fail(1)) SWIG_fail
;
41625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41626 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41628 wxPyEndAllowThreads(__tstate
);
41629 if (PyErr_Occurred()) SWIG_fail
;
41632 wxGBPosition
* resultptr
;
41633 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41642 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41643 PyObject
*resultobj
;
41644 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41646 PyObject
* obj0
= 0 ;
41647 char *kwnames
[] = {
41648 (char *) "self", NULL
41651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41653 if (SWIG_arg_fail(1)) SWIG_fail
;
41655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41656 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41658 wxPyEndAllowThreads(__tstate
);
41659 if (PyErr_Occurred()) SWIG_fail
;
41662 wxGBSpan
* resultptr
;
41663 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41672 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41673 PyObject
*resultobj
;
41674 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41675 wxGBPosition
*arg2
= 0 ;
41677 wxGBPosition temp2
;
41678 PyObject
* obj0
= 0 ;
41679 PyObject
* obj1
= 0 ;
41680 char *kwnames
[] = {
41681 (char *) "self",(char *) "pos", NULL
41684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41686 if (SWIG_arg_fail(1)) SWIG_fail
;
41689 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41693 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41695 wxPyEndAllowThreads(__tstate
);
41696 if (PyErr_Occurred()) SWIG_fail
;
41699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41707 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41708 PyObject
*resultobj
;
41709 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41710 wxGBSpan
*arg2
= 0 ;
41713 PyObject
* obj0
= 0 ;
41714 PyObject
* obj1
= 0 ;
41715 char *kwnames
[] = {
41716 (char *) "self",(char *) "span", NULL
41719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41721 if (SWIG_arg_fail(1)) SWIG_fail
;
41724 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41728 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41730 wxPyEndAllowThreads(__tstate
);
41731 if (PyErr_Occurred()) SWIG_fail
;
41734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41742 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41743 PyObject
*resultobj
;
41744 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41745 wxGBSizerItem
*arg2
= 0 ;
41747 PyObject
* obj0
= 0 ;
41748 PyObject
* obj1
= 0 ;
41749 char *kwnames
[] = {
41750 (char *) "self",(char *) "other", NULL
41753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41755 if (SWIG_arg_fail(1)) SWIG_fail
;
41757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41758 if (SWIG_arg_fail(2)) SWIG_fail
;
41759 if (arg2
== NULL
) {
41760 SWIG_null_ref("wxGBSizerItem");
41762 if (SWIG_arg_fail(2)) SWIG_fail
;
41765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41766 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41768 wxPyEndAllowThreads(__tstate
);
41769 if (PyErr_Occurred()) SWIG_fail
;
41772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41780 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41781 PyObject
*resultobj
;
41782 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41783 wxGBPosition
*arg2
= 0 ;
41784 wxGBSpan
*arg3
= 0 ;
41786 wxGBPosition temp2
;
41788 PyObject
* obj0
= 0 ;
41789 PyObject
* obj1
= 0 ;
41790 PyObject
* obj2
= 0 ;
41791 char *kwnames
[] = {
41792 (char *) "self",(char *) "pos",(char *) "span", NULL
41795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41797 if (SWIG_arg_fail(1)) SWIG_fail
;
41800 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41804 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41808 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41810 wxPyEndAllowThreads(__tstate
);
41811 if (PyErr_Occurred()) SWIG_fail
;
41814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41822 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41823 PyObject
*resultobj
;
41824 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41825 wxGBPosition result
;
41826 PyObject
* obj0
= 0 ;
41827 char *kwnames
[] = {
41828 (char *) "self", NULL
41831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41833 if (SWIG_arg_fail(1)) SWIG_fail
;
41835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41836 result
= wxGBSizerItem_GetEndPos(arg1
);
41838 wxPyEndAllowThreads(__tstate
);
41839 if (PyErr_Occurred()) SWIG_fail
;
41842 wxGBPosition
* resultptr
;
41843 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41852 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41853 PyObject
*resultobj
;
41854 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41855 wxGridBagSizer
*result
;
41856 PyObject
* obj0
= 0 ;
41857 char *kwnames
[] = {
41858 (char *) "self", NULL
41861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41863 if (SWIG_arg_fail(1)) SWIG_fail
;
41865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41866 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41868 wxPyEndAllowThreads(__tstate
);
41869 if (PyErr_Occurred()) SWIG_fail
;
41871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41878 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41879 PyObject
*resultobj
;
41880 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41881 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41882 PyObject
* obj0
= 0 ;
41883 PyObject
* obj1
= 0 ;
41884 char *kwnames
[] = {
41885 (char *) "self",(char *) "sizer", NULL
41888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41890 if (SWIG_arg_fail(1)) SWIG_fail
;
41891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41892 if (SWIG_arg_fail(2)) SWIG_fail
;
41894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41895 (arg1
)->SetGBSizer(arg2
);
41897 wxPyEndAllowThreads(__tstate
);
41898 if (PyErr_Occurred()) SWIG_fail
;
41900 Py_INCREF(Py_None
); resultobj
= Py_None
;
41907 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41910 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41912 return Py_BuildValue((char *)"");
41914 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41915 PyObject
*resultobj
;
41916 int arg1
= (int) 0 ;
41917 int arg2
= (int) 0 ;
41918 wxGridBagSizer
*result
;
41919 PyObject
* obj0
= 0 ;
41920 PyObject
* obj1
= 0 ;
41921 char *kwnames
[] = {
41922 (char *) "vgap",(char *) "hgap", NULL
41925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41928 arg1
= (int)(SWIG_As_int(obj0
));
41929 if (SWIG_arg_fail(1)) SWIG_fail
;
41934 arg2
= (int)(SWIG_As_int(obj1
));
41935 if (SWIG_arg_fail(2)) SWIG_fail
;
41939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41940 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41942 wxPyEndAllowThreads(__tstate
);
41943 if (PyErr_Occurred()) SWIG_fail
;
41945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41952 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41953 PyObject
*resultobj
;
41954 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41955 PyObject
*arg2
= (PyObject
*) 0 ;
41956 wxGBPosition
*arg3
= 0 ;
41957 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41958 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41959 int arg5
= (int) 0 ;
41960 int arg6
= (int) 0 ;
41961 PyObject
*arg7
= (PyObject
*) NULL
;
41962 wxGBSizerItem
*result
;
41963 wxGBPosition temp3
;
41965 PyObject
* obj0
= 0 ;
41966 PyObject
* obj1
= 0 ;
41967 PyObject
* obj2
= 0 ;
41968 PyObject
* obj3
= 0 ;
41969 PyObject
* obj4
= 0 ;
41970 PyObject
* obj5
= 0 ;
41971 PyObject
* obj6
= 0 ;
41972 char *kwnames
[] = {
41973 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41978 if (SWIG_arg_fail(1)) SWIG_fail
;
41982 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41987 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41992 arg5
= (int)(SWIG_As_int(obj4
));
41993 if (SWIG_arg_fail(5)) SWIG_fail
;
41998 arg6
= (int)(SWIG_As_int(obj5
));
41999 if (SWIG_arg_fail(6)) SWIG_fail
;
42006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42007 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42009 wxPyEndAllowThreads(__tstate
);
42010 if (PyErr_Occurred()) SWIG_fail
;
42012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42019 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42020 PyObject
*resultobj
;
42021 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42022 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42023 wxGBSizerItem
*result
;
42024 PyObject
* obj0
= 0 ;
42025 PyObject
* obj1
= 0 ;
42026 char *kwnames
[] = {
42027 (char *) "self",(char *) "item", NULL
42030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&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_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42034 if (SWIG_arg_fail(2)) SWIG_fail
;
42036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42037 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42039 wxPyEndAllowThreads(__tstate
);
42040 if (PyErr_Occurred()) SWIG_fail
;
42042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42049 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42050 PyObject
*resultobj
;
42051 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42055 PyObject
* obj0
= 0 ;
42056 PyObject
* obj1
= 0 ;
42057 PyObject
* obj2
= 0 ;
42058 char *kwnames
[] = {
42059 (char *) "self",(char *) "row",(char *) "col", NULL
42062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42064 if (SWIG_arg_fail(1)) SWIG_fail
;
42066 arg2
= (int)(SWIG_As_int(obj1
));
42067 if (SWIG_arg_fail(2)) SWIG_fail
;
42070 arg3
= (int)(SWIG_As_int(obj2
));
42071 if (SWIG_arg_fail(3)) SWIG_fail
;
42074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42075 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42077 wxPyEndAllowThreads(__tstate
);
42078 if (PyErr_Occurred()) SWIG_fail
;
42081 wxSize
* resultptr
;
42082 resultptr
= new wxSize((wxSize
&)(result
));
42083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42091 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42092 PyObject
*resultobj
;
42093 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42095 PyObject
* obj0
= 0 ;
42096 char *kwnames
[] = {
42097 (char *) "self", NULL
42100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42102 if (SWIG_arg_fail(1)) SWIG_fail
;
42104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42105 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42107 wxPyEndAllowThreads(__tstate
);
42108 if (PyErr_Occurred()) SWIG_fail
;
42111 wxSize
* resultptr
;
42112 resultptr
= new wxSize((wxSize
&)(result
));
42113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42121 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42122 PyObject
*resultobj
;
42123 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42126 PyObject
* obj0
= 0 ;
42127 PyObject
* obj1
= 0 ;
42128 char *kwnames
[] = {
42129 (char *) "self",(char *) "sz", NULL
42132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42134 if (SWIG_arg_fail(1)) SWIG_fail
;
42137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42141 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42143 wxPyEndAllowThreads(__tstate
);
42144 if (PyErr_Occurred()) SWIG_fail
;
42146 Py_INCREF(Py_None
); resultobj
= Py_None
;
42153 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42154 PyObject
*resultobj
;
42155 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42156 wxWindow
*arg2
= (wxWindow
*) 0 ;
42157 wxGBPosition result
;
42158 PyObject
* obj0
= 0 ;
42159 PyObject
* obj1
= 0 ;
42161 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42163 if (SWIG_arg_fail(1)) SWIG_fail
;
42164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42165 if (SWIG_arg_fail(2)) SWIG_fail
;
42167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42168 result
= (arg1
)->GetItemPosition(arg2
);
42170 wxPyEndAllowThreads(__tstate
);
42171 if (PyErr_Occurred()) SWIG_fail
;
42174 wxGBPosition
* resultptr
;
42175 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42184 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42185 PyObject
*resultobj
;
42186 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42187 wxSizer
*arg2
= (wxSizer
*) 0 ;
42188 wxGBPosition result
;
42189 PyObject
* obj0
= 0 ;
42190 PyObject
* obj1
= 0 ;
42192 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42194 if (SWIG_arg_fail(1)) SWIG_fail
;
42195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42196 if (SWIG_arg_fail(2)) SWIG_fail
;
42198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42199 result
= (arg1
)->GetItemPosition(arg2
);
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42205 wxGBPosition
* resultptr
;
42206 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42215 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42216 PyObject
*resultobj
;
42217 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42219 wxGBPosition result
;
42220 PyObject
* obj0
= 0 ;
42221 PyObject
* obj1
= 0 ;
42223 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42225 if (SWIG_arg_fail(1)) SWIG_fail
;
42227 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42228 if (SWIG_arg_fail(2)) SWIG_fail
;
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 result
= (arg1
)->GetItemPosition(arg2
);
42234 wxPyEndAllowThreads(__tstate
);
42235 if (PyErr_Occurred()) SWIG_fail
;
42238 wxGBPosition
* resultptr
;
42239 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42248 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42253 argc
= PyObject_Length(args
);
42254 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42255 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42261 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42271 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42279 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42287 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42297 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42305 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42313 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42321 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42323 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42328 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42333 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42334 PyObject
*resultobj
;
42335 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42336 wxWindow
*arg2
= (wxWindow
*) 0 ;
42337 wxGBPosition
*arg3
= 0 ;
42339 wxGBPosition temp3
;
42340 PyObject
* obj0
= 0 ;
42341 PyObject
* obj1
= 0 ;
42342 PyObject
* obj2
= 0 ;
42344 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42346 if (SWIG_arg_fail(1)) SWIG_fail
;
42347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42348 if (SWIG_arg_fail(2)) SWIG_fail
;
42351 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42355 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42369 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42370 PyObject
*resultobj
;
42371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42372 wxSizer
*arg2
= (wxSizer
*) 0 ;
42373 wxGBPosition
*arg3
= 0 ;
42375 wxGBPosition temp3
;
42376 PyObject
* obj0
= 0 ;
42377 PyObject
* obj1
= 0 ;
42378 PyObject
* obj2
= 0 ;
42380 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42382 if (SWIG_arg_fail(1)) SWIG_fail
;
42383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42384 if (SWIG_arg_fail(2)) SWIG_fail
;
42387 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42391 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42393 wxPyEndAllowThreads(__tstate
);
42394 if (PyErr_Occurred()) SWIG_fail
;
42397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42405 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42406 PyObject
*resultobj
;
42407 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42409 wxGBPosition
*arg3
= 0 ;
42411 wxGBPosition temp3
;
42412 PyObject
* obj0
= 0 ;
42413 PyObject
* obj1
= 0 ;
42414 PyObject
* obj2
= 0 ;
42416 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42418 if (SWIG_arg_fail(1)) SWIG_fail
;
42420 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42421 if (SWIG_arg_fail(2)) SWIG_fail
;
42425 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42443 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42448 argc
= PyObject_Length(args
);
42449 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42450 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42466 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42475 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42478 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42497 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42506 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42509 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42518 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42526 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42529 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42532 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42538 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42543 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42544 PyObject
*resultobj
;
42545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42546 wxWindow
*arg2
= (wxWindow
*) 0 ;
42548 PyObject
* obj0
= 0 ;
42549 PyObject
* obj1
= 0 ;
42551 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42553 if (SWIG_arg_fail(1)) SWIG_fail
;
42554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42555 if (SWIG_arg_fail(2)) SWIG_fail
;
42557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42558 result
= (arg1
)->GetItemSpan(arg2
);
42560 wxPyEndAllowThreads(__tstate
);
42561 if (PyErr_Occurred()) SWIG_fail
;
42564 wxGBSpan
* resultptr
;
42565 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42574 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42575 PyObject
*resultobj
;
42576 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42577 wxSizer
*arg2
= (wxSizer
*) 0 ;
42579 PyObject
* obj0
= 0 ;
42580 PyObject
* obj1
= 0 ;
42582 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42584 if (SWIG_arg_fail(1)) SWIG_fail
;
42585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42586 if (SWIG_arg_fail(2)) SWIG_fail
;
42588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42589 result
= (arg1
)->GetItemSpan(arg2
);
42591 wxPyEndAllowThreads(__tstate
);
42592 if (PyErr_Occurred()) SWIG_fail
;
42595 wxGBSpan
* resultptr
;
42596 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42605 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42606 PyObject
*resultobj
;
42607 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42610 PyObject
* obj0
= 0 ;
42611 PyObject
* obj1
= 0 ;
42613 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42615 if (SWIG_arg_fail(1)) SWIG_fail
;
42617 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42618 if (SWIG_arg_fail(2)) SWIG_fail
;
42621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42622 result
= (arg1
)->GetItemSpan(arg2
);
42624 wxPyEndAllowThreads(__tstate
);
42625 if (PyErr_Occurred()) SWIG_fail
;
42628 wxGBSpan
* resultptr
;
42629 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42638 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42643 argc
= PyObject_Length(args
);
42644 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42661 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42669 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42687 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42695 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42711 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42713 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42718 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42723 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42724 PyObject
*resultobj
;
42725 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42726 wxWindow
*arg2
= (wxWindow
*) 0 ;
42727 wxGBSpan
*arg3
= 0 ;
42730 PyObject
* obj0
= 0 ;
42731 PyObject
* obj1
= 0 ;
42732 PyObject
* obj2
= 0 ;
42734 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42736 if (SWIG_arg_fail(1)) SWIG_fail
;
42737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42738 if (SWIG_arg_fail(2)) SWIG_fail
;
42741 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42747 wxPyEndAllowThreads(__tstate
);
42748 if (PyErr_Occurred()) SWIG_fail
;
42751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42759 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42760 PyObject
*resultobj
;
42761 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42762 wxSizer
*arg2
= (wxSizer
*) 0 ;
42763 wxGBSpan
*arg3
= 0 ;
42766 PyObject
* obj0
= 0 ;
42767 PyObject
* obj1
= 0 ;
42768 PyObject
* obj2
= 0 ;
42770 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42772 if (SWIG_arg_fail(1)) SWIG_fail
;
42773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42774 if (SWIG_arg_fail(2)) SWIG_fail
;
42777 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42781 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42783 wxPyEndAllowThreads(__tstate
);
42784 if (PyErr_Occurred()) SWIG_fail
;
42787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42795 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42796 PyObject
*resultobj
;
42797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42799 wxGBSpan
*arg3
= 0 ;
42802 PyObject
* obj0
= 0 ;
42803 PyObject
* obj1
= 0 ;
42804 PyObject
* obj2
= 0 ;
42806 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42808 if (SWIG_arg_fail(1)) SWIG_fail
;
42810 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42811 if (SWIG_arg_fail(2)) SWIG_fail
;
42815 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42819 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42821 wxPyEndAllowThreads(__tstate
);
42822 if (PyErr_Occurred()) SWIG_fail
;
42825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42833 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42838 argc
= PyObject_Length(args
);
42839 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42840 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42856 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42865 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42868 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42877 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42887 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42896 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42899 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42908 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42916 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42919 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42922 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42928 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42933 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42934 PyObject
*resultobj
;
42935 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42936 wxWindow
*arg2
= (wxWindow
*) 0 ;
42937 wxGBSizerItem
*result
;
42938 PyObject
* obj0
= 0 ;
42939 PyObject
* obj1
= 0 ;
42941 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42943 if (SWIG_arg_fail(1)) SWIG_fail
;
42944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42945 if (SWIG_arg_fail(2)) SWIG_fail
;
42947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42948 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42950 wxPyEndAllowThreads(__tstate
);
42951 if (PyErr_Occurred()) SWIG_fail
;
42953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42960 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42961 PyObject
*resultobj
;
42962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42963 wxSizer
*arg2
= (wxSizer
*) 0 ;
42964 wxGBSizerItem
*result
;
42965 PyObject
* obj0
= 0 ;
42966 PyObject
* obj1
= 0 ;
42968 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42970 if (SWIG_arg_fail(1)) SWIG_fail
;
42971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42972 if (SWIG_arg_fail(2)) SWIG_fail
;
42974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42975 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42977 wxPyEndAllowThreads(__tstate
);
42978 if (PyErr_Occurred()) SWIG_fail
;
42980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42987 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42992 argc
= PyObject_Length(args
);
42993 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42994 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43000 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43010 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43018 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43026 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43036 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43044 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43049 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43054 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43055 PyObject
*resultobj
;
43056 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43057 wxGBPosition
*arg2
= 0 ;
43058 wxGBSizerItem
*result
;
43059 wxGBPosition temp2
;
43060 PyObject
* obj0
= 0 ;
43061 PyObject
* obj1
= 0 ;
43062 char *kwnames
[] = {
43063 (char *) "self",(char *) "pos", NULL
43066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43068 if (SWIG_arg_fail(1)) SWIG_fail
;
43071 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43075 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43077 wxPyEndAllowThreads(__tstate
);
43078 if (PyErr_Occurred()) SWIG_fail
;
43080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43087 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43088 PyObject
*resultobj
;
43089 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43090 wxPoint
*arg2
= 0 ;
43091 wxGBSizerItem
*result
;
43093 PyObject
* obj0
= 0 ;
43094 PyObject
* obj1
= 0 ;
43095 char *kwnames
[] = {
43096 (char *) "self",(char *) "pt", NULL
43099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43101 if (SWIG_arg_fail(1)) SWIG_fail
;
43104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43108 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43110 wxPyEndAllowThreads(__tstate
);
43111 if (PyErr_Occurred()) SWIG_fail
;
43113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43120 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43121 PyObject
*resultobj
;
43122 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43123 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43124 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43126 PyObject
* obj0
= 0 ;
43127 PyObject
* obj1
= 0 ;
43128 PyObject
* obj2
= 0 ;
43129 char *kwnames
[] = {
43130 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43135 if (SWIG_arg_fail(1)) SWIG_fail
;
43136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43137 if (SWIG_arg_fail(2)) SWIG_fail
;
43139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43140 if (SWIG_arg_fail(3)) SWIG_fail
;
43143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43144 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43146 wxPyEndAllowThreads(__tstate
);
43147 if (PyErr_Occurred()) SWIG_fail
;
43150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43158 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43159 PyObject
*resultobj
;
43160 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43161 wxGBPosition
*arg2
= 0 ;
43162 wxGBSpan
*arg3
= 0 ;
43163 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43165 wxGBPosition temp2
;
43167 PyObject
* obj0
= 0 ;
43168 PyObject
* obj1
= 0 ;
43169 PyObject
* obj2
= 0 ;
43170 PyObject
* obj3
= 0 ;
43171 char *kwnames
[] = {
43172 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43177 if (SWIG_arg_fail(1)) SWIG_fail
;
43180 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43184 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43187 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43188 if (SWIG_arg_fail(4)) SWIG_fail
;
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43192 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43194 wxPyEndAllowThreads(__tstate
);
43195 if (PyErr_Occurred()) SWIG_fail
;
43198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43206 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43209 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43211 return Py_BuildValue((char *)"");
43213 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43214 PyObject
*resultobj
;
43215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43216 wxRelationship arg2
;
43217 wxWindow
*arg3
= (wxWindow
*) 0 ;
43219 int arg5
= (int) 0 ;
43220 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43221 PyObject
* obj0
= 0 ;
43222 PyObject
* obj1
= 0 ;
43223 PyObject
* obj2
= 0 ;
43224 PyObject
* obj3
= 0 ;
43225 PyObject
* obj4
= 0 ;
43226 PyObject
* obj5
= 0 ;
43227 char *kwnames
[] = {
43228 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43233 if (SWIG_arg_fail(1)) SWIG_fail
;
43235 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43236 if (SWIG_arg_fail(2)) SWIG_fail
;
43238 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43239 if (SWIG_arg_fail(3)) SWIG_fail
;
43241 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43242 if (SWIG_arg_fail(4)) SWIG_fail
;
43246 arg5
= (int)(SWIG_As_int(obj4
));
43247 if (SWIG_arg_fail(5)) SWIG_fail
;
43252 arg6
= (int)(SWIG_As_int(obj5
));
43253 if (SWIG_arg_fail(6)) SWIG_fail
;
43257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43258 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43260 wxPyEndAllowThreads(__tstate
);
43261 if (PyErr_Occurred()) SWIG_fail
;
43263 Py_INCREF(Py_None
); resultobj
= Py_None
;
43270 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43271 PyObject
*resultobj
;
43272 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43273 wxWindow
*arg2
= (wxWindow
*) 0 ;
43274 int arg3
= (int) 0 ;
43275 PyObject
* obj0
= 0 ;
43276 PyObject
* obj1
= 0 ;
43277 PyObject
* obj2
= 0 ;
43278 char *kwnames
[] = {
43279 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43284 if (SWIG_arg_fail(1)) SWIG_fail
;
43285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43286 if (SWIG_arg_fail(2)) SWIG_fail
;
43289 arg3
= (int)(SWIG_As_int(obj2
));
43290 if (SWIG_arg_fail(3)) SWIG_fail
;
43294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43295 (arg1
)->LeftOf(arg2
,arg3
);
43297 wxPyEndAllowThreads(__tstate
);
43298 if (PyErr_Occurred()) SWIG_fail
;
43300 Py_INCREF(Py_None
); resultobj
= Py_None
;
43307 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43308 PyObject
*resultobj
;
43309 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43310 wxWindow
*arg2
= (wxWindow
*) 0 ;
43311 int arg3
= (int) 0 ;
43312 PyObject
* obj0
= 0 ;
43313 PyObject
* obj1
= 0 ;
43314 PyObject
* obj2
= 0 ;
43315 char *kwnames
[] = {
43316 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43321 if (SWIG_arg_fail(1)) SWIG_fail
;
43322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43323 if (SWIG_arg_fail(2)) SWIG_fail
;
43326 arg3
= (int)(SWIG_As_int(obj2
));
43327 if (SWIG_arg_fail(3)) SWIG_fail
;
43331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43332 (arg1
)->RightOf(arg2
,arg3
);
43334 wxPyEndAllowThreads(__tstate
);
43335 if (PyErr_Occurred()) SWIG_fail
;
43337 Py_INCREF(Py_None
); resultobj
= Py_None
;
43344 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43345 PyObject
*resultobj
;
43346 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43347 wxWindow
*arg2
= (wxWindow
*) 0 ;
43348 int arg3
= (int) 0 ;
43349 PyObject
* obj0
= 0 ;
43350 PyObject
* obj1
= 0 ;
43351 PyObject
* obj2
= 0 ;
43352 char *kwnames
[] = {
43353 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43358 if (SWIG_arg_fail(1)) SWIG_fail
;
43359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43360 if (SWIG_arg_fail(2)) SWIG_fail
;
43363 arg3
= (int)(SWIG_As_int(obj2
));
43364 if (SWIG_arg_fail(3)) SWIG_fail
;
43368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43369 (arg1
)->Above(arg2
,arg3
);
43371 wxPyEndAllowThreads(__tstate
);
43372 if (PyErr_Occurred()) SWIG_fail
;
43374 Py_INCREF(Py_None
); resultobj
= Py_None
;
43381 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43382 PyObject
*resultobj
;
43383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43384 wxWindow
*arg2
= (wxWindow
*) 0 ;
43385 int arg3
= (int) 0 ;
43386 PyObject
* obj0
= 0 ;
43387 PyObject
* obj1
= 0 ;
43388 PyObject
* obj2
= 0 ;
43389 char *kwnames
[] = {
43390 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43395 if (SWIG_arg_fail(1)) SWIG_fail
;
43396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43397 if (SWIG_arg_fail(2)) SWIG_fail
;
43400 arg3
= (int)(SWIG_As_int(obj2
));
43401 if (SWIG_arg_fail(3)) SWIG_fail
;
43405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43406 (arg1
)->Below(arg2
,arg3
);
43408 wxPyEndAllowThreads(__tstate
);
43409 if (PyErr_Occurred()) SWIG_fail
;
43411 Py_INCREF(Py_None
); resultobj
= Py_None
;
43418 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43419 PyObject
*resultobj
;
43420 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43421 wxWindow
*arg2
= (wxWindow
*) 0 ;
43423 int arg4
= (int) 0 ;
43424 PyObject
* obj0
= 0 ;
43425 PyObject
* obj1
= 0 ;
43426 PyObject
* obj2
= 0 ;
43427 PyObject
* obj3
= 0 ;
43428 char *kwnames
[] = {
43429 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43434 if (SWIG_arg_fail(1)) SWIG_fail
;
43435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43436 if (SWIG_arg_fail(2)) SWIG_fail
;
43438 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43439 if (SWIG_arg_fail(3)) SWIG_fail
;
43443 arg4
= (int)(SWIG_As_int(obj3
));
43444 if (SWIG_arg_fail(4)) SWIG_fail
;
43448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43449 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43451 wxPyEndAllowThreads(__tstate
);
43452 if (PyErr_Occurred()) SWIG_fail
;
43454 Py_INCREF(Py_None
); resultobj
= Py_None
;
43461 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43462 PyObject
*resultobj
;
43463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43464 wxWindow
*arg2
= (wxWindow
*) 0 ;
43467 PyObject
* obj0
= 0 ;
43468 PyObject
* obj1
= 0 ;
43469 PyObject
* obj2
= 0 ;
43470 PyObject
* obj3
= 0 ;
43471 char *kwnames
[] = {
43472 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43477 if (SWIG_arg_fail(1)) SWIG_fail
;
43478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43479 if (SWIG_arg_fail(2)) SWIG_fail
;
43481 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43482 if (SWIG_arg_fail(3)) SWIG_fail
;
43485 arg4
= (int)(SWIG_As_int(obj3
));
43486 if (SWIG_arg_fail(4)) SWIG_fail
;
43489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43490 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43492 wxPyEndAllowThreads(__tstate
);
43493 if (PyErr_Occurred()) SWIG_fail
;
43495 Py_INCREF(Py_None
); resultobj
= Py_None
;
43502 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43503 PyObject
*resultobj
;
43504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43506 PyObject
* obj0
= 0 ;
43507 PyObject
* obj1
= 0 ;
43508 char *kwnames
[] = {
43509 (char *) "self",(char *) "val", NULL
43512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43514 if (SWIG_arg_fail(1)) SWIG_fail
;
43516 arg2
= (int)(SWIG_As_int(obj1
));
43517 if (SWIG_arg_fail(2)) SWIG_fail
;
43520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43521 (arg1
)->Absolute(arg2
);
43523 wxPyEndAllowThreads(__tstate
);
43524 if (PyErr_Occurred()) SWIG_fail
;
43526 Py_INCREF(Py_None
); resultobj
= Py_None
;
43533 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43534 PyObject
*resultobj
;
43535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43536 PyObject
* obj0
= 0 ;
43537 char *kwnames
[] = {
43538 (char *) "self", NULL
43541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43543 if (SWIG_arg_fail(1)) SWIG_fail
;
43545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43546 (arg1
)->Unconstrained();
43548 wxPyEndAllowThreads(__tstate
);
43549 if (PyErr_Occurred()) SWIG_fail
;
43551 Py_INCREF(Py_None
); resultobj
= Py_None
;
43558 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43559 PyObject
*resultobj
;
43560 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43561 PyObject
* obj0
= 0 ;
43562 char *kwnames
[] = {
43563 (char *) "self", NULL
43566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43568 if (SWIG_arg_fail(1)) SWIG_fail
;
43570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43573 wxPyEndAllowThreads(__tstate
);
43574 if (PyErr_Occurred()) SWIG_fail
;
43576 Py_INCREF(Py_None
); resultobj
= Py_None
;
43583 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43584 PyObject
*resultobj
;
43585 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43587 PyObject
* obj0
= 0 ;
43588 char *kwnames
[] = {
43589 (char *) "self", NULL
43592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43594 if (SWIG_arg_fail(1)) SWIG_fail
;
43596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43597 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43599 wxPyEndAllowThreads(__tstate
);
43600 if (PyErr_Occurred()) SWIG_fail
;
43603 resultobj
= wxPyMake_wxObject(result
, 0);
43611 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43612 PyObject
*resultobj
;
43613 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43615 PyObject
* obj0
= 0 ;
43616 char *kwnames
[] = {
43617 (char *) "self", NULL
43620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43622 if (SWIG_arg_fail(1)) SWIG_fail
;
43624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43625 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43627 wxPyEndAllowThreads(__tstate
);
43628 if (PyErr_Occurred()) SWIG_fail
;
43630 resultobj
= SWIG_From_int((result
));
43637 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43638 PyObject
*resultobj
;
43639 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43641 PyObject
* obj0
= 0 ;
43642 PyObject
* obj1
= 0 ;
43643 char *kwnames
[] = {
43644 (char *) "self",(char *) "which", NULL
43647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43649 if (SWIG_arg_fail(1)) SWIG_fail
;
43651 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43652 if (SWIG_arg_fail(2)) SWIG_fail
;
43655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43656 (arg1
)->SetEdge((wxEdge
)arg2
);
43658 wxPyEndAllowThreads(__tstate
);
43659 if (PyErr_Occurred()) SWIG_fail
;
43661 Py_INCREF(Py_None
); resultobj
= Py_None
;
43668 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43669 PyObject
*resultobj
;
43670 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43672 PyObject
* obj0
= 0 ;
43673 PyObject
* obj1
= 0 ;
43674 char *kwnames
[] = {
43675 (char *) "self",(char *) "v", NULL
43678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43680 if (SWIG_arg_fail(1)) SWIG_fail
;
43682 arg2
= (int)(SWIG_As_int(obj1
));
43683 if (SWIG_arg_fail(2)) SWIG_fail
;
43686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43687 (arg1
)->SetValue(arg2
);
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43692 Py_INCREF(Py_None
); resultobj
= Py_None
;
43699 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43700 PyObject
*resultobj
;
43701 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43703 PyObject
* obj0
= 0 ;
43704 char *kwnames
[] = {
43705 (char *) "self", NULL
43708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43710 if (SWIG_arg_fail(1)) SWIG_fail
;
43712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43713 result
= (int)(arg1
)->GetMargin();
43715 wxPyEndAllowThreads(__tstate
);
43716 if (PyErr_Occurred()) SWIG_fail
;
43719 resultobj
= SWIG_From_int((int)(result
));
43727 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43728 PyObject
*resultobj
;
43729 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43731 PyObject
* obj0
= 0 ;
43732 PyObject
* obj1
= 0 ;
43733 char *kwnames
[] = {
43734 (char *) "self",(char *) "m", NULL
43737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43739 if (SWIG_arg_fail(1)) SWIG_fail
;
43741 arg2
= (int)(SWIG_As_int(obj1
));
43742 if (SWIG_arg_fail(2)) SWIG_fail
;
43745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43746 (arg1
)->SetMargin(arg2
);
43748 wxPyEndAllowThreads(__tstate
);
43749 if (PyErr_Occurred()) SWIG_fail
;
43751 Py_INCREF(Py_None
); resultobj
= Py_None
;
43758 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43759 PyObject
*resultobj
;
43760 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43762 PyObject
* obj0
= 0 ;
43763 char *kwnames
[] = {
43764 (char *) "self", NULL
43767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43769 if (SWIG_arg_fail(1)) SWIG_fail
;
43771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43772 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43774 wxPyEndAllowThreads(__tstate
);
43775 if (PyErr_Occurred()) SWIG_fail
;
43778 resultobj
= SWIG_From_int((int)(result
));
43786 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43787 PyObject
*resultobj
;
43788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43790 PyObject
* obj0
= 0 ;
43791 char *kwnames
[] = {
43792 (char *) "self", NULL
43795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43797 if (SWIG_arg_fail(1)) SWIG_fail
;
43799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43800 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43802 wxPyEndAllowThreads(__tstate
);
43803 if (PyErr_Occurred()) SWIG_fail
;
43806 resultobj
= SWIG_From_int((int)(result
));
43814 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43815 PyObject
*resultobj
;
43816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43818 PyObject
* obj0
= 0 ;
43819 char *kwnames
[] = {
43820 (char *) "self", NULL
43823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43825 if (SWIG_arg_fail(1)) SWIG_fail
;
43827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43828 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43830 wxPyEndAllowThreads(__tstate
);
43831 if (PyErr_Occurred()) SWIG_fail
;
43834 resultobj
= SWIG_From_int((int)(result
));
43842 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43843 PyObject
*resultobj
;
43844 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43846 PyObject
* obj0
= 0 ;
43847 char *kwnames
[] = {
43848 (char *) "self", NULL
43851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43853 if (SWIG_arg_fail(1)) SWIG_fail
;
43855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43856 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43858 wxPyEndAllowThreads(__tstate
);
43859 if (PyErr_Occurred()) SWIG_fail
;
43862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43870 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43871 PyObject
*resultobj
;
43872 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43874 PyObject
* obj0
= 0 ;
43875 PyObject
* obj1
= 0 ;
43876 char *kwnames
[] = {
43877 (char *) "self",(char *) "d", NULL
43880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43882 if (SWIG_arg_fail(1)) SWIG_fail
;
43884 arg2
= (bool)(SWIG_As_bool(obj1
));
43885 if (SWIG_arg_fail(2)) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 (arg1
)->SetDone(arg2
);
43891 wxPyEndAllowThreads(__tstate
);
43892 if (PyErr_Occurred()) SWIG_fail
;
43894 Py_INCREF(Py_None
); resultobj
= Py_None
;
43901 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43902 PyObject
*resultobj
;
43903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43904 wxRelationship result
;
43905 PyObject
* obj0
= 0 ;
43906 char *kwnames
[] = {
43907 (char *) "self", NULL
43910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43912 if (SWIG_arg_fail(1)) SWIG_fail
;
43914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43915 result
= (wxRelationship
)(arg1
)->GetRelationship();
43917 wxPyEndAllowThreads(__tstate
);
43918 if (PyErr_Occurred()) SWIG_fail
;
43920 resultobj
= SWIG_From_int((result
));
43927 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43928 PyObject
*resultobj
;
43929 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43930 wxRelationship arg2
;
43931 PyObject
* obj0
= 0 ;
43932 PyObject
* obj1
= 0 ;
43933 char *kwnames
[] = {
43934 (char *) "self",(char *) "r", NULL
43937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43939 if (SWIG_arg_fail(1)) SWIG_fail
;
43941 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43942 if (SWIG_arg_fail(2)) SWIG_fail
;
43945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43946 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43948 wxPyEndAllowThreads(__tstate
);
43949 if (PyErr_Occurred()) SWIG_fail
;
43951 Py_INCREF(Py_None
); resultobj
= Py_None
;
43958 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43959 PyObject
*resultobj
;
43960 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43961 wxWindow
*arg2
= (wxWindow
*) 0 ;
43963 PyObject
* obj0
= 0 ;
43964 PyObject
* obj1
= 0 ;
43965 char *kwnames
[] = {
43966 (char *) "self",(char *) "otherW", NULL
43969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43971 if (SWIG_arg_fail(1)) SWIG_fail
;
43972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43973 if (SWIG_arg_fail(2)) SWIG_fail
;
43975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43976 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43978 wxPyEndAllowThreads(__tstate
);
43979 if (PyErr_Occurred()) SWIG_fail
;
43982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43990 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43991 PyObject
*resultobj
;
43992 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43993 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43994 wxWindow
*arg3
= (wxWindow
*) 0 ;
43996 PyObject
* obj0
= 0 ;
43997 PyObject
* obj1
= 0 ;
43998 PyObject
* obj2
= 0 ;
43999 char *kwnames
[] = {
44000 (char *) "self",(char *) "constraints",(char *) "win", NULL
44003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44005 if (SWIG_arg_fail(1)) SWIG_fail
;
44006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44007 if (SWIG_arg_fail(2)) SWIG_fail
;
44008 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44009 if (SWIG_arg_fail(3)) SWIG_fail
;
44011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44012 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44014 wxPyEndAllowThreads(__tstate
);
44015 if (PyErr_Occurred()) SWIG_fail
;
44018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44026 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44027 PyObject
*resultobj
;
44028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44030 wxWindow
*arg3
= (wxWindow
*) 0 ;
44031 wxWindow
*arg4
= (wxWindow
*) 0 ;
44033 PyObject
* obj0
= 0 ;
44034 PyObject
* obj1
= 0 ;
44035 PyObject
* obj2
= 0 ;
44036 PyObject
* obj3
= 0 ;
44037 char *kwnames
[] = {
44038 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44043 if (SWIG_arg_fail(1)) SWIG_fail
;
44045 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44046 if (SWIG_arg_fail(2)) SWIG_fail
;
44048 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44049 if (SWIG_arg_fail(3)) SWIG_fail
;
44050 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44051 if (SWIG_arg_fail(4)) SWIG_fail
;
44053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44054 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44056 wxPyEndAllowThreads(__tstate
);
44057 if (PyErr_Occurred()) SWIG_fail
;
44060 resultobj
= SWIG_From_int((int)(result
));
44068 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44071 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44073 return Py_BuildValue((char *)"");
44075 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44076 PyObject
*resultobj
;
44077 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44078 wxIndividualLayoutConstraint
*result
;
44079 PyObject
* obj0
= 0 ;
44080 char *kwnames
[] = {
44081 (char *) "self", NULL
44084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44086 if (SWIG_arg_fail(1)) SWIG_fail
;
44087 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44096 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44097 PyObject
*resultobj
;
44098 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44099 wxIndividualLayoutConstraint
*result
;
44100 PyObject
* obj0
= 0 ;
44101 char *kwnames
[] = {
44102 (char *) "self", NULL
44105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44107 if (SWIG_arg_fail(1)) SWIG_fail
;
44108 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44117 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44118 PyObject
*resultobj
;
44119 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44120 wxIndividualLayoutConstraint
*result
;
44121 PyObject
* obj0
= 0 ;
44122 char *kwnames
[] = {
44123 (char *) "self", NULL
44126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44128 if (SWIG_arg_fail(1)) SWIG_fail
;
44129 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44138 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44139 PyObject
*resultobj
;
44140 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44141 wxIndividualLayoutConstraint
*result
;
44142 PyObject
* obj0
= 0 ;
44143 char *kwnames
[] = {
44144 (char *) "self", NULL
44147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44149 if (SWIG_arg_fail(1)) SWIG_fail
;
44150 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44159 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44160 PyObject
*resultobj
;
44161 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44162 wxIndividualLayoutConstraint
*result
;
44163 PyObject
* obj0
= 0 ;
44164 char *kwnames
[] = {
44165 (char *) "self", NULL
44168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44170 if (SWIG_arg_fail(1)) SWIG_fail
;
44171 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44180 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44181 PyObject
*resultobj
;
44182 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44183 wxIndividualLayoutConstraint
*result
;
44184 PyObject
* obj0
= 0 ;
44185 char *kwnames
[] = {
44186 (char *) "self", NULL
44189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44191 if (SWIG_arg_fail(1)) SWIG_fail
;
44192 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44201 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44202 PyObject
*resultobj
;
44203 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44204 wxIndividualLayoutConstraint
*result
;
44205 PyObject
* obj0
= 0 ;
44206 char *kwnames
[] = {
44207 (char *) "self", NULL
44210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44212 if (SWIG_arg_fail(1)) SWIG_fail
;
44213 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44222 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44223 PyObject
*resultobj
;
44224 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44225 wxIndividualLayoutConstraint
*result
;
44226 PyObject
* obj0
= 0 ;
44227 char *kwnames
[] = {
44228 (char *) "self", NULL
44231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44233 if (SWIG_arg_fail(1)) SWIG_fail
;
44234 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44243 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44244 PyObject
*resultobj
;
44245 wxLayoutConstraints
*result
;
44246 char *kwnames
[] = {
44250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44253 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44255 wxPyEndAllowThreads(__tstate
);
44256 if (PyErr_Occurred()) SWIG_fail
;
44258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44265 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44266 PyObject
*resultobj
;
44267 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44268 wxWindow
*arg2
= (wxWindow
*) 0 ;
44269 int *arg3
= (int *) 0 ;
44273 PyObject
* obj0
= 0 ;
44274 PyObject
* obj1
= 0 ;
44275 char *kwnames
[] = {
44276 (char *) "self",(char *) "win", NULL
44279 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44282 if (SWIG_arg_fail(1)) SWIG_fail
;
44283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44284 if (SWIG_arg_fail(2)) SWIG_fail
;
44286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44287 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44289 wxPyEndAllowThreads(__tstate
);
44290 if (PyErr_Occurred()) SWIG_fail
;
44293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44296 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44303 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
;
44305 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44307 PyObject
* obj0
= 0 ;
44308 char *kwnames
[] = {
44309 (char *) "self", NULL
44312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44314 if (SWIG_arg_fail(1)) SWIG_fail
;
44316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44317 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44319 wxPyEndAllowThreads(__tstate
);
44320 if (PyErr_Occurred()) SWIG_fail
;
44323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44331 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44334 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44336 return Py_BuildValue((char *)"");
44338 static PyMethodDef SwigMethods
[] = {
44339 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44340 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44341 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44344 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44347 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44353 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44360 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44365 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44368 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44377 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44378 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44381 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44388 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44390 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44392 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44393 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44398 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44400 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44401 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44402 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44404 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44405 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44410 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44411 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44423 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44424 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44428 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44439 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44445 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44446 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44449 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44465 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44474 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44493 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44495 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44503 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44504 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44514 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44516 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44528 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44532 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44538 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44548 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44558 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44562 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44635 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44636 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44638 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44640 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44642 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44644 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44646 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44648 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44650 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44652 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44654 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44656 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44658 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44660 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44674 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44692 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44695 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44698 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44710 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44715 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44721 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44727 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44790 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44797 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44833 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44843 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44849 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44851 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44853 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44856 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44860 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44863 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44866 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44868 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44873 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44881 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44885 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44888 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44890 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44894 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44911 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44913 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44916 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44918 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44922 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44926 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44935 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44938 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44941 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44945 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44952 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44957 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44962 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45007 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45034 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45038 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45048 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45218 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45260 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45274 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45277 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45332 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45359 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45403 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45411 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45428 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45429 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45466 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45503 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"StdDialogButtonSizer_Finalise", (PyCFunction
) _wrap_StdDialogButtonSizer_Finalise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45540 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45550 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45574 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45581 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45582 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45583 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45584 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45585 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45590 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45617 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45629 { NULL
, NULL
, 0, NULL
}
45633 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45635 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45636 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45638 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45639 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45641 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45642 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45644 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45645 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45647 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45648 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45650 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45651 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45653 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45654 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45656 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45657 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45659 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45660 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45662 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45663 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45665 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45666 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45668 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45669 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45671 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45672 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45674 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45675 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45677 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45678 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45680 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45681 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45683 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45684 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45686 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45689 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45690 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45692 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45695 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45696 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45698 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45701 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45702 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45704 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45705 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45707 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45708 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45710 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45711 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45713 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45714 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45716 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45717 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45719 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45720 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45722 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45723 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45725 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45728 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45729 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45731 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45732 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45734 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45735 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45737 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45738 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45740 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45741 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45743 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45744 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45746 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45749 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45750 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45752 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45753 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45755 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45758 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45761 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45762 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45764 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45765 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45767 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45768 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45770 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45771 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45773 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45774 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45776 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45777 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45779 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45780 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45782 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45783 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45785 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45788 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45789 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45791 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45794 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45795 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45797 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45798 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45800 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45801 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45803 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45804 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45806 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45807 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45809 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45810 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45812 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45813 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45815 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45816 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45818 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45819 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45821 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45822 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45824 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45825 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45827 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45828 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45830 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45831 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45833 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45834 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45836 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45837 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45839 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45840 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45842 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45843 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45845 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45846 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45848 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45849 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45851 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45852 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45854 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45855 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45857 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45858 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45860 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45861 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45863 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45864 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45866 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45867 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45869 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45870 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45872 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45873 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45875 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45876 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45878 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45879 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45881 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45884 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45885 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45887 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45888 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45890 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45891 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45893 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45894 return (void *)((wxObject
*) ((wxSizer
*) x
));
45896 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45897 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45899 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45902 static void *_p_wxEventTo_p_wxObject(void *x
) {
45903 return (void *)((wxObject
*) ((wxEvent
*) x
));
45905 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45906 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45908 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45909 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45911 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45912 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45914 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45915 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45917 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45918 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45920 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45921 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45923 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45924 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45926 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45927 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45929 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45930 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45932 static void *_p_wxControlTo_p_wxObject(void *x
) {
45933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45935 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45936 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45938 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45939 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45941 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45942 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45944 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45945 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45947 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45950 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45951 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45953 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45954 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45956 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45957 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45959 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45962 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45963 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45965 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45966 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45968 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45969 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45971 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45972 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45974 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45975 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45977 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45978 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45980 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45981 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45983 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45986 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45989 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45992 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45995 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45998 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45999 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46001 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46002 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46004 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46005 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46007 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46008 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46010 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46011 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46013 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46016 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46017 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46019 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46020 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46022 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46023 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46025 static void *_p_wxImageTo_p_wxObject(void *x
) {
46026 return (void *)((wxObject
*) ((wxImage
*) x
));
46028 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46029 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46031 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46034 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46035 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46037 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46038 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46040 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46041 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46043 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46046 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46049 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46050 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46052 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46055 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46056 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46058 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46061 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46062 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46064 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46065 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46067 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46068 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46070 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46073 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46074 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46076 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46077 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46079 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46080 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46082 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46085 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46088 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46091 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46092 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46094 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46095 return (void *)((wxWindow
*) ((wxControl
*) x
));
46097 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46098 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46100 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46101 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46103 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46104 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46106 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46107 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46109 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46110 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46112 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46113 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46115 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46116 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46118 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46119 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46121 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46122 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46124 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46125 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46127 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46128 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46130 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}};
46131 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}};
46132 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}};
46133 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}};
46134 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}};
46135 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}};
46136 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}};
46137 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}};
46138 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}};
46139 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}};
46140 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}};
46141 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}};
46142 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}};
46143 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}};
46144 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}};
46145 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}};
46146 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}};
46147 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}};
46148 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}};
46149 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}};
46150 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}};
46151 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}};
46152 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}};
46153 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}};
46154 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}};
46155 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}};
46156 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}};
46157 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}};
46158 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}};
46159 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}};
46160 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}};
46161 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}};
46162 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}};
46163 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}};
46164 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}};
46165 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}};
46166 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}};
46167 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}};
46168 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}};
46169 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}};
46170 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}};
46171 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}};
46172 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}};
46173 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}};
46174 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}};
46175 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}};
46176 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}};
46177 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}};
46178 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}};
46179 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}};
46180 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}};
46181 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}};
46182 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}};
46183 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}};
46184 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}};
46185 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}};
46186 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}};
46187 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}};
46188 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}};
46189 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}};
46190 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}};
46191 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}};
46192 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}};
46193 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}};
46194 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}};
46195 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}};
46196 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}};
46197 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}};
46198 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}};
46199 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}};
46200 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}};
46201 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}};
46202 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}};
46203 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}};
46204 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}};
46205 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}};
46206 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}};
46207 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}};
46208 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}};
46209 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}};
46210 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}};
46211 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}};
46212 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}};
46213 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}};
46214 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}};
46215 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}};
46216 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}};
46217 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}};
46218 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}};
46219 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}};
46220 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}};
46221 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}};
46222 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}};
46223 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}};
46224 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}};
46225 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}};
46226 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}};
46227 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}};
46228 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}};
46229 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}};
46230 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}};
46231 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}};
46232 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}};
46233 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}};
46234 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}};
46235 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}};
46236 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}};
46237 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}};
46238 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}};
46239 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}};
46240 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}};
46241 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}};
46242 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}};
46243 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}};
46244 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}};
46245 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}};
46246 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}};
46247 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}};
46248 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}};
46249 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}};
46250 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}};
46251 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}};
46252 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}};
46253 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}};
46254 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}};
46255 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}};
46257 static swig_type_info
*swig_types_initial
[] = {
46258 _swigt__p_wxLayoutConstraints
,
46259 _swigt__p_wxRealPoint
,
46260 _swigt__p_wxSizerItem
,
46261 _swigt__p_wxGBSizerItem
,
46262 _swigt__p_wxScrollEvent
,
46263 _swigt__p_wxEventLoop
,
46264 _swigt__p_wxIndividualLayoutConstraint
,
46266 _swigt__p_wxBoxSizer
,
46267 _swigt__p_wxStaticBoxSizer
,
46268 _swigt__p_wxGridBagSizer
,
46269 _swigt__p_wxAcceleratorEntry
,
46270 _swigt__p_wxUpdateUIEvent
,
46273 _swigt__p_wxGridSizer
,
46274 _swigt__p_wxFlexGridSizer
,
46275 _swigt__p_wxInitDialogEvent
,
46276 _swigt__p_wxItemContainer
,
46277 _swigt__p_wxNcPaintEvent
,
46278 _swigt__p_wxPaintEvent
,
46279 _swigt__p_wxSysColourChangedEvent
,
46280 _swigt__p_wxMouseCaptureChangedEvent
,
46281 _swigt__p_wxDisplayChangedEvent
,
46282 _swigt__p_wxPaletteChangedEvent
,
46283 _swigt__p_wxControl
,
46285 _swigt__p_wxMenuBarBase
,
46286 _swigt__p_wxSetCursorEvent
,
46287 _swigt__p_wxFSFile
,
46290 _swigt__std__ptrdiff_t
,
46291 _swigt__p_wxRegion
,
46292 _swigt__p_wxPoint2D
,
46296 _swigt__p_wxPySizer
,
46297 _swigt__p_wxVisualAttributes
,
46298 _swigt__p_wxNotifyEvent
,
46299 _swigt__p_wxPyEvent
,
46300 _swigt__p_wxPropagationDisabler
,
46301 _swigt__p_form_ops_t
,
46302 _swigt__p_wxAppTraits
,
46303 _swigt__p_wxArrayString
,
46304 _swigt__p_wxShowEvent
,
46305 _swigt__p_wxToolTip
,
46306 _swigt__p_wxMoveEvent
,
46307 _swigt__p_wxSizeEvent
,
46308 _swigt__p_wxActivateEvent
,
46309 _swigt__p_wxIconizeEvent
,
46310 _swigt__p_wxMaximizeEvent
,
46311 _swigt__p_wxQueryNewPaletteEvent
,
46312 _swigt__p_wxWindowCreateEvent
,
46313 _swigt__p_wxIdleEvent
,
46314 _swigt__p_wxMenuItem
,
46315 _swigt__p_wxStaticBox
,
46317 _swigt__p_wxDuplexMode
,
46318 _swigt__p_wxTIFFHandler
,
46319 _swigt__p_wxXPMHandler
,
46320 _swigt__p_wxPNMHandler
,
46321 _swigt__p_wxJPEGHandler
,
46322 _swigt__p_wxPCXHandler
,
46323 _swigt__p_wxGIFHandler
,
46324 _swigt__p_wxPNGHandler
,
46325 _swigt__p_wxANIHandler
,
46326 _swigt__p_wxMemoryFSHandler
,
46327 _swigt__p_wxZipFSHandler
,
46328 _swigt__p_wxInternetFSHandler
,
46329 _swigt__p_wxPyFileSystemHandler
,
46330 _swigt__p_wxEvtHandler
,
46331 _swigt__p_wxCURHandler
,
46332 _swigt__p_wxICOHandler
,
46333 _swigt__p_wxBMPHandler
,
46334 _swigt__p_wxImageHandler
,
46335 _swigt__p_wxFileSystemHandler
,
46337 _swigt__p_wxButton
,
46338 _swigt__p_wxGBSpan
,
46339 _swigt__p_wxPropagateOnce
,
46340 _swigt__p_wxAcceleratorTable
,
46341 _swigt__p_wxStdDialogButtonSizer
,
46343 _swigt__p_wxGBPosition
,
46346 _swigt__p_wxScrollWinEvent
,
46347 _swigt__p_wxPaperSize
,
46348 _swigt__p_wxImageHistogram
,
46350 _swigt__p_wxCursor
,
46351 _swigt__p_wxObject
,
46352 _swigt__p_wxInputStream
,
46353 _swigt__p_wxOutputStream
,
46354 _swigt__p_wxPyInputStream
,
46355 _swigt__p_wxDateTime
,
46356 _swigt__p_wxKeyEvent
,
46357 _swigt__p_wxNavigationKeyEvent
,
46358 _swigt__p_wxWindowDestroyEvent
,
46359 _swigt__p_unsigned_long
,
46360 _swigt__p_wxWindow
,
46361 _swigt__p_wxMenuBar
,
46362 _swigt__p_wxFileSystem
,
46363 _swigt__p_wxBitmap
,
46364 _swigt__unsigned_int
,
46365 _swigt__p_unsigned_int
,
46366 _swigt__p_wxMenuEvent
,
46367 _swigt__p_wxContextMenuEvent
,
46368 _swigt__p_unsigned_char
,
46369 _swigt__p_wxEraseEvent
,
46370 _swigt__p_wxMouseEvent
,
46371 _swigt__p_wxCloseEvent
,
46373 _swigt__p_wxCommandEvent
,
46374 _swigt__p_wxPyCommandEvent
,
46375 _swigt__p_wxPyDropTarget
,
46376 _swigt__p_wxQuantize
,
46377 _swigt__p_wxChildFocusEvent
,
46378 _swigt__p_wxFocusEvent
,
46379 _swigt__p_wxDropFilesEvent
,
46380 _swigt__p_wxControlWithItems
,
46381 _swigt__p_wxColour
,
46382 _swigt__p_wxValidator
,
46383 _swigt__p_wxPyValidator
,
46388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46390 static swig_const_info swig_const_table
[] = {
46391 {0, 0, 0, 0.0, 0, 0}};
46402 /* Python-specific SWIG API */
46403 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46404 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46405 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46407 /* -----------------------------------------------------------------------------
46408 * global variable support code.
46409 * ----------------------------------------------------------------------------- */
46411 typedef struct swig_globalvar
{
46412 char *name
; /* Name of global variable */
46413 PyObject
*(*get_attr
)(); /* Return the current value */
46414 int (*set_attr
)(PyObject
*); /* Set the value */
46415 struct swig_globalvar
*next
;
46418 typedef struct swig_varlinkobject
{
46420 swig_globalvar
*vars
;
46421 } swig_varlinkobject
;
46424 swig_varlink_repr(swig_varlinkobject
*v
) {
46426 return PyString_FromString("<Swig global variables>");
46430 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46431 swig_globalvar
*var
;
46433 fprintf(fp
,"Swig global variables { ");
46434 for (var
= v
->vars
; var
; var
=var
->next
) {
46435 fprintf(fp
,"%s", var
->name
);
46436 if (var
->next
) fprintf(fp
,", ");
46438 fprintf(fp
," }\n");
46443 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46444 swig_globalvar
*var
= v
->vars
;
46446 if (strcmp(var
->name
,n
) == 0) {
46447 return (*var
->get_attr
)();
46451 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46456 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46457 swig_globalvar
*var
= v
->vars
;
46459 if (strcmp(var
->name
,n
) == 0) {
46460 return (*var
->set_attr
)(p
);
46464 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46468 static PyTypeObject varlinktype
= {
46469 PyObject_HEAD_INIT(0)
46470 0, /* Number of items in variable part (ob_size) */
46471 (char *)"swigvarlink", /* Type name (tp_name) */
46472 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46473 0, /* Itemsize (tp_itemsize) */
46474 0, /* Deallocator (tp_dealloc) */
46475 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46476 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46477 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46478 0, /* tp_compare */
46479 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46480 0, /* tp_as_number */
46481 0, /* tp_as_sequence */
46482 0, /* tp_as_mapping */
46486 0, /* tp_getattro */
46487 0, /* tp_setattro */
46488 0, /* tp_as_buffer */
46491 #if PY_VERSION_HEX >= 0x02000000
46492 0, /* tp_traverse */
46495 #if PY_VERSION_HEX >= 0x02010000
46496 0, /* tp_richcompare */
46497 0, /* tp_weaklistoffset */
46499 #if PY_VERSION_HEX >= 0x02020000
46500 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46502 #if PY_VERSION_HEX >= 0x02030000
46505 #ifdef COUNT_ALLOCS
46506 0,0,0,0 /* tp_alloc -> tp_next */
46510 /* Create a variable linking object for use later */
46512 SWIG_Python_newvarlink(void) {
46513 swig_varlinkobject
*result
= 0;
46514 result
= PyMem_NEW(swig_varlinkobject
,1);
46515 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46516 result
->ob_type
= &varlinktype
;
46518 result
->ob_refcnt
= 0;
46519 Py_XINCREF((PyObject
*) result
);
46520 return ((PyObject
*) result
);
46524 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46525 swig_varlinkobject
*v
;
46526 swig_globalvar
*gv
;
46527 v
= (swig_varlinkobject
*) p
;
46528 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46529 gv
->name
= (char *) malloc(strlen(name
)+1);
46530 strcpy(gv
->name
,name
);
46531 gv
->get_attr
= get_attr
;
46532 gv
->set_attr
= set_attr
;
46533 gv
->next
= v
->vars
;
46537 /* -----------------------------------------------------------------------------
46538 * constants/methods manipulation
46539 * ----------------------------------------------------------------------------- */
46541 /* Install Constants */
46543 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46546 for (i
= 0; constants
[i
].type
; i
++) {
46547 switch(constants
[i
].type
) {
46549 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46551 case SWIG_PY_FLOAT
:
46552 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46554 case SWIG_PY_STRING
:
46555 if (constants
[i
].pvalue
) {
46556 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46558 Py_INCREF(Py_None
);
46562 case SWIG_PY_POINTER
:
46563 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46565 case SWIG_PY_BINARY
:
46566 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46573 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46579 /* -----------------------------------------------------------------------------*/
46580 /* Fix SwigMethods to carry the callback ptrs when needed */
46581 /* -----------------------------------------------------------------------------*/
46584 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46585 swig_const_info
*const_table
,
46586 swig_type_info
**types
,
46587 swig_type_info
**types_initial
) {
46589 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46590 char *c
= methods
[i
].ml_doc
;
46591 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46593 swig_const_info
*ci
= 0;
46594 char *name
= c
+ 10;
46595 for (j
= 0; const_table
[j
].type
; j
++) {
46596 if (strncmp(const_table
[j
].name
, name
,
46597 strlen(const_table
[j
].name
)) == 0) {
46598 ci
= &(const_table
[j
]);
46603 size_t shift
= (ci
->ptype
) - types
;
46604 swig_type_info
*ty
= types_initial
[shift
];
46605 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46606 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46607 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46609 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46610 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46612 strncpy(buff
, "swig_ptr: ", 10);
46614 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46615 methods
[i
].ml_doc
= ndoc
;
46621 /* -----------------------------------------------------------------------------*
46622 * Initialize type list
46623 * -----------------------------------------------------------------------------*/
46625 #if PY_MAJOR_VERSION < 2
46626 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46627 is copied out of Python/modsupport.c in python version 2.3.4 */
46629 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46632 if (!PyModule_Check(m
)) {
46633 PyErr_SetString(PyExc_TypeError
,
46634 "PyModule_AddObject() needs module as first arg");
46638 PyErr_SetString(PyExc_TypeError
,
46639 "PyModule_AddObject() needs non-NULL value");
46643 dict
= PyModule_GetDict(m
);
46644 if (dict
== NULL
) {
46645 /* Internal error -- modules must have a dict! */
46646 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46647 PyModule_GetName(m
));
46650 if (PyDict_SetItemString(dict
, name
, o
))
46657 static swig_type_info
**
46658 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46659 static PyMethodDef swig_empty_runtime_method_table
[] = {
46661 NULL
, NULL
, 0, NULL
46665 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46666 swig_empty_runtime_method_table
);
46667 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46668 if (pointer
&& module) {
46669 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46671 return type_list_handle
;
46674 static swig_type_info
**
46675 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46676 swig_type_info
**type_pointer
;
46678 /* first check if module already created */
46679 type_pointer
= SWIG_Python_GetTypeListHandle();
46680 if (type_pointer
) {
46681 return type_pointer
;
46683 /* create a new module and variable */
46684 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46692 /* -----------------------------------------------------------------------------*
46693 * Partial Init method
46694 * -----------------------------------------------------------------------------*/
46696 #ifdef SWIG_LINK_RUNTIME
46700 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46706 SWIGEXPORT(void) SWIG_init(void) {
46707 static PyObject
*SWIG_globals
= 0;
46708 static int typeinit
= 0;
46711 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46713 /* Fix SwigMethods to carry the callback ptrs when needed */
46714 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46716 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46717 d
= PyModule_GetDict(m
);
46720 #ifdef SWIG_LINK_RUNTIME
46721 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46723 # ifndef SWIG_STATIC_RUNTIME
46724 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46727 for (i
= 0; swig_types_initial
[i
]; i
++) {
46728 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46732 SWIG_InstallConstants(d
,swig_const_table
);
46735 #ifndef wxPyUSE_EXPORT
46736 // Make our API structure a CObject so other modules can import it
46737 // from this module.
46738 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46739 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46744 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46747 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46750 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46753 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46756 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46759 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46762 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46765 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46768 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46771 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46774 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46777 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46780 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46783 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46786 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46789 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46792 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46795 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46798 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46801 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46804 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46807 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46810 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46813 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46816 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46819 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46822 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46825 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46828 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46831 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46834 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46837 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46840 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46843 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46846 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46849 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46852 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46855 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46858 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46861 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46864 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46867 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46870 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46873 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46876 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46879 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46882 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46885 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46888 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
46891 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46894 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46897 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46900 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46903 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
46906 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46909 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46912 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46915 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46918 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46921 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46924 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46927 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46930 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46933 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46936 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46939 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46942 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46945 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46948 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46951 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46954 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46957 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46960 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46963 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46966 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46969 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46972 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46975 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46978 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46981 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46984 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46987 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46990 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46993 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46996 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46999 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47002 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47005 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47008 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47011 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47014 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47017 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47020 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47023 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47026 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47029 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47032 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47035 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47038 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47041 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47044 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47047 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47050 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47053 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47056 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47059 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47062 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47065 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47068 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47071 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47074 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47077 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47080 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47083 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47086 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47089 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47092 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47095 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47098 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47101 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47104 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47107 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47110 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47113 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47116 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47119 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47122 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47125 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47128 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47131 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47134 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47137 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47140 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47143 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47146 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47149 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47152 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47155 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47158 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47161 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47164 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47167 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47170 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47173 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47176 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47179 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47182 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47185 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47188 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47191 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47194 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47197 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47200 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47203 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47206 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47209 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47212 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47215 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47218 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47221 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47224 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47227 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47230 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47233 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47236 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47239 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47242 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47245 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47248 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47251 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47254 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47257 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47260 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47263 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47266 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47269 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47272 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47275 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47278 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47281 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47284 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47287 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47290 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47293 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47296 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47299 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47302 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47305 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47308 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47311 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47314 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47317 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47320 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47323 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47326 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47329 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47332 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47335 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47338 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47341 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47344 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47347 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47350 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47353 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47356 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47359 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47362 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47365 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47368 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47371 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47374 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47377 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47380 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47383 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47386 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47389 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47392 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47395 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47398 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47401 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47404 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47407 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47410 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47413 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47416 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47419 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47422 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47425 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47428 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47431 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47434 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47437 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47440 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47443 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47446 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47449 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47452 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47455 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47458 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47461 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47464 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47467 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47470 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47473 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47476 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47479 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47482 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47485 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47488 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47491 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47494 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47497 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47500 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47503 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47506 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47509 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47512 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47515 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47518 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47521 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47524 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47527 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47530 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47533 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47536 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47539 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47542 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47545 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47548 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47551 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47554 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47557 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47560 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47563 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47566 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47569 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47572 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47575 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47578 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47581 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47584 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47587 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47590 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47593 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47596 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47599 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47602 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47605 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47608 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47611 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47614 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47617 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47620 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47623 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47626 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47629 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47632 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47635 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47638 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47641 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47644 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47647 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47650 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47653 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47656 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47659 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47662 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47665 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47668 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47671 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47674 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47677 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47680 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47683 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47686 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47689 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47692 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47695 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47698 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47701 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47704 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47707 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47710 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47713 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47716 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47719 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47722 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47725 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47728 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47731 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47734 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47737 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47740 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47743 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47746 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47749 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47752 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47755 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47758 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47761 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47764 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47767 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47770 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47773 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47776 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47779 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47782 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47785 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47788 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47791 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47794 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47797 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47800 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47803 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47806 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47809 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47812 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47815 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47818 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47821 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47824 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47827 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47830 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47833 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47836 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47839 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47842 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47845 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47848 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47851 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47854 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47857 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47860 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47863 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47866 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47869 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47872 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47875 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47878 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47881 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47884 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47887 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47890 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47893 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47896 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47899 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47902 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47905 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47908 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47911 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47914 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47917 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47920 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47923 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47926 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47929 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47932 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47935 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47938 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47941 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47944 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47947 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47950 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47953 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47956 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47959 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47962 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47965 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47968 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47971 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47974 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47977 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47980 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47983 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47986 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47989 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47992 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47995 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47998 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48001 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48004 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48007 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48010 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48013 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48016 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48019 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48022 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48025 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48028 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48031 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48034 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48037 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48040 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48043 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48046 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48049 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48052 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48055 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48058 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48061 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48064 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48067 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48070 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48073 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48076 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48079 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48082 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48085 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48088 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48091 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48094 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48097 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48100 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48103 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48106 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48109 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48112 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48115 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48118 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48121 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48124 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48127 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48130 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48133 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48136 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48139 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48142 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48145 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48148 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48151 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48154 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48157 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48160 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48163 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48166 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48169 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48172 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48175 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48178 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48181 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48184 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48187 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48190 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48193 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48196 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48199 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48202 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48205 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48208 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48211 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48214 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48217 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48220 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48223 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48226 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48229 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48232 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48235 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48238 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48241 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48244 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48247 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48250 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48253 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48256 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48259 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48262 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48265 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48268 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48271 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48274 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48277 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48280 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48283 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48286 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48289 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48292 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48295 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48298 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48301 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48304 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48307 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48310 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48313 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48316 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48319 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48322 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48325 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48328 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48331 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48334 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48337 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48340 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48343 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48346 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48348 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48349 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48351 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48354 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48357 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48360 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48363 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48366 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48369 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48372 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48375 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48378 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48381 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48384 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48387 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48390 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48393 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48396 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48399 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48402 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48405 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48408 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48411 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48414 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48417 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48420 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48423 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48426 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48429 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48432 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48435 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48438 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48441 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48444 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48447 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48450 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48453 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48456 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48459 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48462 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48465 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48468 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48471 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48474 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48477 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48480 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48483 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48486 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48489 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48492 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48495 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48498 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48501 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48503 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48504 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48506 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48509 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48512 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48515 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48518 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48520 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48521 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48522 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48523 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48524 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48525 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48527 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48530 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48533 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48536 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48539 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48542 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48545 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48548 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48551 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48554 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48557 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48560 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48563 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48566 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48569 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48571 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48572 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48573 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48574 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48575 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48576 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48578 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48579 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48580 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48582 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48583 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48584 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48585 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48586 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48587 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48588 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48589 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48590 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48591 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48592 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48593 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48594 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48595 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48596 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48597 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48598 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48599 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48600 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48601 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48602 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48603 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48604 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48605 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48606 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48607 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48608 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48609 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48610 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48611 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48612 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48613 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48614 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48615 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48616 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48617 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48618 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48619 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48620 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48621 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48622 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48623 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48624 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48625 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48626 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48627 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48628 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48629 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48630 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48631 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48632 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48633 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48634 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48635 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48636 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48637 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48638 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48639 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48640 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48641 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48642 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48643 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48644 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48645 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48646 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48647 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48648 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48649 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48650 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48651 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48652 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48653 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48654 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48655 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48656 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48657 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48658 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48659 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48660 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48661 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48662 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48663 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48664 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48665 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48666 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48667 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48668 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48669 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48670 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48671 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48672 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48673 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48674 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48675 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48676 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48677 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48680 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48681 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48682 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48683 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48684 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48686 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48689 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48692 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48695 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48698 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48701 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48704 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48707 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48710 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48713 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48716 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48719 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48722 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48725 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48728 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48731 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48734 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48737 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48739 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48740 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48742 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48745 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48748 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48751 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48754 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48756 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48757 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48759 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48762 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48765 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48767 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48769 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48772 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48775 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48778 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48781 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48784 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48787 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48790 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48793 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48796 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48799 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48802 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48805 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48808 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48811 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48814 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48817 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48820 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48823 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48826 // Initialize threading, some globals and such
48830 // Although these are defined in __version__ they need to be here too so
48831 // that an assert can be done to ensure that the wxPython and the wxWindows
48833 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48834 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48835 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));