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_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1652 wxPyCBInputStream_copy
,
1655 wxPySwigInstance_Check
,
1664 #if !WXWIN_COMPATIBILITY_2_4
1665 #define wxHIDE_READONLY 0
1669 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1670 #define SWIG_From_int PyInt_FromLong
1675 enum wxHotkeyModifier
1683 #define wxEVT_HOTKEY 9999
1686 static const wxString
wxPyEmptyString(wxEmptyString
);
1687 static wxString
wxObject_GetClassName(wxObject
*self
){
1688 return self
->GetClassInfo()->GetClassName();
1690 static void wxObject_Destroy(wxObject
*self
){
1695 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1703 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1706 if (value
< min_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is less than '%s' minimum %ld",
1710 value
, errmsg
, min_value
);
1713 } else if (value
> max_value
) {
1715 PyErr_Format(PyExc_OverflowError
,
1716 "value %ld is greater than '%s' maximum %ld",
1717 value
, errmsg
, max_value
);
1726 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1728 if (PyNumber_Check(obj
)) {
1729 if (val
) *val
= PyInt_AsLong(obj
);
1733 SWIG_type_error("number", obj
);
1739 #if INT_MAX != LONG_MAX
1741 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1743 const char* errmsg
= val
? "int" : (char*)0;
1745 if (SWIG_AsVal_long(obj
, &v
)) {
1746 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1747 if (val
) *val
= (int)(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1764 return SWIG_AsVal_long(obj
,(long*)val
);
1770 SWIG_As_int(PyObject
* obj
)
1773 if (!SWIG_AsVal_int(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(int));
1784 SWIG_Check_int(PyObject
* obj
)
1786 return SWIG_AsVal_int(obj
, (int*)0);
1789 static PyObject
*wxSize_Get(wxSize
*self
){
1790 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1791 PyObject
* tup
= PyTuple_New(2);
1792 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1793 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1794 wxPyEndBlockThreads(blocked
);
1799 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1801 if (PyNumber_Check(obj
)) {
1802 if (val
) *val
= PyFloat_AsDouble(obj
);
1806 SWIG_type_error("number", obj
);
1812 SWIGINTERNSHORT
double
1813 SWIG_As_double(PyObject
* obj
)
1816 if (!SWIG_AsVal_double(obj
, &v
)) {
1818 this is needed to make valgrind/purify happier.
1820 memset((void*)&v
, 0, sizeof(double));
1827 SWIG_Check_double(PyObject
* obj
)
1829 return SWIG_AsVal_double(obj
, (double*)0);
1833 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1834 #define SWIG_From_double PyFloat_FromDouble
1837 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1841 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1842 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1843 PyObject
* tup
= PyTuple_New(2);
1844 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1845 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1846 wxPyEndBlockThreads(blocked
);
1850 SWIGINTERNSHORT
long
1851 SWIG_As_long(PyObject
* obj
)
1854 if (!SWIG_AsVal_long(obj
, &v
)) {
1856 this is needed to make valgrind/purify happier.
1858 memset((void*)&v
, 0, sizeof(long));
1865 SWIG_Check_long(PyObject
* obj
)
1867 return SWIG_AsVal_long(obj
, (long*)0);
1870 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1874 static PyObject
*wxPoint_Get(wxPoint
*self
){
1875 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1876 PyObject
* tup
= PyTuple_New(2);
1877 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1878 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1879 wxPyEndBlockThreads(blocked
);
1882 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1885 self
->width
= width
;
1886 self
->height
= height
;
1888 static PyObject
*wxRect_Get(wxRect
*self
){
1889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1890 PyObject
* tup
= PyTuple_New(4);
1891 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1892 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1893 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1894 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1895 wxPyEndBlockThreads(blocked
);
1899 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1902 wxRect
dest(0,0,0,0);
1905 reg1
.Intersect(reg2
);
1906 dest
= reg1
.GetBox();
1908 if (dest
!= wxRect(0,0,0,0)) {
1909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1910 wxRect
* newRect
= new wxRect(dest
);
1911 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1912 wxPyEndBlockThreads(blocked
);
1920 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1926 } else if (target
== Py_None
) {
1930 if (!PyTuple_Check(target
)) {
1932 target
= PyTuple_New(1);
1933 PyTuple_SetItem(target
, 0, o2
);
1935 o3
= PyTuple_New(1);
1936 PyTuple_SetItem(o3
, 0, o
);
1939 target
= PySequence_Concat(o2
, o3
);
1947 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1951 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1952 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1953 PyObject
* tup
= PyTuple_New(2);
1954 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1955 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1956 wxPyEndBlockThreads(blocked
);
1960 #include "wx/wxPython/pyistream.h"
1962 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1963 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1965 return new wxPyInputStream(wxis
);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_char(char c
)
1973 return PyString_FromStringAndSize(&c
,1);
1977 SWIGINTERNSHORT PyObject
*
1978 SWIG_From_unsigned_SS_long(unsigned long value
)
1980 return (value
> LONG_MAX
) ?
1981 PyLong_FromUnsignedLong(value
)
1982 : PyInt_FromLong((long)(value
));
1986 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1988 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1990 static swig_type_info
* pchar_info
= 0;
1992 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1993 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1994 if (cptr
) *cptr
= vptr
;
1995 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1999 if (PyString_Check(obj
)) {
2001 *cptr
= PyString_AS_STRING(obj
);
2003 *psize
= PyString_GET_SIZE(obj
) + 1;
2010 SWIG_type_error("char *", obj
);
2017 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2019 char* cptr
; size_t csize
;
2020 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2023 char x[5] = "hello";
2025 ie, assing the array using an extra '0' char.
2027 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2028 if (csize
<= size
) {
2030 if (csize
) memcpy(val
, cptr
, csize
);
2031 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2037 PyErr_Format(PyExc_TypeError
,
2038 "a char array of maximum size %lu is expected",
2039 (unsigned long) size
);
2046 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2048 const char* errmsg
= val
? "char" : (char*)0;
2050 if (SWIG_AsVal_long(obj
, &v
)) {
2051 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2052 if (val
) *val
= (char)(v
);
2059 return SWIG_AsCharArray(obj
, val
, 1);
2064 SWIGINTERNSHORT
char
2065 SWIG_As_char(PyObject
* obj
)
2068 if (!SWIG_AsVal_char(obj
, &v
)) {
2070 this is needed to make valgrind/purify happier.
2072 memset((void*)&v
, 0, sizeof(char));
2079 SWIG_Check_char(PyObject
* obj
)
2081 return SWIG_AsVal_char(obj
, (char*)0);
2085 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2086 #define SWIG_From_long PyInt_FromLong
2089 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2090 // We use only strings for the streams, not unicode
2091 PyObject
* str
= PyObject_Str(obj
);
2093 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2096 self
->Write(PyString_AS_STRING(str
),
2097 PyString_GET_SIZE(str
));
2101 #include "wx/wxPython/pyistream.h"
2104 class wxPyFileSystemHandler
: public wxFileSystemHandler
2107 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2109 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2110 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2111 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2112 DEC_PYCALLBACK_STRING__pure(FindNext
);
2114 wxString
GetProtocol(const wxString
& location
) {
2115 return wxFileSystemHandler::GetProtocol(location
);
2118 wxString
GetLeftLocation(const wxString
& location
) {
2119 return wxFileSystemHandler::GetLeftLocation(location
);
2122 wxString
GetAnchor(const wxString
& location
) {
2123 return wxFileSystemHandler::GetAnchor(location
);
2126 wxString
GetRightLocation(const wxString
& location
) {
2127 return wxFileSystemHandler::GetRightLocation(location
);
2130 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2131 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2138 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2139 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2140 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2141 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2145 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2147 if (obj
== Py_True
) {
2148 if (val
) *val
= true;
2151 if (obj
== Py_False
) {
2152 if (val
) *val
= false;
2156 if (SWIG_AsVal_int(obj
, &res
)) {
2157 if (val
) *val
= res
? true : false;
2163 SWIG_type_error("bool", obj
);
2169 SWIGINTERNSHORT
bool
2170 SWIG_As_bool(PyObject
* obj
)
2173 if (!SWIG_AsVal_bool(obj
, &v
)) {
2175 this is needed to make valgrind/purify happier.
2177 memset((void*)&v
, 0, sizeof(bool));
2184 SWIG_Check_bool(PyObject
* obj
)
2186 return SWIG_AsVal_bool(obj
, (bool*)0);
2189 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2190 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2191 return fname
.GetFullPath();
2194 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2197 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2200 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2201 const wxBitmap
& bitmap
,
2203 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2206 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2208 if (! PyString_Check(data
)) {
2209 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2210 "Expected string object"));
2214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2215 void* ptr
= (void*)PyString_AsString(data
);
2216 size_t size
= PyString_Size(data
);
2217 wxPyEndBlockThreads(blocked
);
2219 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2223 #include "wx/wxPython/pyistream.h"
2227 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2230 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2231 SWIG_type_error("unsigned number", obj
);
2234 *val
= (unsigned long)v
;
2240 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2241 unsigned long max_value
,
2244 if (value
> max_value
) {
2246 PyErr_Format(PyExc_OverflowError
,
2247 "value %lu is greater than '%s' minimum %lu",
2248 value
, errmsg
, max_value
);
2257 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2259 const char* errmsg
= val
? "unsigned char" : (char*)0;
2261 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2262 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2263 if (val
) *val
= (unsigned char)(v
);
2272 SWIG_type_error(errmsg
, obj
);
2278 SWIGINTERNSHORT
unsigned char
2279 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2282 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2284 this is needed to make valgrind/purify happier.
2286 memset((void*)&v
, 0, sizeof(unsigned char));
2293 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2295 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2299 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2300 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2304 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2305 if (width
> 0 && height
> 0)
2306 return new wxImage(width
, height
, clear
);
2310 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2311 return new wxImage(bitmap
.ConvertToImage());
2313 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2314 // Copy the source data so the wxImage can clean it up later
2315 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2320 memcpy(copy
, data
, width
*height
*3);
2321 return new wxImage(width
, height
, copy
, false);
2323 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2324 // Copy the source data so the wxImage can clean it up later
2325 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2326 if (dcopy
== NULL
) {
2330 memcpy(dcopy
, data
, width
*height
*3);
2331 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2332 if (acopy
== NULL
) {
2336 memcpy(acopy
, alpha
, width
*height
);
2338 return new wxImage(width
, height
, dcopy
, acopy
, false);
2340 static wxSize
wxImage_GetSize(wxImage
*self
){
2341 wxSize
size(self
->GetWidth(), self
->GetHeight());
2344 static PyObject
*wxImage_GetData(wxImage
*self
){
2345 unsigned char* data
= self
->GetData();
2346 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2348 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2351 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2352 unsigned char* dataPtr
;
2354 if (! PyString_Check(data
)) {
2355 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2356 "Expected string object"));
2360 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2361 dataPtr
= (unsigned char*) malloc(len
);
2362 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2363 self
->SetData(dataPtr
);
2364 // wxImage takes ownership of dataPtr...
2366 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2367 unsigned char* data
= self
->GetData();
2368 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2370 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2373 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2374 unsigned char* buffer
;
2377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2378 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2381 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2382 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2385 self
->SetData(buffer
);
2387 wxPyEndBlockThreads(blocked
);
2389 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2390 unsigned char* data
= self
->GetAlpha();
2394 int len
= self
->GetWidth() * self
->GetHeight();
2396 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2400 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2401 unsigned char* dataPtr
;
2403 if (! PyString_Check(data
)) {
2404 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2408 size_t len
= self
->GetWidth() * self
->GetHeight();
2409 dataPtr
= (unsigned char*) malloc(len
);
2410 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2411 self
->SetAlpha(dataPtr
);
2412 // wxImage takes ownership of dataPtr...
2414 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2415 unsigned char* data
= self
->GetAlpha();
2416 int len
= self
->GetWidth() * self
->GetHeight();
2418 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2421 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2422 unsigned char* buffer
;
2425 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2426 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2429 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2430 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2433 self
->SetAlpha(buffer
);
2435 wxPyEndBlockThreads(blocked
);
2438 SWIGINTERNSHORT
unsigned long
2439 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2442 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2444 this is needed to make valgrind/purify happier.
2446 memset((void*)&v
, 0, sizeof(unsigned long));
2453 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2455 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2458 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2459 wxBitmap
bitmap(*self
, depth
);
2462 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2463 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2464 wxBitmap
bitmap( mono
, 1 );
2467 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2468 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2470 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2474 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2475 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2476 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2477 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2478 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2479 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2481 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2483 #include <wx/quantize.h>
2485 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2486 return wxQuantize::Quantize(src
, dest
,
2489 NULL
, // eightBitData
2492 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2493 if (PyCallable_Check(func
)) {
2494 self
->Connect(id
, lastId
, eventType
,
2495 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2496 new wxPyCallback(func
));
2498 else if (func
== Py_None
) {
2499 self
->Disconnect(id
, lastId
, eventType
,
2500 (wxObjectEventFunction
)
2501 &wxPyCallback::EventThunker
);
2505 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2508 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2509 return self
->Disconnect(id
, lastId
, eventType
,
2510 (wxObjectEventFunction
)
2511 &wxPyCallback::EventThunker
);
2513 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2514 if (_self
&& _self
!= Py_None
) {
2515 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2518 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2520 self
->SetClientObject(NULL
); // This will delete it too
2525 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2527 return self
->GetUnicodeKey();
2533 #if UINT_MAX < LONG_MAX
2534 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_long
2538 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2539 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2544 #if UINT_MAX != ULONG_MAX
2546 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2548 const char* errmsg
= val
? "unsigned int" : (char*)0;
2550 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2551 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2552 if (val
) *val
= (unsigned int)(v
);
2559 SWIG_type_error(errmsg
, obj
);
2564 SWIGINTERNSHORT
unsigned int
2565 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2567 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2572 SWIGINTERNSHORT
unsigned int
2573 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2576 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2578 this is needed to make valgrind/purify happier.
2580 memset((void*)&v
, 0, sizeof(unsigned int));
2587 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2589 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2592 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2593 self
->m_size
= size
;
2595 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2596 int count
= self
->GetNumberOfFiles();
2597 wxString
* files
= self
->GetFiles();
2598 PyObject
* list
= PyList_New(count
);
2601 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2605 for (int i
=0; i
<count
; i
++) {
2606 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2612 static wxPyApp
*new_wxPyApp(){
2613 wxPythonApp
= new wxPyApp();
2617 void wxApp_CleanUp() {
2622 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2626 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2628 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2633 SWIG_type_error("char *", obj
);
2639 SWIGINTERN PyObject
*
2640 SWIG_FromCharPtr(const char* cptr
)
2643 size_t size
= strlen(cptr
);
2644 if (size
> INT_MAX
) {
2645 return SWIG_NewPointerObj((char*)(cptr
),
2646 SWIG_TypeQuery("char *"), 0);
2649 return PyString_FromStringAndSize(cptr
, size
);
2651 return PyString_FromString(cptr
);
2662 // A dummy class that raises an exception if used...
2666 wxEventLoop() { wxPyRaiseNotImplemented(); }
2667 int Run() { return 0; }
2668 void Exit(int rc
= 0) {}
2669 bool Pending() const { return false; }
2670 bool Dispatch() { return false; }
2671 bool IsRunning() const { return false; }
2672 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2673 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2678 #include <wx/evtloop.h>
2684 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2685 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2686 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2687 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2688 wxWindowList
& list
= self
->GetChildren();
2689 return wxPy_ConvertList(&list
);
2691 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2693 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2698 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2705 static long wxWindow_GetHandle(wxWindow
*self
){
2706 return wxPyGetWinHandle(self
);
2708 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2709 self
->AssociateHandle((WXWidget
)handle
);
2712 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2713 return wxWindow::FindWindowById(id
, parent
);
2716 wxWindow
* wxFindWindowByName( const wxString
& name
,
2717 const wxWindow
*parent
= NULL
) {
2718 return wxWindow::FindWindowByName(name
, parent
);
2721 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2722 const wxWindow
*parent
= NULL
) {
2723 return wxWindow::FindWindowByLabel(label
, parent
);
2728 #include <wx/msw/private.h> // to get wxGetWindowId
2732 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2734 WXHWND hWnd
= (WXHWND
)_hWnd
;
2735 long id
= wxGetWindowId(hWnd
);
2736 wxWindow
* win
= new wxWindow
;
2737 parent
->AddChild(win
);
2738 win
->SetEventHandler(win
);
2741 win
->SubclassWin(hWnd
);
2742 win
->AdoptAttributesFromHWND();
2743 win
->SetupColours();
2746 wxPyRaiseNotImplemented();
2752 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2756 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2758 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2759 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2760 wxMenuItemList
& list
= self
->GetMenuItems();
2761 return wxPy_ConvertList(&list
);
2763 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2764 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2766 wxPyClientData
* data
= new wxPyClientData(clientData
);
2767 return self
->Append(item
, data
);
2769 return self
->Append(item
);
2771 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2773 wxPyClientData
* data
= new wxPyClientData(clientData
);
2774 return self
->Insert(item
, pos
, data
);
2776 return self
->Insert(item
, pos
);
2778 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2779 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2781 Py_INCREF(data
->m_obj
);
2788 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2789 wxPyClientData
* data
= new wxPyClientData(clientData
);
2790 self
->SetClientObject(n
, data
);
2794 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2795 wxPyUserData
* data
= NULL
;
2797 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2798 data
= new wxPyUserData(userData
);
2799 wxPyEndBlockThreads(blocked
);
2801 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2803 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2804 wxPyUserData
* data
= NULL
;
2806 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2807 data
= new wxPyUserData(userData
);
2808 wxPyEndBlockThreads(blocked
);
2810 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2812 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2813 wxPyUserData
* data
= NULL
;
2815 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2816 data
= new wxPyUserData(userData
);
2817 wxPyEndBlockThreads(blocked
);
2819 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2824 SWIG_CheckDoubleInRange(double value
, double min_value
,
2825 double max_value
, const char* errmsg
)
2827 if (value
< min_value
) {
2829 PyErr_Format(PyExc_OverflowError
,
2830 "value %g is less than %s minimum %g",
2831 value
, errmsg
, min_value
);
2834 } else if (value
> max_value
) {
2836 PyErr_Format(PyExc_OverflowError
,
2837 "value %g is greater than %s maximum %g",
2838 value
, errmsg
, max_value
);
2847 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2849 const char* errmsg
= val
? "float" : (char*)0;
2851 if (SWIG_AsVal_double(obj
, &v
)) {
2852 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2853 if (val
) *val
= (float)(v
);
2862 SWIG_type_error(errmsg
, obj
);
2868 SWIGINTERNSHORT
float
2869 SWIG_As_float(PyObject
* obj
)
2872 if (!SWIG_AsVal_float(obj
, &v
)) {
2874 this is needed to make valgrind/purify happier.
2876 memset((void*)&v
, 0, sizeof(float));
2883 SWIG_Check_float(PyObject
* obj
)
2885 return SWIG_AsVal_float(obj
, (float*)0);
2889 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2890 #define SWIG_From_float PyFloat_FromDouble
2893 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2894 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2896 Py_INCREF(data
->m_obj
);
2904 // Figure out the type of the sizer item
2906 struct wxPySizerItemInfo
{
2908 : window(NULL
), sizer(NULL
), gotSize(false),
2909 size(wxDefaultSize
), gotPos(false), pos(-1)
2920 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2922 wxPySizerItemInfo info
;
2924 wxSize
* sizePtr
= &size
;
2926 // Find out what the type of the item is
2928 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2933 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2937 // try wxSize or (w,h)
2938 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2939 info
.size
= *sizePtr
;
2940 info
.gotSize
= true;
2944 if (checkIdx
&& PyInt_Check(item
)) {
2945 info
.pos
= PyInt_AsLong(item
);
2951 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2952 // no expected type, figure out what kind of error message to generate
2953 if ( !checkSize
&& !checkIdx
)
2954 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2955 else if ( checkSize
&& !checkIdx
)
2956 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2957 else if ( !checkSize
&& checkIdx
)
2958 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2960 // can this one happen?
2961 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2967 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2968 if (!self
->GetClientObject())
2969 self
->SetClientObject(new wxPyOORClientData(_self
));
2971 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2973 wxPyUserData
* data
= NULL
;
2974 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2975 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2976 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2977 data
= new wxPyUserData(userData
);
2978 wxPyEndBlockThreads(blocked
);
2980 // Now call the real Add method if a valid item type was found
2982 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2983 else if ( info
.sizer
)
2984 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2985 else if (info
.gotSize
)
2986 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2987 proportion
, flag
, border
, data
);
2991 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2993 wxPyUserData
* data
= NULL
;
2994 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2995 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2996 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2997 data
= new wxPyUserData(userData
);
2998 wxPyEndBlockThreads(blocked
);
3000 // Now call the real Insert method if a valid item type was found
3002 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3003 else if ( info
.sizer
)
3004 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3005 else if (info
.gotSize
)
3006 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3007 proportion
, flag
, border
, data
);
3011 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3013 wxPyUserData
* data
= NULL
;
3014 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3015 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3016 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3017 data
= new wxPyUserData(userData
);
3018 wxPyEndBlockThreads(blocked
);
3020 // Now call the real Prepend method if a valid item type was found
3022 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3023 else if ( info
.sizer
)
3024 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3025 else if (info
.gotSize
)
3026 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3027 proportion
, flag
, border
, data
);
3031 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3033 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3034 wxPyEndBlockThreads(blocked
);
3036 return self
->Remove(info
.window
);
3037 else if ( info
.sizer
)
3038 return self
->Remove(info
.sizer
);
3039 else if ( info
.gotPos
)
3040 return self
->Remove(info
.pos
);
3044 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3045 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3046 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3047 wxPyEndBlockThreads(blocked
);
3049 return self
->Detach(info
.window
);
3050 else if ( info
.sizer
)
3051 return self
->Detach(info
.sizer
);
3052 else if ( info
.gotPos
)
3053 return self
->Detach(info
.pos
);
3057 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3058 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3059 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3060 wxPyEndBlockThreads(blocked
);
3062 return self
->GetItem(info
.window
);
3063 else if ( info
.sizer
)
3064 return self
->GetItem(info
.sizer
);
3065 else if ( info
.gotPos
)
3066 return self
->GetItem(info
.pos
);
3070 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3071 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3072 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3073 wxPyEndBlockThreads(blocked
);
3075 self
->SetItemMinSize(info
.window
, size
);
3076 else if ( info
.sizer
)
3077 self
->SetItemMinSize(info
.sizer
, size
);
3078 else if ( info
.gotPos
)
3079 self
->SetItemMinSize(info
.pos
, size
);
3081 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3082 wxSizerItemList
& list
= self
->GetChildren();
3083 return wxPy_ConvertList(&list
);
3085 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3086 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3087 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3088 wxPyEndBlockThreads(blocked
);
3090 return self
->Show(info
.window
, show
, recursive
);
3091 else if ( info
.sizer
)
3092 return self
->Show(info
.sizer
, show
, recursive
);
3093 else if ( info
.gotPos
)
3094 return self
->Show(info
.pos
, show
);
3098 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3100 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3101 wxPyEndBlockThreads(blocked
);
3103 return self
->IsShown(info
.window
);
3104 else if ( info
.sizer
)
3105 return self
->IsShown(info
.sizer
);
3106 else if ( info
.gotPos
)
3107 return self
->IsShown(info
.pos
);
3113 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3114 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3115 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3120 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3122 if (source
== Py_None
) {
3123 **obj
= wxGBPosition(-1,-1);
3126 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3129 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3131 if (source
== Py_None
) {
3132 **obj
= wxGBSpan(-1,-1);
3135 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3139 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3143 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3144 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3145 PyObject
* tup
= PyTuple_New(2);
3146 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3147 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3148 wxPyEndBlockThreads(blocked
);
3151 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3152 self
->SetRowspan(rowspan
);
3153 self
->SetColspan(colspan
);
3155 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 PyObject
* tup
= PyTuple_New(2);
3158 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3159 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3160 wxPyEndBlockThreads(blocked
);
3163 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3164 wxPyUserData
* data
= NULL
;
3166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3167 data
= new wxPyUserData(userData
);
3168 wxPyEndBlockThreads(blocked
);
3170 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3172 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3173 wxPyUserData
* data
= NULL
;
3175 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3176 data
= new wxPyUserData(userData
);
3177 wxPyEndBlockThreads(blocked
);
3179 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3181 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3182 wxPyUserData
* data
= NULL
;
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 data
= new wxPyUserData(userData
);
3186 wxPyEndBlockThreads(blocked
);
3188 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3190 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3192 self
->GetEndPos(row
, col
);
3193 return wxGBPosition(row
, col
);
3195 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3197 wxPyUserData
* data
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3200 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 // Now call the real Add method if a valid item type was found
3206 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3207 else if ( info
.sizer
)
3208 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3209 else if (info
.gotSize
)
3210 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3211 pos
, span
, flag
, border
, data
);
3219 static int _wrap_EmptyString_set(PyObject
*) {
3220 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3225 static PyObject
*_wrap_EmptyString_get(void) {
3230 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3232 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3239 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxObject
*arg1
= (wxObject
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= wxObject_GetClassName(arg1
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3271 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxObject
*arg1
= (wxObject
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3281 if (SWIG_arg_fail(1)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxObject_Destroy(arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3299 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3301 return Py_BuildValue((char *)"");
3303 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxSize
*arg1
= (wxSize
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "self",(char *) "x", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(1)) SWIG_fail
;
3317 arg2
= (int)(SWIG_As_int(obj1
));
3318 if (SWIG_arg_fail(2)) SWIG_fail
;
3320 if (arg1
) (arg1
)->x
= arg2
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxSize
*arg1
= (wxSize
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3341 result
= (int) ((arg1
)->x
);
3344 resultobj
= SWIG_From_int((int)(result
));
3352 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxSize
*arg1
= (wxSize
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "self",(char *) "y", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3364 if (SWIG_arg_fail(1)) SWIG_fail
;
3366 arg2
= (int)(SWIG_As_int(obj1
));
3367 if (SWIG_arg_fail(2)) SWIG_fail
;
3369 if (arg1
) (arg1
)->y
= arg2
;
3371 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxSize
*arg1
= (wxSize
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail
;
3390 result
= (int) ((arg1
)->y
);
3393 resultobj
= SWIG_From_int((int)(result
));
3401 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 int arg1
= (int) 0 ;
3404 int arg2
= (int) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "w",(char *) "h", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3415 arg1
= (int)(SWIG_As_int(obj0
));
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 arg2
= (int)(SWIG_As_int(obj1
));
3422 if (SWIG_arg_fail(2)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3439 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxSize
*arg1
= (wxSize
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3444 (char *) "self", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3449 if (SWIG_arg_fail(1)) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3464 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxSize
*arg1
= (wxSize
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "sz", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3478 if (SWIG_arg_fail(1)) SWIG_fail
;
3481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3499 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxSize
*arg1
= (wxSize
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3508 (char *) "self",(char *) "sz", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail
;
3516 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3534 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxSize
*arg1
= (wxSize
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3541 PyObject
* obj1
= 0 ;
3543 (char *) "self",(char *) "sz", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3548 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 resultptr
= new wxSize((wxSize
&)(result
));
3563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3571 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxSize
*arg1
= (wxSize
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "sz", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3599 resultptr
= new wxSize((wxSize
&)(result
));
3600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3608 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxSize
*arg1
= (wxSize
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "sz", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 (arg1
)->IncTo((wxSize
const &)*arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 Py_INCREF(Py_None
); resultobj
= Py_None
;
3640 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxSize
*arg1
= (wxSize
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "sz", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3653 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->DecTo((wxSize
const &)*arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxSize
*arg1
= (wxSize
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3679 PyObject
* obj2
= 0 ;
3681 (char *) "self",(char *) "w",(char *) "h", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 arg2
= (int)(SWIG_As_int(obj1
));
3689 if (SWIG_arg_fail(2)) SWIG_fail
;
3692 arg3
= (int)(SWIG_As_int(obj2
));
3693 if (SWIG_arg_fail(3)) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->Set(arg2
,arg3
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxSize
*arg1
= (wxSize
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3716 (char *) "self",(char *) "w", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3721 if (SWIG_arg_fail(1)) SWIG_fail
;
3723 arg2
= (int)(SWIG_As_int(obj1
));
3724 if (SWIG_arg_fail(2)) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 (arg1
)->SetWidth(arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxSize
*arg1
= (wxSize
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "h", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail
;
3754 arg2
= (int)(SWIG_As_int(obj1
));
3755 if (SWIG_arg_fail(2)) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 (arg1
)->SetHeight(arg2
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 Py_INCREF(Py_None
); resultobj
= Py_None
;
3771 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxSize
*arg1
= (wxSize
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= SWIG_From_int((int)(result
));
3799 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxSize
*arg1
= (wxSize
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_From_int((int)(result
));
3827 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxSize
*arg1
= (wxSize
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "self", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3855 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxSize
*arg1
= (wxSize
*) 0 ;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3863 (char *) "self",(char *) "size", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 Py_INCREF(Py_None
); resultobj
= Py_None
;
3887 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxSize
*arg1
= (wxSize
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (PyObject
*)wxSize_Get(arg1
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3913 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3916 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3918 return Py_BuildValue((char *)"");
3920 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3925 PyObject
* obj1
= 0 ;
3927 (char *) "self",(char *) "x", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3932 if (SWIG_arg_fail(1)) SWIG_fail
;
3934 arg2
= (double)(SWIG_As_double(obj1
));
3935 if (SWIG_arg_fail(2)) SWIG_fail
;
3937 if (arg1
) (arg1
)->x
= arg2
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(1)) SWIG_fail
;
3958 result
= (double) ((arg1
)->x
);
3961 resultobj
= SWIG_From_double((double)(result
));
3969 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "y", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3981 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 arg2
= (double)(SWIG_As_double(obj1
));
3984 if (SWIG_arg_fail(2)) SWIG_fail
;
3986 if (arg1
) (arg1
)->y
= arg2
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4007 result
= (double) ((arg1
)->y
);
4010 resultobj
= SWIG_From_double((double)(result
));
4018 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 double arg1
= (double) 0.0 ;
4021 double arg2
= (double) 0.0 ;
4022 wxRealPoint
*result
;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "x",(char *) "y", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 arg1
= (double)(SWIG_As_double(obj0
));
4033 if (SWIG_arg_fail(1)) SWIG_fail
;
4038 arg2
= (double)(SWIG_As_double(obj1
));
4039 if (SWIG_arg_fail(2)) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4056 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4061 (char *) "self", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4066 if (SWIG_arg_fail(1)) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4084 wxRealPoint
*arg2
= 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4090 (char *) "self",(char *) "pt", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4098 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4116 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4119 wxRealPoint
*arg2
= 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "pt", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4151 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4154 wxRealPoint
*arg2
= 0 ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "self",(char *) "pt", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 wxRealPoint
* resultptr
;
4179 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4188 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4191 wxRealPoint
*arg2
= 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "pt", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail
;
4205 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxRealPoint
* resultptr
;
4216 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4225 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 PyObject
* obj2
= 0 ;
4234 (char *) "self",(char *) "x",(char *) "y", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4239 if (SWIG_arg_fail(1)) SWIG_fail
;
4241 arg2
= (double)(SWIG_As_double(obj1
));
4242 if (SWIG_arg_fail(2)) SWIG_fail
;
4245 arg3
= (double)(SWIG_As_double(obj2
));
4246 if (SWIG_arg_fail(3)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxRealPoint_Set(arg1
,arg2
,arg3
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "self", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4288 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4291 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4293 return Py_BuildValue((char *)"");
4295 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxPoint
*arg1
= (wxPoint
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "x", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 arg2
= (int)(SWIG_As_int(obj1
));
4310 if (SWIG_arg_fail(2)) SWIG_fail
;
4312 if (arg1
) (arg1
)->x
= arg2
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxPoint
*arg1
= (wxPoint
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "self", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 result
= (int) ((arg1
)->x
);
4336 resultobj
= SWIG_From_int((int)(result
));
4344 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxPoint
*arg1
= (wxPoint
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "y", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4356 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 arg2
= (int)(SWIG_As_int(obj1
));
4359 if (SWIG_arg_fail(2)) SWIG_fail
;
4361 if (arg1
) (arg1
)->y
= arg2
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxPoint
*arg1
= (wxPoint
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4376 (char *) "self", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4381 if (SWIG_arg_fail(1)) SWIG_fail
;
4382 result
= (int) ((arg1
)->y
);
4385 resultobj
= SWIG_From_int((int)(result
));
4393 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 int arg1
= (int) 0 ;
4396 int arg2
= (int) 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4401 (char *) "x",(char *) "y", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4407 arg1
= (int)(SWIG_As_int(obj0
));
4408 if (SWIG_arg_fail(1)) SWIG_fail
;
4413 arg2
= (int)(SWIG_As_int(obj1
));
4414 if (SWIG_arg_fail(2)) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4431 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxPoint
*arg1
= (wxPoint
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint
*arg1
= (wxPoint
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4465 (char *) "self",(char *) "pt", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4470 if (SWIG_arg_fail(1)) SWIG_fail
;
4473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4491 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxPoint
*arg1
= (wxPoint
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4500 (char *) "self",(char *) "pt", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4505 if (SWIG_arg_fail(1)) SWIG_fail
;
4508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4526 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxPoint
*arg1
= (wxPoint
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4535 (char *) "self",(char *) "pt", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail
;
4543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 wxPoint
* resultptr
;
4554 resultptr
= new wxPoint((wxPoint
&)(result
));
4555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4563 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxPoint
*arg1
= (wxPoint
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "pt", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 wxPoint
* resultptr
;
4591 resultptr
= new wxPoint((wxPoint
&)(result
));
4592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4600 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPoint
*arg1
= (wxPoint
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "pt", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4623 result
= (wxPoint
*) &_result_ref
;
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4636 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxPoint
*arg1
= (wxPoint
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "pt", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4650 if (SWIG_arg_fail(1)) SWIG_fail
;
4653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4659 result
= (wxPoint
*) &_result_ref
;
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4672 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxPoint
*arg1
= (wxPoint
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4681 (char *) "self",(char *) "x",(char *) "y", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4688 arg2
= (long)(SWIG_As_long(obj1
));
4689 if (SWIG_arg_fail(2)) SWIG_fail
;
4692 arg3
= (long)(SWIG_As_long(obj2
));
4693 if (SWIG_arg_fail(3)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxPoint_Set(arg1
,arg2
,arg3
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 Py_INCREF(Py_None
); resultobj
= Py_None
;
4709 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxPoint
*arg1
= (wxPoint
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4720 if (SWIG_arg_fail(1)) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (PyObject
*)wxPoint_Get(arg1
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4735 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4740 return Py_BuildValue((char *)"");
4742 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 int arg1
= (int) 0 ;
4745 int arg2
= (int) 0 ;
4746 int arg3
= (int) 0 ;
4747 int arg4
= (int) 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4754 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4760 arg1
= (int)(SWIG_As_int(obj0
));
4761 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 arg2
= (int)(SWIG_As_int(obj1
));
4767 if (SWIG_arg_fail(2)) SWIG_fail
;
4772 arg3
= (int)(SWIG_As_int(obj2
));
4773 if (SWIG_arg_fail(3)) SWIG_fail
;
4778 arg4
= (int)(SWIG_As_int(obj3
));
4779 if (SWIG_arg_fail(4)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4796 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "topLeft",(char *) "bottomRight", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4812 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4832 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "pos",(char *) "size", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4848 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4852 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4868 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4873 PyObject
* obj0
= 0 ;
4875 (char *) "size", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4881 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4897 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxRect
*arg1
= (wxRect
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4907 if (SWIG_arg_fail(1)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRect
*arg1
= (wxRect
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4933 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)((wxRect
const *)arg1
)->GetX();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= SWIG_From_int((int)(result
));
4950 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxRect
*arg1
= (wxRect
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4957 (char *) "self",(char *) "x", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4962 if (SWIG_arg_fail(1)) SWIG_fail
;
4964 arg2
= (int)(SWIG_As_int(obj1
));
4965 if (SWIG_arg_fail(2)) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4981 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxRect
*arg1
= (wxRect
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4987 (char *) "self", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (int)(arg1
)->GetY();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_From_int((int)(result
));
5009 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRect
*arg1
= (wxRect
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "y", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 arg2
= (int)(SWIG_As_int(obj1
));
5024 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxRect
*arg1
= (wxRect
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5046 (char *) "self", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5051 if (SWIG_arg_fail(1)) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_From_int((int)(result
));
5068 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxRect
*arg1
= (wxRect
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5075 (char *) "self",(char *) "w", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail
;
5082 arg2
= (int)(SWIG_As_int(obj1
));
5083 if (SWIG_arg_fail(2)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetWidth(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxRect
*arg1
= (wxRect
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_From_int((int)(result
));
5127 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxRect
*arg1
= (wxRect
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "h", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail
;
5141 arg2
= (int)(SWIG_As_int(obj1
));
5142 if (SWIG_arg_fail(2)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetHeight(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxRect
*arg1
= (wxRect
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "self", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= ((wxRect
const *)arg1
)->GetPosition();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5178 wxPoint
* resultptr
;
5179 resultptr
= new wxPoint((wxPoint
&)(result
));
5180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5188 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxRect
*arg1
= (wxRect
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "p", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRect
*arg1
= (wxRect
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= ((wxRect
const *)arg1
)->GetSize();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5241 resultptr
= new wxSize((wxSize
&)(result
));
5242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5250 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxRect
*arg1
= (wxRect
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5258 (char *) "self",(char *) "s", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->SetSize((wxSize
const &)*arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRect
*arg1
= (wxRect
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5293 if (SWIG_arg_fail(1)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5310 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxRect
*arg1
= (wxRect
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5316 (char *) "self", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5330 wxPoint
* resultptr
;
5331 resultptr
= new wxPoint((wxPoint
&)(result
));
5332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5340 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxRect
*arg1
= (wxRect
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5348 (char *) "self",(char *) "p", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRect
*arg1
= (wxRect
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5378 (char *) "self", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 wxPoint
* resultptr
;
5393 resultptr
= new wxPoint((wxPoint
&)(result
));
5394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5402 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxRect
*arg1
= (wxRect
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "p", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5434 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRect
*arg1
= (wxRect
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_From_int((int)(result
));
5462 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxRect
*arg1
= (wxRect
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)((wxRect
const *)arg1
)->GetTop();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_From_int((int)(result
));
5490 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxRect
*arg1
= (wxRect
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5496 (char *) "self", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5501 if (SWIG_arg_fail(1)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_From_int((int)(result
));
5518 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxRect
*arg1
= (wxRect
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "self", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(1)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (int)((wxRect
const *)arg1
)->GetRight();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_From_int((int)(result
));
5546 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxRect
*arg1
= (wxRect
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5553 (char *) "self",(char *) "left", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail
;
5560 arg2
= (int)(SWIG_As_int(obj1
));
5561 if (SWIG_arg_fail(2)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->SetLeft(arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxRect
*arg1
= (wxRect
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5584 (char *) "self",(char *) "right", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5589 if (SWIG_arg_fail(1)) SWIG_fail
;
5591 arg2
= (int)(SWIG_As_int(obj1
));
5592 if (SWIG_arg_fail(2)) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->SetRight(arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxRect
*arg1
= (wxRect
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "top", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail
;
5622 arg2
= (int)(SWIG_As_int(obj1
));
5623 if (SWIG_arg_fail(2)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->SetTop(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxRect
*arg1
= (wxRect
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5646 (char *) "self",(char *) "bottom", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail
;
5653 arg2
= (int)(SWIG_As_int(obj1
));
5654 if (SWIG_arg_fail(2)) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 (arg1
)->SetBottom(arg2
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxRect
*arg1
= (wxRect
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5680 (char *) "self",(char *) "dx",(char *) "dy", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5685 if (SWIG_arg_fail(1)) SWIG_fail
;
5687 arg2
= (int)(SWIG_As_int(obj1
));
5688 if (SWIG_arg_fail(2)) SWIG_fail
;
5691 arg3
= (int)(SWIG_As_int(obj2
));
5692 if (SWIG_arg_fail(3)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5698 result
= (wxRect
*) &_result_ref
;
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5711 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 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_Deflate",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();
5738 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5739 result
= (wxRect
*) &_result_ref
;
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5752 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxRect
*arg1
= (wxRect
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 PyObject
* obj2
= 0 ;
5761 (char *) "self",(char *) "dx",(char *) "dy", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5766 if (SWIG_arg_fail(1)) SWIG_fail
;
5768 arg2
= (int)(SWIG_As_int(obj1
));
5769 if (SWIG_arg_fail(2)) SWIG_fail
;
5772 arg3
= (int)(SWIG_As_int(obj2
));
5773 if (SWIG_arg_fail(3)) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 (arg1
)->Offset(arg2
,arg3
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 Py_INCREF(Py_None
); resultobj
= Py_None
;
5789 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxRect
*arg1
= (wxRect
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "pt", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 (arg1
)->Offset((wxPoint
const &)*arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxRect
*arg1
= (wxRect
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5830 (char *) "self",(char *) "rect", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5835 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5849 resultptr
= new wxRect((wxRect
&)(result
));
5850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5858 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxRect
*arg1
= (wxRect
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "rect", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5872 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5886 resultptr
= new wxRect((wxRect
&)(result
));
5887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5895 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxRect
*arg1
= (wxRect
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "rect", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5909 if (SWIG_arg_fail(1)) SWIG_fail
;
5912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5923 resultptr
= new wxRect((wxRect
&)(result
));
5924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5932 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxRect
*arg1
= (wxRect
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5941 (char *) "self",(char *) "rect", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5949 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5955 result
= (wxRect
*) &_result_ref
;
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5968 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxRect
*arg1
= (wxRect
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5977 (char *) "self",(char *) "rect", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5982 if (SWIG_arg_fail(1)) SWIG_fail
;
5985 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxRect
*arg1
= (wxRect
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6012 (char *) "self",(char *) "rect", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail
;
6020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRect
*arg1
= (wxRect
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6046 PyObject
* obj2
= 0 ;
6048 (char *) "self",(char *) "x",(char *) "y", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 arg2
= (int)(SWIG_As_int(obj1
));
6056 if (SWIG_arg_fail(2)) SWIG_fail
;
6059 arg3
= (int)(SWIG_As_int(obj2
));
6060 if (SWIG_arg_fail(3)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6078 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxRect
*arg1
= (wxRect
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6085 PyObject
* obj1
= 0 ;
6087 (char *) "self",(char *) "pt", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6092 if (SWIG_arg_fail(1)) SWIG_fail
;
6095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6113 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxRect
*arg1
= (wxRect
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "rect", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6127 if (SWIG_arg_fail(1)) SWIG_fail
;
6130 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6148 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxRect
*arg1
= (wxRect
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "self",(char *) "x", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6160 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 arg2
= (int)(SWIG_As_int(obj1
));
6163 if (SWIG_arg_fail(2)) SWIG_fail
;
6165 if (arg1
) (arg1
)->x
= arg2
;
6167 Py_INCREF(Py_None
); resultobj
= Py_None
;
6174 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxRect
*arg1
= (wxRect
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6180 (char *) "self", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6185 if (SWIG_arg_fail(1)) SWIG_fail
;
6186 result
= (int) ((arg1
)->x
);
6189 resultobj
= SWIG_From_int((int)(result
));
6197 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxRect
*arg1
= (wxRect
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "y", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 arg2
= (int)(SWIG_As_int(obj1
));
6212 if (SWIG_arg_fail(2)) SWIG_fail
;
6214 if (arg1
) (arg1
)->y
= arg2
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxRect
*arg1
= (wxRect
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail
;
6235 result
= (int) ((arg1
)->y
);
6238 resultobj
= SWIG_From_int((int)(result
));
6246 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxRect
*arg1
= (wxRect
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6253 (char *) "self",(char *) "width", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6258 if (SWIG_arg_fail(1)) SWIG_fail
;
6260 arg2
= (int)(SWIG_As_int(obj1
));
6261 if (SWIG_arg_fail(2)) SWIG_fail
;
6263 if (arg1
) (arg1
)->width
= arg2
;
6265 Py_INCREF(Py_None
); resultobj
= Py_None
;
6272 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxRect
*arg1
= (wxRect
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail
;
6284 result
= (int) ((arg1
)->width
);
6287 resultobj
= SWIG_From_int((int)(result
));
6295 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxRect
*arg1
= (wxRect
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "height", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 arg2
= (int)(SWIG_As_int(obj1
));
6310 if (SWIG_arg_fail(2)) SWIG_fail
;
6312 if (arg1
) (arg1
)->height
= arg2
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxRect
*arg1
= (wxRect
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6333 result
= (int) ((arg1
)->height
);
6336 resultobj
= SWIG_From_int((int)(result
));
6344 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxRect
*arg1
= (wxRect
*) 0 ;
6347 int arg2
= (int) 0 ;
6348 int arg3
= (int) 0 ;
6349 int arg4
= (int) 0 ;
6350 int arg5
= (int) 0 ;
6351 PyObject
* obj0
= 0 ;
6352 PyObject
* obj1
= 0 ;
6353 PyObject
* obj2
= 0 ;
6354 PyObject
* obj3
= 0 ;
6355 PyObject
* obj4
= 0 ;
6357 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6362 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 arg2
= (int)(SWIG_As_int(obj1
));
6366 if (SWIG_arg_fail(2)) SWIG_fail
;
6371 arg3
= (int)(SWIG_As_int(obj2
));
6372 if (SWIG_arg_fail(3)) SWIG_fail
;
6377 arg4
= (int)(SWIG_As_int(obj3
));
6378 if (SWIG_arg_fail(4)) SWIG_fail
;
6383 arg5
= (int)(SWIG_As_int(obj4
));
6384 if (SWIG_arg_fail(5)) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxRect
*arg1
= (wxRect
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6412 if (SWIG_arg_fail(1)) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (PyObject
*)wxRect_Get(arg1
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6427 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6430 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6432 return Py_BuildValue((char *)"");
6434 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxRect
*arg1
= (wxRect
*) 0 ;
6437 wxRect
*arg2
= (wxRect
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "r1",(char *) "r2", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6447 if (SWIG_arg_fail(1)) SWIG_fail
;
6448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(2)) SWIG_fail
;
6451 if (!wxPyCheckForApp()) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6465 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 double arg1
= (double) 0.0 ;
6468 double arg2
= (double) 0.0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6473 (char *) "x",(char *) "y", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6479 arg1
= (double)(SWIG_As_double(obj0
));
6480 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 arg2
= (double)(SWIG_As_double(obj1
));
6486 if (SWIG_arg_fail(2)) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6503 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxPoint2D
*arg1
= 0 ;
6508 PyObject
* obj0
= 0 ;
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6516 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6532 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6537 PyObject
* obj0
= 0 ;
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6545 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6561 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6564 int *arg2
= (int *) 0 ;
6565 int *arg3
= (int *) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6576 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6588 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6589 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6590 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6591 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6598 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6601 int *arg2
= (int *) 0 ;
6602 int *arg3
= (int *) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6613 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6635 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6646 if (SWIG_arg_fail(1)) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_From_double((double)(result
));
6663 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6669 (char *) "self", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6674 if (SWIG_arg_fail(1)) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= SWIG_From_double((double)(result
));
6691 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6698 (char *) "self",(char *) "length", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 arg2
= (double)(SWIG_As_double(obj1
));
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetVectorLength(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "degrees", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 arg2
= (double)(SWIG_As_double(obj1
));
6737 if (SWIG_arg_fail(2)) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 (arg1
)->SetVectorAngle(arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 Py_INCREF(Py_None
); resultobj
= Py_None
;
6753 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6756 wxPoint2D
*arg2
= 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6762 (char *) "self",(char *) "pt", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6767 if (SWIG_arg_fail(1)) SWIG_fail
;
6770 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_From_double((double)(result
));
6788 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6791 wxPoint2D
*arg2
= 0 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6797 (char *) "self",(char *) "pt", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6802 if (SWIG_arg_fail(1)) SWIG_fail
;
6805 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_From_double((double)(result
));
6823 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6826 wxPoint2D
*arg2
= 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "vec", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6837 if (SWIG_arg_fail(1)) SWIG_fail
;
6840 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_From_double((double)(result
));
6858 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6861 wxPoint2D
*arg2
= 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "vec", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6872 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_From_double((double)(result
));
6893 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(1)) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (arg1
)->operator -();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 wxPoint2D
* resultptr
;
6914 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6923 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6926 wxPoint2D
*arg2
= 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6932 (char *) "self",(char *) "pt", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6937 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6946 result
= (wxPoint2D
*) &_result_ref
;
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6959 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6962 wxPoint2D
*arg2
= 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6968 (char *) "self",(char *) "pt", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6973 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6982 result
= (wxPoint2D
*) &_result_ref
;
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6995 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6998 wxPoint2D
*arg2
= 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7004 (char *) "self",(char *) "pt", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7009 if (SWIG_arg_fail(1)) SWIG_fail
;
7012 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7018 result
= (wxPoint2D
*) &_result_ref
;
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7031 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
;
7033 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7034 wxPoint2D
*arg2
= 0 ;
7037 PyObject
* obj0
= 0 ;
7038 PyObject
* obj1
= 0 ;
7040 (char *) "self",(char *) "pt", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7045 if (SWIG_arg_fail(1)) SWIG_fail
;
7048 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7054 result
= (wxPoint2D
*) &_result_ref
;
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7067 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7070 wxPoint2D
*arg2
= 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7076 (char *) "self",(char *) "pt", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7102 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7105 wxPoint2D
*arg2
= 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "pt", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7116 if (SWIG_arg_fail(1)) SWIG_fail
;
7119 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7137 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7144 (char *) "self",(char *) "m_x", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7149 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 arg2
= (double)(SWIG_As_double(obj1
));
7152 if (SWIG_arg_fail(2)) SWIG_fail
;
7154 if (arg1
) (arg1
)->m_x
= arg2
;
7156 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7175 result
= (double) ((arg1
)->m_x
);
7178 resultobj
= SWIG_From_double((double)(result
));
7186 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "m_y", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail
;
7200 arg2
= (double)(SWIG_As_double(obj1
));
7201 if (SWIG_arg_fail(2)) SWIG_fail
;
7203 if (arg1
) (arg1
)->m_y
= arg2
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7218 (char *) "self", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 result
= (double) ((arg1
)->m_y
);
7227 resultobj
= SWIG_From_double((double)(result
));
7235 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7238 double arg2
= (double) 0 ;
7239 double arg3
= (double) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 PyObject
* obj2
= 0 ;
7244 (char *) "self",(char *) "x",(char *) "y", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7249 if (SWIG_arg_fail(1)) SWIG_fail
;
7252 arg2
= (double)(SWIG_As_double(obj1
));
7253 if (SWIG_arg_fail(2)) SWIG_fail
;
7258 arg3
= (double)(SWIG_As_double(obj2
));
7259 if (SWIG_arg_fail(3)) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxPoint2D_Set(arg1
,arg2
,arg3
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7302 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7305 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7307 return Py_BuildValue((char *)"");
7309 static int _wrap_DefaultPosition_set(PyObject
*) {
7310 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7315 static PyObject
*_wrap_DefaultPosition_get(void) {
7318 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7323 static int _wrap_DefaultSize_set(PyObject
*) {
7324 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7329 static PyObject
*_wrap_DefaultSize_get(void) {
7332 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7337 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 PyObject
*arg1
= (PyObject
*) 0 ;
7340 wxPyInputStream
*result
;
7341 PyObject
* obj0
= 0 ;
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7362 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (bool)(arg1
)->eof();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7468 int arg2
= (int) -1 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7473 (char *) "self",(char *) "size", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7478 if (SWIG_arg_fail(1)) SWIG_fail
;
7481 arg2
= (int)(SWIG_As_int(obj1
));
7482 if (SWIG_arg_fail(2)) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (PyObject
*)(arg1
)->read(arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7499 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7502 int arg2
= (int) -1 ;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7507 (char *) "self",(char *) "size", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail
;
7515 arg2
= (int)(SWIG_As_int(obj1
));
7516 if (SWIG_arg_fail(2)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (PyObject
*)(arg1
)->readline(arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7533 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7536 int arg2
= (int) -1 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "sizehint", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 arg2
= (int)(SWIG_As_int(obj1
));
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7567 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7571 int arg3
= (int) 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 PyObject
* obj2
= 0 ;
7576 (char *) "self",(char *) "offset",(char *) "whence", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 arg2
= (int)(SWIG_As_int(obj1
));
7584 if (SWIG_arg_fail(2)) SWIG_fail
;
7588 arg3
= (int)(SWIG_As_int(obj2
));
7589 if (SWIG_arg_fail(3)) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 (arg1
)->seek(arg2
,arg3
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (int)(arg1
)->tell();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_From_int((int)(result
));
7634 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (char)(arg1
)->Peek();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_From_char((char)(result
));
7662 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7673 if (SWIG_arg_fail(1)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (char)(arg1
)->GetC();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_From_char((char)(result
));
7690 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7701 if (SWIG_arg_fail(1)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (size_t)(arg1
)->LastRead();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7718 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (bool)(arg1
)->CanRead();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7746 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (bool)(arg1
)->Eof();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7774 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "c", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7789 arg2
= (char)(SWIG_As_char(obj1
));
7790 if (SWIG_arg_fail(2)) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (bool)(arg1
)->Ungetch(arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7808 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7812 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7818 (char *) "self",(char *) "pos",(char *) "mode", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7823 if (SWIG_arg_fail(1)) SWIG_fail
;
7825 arg2
= (long)(SWIG_As_long(obj1
));
7826 if (SWIG_arg_fail(2)) SWIG_fail
;
7830 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7831 if (SWIG_arg_fail(3)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_From_long((long)(result
));
7850 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (long)(arg1
)->TellI();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_From_long((long)(result
));
7878 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7881 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7883 return Py_BuildValue((char *)"");
7885 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7888 PyObject
*arg2
= (PyObject
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "obj", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7897 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 wxOutputStream_write(arg1
,arg2
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7918 return Py_BuildValue((char *)"");
7920 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7923 wxString
*arg2
= 0 ;
7924 wxString
*arg3
= 0 ;
7925 wxString
*arg4
= 0 ;
7928 wxPyInputStream
*temp1
;
7929 bool temp2
= false ;
7930 bool temp3
= false ;
7931 bool temp4
= false ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7934 PyObject
* obj2
= 0 ;
7935 PyObject
* obj3
= 0 ;
7936 PyObject
* obj4
= 0 ;
7938 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7943 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7944 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7946 PyErr_Clear(); // clear the failure of the wxPyConvert above
7947 arg1
= wxPyCBInputStream_create(obj0
, true);
7949 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7955 arg2
= wxString_in_helper(obj1
);
7956 if (arg2
== NULL
) SWIG_fail
;
7960 arg3
= wxString_in_helper(obj2
);
7961 if (arg3
== NULL
) SWIG_fail
;
7965 arg4
= wxString_in_helper(obj3
);
7966 if (arg4
== NULL
) SWIG_fail
;
7971 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7972 if (SWIG_arg_fail(5)) SWIG_fail
;
7974 SWIG_null_ref("wxDateTime");
7976 if (SWIG_arg_fail(5)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= wxPyMake_wxObject(result
, 1);
8019 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8022 PyObject
* obj0
= 0 ;
8024 (char *) "self", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8029 if (SWIG_arg_fail(1)) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8047 wxInputStream
*result
;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (wxInputStream
*)(arg1
)->GetStream();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 wxPyInputStream
* _ptr
= NULL
;
8067 _ptr
= new wxPyInputStream(result
);
8069 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8077 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8093 result
= (wxString
*) &_result_ref
;
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8112 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 wxString
const &_result_ref
= (arg1
)->GetLocation();
8128 result
= (wxString
*) &_result_ref
;
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8147 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8153 (char *) "self", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(1)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8163 result
= (wxString
*) &_result_ref
;
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8182 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (arg1
)->GetModificationTime();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8202 wxDateTime
* resultptr
;
8203 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8212 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8215 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8217 return Py_BuildValue((char *)"");
8219 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8222 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8224 return Py_BuildValue((char *)"");
8226 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxPyFileSystemHandler
*result
;
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8248 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8251 PyObject
*arg2
= (PyObject
*) 0 ;
8252 PyObject
*arg3
= (PyObject
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "self",(char *) "self",(char *) "_class", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8262 if (SWIG_arg_fail(1)) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8282 wxString
*arg2
= 0 ;
8284 bool temp2
= false ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8288 (char *) "self",(char *) "location", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 arg2
= wxString_in_helper(obj1
);
8296 if (arg2
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8323 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8326 wxFileSystem
*arg2
= 0 ;
8327 wxString
*arg3
= 0 ;
8329 bool temp3
= false ;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8332 PyObject
* obj2
= 0 ;
8334 (char *) "self",(char *) "fs",(char *) "location", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8339 if (SWIG_arg_fail(1)) SWIG_fail
;
8341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8342 if (SWIG_arg_fail(2)) SWIG_fail
;
8344 SWIG_null_ref("wxFileSystem");
8346 if (SWIG_arg_fail(2)) SWIG_fail
;
8349 arg3
= wxString_in_helper(obj2
);
8350 if (arg3
== NULL
) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= wxPyMake_wxObject(result
, 1);
8377 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8380 wxString
*arg2
= 0 ;
8381 int arg3
= (int) 0 ;
8383 bool temp2
= false ;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8386 PyObject
* obj2
= 0 ;
8388 (char *) "self",(char *) "spec",(char *) "flags", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 arg2
= wxString_in_helper(obj1
);
8396 if (arg2
== NULL
) SWIG_fail
;
8401 arg3
= (int)(SWIG_As_int(obj2
));
8402 if (SWIG_arg_fail(3)) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8433 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (arg1
)->FindNext();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8465 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8468 wxString
*arg2
= 0 ;
8470 bool temp2
= false ;
8471 PyObject
* obj0
= 0 ;
8472 PyObject
* obj1
= 0 ;
8474 (char *) "self",(char *) "location", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8479 if (SWIG_arg_fail(1)) SWIG_fail
;
8481 arg2
= wxString_in_helper(obj1
);
8482 if (arg2
== NULL
) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8513 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
;
8515 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8516 wxString
*arg2
= 0 ;
8518 bool temp2
= false ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "self",(char *) "location", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail
;
8529 arg2
= wxString_in_helper(obj1
);
8530 if (arg2
== NULL
) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8561 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8564 wxString
*arg2
= 0 ;
8566 bool temp2
= false ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8570 (char *) "self",(char *) "location", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8575 if (SWIG_arg_fail(1)) SWIG_fail
;
8577 arg2
= wxString_in_helper(obj1
);
8578 if (arg2
== NULL
) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8609 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8612 wxString
*arg2
= 0 ;
8614 bool temp2
= false ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "location", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8623 if (SWIG_arg_fail(1)) SWIG_fail
;
8625 arg2
= wxString_in_helper(obj1
);
8626 if (arg2
== NULL
) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8657 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8660 wxString
*arg2
= 0 ;
8662 bool temp2
= false ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8666 (char *) "self",(char *) "location", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8671 if (SWIG_arg_fail(1)) SWIG_fail
;
8673 arg2
= wxString_in_helper(obj1
);
8674 if (arg2
== NULL
) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8705 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8710 return Py_BuildValue((char *)"");
8712 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxFileSystem
*result
;
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxFileSystem
*)new wxFileSystem();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= wxPyMake_wxObject(result
, 1);
8736 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8741 (char *) "self", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8764 wxString
*arg2
= 0 ;
8765 bool arg3
= (bool) false ;
8766 bool temp2
= false ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8771 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 arg2
= wxString_in_helper(obj1
);
8779 if (arg2
== NULL
) SWIG_fail
;
8784 arg3
= (bool)(SWIG_As_bool(obj2
));
8785 if (SWIG_arg_fail(3)) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8810 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (arg1
)->GetPath();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8842 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8845 wxString
*arg2
= 0 ;
8847 bool temp2
= false ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8851 (char *) "self",(char *) "location", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8856 if (SWIG_arg_fail(1)) SWIG_fail
;
8858 arg2
= wxString_in_helper(obj1
);
8859 if (arg2
== NULL
) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= wxPyMake_wxObject(result
, 1);
8886 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8889 wxString
*arg2
= 0 ;
8890 int arg3
= (int) 0 ;
8892 bool temp2
= false ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "spec",(char *) "flags", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail
;
8904 arg2
= wxString_in_helper(obj1
);
8905 if (arg2
== NULL
) SWIG_fail
;
8910 arg3
= (int)(SWIG_As_int(obj2
));
8911 if (SWIG_arg_fail(3)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8942 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8948 (char *) "self", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (arg1
)->FindNext();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8974 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "handler", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 wxFileSystem::AddHandler(arg1
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxFileSystem::CleanUpHandlers();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9020 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxString
*arg1
= 0 ;
9024 bool temp1
= false ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "filename", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9032 arg1
= wxString_in_helper(obj0
);
9033 if (arg1
== NULL
) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9064 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxString
*arg1
= 0 ;
9068 bool temp1
= false ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "url", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9076 arg1
= wxString_in_helper(obj0
);
9077 if (arg1
== NULL
) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9108 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9111 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9113 return Py_BuildValue((char *)"");
9115 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxInternetFSHandler
*result
;
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9137 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9140 wxString
*arg2
= 0 ;
9142 bool temp2
= false ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "location", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 arg2
= wxString_in_helper(obj1
);
9154 if (arg2
== NULL
) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9181 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9184 wxFileSystem
*arg2
= 0 ;
9185 wxString
*arg3
= 0 ;
9187 bool temp3
= false ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9190 PyObject
* obj2
= 0 ;
9192 (char *) "self",(char *) "fs",(char *) "location", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9197 if (SWIG_arg_fail(1)) SWIG_fail
;
9199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9200 if (SWIG_arg_fail(2)) SWIG_fail
;
9202 SWIG_null_ref("wxFileSystem");
9204 if (SWIG_arg_fail(2)) SWIG_fail
;
9207 arg3
= wxString_in_helper(obj2
);
9208 if (arg3
== NULL
) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= wxPyMake_wxObject(result
, 1);
9235 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9238 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9240 return Py_BuildValue((char *)"");
9242 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxZipFSHandler
*result
;
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9264 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9267 wxString
*arg2
= 0 ;
9269 bool temp2
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9273 (char *) "self",(char *) "location", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9278 if (SWIG_arg_fail(1)) SWIG_fail
;
9280 arg2
= wxString_in_helper(obj1
);
9281 if (arg2
== NULL
) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9308 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9311 wxFileSystem
*arg2
= 0 ;
9312 wxString
*arg3
= 0 ;
9314 bool temp3
= false ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9319 (char *) "self",(char *) "fs",(char *) "location", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9324 if (SWIG_arg_fail(1)) SWIG_fail
;
9326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9327 if (SWIG_arg_fail(2)) SWIG_fail
;
9329 SWIG_null_ref("wxFileSystem");
9331 if (SWIG_arg_fail(2)) SWIG_fail
;
9334 arg3
= wxString_in_helper(obj2
);
9335 if (arg3
== NULL
) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= wxPyMake_wxObject(result
, 1);
9362 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9365 wxString
*arg2
= 0 ;
9366 int arg3
= (int) 0 ;
9368 bool temp2
= false ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 PyObject
* obj2
= 0 ;
9373 (char *) "self",(char *) "spec",(char *) "flags", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9378 if (SWIG_arg_fail(1)) SWIG_fail
;
9380 arg2
= wxString_in_helper(obj1
);
9381 if (arg2
== NULL
) SWIG_fail
;
9386 arg3
= (int)(SWIG_As_int(obj2
));
9387 if (SWIG_arg_fail(3)) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9418 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (arg1
)->FindNext();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9450 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9453 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9455 return Py_BuildValue((char *)"");
9457 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxString
*arg1
= 0 ;
9462 bool temp1
= false ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9467 (char *) "filename",(char *) "image",(char *) "type", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9472 arg1
= wxString_in_helper(obj0
);
9473 if (arg1
== NULL
) SWIG_fail
;
9477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9478 if (SWIG_arg_fail(2)) SWIG_fail
;
9480 SWIG_null_ref("wxImage");
9482 if (SWIG_arg_fail(2)) SWIG_fail
;
9485 arg3
= (long)(SWIG_As_long(obj2
));
9486 if (SWIG_arg_fail(3)) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxString
*arg1
= 0 ;
9513 wxBitmap
*arg2
= 0 ;
9515 bool temp1
= false ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 PyObject
* obj2
= 0 ;
9520 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9525 arg1
= wxString_in_helper(obj0
);
9526 if (arg1
== NULL
) SWIG_fail
;
9530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9531 if (SWIG_arg_fail(2)) SWIG_fail
;
9533 SWIG_null_ref("wxBitmap");
9535 if (SWIG_arg_fail(2)) SWIG_fail
;
9538 arg3
= (long)(SWIG_As_long(obj2
));
9539 if (SWIG_arg_fail(3)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxString
*arg1
= 0 ;
9566 PyObject
*arg2
= (PyObject
*) 0 ;
9567 bool temp1
= false ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "filename",(char *) "data", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 arg1
= wxString_in_helper(obj0
);
9577 if (arg1
== NULL
) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 Py_INCREF(Py_None
); resultobj
= Py_None
;
9603 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxMemoryFSHandler
*result
;
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9625 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxString
*arg1
= 0 ;
9628 bool temp1
= false ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "filename", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9636 arg1
= wxString_in_helper(obj0
);
9637 if (arg1
== NULL
) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 Py_INCREF(Py_None
); resultobj
= Py_None
;
9662 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9665 wxString
*arg2
= 0 ;
9667 bool temp2
= false ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9671 (char *) "self",(char *) "location", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9676 if (SWIG_arg_fail(1)) SWIG_fail
;
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9706 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9709 wxFileSystem
*arg2
= 0 ;
9710 wxString
*arg3
= 0 ;
9712 bool temp3
= false ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 PyObject
* obj2
= 0 ;
9717 (char *) "self",(char *) "fs",(char *) "location", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9722 if (SWIG_arg_fail(1)) SWIG_fail
;
9724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9725 if (SWIG_arg_fail(2)) SWIG_fail
;
9727 SWIG_null_ref("wxFileSystem");
9729 if (SWIG_arg_fail(2)) SWIG_fail
;
9732 arg3
= wxString_in_helper(obj2
);
9733 if (arg3
== NULL
) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= wxPyMake_wxObject(result
, 1);
9760 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9763 wxString
*arg2
= 0 ;
9764 int arg3
= (int) 0 ;
9766 bool temp2
= false ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9769 PyObject
* obj2
= 0 ;
9771 (char *) "self",(char *) "spec",(char *) "flags", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 arg2
= wxString_in_helper(obj1
);
9779 if (arg2
== NULL
) SWIG_fail
;
9784 arg3
= (int)(SWIG_As_int(obj2
));
9785 if (SWIG_arg_fail(3)) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9816 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9827 if (SWIG_arg_fail(1)) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (arg1
)->FindNext();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9848 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9851 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9853 return Py_BuildValue((char *)"");
9855 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9866 if (SWIG_arg_fail(1)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (arg1
)->GetName();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9887 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (arg1
)->GetExtension();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9919 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (long)(arg1
)->GetType();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_From_long((long)(result
));
9947 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (arg1
)->GetMimeType();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9979 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9982 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9988 (char *) "self",(char *) "name", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9993 if (SWIG_arg_fail(1)) SWIG_fail
;
9995 arg2
= wxString_in_helper(obj1
);
9996 if (arg2
== NULL
) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10023 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10026 wxString
*arg2
= 0 ;
10027 bool temp2
= false ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self",(char *) "name", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail
;
10038 arg2
= wxString_in_helper(obj1
);
10039 if (arg2
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 (arg1
)->SetName((wxString
const &)*arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10067 wxString
*arg2
= 0 ;
10068 bool temp2
= false ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "extension", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail
;
10079 arg2
= wxString_in_helper(obj1
);
10080 if (arg2
== NULL
) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 (arg1
)->SetExtension((wxString
const &)*arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self",(char *) "type", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10117 if (SWIG_arg_fail(1)) SWIG_fail
;
10119 arg2
= (long)(SWIG_As_long(obj1
));
10120 if (SWIG_arg_fail(2)) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->SetType(arg2
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10136 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10139 wxString
*arg2
= 0 ;
10140 bool temp2
= false ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "mimetype", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail
;
10151 arg2
= wxString_in_helper(obj1
);
10152 if (arg2
== NULL
) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 Py_INCREF(Py_None
); resultobj
= Py_None
;
10177 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10180 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10182 return Py_BuildValue((char *)"");
10184 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxImageHistogram
*result
;
10187 char *kwnames
[] = {
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (wxImageHistogram
*)new wxImageHistogram();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10206 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 unsigned char arg1
;
10209 unsigned char arg2
;
10210 unsigned char arg3
;
10211 unsigned long result
;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "r",(char *) "g",(char *) "b", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10221 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10222 if (SWIG_arg_fail(1)) SWIG_fail
;
10225 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10226 if (SWIG_arg_fail(2)) SWIG_fail
;
10229 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10230 if (SWIG_arg_fail(3)) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10248 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10251 unsigned char *arg2
= (unsigned char *) 0 ;
10252 unsigned char *arg3
= (unsigned char *) 0 ;
10253 unsigned char *arg4
= (unsigned char *) 0 ;
10254 unsigned char arg5
= (unsigned char) 1 ;
10255 unsigned char arg6
= (unsigned char) 0 ;
10256 unsigned char arg7
= (unsigned char) 0 ;
10258 unsigned char temp2
;
10260 unsigned char temp3
;
10262 unsigned char temp4
;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 PyObject
* obj2
= 0 ;
10267 PyObject
* obj3
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10272 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10273 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10274 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10277 if (SWIG_arg_fail(1)) SWIG_fail
;
10280 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10281 if (SWIG_arg_fail(5)) SWIG_fail
;
10286 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10287 if (SWIG_arg_fail(6)) SWIG_fail
;
10292 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10293 if (SWIG_arg_fail(7)) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10307 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10309 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10310 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10311 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10318 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10321 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10323 return Py_BuildValue((char *)"");
10325 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxString
*arg1
= 0 ;
10328 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10329 int arg3
= (int) -1 ;
10331 bool temp1
= false ;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 PyObject
* obj2
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "name",(char *) "type",(char *) "index", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10341 arg1
= wxString_in_helper(obj0
);
10342 if (arg1
== NULL
) SWIG_fail
;
10347 arg2
= (long)(SWIG_As_long(obj1
));
10348 if (SWIG_arg_fail(2)) SWIG_fail
;
10353 arg3
= (int)(SWIG_As_int(obj2
));
10354 if (SWIG_arg_fail(3)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10379 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxImage
*arg1
= (wxImage
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10389 if (SWIG_arg_fail(1)) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 Py_INCREF(Py_None
); resultobj
= Py_None
;
10404 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxString
*arg1
= 0 ;
10407 wxString
*arg2
= 0 ;
10408 int arg3
= (int) -1 ;
10410 bool temp1
= false ;
10411 bool temp2
= false ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 PyObject
* obj2
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10421 arg1
= wxString_in_helper(obj0
);
10422 if (arg1
== NULL
) SWIG_fail
;
10426 arg2
= wxString_in_helper(obj1
);
10427 if (arg2
== NULL
) SWIG_fail
;
10432 arg3
= (int)(SWIG_As_int(obj2
));
10433 if (SWIG_arg_fail(3)) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10466 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxInputStream
*arg1
= 0 ;
10469 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10470 int arg3
= (int) -1 ;
10472 wxPyInputStream
*temp1
;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 PyObject
* obj2
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "stream",(char *) "type",(char *) "index", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10483 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10484 arg1
= temp1
->m_wxis
;
10487 PyErr_Clear(); // clear the failure of the wxPyConvert above
10488 arg1
= wxPyCBInputStream_create(obj0
, false);
10489 if (arg1
== NULL
) {
10490 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10498 arg2
= (long)(SWIG_As_long(obj1
));
10499 if (SWIG_arg_fail(2)) SWIG_fail
;
10504 arg3
= (int)(SWIG_As_int(obj2
));
10505 if (SWIG_arg_fail(3)) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10517 if (created1
) delete arg1
;
10522 if (created1
) delete arg1
;
10528 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxInputStream
*arg1
= 0 ;
10531 wxString
*arg2
= 0 ;
10532 int arg3
= (int) -1 ;
10534 wxPyInputStream
*temp1
;
10536 bool temp2
= false ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10546 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10547 arg1
= temp1
->m_wxis
;
10550 PyErr_Clear(); // clear the failure of the wxPyConvert above
10551 arg1
= wxPyCBInputStream_create(obj0
, false);
10552 if (arg1
== NULL
) {
10553 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10560 arg2
= wxString_in_helper(obj1
);
10561 if (arg2
== NULL
) SWIG_fail
;
10566 arg3
= (int)(SWIG_As_int(obj2
));
10567 if (SWIG_arg_fail(3)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10579 if (created1
) delete arg1
;
10588 if (created1
) delete arg1
;
10598 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 int arg1
= (int) 0 ;
10601 int arg2
= (int) 0 ;
10602 bool arg3
= (bool) true ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 PyObject
* obj2
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "width",(char *) "height",(char *) "clear", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 arg1
= (int)(SWIG_As_int(obj0
));
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 arg2
= (int)(SWIG_As_int(obj1
));
10621 if (SWIG_arg_fail(2)) SWIG_fail
;
10626 arg3
= (bool)(SWIG_As_bool(obj2
));
10627 if (SWIG_arg_fail(3)) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10644 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxBitmap
*arg1
= 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "bitmap", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10657 if (arg1
== NULL
) {
10658 SWIG_null_ref("wxBitmap");
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10677 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10681 unsigned char *arg3
= (unsigned char *) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "width",(char *) "height",(char *) "data", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10692 arg1
= (int)(SWIG_As_int(obj0
));
10693 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 arg2
= (int)(SWIG_As_int(obj1
));
10697 if (SWIG_arg_fail(2)) SWIG_fail
;
10699 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(3)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10715 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10719 unsigned char *arg3
= (unsigned char *) 0 ;
10720 unsigned char *arg4
= (unsigned char *) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10732 arg1
= (int)(SWIG_As_int(obj0
));
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 arg2
= (int)(SWIG_As_int(obj1
));
10737 if (SWIG_arg_fail(2)) SWIG_fail
;
10739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10740 if (SWIG_arg_fail(3)) SWIG_fail
;
10741 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(4)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10757 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxImage
*arg1
= (wxImage
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self",(char *) "width",(char *) "height", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10771 if (SWIG_arg_fail(1)) SWIG_fail
;
10773 arg2
= (int)(SWIG_As_int(obj1
));
10774 if (SWIG_arg_fail(2)) SWIG_fail
;
10777 arg3
= (int)(SWIG_As_int(obj2
));
10778 if (SWIG_arg_fail(3)) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->Create(arg2
,arg3
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10804 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxImage
*arg1
= (wxImage
*) 0 ;
10824 SwigValueWrapper
<wxImage
> result
;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "width",(char *) "height", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10836 arg2
= (int)(SWIG_As_int(obj1
));
10837 if (SWIG_arg_fail(2)) SWIG_fail
;
10840 arg3
= (int)(SWIG_As_int(obj2
));
10841 if (SWIG_arg_fail(3)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (arg1
)->Scale(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 wxImage
* resultptr
;
10852 resultptr
= new wxImage((wxImage
&)(result
));
10853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10861 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxImage
*arg1
= (wxImage
*) 0 ;
10866 SwigValueWrapper
<wxImage
> result
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail
;
10878 arg2
= (int)(SWIG_As_int(obj1
));
10879 if (SWIG_arg_fail(2)) SWIG_fail
;
10882 arg3
= (int)(SWIG_As_int(obj2
));
10883 if (SWIG_arg_fail(3)) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 wxImage
* resultptr
;
10894 resultptr
= new wxImage((wxImage
&)(result
));
10895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10903 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "width",(char *) "height", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10918 if (SWIG_arg_fail(1)) SWIG_fail
;
10920 arg2
= (int)(SWIG_As_int(obj1
));
10921 if (SWIG_arg_fail(2)) SWIG_fail
;
10924 arg3
= (int)(SWIG_As_int(obj2
));
10925 if (SWIG_arg_fail(3)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10931 result
= (wxImage
*) &_result_ref
;
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10944 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxImage
*arg1
= (wxImage
*) 0 ;
10948 wxPoint
*arg3
= 0 ;
10949 int arg4
= (int) -1 ;
10950 int arg5
= (int) -1 ;
10951 int arg6
= (int) -1 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 PyObject
* obj2
= 0 ;
10958 PyObject
* obj3
= 0 ;
10959 PyObject
* obj4
= 0 ;
10960 PyObject
* obj5
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10978 arg4
= (int)(SWIG_As_int(obj3
));
10979 if (SWIG_arg_fail(4)) SWIG_fail
;
10984 arg5
= (int)(SWIG_As_int(obj4
));
10985 if (SWIG_arg_fail(5)) SWIG_fail
;
10990 arg6
= (int)(SWIG_As_int(obj5
));
10991 if (SWIG_arg_fail(6)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
10998 result
= (wxImage
*) &_result_ref
;
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11011 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxImage
*arg1
= (wxImage
*) 0 ;
11016 unsigned char arg4
;
11017 unsigned char arg5
;
11018 unsigned char arg6
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 PyObject
* obj3
= 0 ;
11023 PyObject
* obj4
= 0 ;
11024 PyObject
* obj5
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 arg2
= (int)(SWIG_As_int(obj1
));
11034 if (SWIG_arg_fail(2)) SWIG_fail
;
11037 arg3
= (int)(SWIG_As_int(obj2
));
11038 if (SWIG_arg_fail(3)) SWIG_fail
;
11041 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11042 if (SWIG_arg_fail(4)) SWIG_fail
;
11045 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11046 if (SWIG_arg_fail(5)) SWIG_fail
;
11049 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11050 if (SWIG_arg_fail(6)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxImage
*arg1
= (wxImage
*) 0 ;
11070 unsigned char arg3
;
11071 unsigned char arg4
;
11072 unsigned char arg5
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 PyObject
* obj3
= 0 ;
11078 PyObject
* obj4
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11085 if (SWIG_arg_fail(1)) SWIG_fail
;
11088 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11091 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11092 if (SWIG_arg_fail(3)) SWIG_fail
;
11095 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11096 if (SWIG_arg_fail(4)) SWIG_fail
;
11099 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11100 if (SWIG_arg_fail(5)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxImage
*arg1
= (wxImage
*) 0 ;
11121 unsigned char result
;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "x",(char *) "y", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11131 if (SWIG_arg_fail(1)) SWIG_fail
;
11133 arg2
= (int)(SWIG_As_int(obj1
));
11134 if (SWIG_arg_fail(2)) SWIG_fail
;
11137 arg3
= (int)(SWIG_As_int(obj2
));
11138 if (SWIG_arg_fail(3)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11156 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxImage
*arg1
= (wxImage
*) 0 ;
11161 unsigned char result
;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "x",(char *) "y", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail
;
11173 arg2
= (int)(SWIG_As_int(obj1
));
11174 if (SWIG_arg_fail(2)) SWIG_fail
;
11177 arg3
= (int)(SWIG_As_int(obj2
));
11178 if (SWIG_arg_fail(3)) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11196 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxImage
*arg1
= (wxImage
*) 0 ;
11201 unsigned char result
;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "x",(char *) "y", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 arg2
= (int)(SWIG_As_int(obj1
));
11214 if (SWIG_arg_fail(2)) SWIG_fail
;
11217 arg3
= (int)(SWIG_As_int(obj2
));
11218 if (SWIG_arg_fail(3)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11236 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxImage
*arg1
= (wxImage
*) 0 ;
11241 unsigned char arg4
;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 PyObject
* obj3
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11254 arg2
= (int)(SWIG_As_int(obj1
));
11255 if (SWIG_arg_fail(2)) SWIG_fail
;
11258 arg3
= (int)(SWIG_As_int(obj2
));
11259 if (SWIG_arg_fail(3)) SWIG_fail
;
11262 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11263 if (SWIG_arg_fail(4)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 Py_INCREF(Py_None
); resultobj
= Py_None
;
11279 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxImage
*arg1
= (wxImage
*) 0 ;
11284 unsigned char result
;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "x",(char *) "y", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail
;
11296 arg2
= (int)(SWIG_As_int(obj1
));
11297 if (SWIG_arg_fail(2)) SWIG_fail
;
11300 arg3
= (int)(SWIG_As_int(obj2
));
11301 if (SWIG_arg_fail(3)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11319 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxImage
*arg1
= (wxImage
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11330 if (SWIG_arg_fail(1)) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->HasAlpha();
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11347 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxImage
*arg1
= (wxImage
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11357 if (SWIG_arg_fail(1)) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 (arg1
)->InitAlpha();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 Py_INCREF(Py_None
); resultobj
= Py_None
;
11372 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
;
11374 wxImage
*arg1
= (wxImage
*) 0 ;
11375 byte
*arg2
= (byte
*) 0 ;
11376 byte
*arg3
= (byte
*) 0 ;
11377 byte
*arg4
= (byte
*) 0 ;
11378 byte arg5
= (byte
) 0 ;
11379 byte arg6
= (byte
) 0 ;
11380 byte arg7
= (byte
) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 PyObject
* obj3
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11396 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11398 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail
;
11404 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11405 if (SWIG_arg_fail(5)) SWIG_fail
;
11410 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11411 if (SWIG_arg_fail(6)) SWIG_fail
;
11416 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11417 if (SWIG_arg_fail(7)) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11430 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11431 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11432 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11433 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11434 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11435 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11442 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxImage
*arg1
= (wxImage
*) 0 ;
11445 byte arg2
= (byte
) 128 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self",(char *) "threshold", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11455 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11459 if (SWIG_arg_fail(2)) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11478 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxImage
*arg1
= (wxImage
*) 0 ;
11481 unsigned char arg2
;
11482 unsigned char arg3
;
11483 unsigned char arg4
;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 PyObject
* obj2
= 0 ;
11488 PyObject
* obj3
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail
;
11497 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11498 if (SWIG_arg_fail(2)) SWIG_fail
;
11501 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11502 if (SWIG_arg_fail(3)) SWIG_fail
;
11505 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11506 if (SWIG_arg_fail(4)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11524 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxImage
*arg1
= (wxImage
*) 0 ;
11527 wxImage
*arg2
= 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11547 if (arg2
== NULL
) {
11548 SWIG_null_ref("wxImage");
11550 if (SWIG_arg_fail(2)) SWIG_fail
;
11553 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11554 if (SWIG_arg_fail(3)) SWIG_fail
;
11557 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11558 if (SWIG_arg_fail(4)) SWIG_fail
;
11561 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11562 if (SWIG_arg_fail(5)) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11580 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxString
*arg1
= 0 ;
11584 bool temp1
= false ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "name", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11592 arg1
= wxString_in_helper(obj0
);
11593 if (arg1
== NULL
) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11620 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxString
*arg1
= 0 ;
11623 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11625 bool temp1
= false ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "name",(char *) "type", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11634 arg1
= wxString_in_helper(obj0
);
11635 if (arg1
== NULL
) SWIG_fail
;
11640 arg2
= (long)(SWIG_As_long(obj1
));
11641 if (SWIG_arg_fail(2)) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_From_int((int)(result
));
11668 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxImage
*arg1
= (wxImage
*) 0 ;
11671 wxString
*arg2
= 0 ;
11672 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11673 int arg4
= (int) -1 ;
11675 bool temp2
= false ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 PyObject
* obj2
= 0 ;
11679 PyObject
* obj3
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 arg2
= wxString_in_helper(obj1
);
11689 if (arg2
== NULL
) SWIG_fail
;
11694 arg3
= (long)(SWIG_As_long(obj2
));
11695 if (SWIG_arg_fail(3)) SWIG_fail
;
11700 arg4
= (int)(SWIG_As_int(obj3
));
11701 if (SWIG_arg_fail(4)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11728 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxImage
*arg1
= (wxImage
*) 0 ;
11731 wxString
*arg2
= 0 ;
11732 wxString
*arg3
= 0 ;
11733 int arg4
= (int) -1 ;
11735 bool temp2
= false ;
11736 bool temp3
= false ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 PyObject
* obj2
= 0 ;
11740 PyObject
* obj3
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11754 arg3
= wxString_in_helper(obj2
);
11755 if (arg3
== NULL
) SWIG_fail
;
11760 arg4
= (int)(SWIG_As_int(obj3
));
11761 if (SWIG_arg_fail(4)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11796 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxImage
*arg1
= (wxImage
*) 0 ;
11799 wxString
*arg2
= 0 ;
11802 bool temp2
= false ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self",(char *) "name",(char *) "type", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11812 if (SWIG_arg_fail(1)) SWIG_fail
;
11814 arg2
= wxString_in_helper(obj1
);
11815 if (arg2
== NULL
) SWIG_fail
;
11819 arg3
= (int)(SWIG_As_int(obj2
));
11820 if (SWIG_arg_fail(3)) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11846 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxImage
*arg1
= (wxImage
*) 0 ;
11849 wxString
*arg2
= 0 ;
11850 wxString
*arg3
= 0 ;
11852 bool temp2
= false ;
11853 bool temp3
= false ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 PyObject
* obj2
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11863 if (SWIG_arg_fail(1)) SWIG_fail
;
11865 arg2
= wxString_in_helper(obj1
);
11866 if (arg2
== NULL
) SWIG_fail
;
11870 arg3
= wxString_in_helper(obj2
);
11871 if (arg3
== NULL
) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxInputStream
*arg1
= 0 ;
11910 wxPyInputStream
*temp1
;
11912 PyObject
* obj0
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "stream", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11919 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11920 arg1
= temp1
->m_wxis
;
11923 PyErr_Clear(); // clear the failure of the wxPyConvert above
11924 arg1
= wxPyCBInputStream_create(obj0
, false);
11925 if (arg1
== NULL
) {
11926 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (bool)wxImage::CanRead(*arg1
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 if (created1
) delete arg1
;
11948 if (created1
) delete arg1
;
11954 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxImage
*arg1
= (wxImage
*) 0 ;
11957 wxInputStream
*arg2
= 0 ;
11958 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11959 int arg4
= (int) -1 ;
11961 wxPyInputStream
*temp2
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj2
= 0 ;
11966 PyObject
* obj3
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11973 if (SWIG_arg_fail(1)) SWIG_fail
;
11975 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11976 arg2
= temp2
->m_wxis
;
11979 PyErr_Clear(); // clear the failure of the wxPyConvert above
11980 arg2
= wxPyCBInputStream_create(obj1
, false);
11981 if (arg2
== NULL
) {
11982 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11990 arg3
= (long)(SWIG_As_long(obj2
));
11991 if (SWIG_arg_fail(3)) SWIG_fail
;
11996 arg4
= (int)(SWIG_As_int(obj3
));
11997 if (SWIG_arg_fail(4)) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 if (created2
) delete arg2
;
12016 if (created2
) delete arg2
;
12022 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxImage
*arg1
= (wxImage
*) 0 ;
12025 wxInputStream
*arg2
= 0 ;
12026 wxString
*arg3
= 0 ;
12027 int arg4
= (int) -1 ;
12029 wxPyInputStream
*temp2
;
12031 bool temp3
= false ;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 PyObject
* obj2
= 0 ;
12035 PyObject
* obj3
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12042 if (SWIG_arg_fail(1)) SWIG_fail
;
12044 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12045 arg2
= temp2
->m_wxis
;
12048 PyErr_Clear(); // clear the failure of the wxPyConvert above
12049 arg2
= wxPyCBInputStream_create(obj1
, false);
12050 if (arg2
== NULL
) {
12051 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12058 arg3
= wxString_in_helper(obj2
);
12059 if (arg3
== NULL
) SWIG_fail
;
12064 arg4
= (int)(SWIG_As_int(obj3
));
12065 if (SWIG_arg_fail(4)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12079 if (created2
) delete arg2
;
12088 if (created2
) delete arg2
;
12098 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxImage
*arg1
= (wxImage
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12109 if (SWIG_arg_fail(1)) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (bool)(arg1
)->Ok();
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12126 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxImage
*arg1
= (wxImage
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (int)(arg1
)->GetWidth();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int((int)(result
));
12154 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxImage
*arg1
= (wxImage
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12165 if (SWIG_arg_fail(1)) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (int)(arg1
)->GetHeight();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_From_int((int)(result
));
12182 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxImage
*arg1
= (wxImage
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12193 if (SWIG_arg_fail(1)) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= wxImage_GetSize(arg1
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12202 wxSize
* resultptr
;
12203 resultptr
= new wxSize((wxSize
&)(result
));
12204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12212 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxImage
*arg1
= (wxImage
*) 0 ;
12216 SwigValueWrapper
<wxImage
> result
;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "rect", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 wxImage
* resultptr
;
12240 resultptr
= new wxImage((wxImage
&)(result
));
12241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12249 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxImage
*arg1
= (wxImage
*) 0 ;
12253 wxPoint
*arg3
= 0 ;
12254 int arg4
= (int) -1 ;
12255 int arg5
= (int) -1 ;
12256 int arg6
= (int) -1 ;
12257 SwigValueWrapper
<wxImage
> result
;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 PyObject
* obj2
= 0 ;
12263 PyObject
* obj3
= 0 ;
12264 PyObject
* obj4
= 0 ;
12265 PyObject
* obj5
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12283 arg4
= (int)(SWIG_As_int(obj3
));
12284 if (SWIG_arg_fail(4)) SWIG_fail
;
12289 arg5
= (int)(SWIG_As_int(obj4
));
12290 if (SWIG_arg_fail(5)) SWIG_fail
;
12295 arg6
= (int)(SWIG_As_int(obj5
));
12296 if (SWIG_arg_fail(6)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 wxImage
* resultptr
;
12308 resultptr
= new wxImage((wxImage
&)(result
));
12309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12317 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxImage
*arg1
= (wxImage
*) 0 ;
12320 SwigValueWrapper
<wxImage
> result
;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (arg1
)->Copy();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 wxImage
* resultptr
;
12338 resultptr
= new wxImage((wxImage
&)(result
));
12339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12347 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxImage
*arg1
= (wxImage
*) 0 ;
12350 wxImage
*arg2
= 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 PyObject
* obj2
= 0 ;
12356 PyObject
* obj3
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(2)) SWIG_fail
;
12367 if (arg2
== NULL
) {
12368 SWIG_null_ref("wxImage");
12370 if (SWIG_arg_fail(2)) SWIG_fail
;
12373 arg3
= (int)(SWIG_As_int(obj2
));
12374 if (SWIG_arg_fail(3)) SWIG_fail
;
12377 arg4
= (int)(SWIG_As_int(obj3
));
12378 if (SWIG_arg_fail(4)) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxImage
*arg1
= (wxImage
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12405 if (SWIG_arg_fail(1)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (PyObject
*)wxImage_GetData(arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= result
;
12420 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxImage
*arg1
= (wxImage
*) 0 ;
12423 PyObject
*arg2
= (PyObject
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "data", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 wxImage_SetData(arg1
,arg2
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxImage
*arg1
= (wxImage
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= result
;
12474 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxImage
*arg1
= (wxImage
*) 0 ;
12477 PyObject
*arg2
= (PyObject
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "data", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12486 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 wxImage_SetDataBuffer(arg1
,arg2
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxImage
*arg1
= (wxImage
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12513 if (SWIG_arg_fail(1)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= result
;
12528 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxImage
*arg1
= (wxImage
*) 0 ;
12531 PyObject
*arg2
= (PyObject
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "data", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12540 if (SWIG_arg_fail(1)) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 wxImage_SetAlphaData(arg1
,arg2
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 Py_INCREF(Py_None
); resultobj
= Py_None
;
12556 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxImage
*arg1
= (wxImage
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= result
;
12582 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxImage
*arg1
= (wxImage
*) 0 ;
12585 PyObject
*arg2
= (PyObject
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self",(char *) "data", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 wxImage_SetAlphaBuffer(arg1
,arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxImage
*arg1
= (wxImage
*) 0 ;
12613 unsigned char arg2
;
12614 unsigned char arg3
;
12615 unsigned char arg4
;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 PyObject
* obj2
= 0 ;
12619 PyObject
* obj3
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12626 if (SWIG_arg_fail(1)) SWIG_fail
;
12628 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12629 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12633 if (SWIG_arg_fail(3)) SWIG_fail
;
12636 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12637 if (SWIG_arg_fail(4)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxImage
*arg1
= (wxImage
*) 0 ;
12656 unsigned char *arg2
= (unsigned char *) 0 ;
12657 unsigned char *arg3
= (unsigned char *) 0 ;
12658 unsigned char *arg4
= (unsigned char *) 0 ;
12659 unsigned char temp2
;
12661 unsigned char temp3
;
12663 unsigned char temp4
;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12671 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12672 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12685 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12686 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12687 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12688 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12689 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12696 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxImage
*arg1
= (wxImage
*) 0 ;
12699 unsigned char result
;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (unsigned char)(arg1
)->GetMaskRed();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12724 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxImage
*arg1
= (wxImage
*) 0 ;
12727 unsigned char result
;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(1)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (unsigned char)(arg1
)->GetMaskGreen();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12752 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxImage
*arg1
= (wxImage
*) 0 ;
12755 unsigned char result
;
12756 PyObject
* obj0
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12763 if (SWIG_arg_fail(1)) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (unsigned char)(arg1
)->GetMaskBlue();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12780 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxImage
*arg1
= (wxImage
*) 0 ;
12783 bool arg2
= (bool) true ;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "mask", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12792 if (SWIG_arg_fail(1)) SWIG_fail
;
12795 arg2
= (bool)(SWIG_As_bool(obj1
));
12796 if (SWIG_arg_fail(2)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 (arg1
)->SetMask(arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 Py_INCREF(Py_None
); resultobj
= Py_None
;
12813 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxImage
*arg1
= (wxImage
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12824 if (SWIG_arg_fail(1)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (bool)(arg1
)->HasMask();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12841 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxImage
*arg1
= (wxImage
*) 0 ;
12845 wxPoint
*arg3
= 0 ;
12846 bool arg4
= (bool) true ;
12847 wxPoint
*arg5
= (wxPoint
*) NULL
;
12848 SwigValueWrapper
<wxImage
> result
;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 PyObject
* obj2
= 0 ;
12853 PyObject
* obj3
= 0 ;
12854 PyObject
* obj4
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12861 if (SWIG_arg_fail(1)) SWIG_fail
;
12863 arg2
= (double)(SWIG_As_double(obj1
));
12864 if (SWIG_arg_fail(2)) SWIG_fail
;
12868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12872 arg4
= (bool)(SWIG_As_bool(obj3
));
12873 if (SWIG_arg_fail(4)) SWIG_fail
;
12877 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12878 if (SWIG_arg_fail(5)) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 wxImage
* resultptr
;
12889 resultptr
= new wxImage((wxImage
&)(result
));
12890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12898 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxImage
*arg1
= (wxImage
*) 0 ;
12901 bool arg2
= (bool) true ;
12902 SwigValueWrapper
<wxImage
> result
;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "clockwise", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12911 if (SWIG_arg_fail(1)) SWIG_fail
;
12914 arg2
= (bool)(SWIG_As_bool(obj1
));
12915 if (SWIG_arg_fail(2)) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (arg1
)->Rotate90(arg2
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 wxImage
* resultptr
;
12927 resultptr
= new wxImage((wxImage
&)(result
));
12928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12936 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxImage
*arg1
= (wxImage
*) 0 ;
12939 bool arg2
= (bool) true ;
12940 SwigValueWrapper
<wxImage
> result
;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self",(char *) "horizontally", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 arg2
= (bool)(SWIG_As_bool(obj1
));
12953 if (SWIG_arg_fail(2)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (arg1
)->Mirror(arg2
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 wxImage
* resultptr
;
12965 resultptr
= new wxImage((wxImage
&)(result
));
12966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12974 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxImage
*arg1
= (wxImage
*) 0 ;
12977 unsigned char arg2
;
12978 unsigned char arg3
;
12979 unsigned char arg4
;
12980 unsigned char arg5
;
12981 unsigned char arg6
;
12982 unsigned char arg7
;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 PyObject
* obj2
= 0 ;
12986 PyObject
* obj3
= 0 ;
12987 PyObject
* obj4
= 0 ;
12988 PyObject
* obj5
= 0 ;
12989 PyObject
* obj6
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(1)) SWIG_fail
;
12998 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12999 if (SWIG_arg_fail(2)) SWIG_fail
;
13002 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13003 if (SWIG_arg_fail(3)) SWIG_fail
;
13006 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13007 if (SWIG_arg_fail(4)) SWIG_fail
;
13010 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13011 if (SWIG_arg_fail(5)) SWIG_fail
;
13014 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13015 if (SWIG_arg_fail(6)) SWIG_fail
;
13018 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13019 if (SWIG_arg_fail(7)) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 Py_INCREF(Py_None
); resultobj
= Py_None
;
13035 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxImage
*arg1
= (wxImage
*) 0 ;
13038 unsigned char arg2
;
13039 unsigned char arg3
;
13040 unsigned char arg4
;
13041 SwigValueWrapper
<wxImage
> result
;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 PyObject
* obj2
= 0 ;
13045 PyObject
* obj3
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13052 if (SWIG_arg_fail(1)) SWIG_fail
;
13054 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13055 if (SWIG_arg_fail(2)) SWIG_fail
;
13058 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13059 if (SWIG_arg_fail(3)) SWIG_fail
;
13062 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13063 if (SWIG_arg_fail(4)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 wxImage
* resultptr
;
13074 resultptr
= new wxImage((wxImage
&)(result
));
13075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13083 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxImage
*arg1
= (wxImage
*) 0 ;
13086 wxString
*arg2
= 0 ;
13087 wxString
*arg3
= 0 ;
13088 bool temp2
= false ;
13089 bool temp3
= false ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 PyObject
* obj2
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "name",(char *) "value", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13099 if (SWIG_arg_fail(1)) SWIG_fail
;
13101 arg2
= wxString_in_helper(obj1
);
13102 if (arg2
== NULL
) SWIG_fail
;
13106 arg3
= wxString_in_helper(obj2
);
13107 if (arg3
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxImage
*arg1
= (wxImage
*) 0 ;
13143 wxString
*arg2
= 0 ;
13145 bool temp2
= false ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "name",(char *) "value", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail
;
13157 arg2
= wxString_in_helper(obj1
);
13158 if (arg2
== NULL
) SWIG_fail
;
13162 arg3
= (int)(SWIG_As_int(obj2
));
13163 if (SWIG_arg_fail(3)) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxImage
*arg1
= (wxImage
*) 0 ;
13190 wxString
*arg2
= 0 ;
13192 bool temp2
= false ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "name", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13201 if (SWIG_arg_fail(1)) SWIG_fail
;
13203 arg2
= wxString_in_helper(obj1
);
13204 if (arg2
== NULL
) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13235 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxImage
*arg1
= (wxImage
*) 0 ;
13238 wxString
*arg2
= 0 ;
13240 bool temp2
= false ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "name", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail
;
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_From_int((int)(result
));
13279 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxImage
*arg1
= (wxImage
*) 0 ;
13282 wxString
*arg2
= 0 ;
13284 bool temp2
= false ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "name", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 arg2
= wxString_in_helper(obj1
);
13296 if (arg2
== NULL
) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxImage
*arg1
= (wxImage
*) 0 ;
13326 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13327 unsigned long result
;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "stopafter", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13339 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13340 if (SWIG_arg_fail(2)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13359 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxImage
*arg1
= (wxImage
*) 0 ;
13362 wxImageHistogram
*arg2
= 0 ;
13363 unsigned long result
;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "h", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13372 if (SWIG_arg_fail(1)) SWIG_fail
;
13374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13375 if (SWIG_arg_fail(2)) SWIG_fail
;
13376 if (arg2
== NULL
) {
13377 SWIG_null_ref("wxImageHistogram");
13379 if (SWIG_arg_fail(2)) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13397 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "handler", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13407 if (SWIG_arg_fail(1)) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 wxImage::AddHandler(arg1
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "handler", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13432 if (SWIG_arg_fail(1)) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 wxImage::InsertHandler(arg1
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxString
*arg1
= 0 ;
13451 bool temp1
= false ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "name", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13459 arg1
= wxString_in_helper(obj0
);
13460 if (arg1
== NULL
) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13490 char *kwnames
[] = {
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= wxImage::GetImageExtWildcard();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13515 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxImage
*arg1
= (wxImage
*) 0 ;
13518 int arg2
= (int) -1 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "depth", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13528 if (SWIG_arg_fail(1)) SWIG_fail
;
13531 arg2
= (int)(SWIG_As_int(obj1
));
13532 if (SWIG_arg_fail(2)) SWIG_fail
;
13536 if (!wxPyCheckForApp()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 wxBitmap
* resultptr
;
13545 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13554 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxImage
*arg1
= (wxImage
*) 0 ;
13557 unsigned char arg2
;
13558 unsigned char arg3
;
13559 unsigned char arg4
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 PyObject
* obj3
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail
;
13573 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13574 if (SWIG_arg_fail(2)) SWIG_fail
;
13577 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13578 if (SWIG_arg_fail(3)) SWIG_fail
;
13581 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13582 if (SWIG_arg_fail(4)) SWIG_fail
;
13585 if (!wxPyCheckForApp()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 wxBitmap
* resultptr
;
13594 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13603 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13606 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13608 return Py_BuildValue((char *)"");
13610 static int _wrap_NullImage_set(PyObject
*) {
13611 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13616 static PyObject
*_wrap_NullImage_get(void) {
13619 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13624 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13630 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13644 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13645 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13650 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13655 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13657 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13664 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13665 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13670 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13675 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13677 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13684 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13685 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13690 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13695 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13697 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13704 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13705 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13710 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13715 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13717 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13724 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13725 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13730 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13735 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13737 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13744 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13745 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13750 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13755 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13757 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13764 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13765 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13770 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13775 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13777 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13784 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13785 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13790 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13795 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13797 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13804 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13805 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13810 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13815 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13817 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13824 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13825 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13830 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13835 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13837 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13844 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13845 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13850 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13855 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13857 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13864 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13865 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13870 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13875 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13877 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13884 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13885 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13890 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13895 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13897 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13904 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13905 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13910 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13915 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13917 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13924 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxBMPHandler
*result
;
13927 char *kwnames
[] = {
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (wxBMPHandler
*)new wxBMPHandler();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13946 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13949 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13951 return Py_BuildValue((char *)"");
13953 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxICOHandler
*result
;
13956 char *kwnames
[] = {
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxICOHandler
*)new wxICOHandler();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13975 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13978 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13980 return Py_BuildValue((char *)"");
13982 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxCURHandler
*result
;
13985 char *kwnames
[] = {
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (wxCURHandler
*)new wxCURHandler();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14004 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14007 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14009 return Py_BuildValue((char *)"");
14011 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxANIHandler
*result
;
14014 char *kwnames
[] = {
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (wxANIHandler
*)new wxANIHandler();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14033 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14036 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14038 return Py_BuildValue((char *)"");
14040 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxPNGHandler
*result
;
14043 char *kwnames
[] = {
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (wxPNGHandler
*)new wxPNGHandler();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14062 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14065 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14067 return Py_BuildValue((char *)"");
14069 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxGIFHandler
*result
;
14072 char *kwnames
[] = {
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (wxGIFHandler
*)new wxGIFHandler();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14091 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14094 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14096 return Py_BuildValue((char *)"");
14098 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxPCXHandler
*result
;
14101 char *kwnames
[] = {
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (wxPCXHandler
*)new wxPCXHandler();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14120 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14123 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14125 return Py_BuildValue((char *)"");
14127 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxJPEGHandler
*result
;
14130 char *kwnames
[] = {
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14149 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14152 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14154 return Py_BuildValue((char *)"");
14156 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxPNMHandler
*result
;
14159 char *kwnames
[] = {
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (wxPNMHandler
*)new wxPNMHandler();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14178 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14181 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14183 return Py_BuildValue((char *)"");
14185 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxXPMHandler
*result
;
14188 char *kwnames
[] = {
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxXPMHandler
*)new wxXPMHandler();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14207 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14210 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14212 return Py_BuildValue((char *)"");
14214 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxTIFFHandler
*result
;
14217 char *kwnames
[] = {
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14236 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14239 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14241 return Py_BuildValue((char *)"");
14243 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxImage
*arg1
= 0 ;
14246 wxImage
*arg2
= 0 ;
14247 int arg3
= (int) 236 ;
14248 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 PyObject
* obj2
= 0 ;
14253 PyObject
* obj3
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail
;
14262 if (arg1
== NULL
) {
14263 SWIG_null_ref("wxImage");
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14269 if (SWIG_arg_fail(2)) SWIG_fail
;
14270 if (arg2
== NULL
) {
14271 SWIG_null_ref("wxImage");
14273 if (SWIG_arg_fail(2)) SWIG_fail
;
14277 arg3
= (int)(SWIG_As_int(obj2
));
14278 if (SWIG_arg_fail(3)) SWIG_fail
;
14283 arg4
= (int)(SWIG_As_int(obj3
));
14284 if (SWIG_arg_fail(4)) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14306 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14308 return Py_BuildValue((char *)"");
14310 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxEvtHandler
*result
;
14313 char *kwnames
[] = {
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (wxEvtHandler
*)new wxEvtHandler();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14332 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14335 wxEvtHandler
*result
;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= wxPyMake_wxObject(result
, 0);
14360 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14363 wxEvtHandler
*result
;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14371 if (SWIG_arg_fail(1)) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= wxPyMake_wxObject(result
, 0);
14388 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14391 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 PyObject
* obj1
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self",(char *) "handler", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail
;
14401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14402 if (SWIG_arg_fail(2)) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetNextHandler(arg2
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 Py_INCREF(Py_None
); resultobj
= Py_None
;
14417 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14420 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self",(char *) "handler", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail
;
14430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14431 if (SWIG_arg_fail(2)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->SetPreviousHandler(arg2
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "enabled", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14486 if (SWIG_arg_fail(1)) SWIG_fail
;
14488 arg2
= (bool)(SWIG_As_bool(obj1
));
14489 if (SWIG_arg_fail(2)) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->SetEvtHandlerEnabled(arg2
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 Py_INCREF(Py_None
); resultobj
= Py_None
;
14505 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14508 wxEvent
*arg2
= 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "event", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14518 if (SWIG_arg_fail(1)) SWIG_fail
;
14520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14521 if (SWIG_arg_fail(2)) SWIG_fail
;
14522 if (arg2
== NULL
) {
14523 SWIG_null_ref("wxEvent");
14525 if (SWIG_arg_fail(2)) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14546 wxEvent
*arg2
= 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "event", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail
;
14557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14558 if (SWIG_arg_fail(2)) SWIG_fail
;
14559 if (arg2
== NULL
) {
14560 SWIG_null_ref("wxEvent");
14562 if (SWIG_arg_fail(2)) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->AddPendingEvent(*arg2
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14588 if (SWIG_arg_fail(1)) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->ProcessPendingEvents();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14609 PyObject
*arg5
= (PyObject
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 PyObject
* obj2
= 0 ;
14613 PyObject
* obj3
= 0 ;
14614 PyObject
* obj4
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail
;
14623 arg2
= (int)(SWIG_As_int(obj1
));
14624 if (SWIG_arg_fail(2)) SWIG_fail
;
14627 arg3
= (int)(SWIG_As_int(obj2
));
14628 if (SWIG_arg_fail(3)) SWIG_fail
;
14631 arg4
= (int)(SWIG_As_int(obj3
));
14632 if (SWIG_arg_fail(4)) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14653 int arg3
= (int) -1 ;
14654 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14656 PyObject
* obj0
= 0 ;
14657 PyObject
* obj1
= 0 ;
14658 PyObject
* obj2
= 0 ;
14659 PyObject
* obj3
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14666 if (SWIG_arg_fail(1)) SWIG_fail
;
14668 arg2
= (int)(SWIG_As_int(obj1
));
14669 if (SWIG_arg_fail(2)) SWIG_fail
;
14673 arg3
= (int)(SWIG_As_int(obj2
));
14674 if (SWIG_arg_fail(3)) SWIG_fail
;
14679 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14680 if (SWIG_arg_fail(4)) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14702 PyObject
*arg2
= (PyObject
*) 0 ;
14703 bool arg3
= (bool) true ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 PyObject
* obj2
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "_self",(char *) "incref", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail
;
14717 arg3
= (bool)(SWIG_As_bool(obj2
));
14718 if (SWIG_arg_fail(3)) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 Py_INCREF(Py_None
); resultobj
= Py_None
;
14735 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14738 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14740 return Py_BuildValue((char *)"");
14742 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxEventType result
;
14745 char *kwnames
[] = {
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (wxEventType
)wxNewEventType();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_From_int((int)(result
));
14766 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxEvent
*arg1
= (wxEvent
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",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
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxEvent
*arg1
= (wxEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "typ", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14805 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14806 if (SWIG_arg_fail(2)) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->SetEventType(arg2
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxEvent
*arg1
= (wxEvent
*) 0 ;
14825 wxEventType result
;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_From_int((int)(result
));
14850 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxEvent
*arg1
= (wxEvent
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= wxPyMake_wxObject(result
, 0);
14878 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxEvent
*arg1
= (wxEvent
*) 0 ;
14881 wxObject
*arg2
= (wxObject
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "obj", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14890 if (SWIG_arg_fail(1)) SWIG_fail
;
14891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14892 if (SWIG_arg_fail(2)) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetEventObject(arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 Py_INCREF(Py_None
); resultobj
= Py_None
;
14907 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxEvent
*arg1
= (wxEvent
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14918 if (SWIG_arg_fail(1)) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_From_long((long)(result
));
14935 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxEvent
*arg1
= (wxEvent
*) 0 ;
14938 long arg2
= (long) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "ts", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14950 arg2
= (long)(SWIG_As_long(obj1
));
14951 if (SWIG_arg_fail(2)) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetTimestamp(arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxEvent
*arg1
= (wxEvent
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14979 if (SWIG_arg_fail(1)) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (int)((wxEvent
const *)arg1
)->GetId();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_From_int((int)(result
));
14996 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxEvent
*arg1
= (wxEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self",(char *) "Id", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail
;
15010 arg2
= (int)(SWIG_As_int(obj1
));
15011 if (SWIG_arg_fail(2)) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 (arg1
)->SetId(arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 Py_INCREF(Py_None
); resultobj
= Py_None
;
15027 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxEvent
*arg1
= (wxEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxEvent
*arg1
= (wxEvent
*) 0 ;
15058 bool arg2
= (bool) true ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "skip", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 arg2
= (bool)(SWIG_As_bool(obj1
));
15071 if (SWIG_arg_fail(2)) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->Skip(arg2
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxEvent
*arg1
= (wxEvent
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15116 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxEvent
*arg1
= (wxEvent
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15144 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxEvent
*arg1
= (wxEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)(arg1
)->StopPropagation();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_From_int((int)(result
));
15172 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxEvent
*arg1
= (wxEvent
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "propagationLevel", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail
;
15186 arg2
= (int)(SWIG_As_int(obj1
));
15187 if (SWIG_arg_fail(2)) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 (arg1
)->ResumePropagation(arg2
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 Py_INCREF(Py_None
); resultobj
= Py_None
;
15203 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxEvent
*arg1
= (wxEvent
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (wxEvent
*)(arg1
)->Clone();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15229 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15232 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15234 return Py_BuildValue((char *)"");
15236 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxEvent
*arg1
= 0 ;
15239 wxPropagationDisabler
*result
;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "event", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 if (arg1
== NULL
) {
15250 SWIG_null_ref("wxEvent");
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15268 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15278 if (SWIG_arg_fail(1)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15296 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15298 return Py_BuildValue((char *)"");
15300 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxEvent
*arg1
= 0 ;
15303 wxPropagateOnce
*result
;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "event", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15312 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 if (arg1
== NULL
) {
15314 SWIG_null_ref("wxEvent");
15316 if (SWIG_arg_fail(1)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15332 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15342 if (SWIG_arg_fail(1)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 Py_INCREF(Py_None
); resultobj
= Py_None
;
15357 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15360 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15362 return Py_BuildValue((char *)"");
15364 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15367 int arg2
= (int) 0 ;
15368 wxCommandEvent
*result
;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "commandType",(char *) "winid", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15378 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15379 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 arg2
= (int)(SWIG_As_int(obj1
));
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15402 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_From_int((int)(result
));
15430 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15433 wxString
*arg2
= 0 ;
15434 bool temp2
= false ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "s", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 arg2
= wxString_in_helper(obj1
);
15446 if (arg2
== NULL
) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->SetString((wxString
const &)*arg2
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 Py_INCREF(Py_None
); resultobj
= Py_None
;
15471 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15503 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15514 if (SWIG_arg_fail(1)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15563 PyObject
* obj0
= 0 ;
15564 PyObject
* obj1
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "extraLong", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail
;
15573 arg2
= (long)(SWIG_As_long(obj1
));
15574 if (SWIG_arg_fail(2)) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 (arg1
)->SetExtraLong(arg2
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_From_long((long)(result
));
15618 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "i", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 arg2
= (int)(SWIG_As_int(obj1
));
15633 if (SWIG_arg_fail(2)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 (arg1
)->SetInt(arg2
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 Py_INCREF(Py_None
); resultobj
= Py_None
;
15649 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15660 if (SWIG_arg_fail(1)) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_From_long((long)(result
));
15677 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15703 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15706 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15708 return Py_BuildValue((char *)"");
15710 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15713 int arg2
= (int) 0 ;
15714 wxNotifyEvent
*result
;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "commandType",(char *) "winid", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15724 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15725 if (SWIG_arg_fail(1)) SWIG_fail
;
15730 arg2
= (int)(SWIG_As_int(obj1
));
15731 if (SWIG_arg_fail(2)) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15748 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(1)) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 Py_INCREF(Py_None
); resultobj
= Py_None
;
15773 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15783 if (SWIG_arg_fail(1)) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15809 if (SWIG_arg_fail(1)) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (bool)(arg1
)->IsAllowed();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15829 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15831 return Py_BuildValue((char *)"");
15833 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15836 int arg2
= (int) 0 ;
15837 int arg3
= (int) 0 ;
15838 int arg4
= (int) 0 ;
15839 wxScrollEvent
*result
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 PyObject
* obj2
= 0 ;
15843 PyObject
* obj3
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15852 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 arg2
= (int)(SWIG_As_int(obj1
));
15858 if (SWIG_arg_fail(2)) SWIG_fail
;
15863 arg3
= (int)(SWIG_As_int(obj2
));
15864 if (SWIG_arg_fail(3)) SWIG_fail
;
15869 arg4
= (int)(SWIG_As_int(obj3
));
15870 if (SWIG_arg_fail(4)) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15887 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15898 if (SWIG_arg_fail(1)) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= SWIG_From_int((int)(result
));
15915 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15926 if (SWIG_arg_fail(1)) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_From_int((int)(result
));
15943 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "orient", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15955 if (SWIG_arg_fail(1)) SWIG_fail
;
15957 arg2
= (int)(SWIG_As_int(obj1
));
15958 if (SWIG_arg_fail(2)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 (arg1
)->SetOrientation(arg2
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 Py_INCREF(Py_None
); resultobj
= Py_None
;
15974 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "pos", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 arg2
= (int)(SWIG_As_int(obj1
));
15989 if (SWIG_arg_fail(2)) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 (arg1
)->SetPosition(arg2
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 Py_INCREF(Py_None
); resultobj
= Py_None
;
16005 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16008 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16010 return Py_BuildValue((char *)"");
16012 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16015 int arg2
= (int) 0 ;
16016 int arg3
= (int) 0 ;
16017 wxScrollWinEvent
*result
;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 PyObject
* obj2
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16028 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 arg2
= (int)(SWIG_As_int(obj1
));
16035 if (SWIG_arg_fail(2)) SWIG_fail
;
16040 arg3
= (int)(SWIG_As_int(obj2
));
16041 if (SWIG_arg_fail(3)) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16058 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16069 if (SWIG_arg_fail(1)) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= SWIG_From_int((int)(result
));
16086 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16097 if (SWIG_arg_fail(1)) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_From_int((int)(result
));
16114 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "orient", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16126 if (SWIG_arg_fail(1)) SWIG_fail
;
16128 arg2
= (int)(SWIG_As_int(obj1
));
16129 if (SWIG_arg_fail(2)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->SetOrientation(arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16145 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "pos", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16157 if (SWIG_arg_fail(1)) SWIG_fail
;
16159 arg2
= (int)(SWIG_As_int(obj1
));
16160 if (SWIG_arg_fail(2)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 (arg1
)->SetPosition(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 Py_INCREF(Py_None
); resultobj
= Py_None
;
16176 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16179 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16181 return Py_BuildValue((char *)"");
16183 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16186 wxMouseEvent
*result
;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "mouseType", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16195 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16196 if (SWIG_arg_fail(1)) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= wxPyMake_wxObject(result
, 1);
16215 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16226 if (SWIG_arg_fail(1)) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16246 int arg2
= (int) wxMOUSE_BTN_ANY
;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "but", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16259 arg2
= (int)(SWIG_As_int(obj1
));
16260 if (SWIG_arg_fail(2)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16279 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16282 int arg2
= (int) wxMOUSE_BTN_ANY
;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self",(char *) "but", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16292 if (SWIG_arg_fail(1)) SWIG_fail
;
16295 arg2
= (int)(SWIG_As_int(obj1
));
16296 if (SWIG_arg_fail(2)) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16318 int arg2
= (int) wxMOUSE_BTN_ANY
;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "but", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 arg2
= (int)(SWIG_As_int(obj1
));
16332 if (SWIG_arg_fail(2)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "but", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16364 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 arg2
= (int)(SWIG_As_int(obj1
));
16367 if (SWIG_arg_fail(2)) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16385 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "but", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16400 arg2
= (int)(SWIG_As_int(obj1
));
16401 if (SWIG_arg_fail(2)) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_From_int((int)(result
));
16447 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16475 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16503 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16514 if (SWIG_arg_fail(1)) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16531 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16559 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16615 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16643 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16654 if (SWIG_arg_fail(1)) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16671 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16699 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16710 if (SWIG_arg_fail(1)) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16727 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16738 if (SWIG_arg_fail(1)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16783 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16811 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16822 if (SWIG_arg_fail(1)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (bool)(arg1
)->LeftIsDown();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16878 if (SWIG_arg_fail(1)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (bool)(arg1
)->MiddleIsDown();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16895 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16906 if (SWIG_arg_fail(1)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (bool)(arg1
)->RightIsDown();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16923 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16934 if (SWIG_arg_fail(1)) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16951 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16962 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16979 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16990 if (SWIG_arg_fail(1)) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17035 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (arg1
)->GetPosition();
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 wxPoint
* resultptr
;
17056 resultptr
= new wxPoint((wxPoint
&)(result
));
17057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17065 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17068 long *arg2
= (long *) 0 ;
17069 long *arg3
= (long *) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17080 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 (arg1
)->GetPosition(arg2
,arg3
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 Py_INCREF(Py_None
); resultobj
= Py_None
;
17092 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17093 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17094 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17095 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17102 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "dc", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17115 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17119 if (arg2
== NULL
) {
17120 SWIG_null_ref("wxDC");
17122 if (SWIG_arg_fail(2)) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 wxPoint
* resultptr
;
17133 resultptr
= new wxPoint((wxPoint
&)(result
));
17134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17142 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17153 if (SWIG_arg_fail(1)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_From_int((int)(result
));
17170 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_From_int((int)(result
));
17198 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(1)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= SWIG_From_int((int)(result
));
17226 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17237 if (SWIG_arg_fail(1)) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_From_int((int)(result
));
17254 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17265 if (SWIG_arg_fail(1)) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_From_int((int)(result
));
17282 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17310 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "m_x", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail
;
17324 arg2
= (int)(SWIG_As_int(obj1
));
17325 if (SWIG_arg_fail(2)) SWIG_fail
;
17327 if (arg1
) (arg1
)->m_x
= arg2
;
17329 Py_INCREF(Py_None
); resultobj
= Py_None
;
17336 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 result
= (int) ((arg1
)->m_x
);
17351 resultobj
= SWIG_From_int((int)(result
));
17359 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self",(char *) "m_y", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 arg2
= (int)(SWIG_As_int(obj1
));
17374 if (SWIG_arg_fail(2)) SWIG_fail
;
17376 if (arg1
) (arg1
)->m_y
= arg2
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17397 result
= (int) ((arg1
)->m_y
);
17400 resultobj
= SWIG_From_int((int)(result
));
17408 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "m_leftDown", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17420 if (SWIG_arg_fail(1)) SWIG_fail
;
17422 arg2
= (bool)(SWIG_As_bool(obj1
));
17423 if (SWIG_arg_fail(2)) SWIG_fail
;
17425 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17446 result
= (bool) ((arg1
)->m_leftDown
);
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "m_middleDown", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17469 if (SWIG_arg_fail(1)) SWIG_fail
;
17471 arg2
= (bool)(SWIG_As_bool(obj1
));
17472 if (SWIG_arg_fail(2)) SWIG_fail
;
17474 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17495 result
= (bool) ((arg1
)->m_middleDown
);
17498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17506 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "m_rightDown", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17518 if (SWIG_arg_fail(1)) SWIG_fail
;
17520 arg2
= (bool)(SWIG_As_bool(obj1
));
17521 if (SWIG_arg_fail(2)) SWIG_fail
;
17523 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail
;
17544 result
= (bool) ((arg1
)->m_rightDown
);
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "m_controlDown", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 arg2
= (bool)(SWIG_As_bool(obj1
));
17570 if (SWIG_arg_fail(2)) SWIG_fail
;
17572 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17574 Py_INCREF(Py_None
); resultobj
= Py_None
;
17581 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17592 if (SWIG_arg_fail(1)) SWIG_fail
;
17593 result
= (bool) ((arg1
)->m_controlDown
);
17596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17604 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "m_shiftDown", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17616 if (SWIG_arg_fail(1)) SWIG_fail
;
17618 arg2
= (bool)(SWIG_As_bool(obj1
));
17619 if (SWIG_arg_fail(2)) SWIG_fail
;
17621 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17623 Py_INCREF(Py_None
); resultobj
= Py_None
;
17630 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 result
= (bool) ((arg1
)->m_shiftDown
);
17645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17653 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self",(char *) "m_altDown", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17665 if (SWIG_arg_fail(1)) SWIG_fail
;
17667 arg2
= (bool)(SWIG_As_bool(obj1
));
17668 if (SWIG_arg_fail(2)) SWIG_fail
;
17670 if (arg1
) (arg1
)->m_altDown
= arg2
;
17672 Py_INCREF(Py_None
); resultobj
= Py_None
;
17679 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17691 result
= (bool) ((arg1
)->m_altDown
);
17694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17702 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "m_metaDown", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 arg2
= (bool)(SWIG_As_bool(obj1
));
17717 if (SWIG_arg_fail(2)) SWIG_fail
;
17719 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17721 Py_INCREF(Py_None
); resultobj
= Py_None
;
17728 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 result
= (bool) ((arg1
)->m_metaDown
);
17743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17751 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "m_wheelRotation", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17763 if (SWIG_arg_fail(1)) SWIG_fail
;
17765 arg2
= (int)(SWIG_As_int(obj1
));
17766 if (SWIG_arg_fail(2)) SWIG_fail
;
17768 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17770 Py_INCREF(Py_None
); resultobj
= Py_None
;
17777 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17788 if (SWIG_arg_fail(1)) SWIG_fail
;
17789 result
= (int) ((arg1
)->m_wheelRotation
);
17792 resultobj
= SWIG_From_int((int)(result
));
17800 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "m_wheelDelta", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17812 if (SWIG_arg_fail(1)) SWIG_fail
;
17814 arg2
= (int)(SWIG_As_int(obj1
));
17815 if (SWIG_arg_fail(2)) SWIG_fail
;
17817 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17819 Py_INCREF(Py_None
); resultobj
= Py_None
;
17826 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17837 if (SWIG_arg_fail(1)) SWIG_fail
;
17838 result
= (int) ((arg1
)->m_wheelDelta
);
17841 resultobj
= SWIG_From_int((int)(result
));
17849 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "m_linesPerAction", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail
;
17863 arg2
= (int)(SWIG_As_int(obj1
));
17864 if (SWIG_arg_fail(2)) SWIG_fail
;
17866 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17868 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17886 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 result
= (int) ((arg1
)->m_linesPerAction
);
17890 resultobj
= SWIG_From_int((int)(result
));
17898 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17901 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17903 return Py_BuildValue((char *)"");
17905 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 int arg1
= (int) 0 ;
17908 int arg2
= (int) 0 ;
17909 wxSetCursorEvent
*result
;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "x",(char *) "y", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 arg1
= (int)(SWIG_As_int(obj0
));
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 arg2
= (int)(SWIG_As_int(obj1
));
17926 if (SWIG_arg_fail(2)) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17943 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17954 if (SWIG_arg_fail(1)) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_From_int((int)(result
));
17971 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17982 if (SWIG_arg_fail(1)) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_From_int((int)(result
));
17999 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18002 wxCursor
*arg2
= 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "cursor", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18011 if (SWIG_arg_fail(1)) SWIG_fail
;
18013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18014 if (SWIG_arg_fail(2)) SWIG_fail
;
18015 if (arg2
== NULL
) {
18016 SWIG_null_ref("wxCursor");
18018 if (SWIG_arg_fail(2)) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 Py_INCREF(Py_None
); resultobj
= Py_None
;
18034 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18050 result
= (wxCursor
*) &_result_ref
;
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 wxCursor
* resultptr
= new wxCursor(*result
);
18058 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18066 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18094 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18097 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18099 return Py_BuildValue((char *)"");
18101 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18104 wxKeyEvent
*result
;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "keyType", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18113 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18114 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18131 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18142 if (SWIG_arg_fail(1)) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18159 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18187 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18198 if (SWIG_arg_fail(1)) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18215 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18243 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18271 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18282 if (SWIG_arg_fail(1)) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18299 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_From_int((int)(result
));
18327 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18338 if (SWIG_arg_fail(1)) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= SWIG_From_int((int)(result
));
18355 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18358 unsigned int result
;
18359 PyObject
* obj0
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18366 if (SWIG_arg_fail(1)) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18383 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18386 unsigned int result
;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18411 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18413 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18415 PyObject
* obj0
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18422 if (SWIG_arg_fail(1)) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (arg1
)->GetPosition();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 wxPoint
* resultptr
;
18432 resultptr
= new wxPoint((wxPoint
&)(result
));
18433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18441 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18444 long *arg2
= (long *) 0 ;
18445 long *arg3
= (long *) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18456 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 (arg1
)->GetPosition(arg2
,arg3
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18469 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18470 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18471 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18478 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_From_int((int)(result
));
18506 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
;
18508 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18517 if (SWIG_arg_fail(1)) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_From_int((int)(result
));
18534 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self",(char *) "m_x", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 arg2
= (int)(SWIG_As_int(obj1
));
18549 if (SWIG_arg_fail(2)) SWIG_fail
;
18551 if (arg1
) (arg1
)->m_x
= arg2
;
18553 Py_INCREF(Py_None
); resultobj
= Py_None
;
18560 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 result
= (int) ((arg1
)->m_x
);
18575 resultobj
= SWIG_From_int((int)(result
));
18583 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "m_y", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail
;
18597 arg2
= (int)(SWIG_As_int(obj1
));
18598 if (SWIG_arg_fail(2)) SWIG_fail
;
18600 if (arg1
) (arg1
)->m_y
= arg2
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18621 result
= (int) ((arg1
)->m_y
);
18624 resultobj
= SWIG_From_int((int)(result
));
18632 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "m_keyCode", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18644 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 arg2
= (long)(SWIG_As_long(obj1
));
18647 if (SWIG_arg_fail(2)) SWIG_fail
;
18649 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18670 result
= (long) ((arg1
)->m_keyCode
);
18673 resultobj
= SWIG_From_long((long)(result
));
18681 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "m_controlDown", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 arg2
= (bool)(SWIG_As_bool(obj1
));
18696 if (SWIG_arg_fail(2)) SWIG_fail
;
18698 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18718 if (SWIG_arg_fail(1)) SWIG_fail
;
18719 result
= (bool) ((arg1
)->m_controlDown
);
18722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18730 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self",(char *) "m_shiftDown", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 arg2
= (bool)(SWIG_As_bool(obj1
));
18745 if (SWIG_arg_fail(2)) SWIG_fail
;
18747 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18749 Py_INCREF(Py_None
); resultobj
= Py_None
;
18756 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail
;
18768 result
= (bool) ((arg1
)->m_shiftDown
);
18771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18779 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "m_altDown", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 arg2
= (bool)(SWIG_As_bool(obj1
));
18794 if (SWIG_arg_fail(2)) SWIG_fail
;
18796 if (arg1
) (arg1
)->m_altDown
= arg2
;
18798 Py_INCREF(Py_None
); resultobj
= Py_None
;
18805 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail
;
18817 result
= (bool) ((arg1
)->m_altDown
);
18820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18828 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self",(char *) "m_metaDown", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18840 if (SWIG_arg_fail(1)) SWIG_fail
;
18842 arg2
= (bool)(SWIG_As_bool(obj1
));
18843 if (SWIG_arg_fail(2)) SWIG_fail
;
18845 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18847 Py_INCREF(Py_None
); resultobj
= Py_None
;
18854 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18866 result
= (bool) ((arg1
)->m_metaDown
);
18869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18877 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "m_scanCode", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18889 if (SWIG_arg_fail(1)) SWIG_fail
;
18891 arg2
= (bool)(SWIG_As_bool(obj1
));
18892 if (SWIG_arg_fail(2)) SWIG_fail
;
18894 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18903 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18915 result
= (bool) ((arg1
)->m_scanCode
);
18918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18926 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18929 unsigned int arg2
;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "m_rawCode", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18938 if (SWIG_arg_fail(1)) SWIG_fail
;
18940 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18941 if (SWIG_arg_fail(2)) SWIG_fail
;
18943 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18945 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18955 unsigned int result
;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail
;
18964 result
= (unsigned int) ((arg1
)->m_rawCode
);
18967 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18975 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18978 unsigned int arg2
;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "m_rawFlags", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18990 if (SWIG_arg_fail(2)) SWIG_fail
;
18992 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18994 Py_INCREF(Py_None
); resultobj
= Py_None
;
19001 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19004 unsigned int result
;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail
;
19013 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19016 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19024 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19027 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19029 return Py_BuildValue((char *)"");
19031 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19034 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19035 int arg2
= (int) 0 ;
19036 wxSizeEvent
*result
;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "sz",(char *) "winid", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19053 arg2
= (int)(SWIG_As_int(obj1
));
19054 if (SWIG_arg_fail(2)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19071 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19091 wxSize
* resultptr
;
19092 resultptr
= new wxSize((wxSize
&)(result
));
19093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19101 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 wxRect
* resultptr
;
19122 resultptr
= new wxRect((wxRect
&)(result
));
19123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19131 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "rect", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19147 if (SWIG_arg_fail(2)) SWIG_fail
;
19148 if (argp
== NULL
) {
19149 SWIG_null_ref("wxRect");
19151 if (SWIG_arg_fail(2)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->SetRect(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 Py_INCREF(Py_None
); resultobj
= Py_None
;
19168 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "size", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19180 if (SWIG_arg_fail(1)) SWIG_fail
;
19183 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19184 if (SWIG_arg_fail(2)) SWIG_fail
;
19185 if (argp
== NULL
) {
19186 SWIG_null_ref("wxSize");
19188 if (SWIG_arg_fail(2)) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 wxSizeEvent_SetSize(arg1
,arg2
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 Py_INCREF(Py_None
); resultobj
= Py_None
;
19205 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19208 wxSize
*arg2
= (wxSize
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 PyObject
* obj1
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self",(char *) "m_size", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail
;
19218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19219 if (SWIG_arg_fail(2)) SWIG_fail
;
19220 if (arg1
) (arg1
)->m_size
= *arg2
;
19222 Py_INCREF(Py_None
); resultobj
= Py_None
;
19229 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19240 if (SWIG_arg_fail(1)) SWIG_fail
;
19241 result
= (wxSize
*)& ((arg1
)->m_size
);
19243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19250 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19253 wxRect
*arg2
= (wxRect
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "m_rect", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19264 if (SWIG_arg_fail(2)) SWIG_fail
;
19265 if (arg1
) (arg1
)->m_rect
= *arg2
;
19267 Py_INCREF(Py_None
); resultobj
= Py_None
;
19274 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19285 if (SWIG_arg_fail(1)) SWIG_fail
;
19286 result
= (wxRect
*)& ((arg1
)->m_rect
);
19288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19295 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19298 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19300 return Py_BuildValue((char *)"");
19302 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19305 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19306 int arg2
= (int) 0 ;
19307 wxMoveEvent
*result
;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "pos",(char *) "winid", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19319 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19324 arg2
= (int)(SWIG_As_int(obj1
));
19325 if (SWIG_arg_fail(2)) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19342 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 wxPoint
* resultptr
;
19363 resultptr
= new wxPoint((wxPoint
&)(result
));
19364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19372 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19392 wxRect
* resultptr
;
19393 resultptr
= new wxRect((wxRect
&)(result
));
19394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19402 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "rect", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->SetRect((wxRect
const &)*arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 Py_INCREF(Py_None
); resultobj
= Py_None
;
19434 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19437 wxPoint
*arg2
= 0 ;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "pos", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19447 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19469 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19471 return Py_BuildValue((char *)"");
19473 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 int arg1
= (int) 0 ;
19476 wxPaintEvent
*result
;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "Id", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19485 arg1
= (int)(SWIG_As_int(obj0
));
19486 if (SWIG_arg_fail(1)) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19503 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19506 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19508 return Py_BuildValue((char *)"");
19510 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 int arg1
= (int) 0 ;
19513 wxNcPaintEvent
*result
;
19514 PyObject
* obj0
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "winid", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19522 arg1
= (int)(SWIG_As_int(obj0
));
19523 if (SWIG_arg_fail(1)) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19540 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19543 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19545 return Py_BuildValue((char *)"");
19547 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 int arg1
= (int) 0 ;
19550 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19551 wxEraseEvent
*result
;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "Id",(char *) "dc", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19561 arg1
= (int)(SWIG_As_int(obj0
));
19562 if (SWIG_arg_fail(1)) SWIG_fail
;
19566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(2)) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19583 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19594 if (SWIG_arg_fail(1)) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= wxPyMake_wxObject(result
, 0);
19611 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19614 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19616 return Py_BuildValue((char *)"");
19618 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19621 int arg2
= (int) 0 ;
19622 wxFocusEvent
*result
;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "type",(char *) "winid", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19638 arg2
= (int)(SWIG_As_int(obj1
));
19639 if (SWIG_arg_fail(2)) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19656 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19660 PyObject
* obj0
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= wxPyMake_wxObject(result
, 0);
19684 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19687 wxWindow
*arg2
= (wxWindow
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 PyObject
* obj1
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "win", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19696 if (SWIG_arg_fail(1)) SWIG_fail
;
19697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19698 if (SWIG_arg_fail(2)) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 (arg1
)->SetWindow(arg2
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19713 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19716 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19718 return Py_BuildValue((char *)"");
19720 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxWindow
*arg1
= (wxWindow
*) NULL
;
19723 wxChildFocusEvent
*result
;
19724 PyObject
* obj0
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "win", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19732 if (SWIG_arg_fail(1)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19748 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= wxPyMake_wxObject(result
, 0);
19776 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19779 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19781 return Py_BuildValue((char *)"");
19783 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19786 bool arg2
= (bool) true ;
19787 int arg3
= (int) 0 ;
19788 wxActivateEvent
*result
;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 PyObject
* obj2
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "type",(char *) "active",(char *) "Id", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19799 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19800 if (SWIG_arg_fail(1)) SWIG_fail
;
19805 arg2
= (bool)(SWIG_As_bool(obj1
));
19806 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 arg3
= (int)(SWIG_As_int(obj2
));
19812 if (SWIG_arg_fail(3)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19829 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19857 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19860 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19862 return Py_BuildValue((char *)"");
19864 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 int arg1
= (int) 0 ;
19867 wxInitDialogEvent
*result
;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "Id", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19876 arg1
= (int)(SWIG_As_int(obj0
));
19877 if (SWIG_arg_fail(1)) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19894 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19897 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19899 return Py_BuildValue((char *)"");
19901 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19904 int arg2
= (int) 0 ;
19905 wxMenu
*arg3
= (wxMenu
*) NULL
;
19906 wxMenuEvent
*result
;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "type",(char *) "winid",(char *) "menu", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19917 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19918 if (SWIG_arg_fail(1)) SWIG_fail
;
19923 arg2
= (int)(SWIG_As_int(obj1
));
19924 if (SWIG_arg_fail(2)) SWIG_fail
;
19928 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(3)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19945 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19956 if (SWIG_arg_fail(1)) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_From_int((int)(result
));
19973 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20001 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20005 PyObject
* obj0
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= wxPyMake_wxObject(result
, 0);
20029 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20032 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20034 return Py_BuildValue((char *)"");
20036 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20039 int arg2
= (int) 0 ;
20040 wxCloseEvent
*result
;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "type",(char *) "winid", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20051 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 arg2
= (int)(SWIG_As_int(obj1
));
20057 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20074 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "logOff", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 arg2
= (bool)(SWIG_As_bool(obj1
));
20089 if (SWIG_arg_fail(2)) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 (arg1
)->SetLoggingOff(arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 Py_INCREF(Py_None
); resultobj
= Py_None
;
20105 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20133 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20136 bool arg2
= (bool) true ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "veto", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20145 if (SWIG_arg_fail(1)) SWIG_fail
;
20148 arg2
= (bool)(SWIG_As_bool(obj1
));
20149 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 (arg1
)->Veto(arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 Py_INCREF(Py_None
); resultobj
= Py_None
;
20166 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "canVeto", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20178 if (SWIG_arg_fail(1)) SWIG_fail
;
20180 arg2
= (bool)(SWIG_As_bool(obj1
));
20181 if (SWIG_arg_fail(2)) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetCanVeto(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20225 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20253 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20256 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20258 return Py_BuildValue((char *)"");
20260 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 int arg1
= (int) 0 ;
20263 bool arg2
= (bool) false ;
20264 wxShowEvent
*result
;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "winid",(char *) "show", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20274 arg1
= (int)(SWIG_As_int(obj0
));
20275 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 arg2
= (bool)(SWIG_As_bool(obj1
));
20281 if (SWIG_arg_fail(2)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20298 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self",(char *) "show", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20310 if (SWIG_arg_fail(1)) SWIG_fail
;
20312 arg2
= (bool)(SWIG_As_bool(obj1
));
20313 if (SWIG_arg_fail(2)) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 (arg1
)->SetShow(arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20357 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20360 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20362 return Py_BuildValue((char *)"");
20364 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 int arg1
= (int) 0 ;
20367 bool arg2
= (bool) true ;
20368 wxIconizeEvent
*result
;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "id",(char *) "iconized", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20378 arg1
= (int)(SWIG_As_int(obj0
));
20379 if (SWIG_arg_fail(1)) SWIG_fail
;
20384 arg2
= (bool)(SWIG_As_bool(obj1
));
20385 if (SWIG_arg_fail(2)) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20402 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20413 if (SWIG_arg_fail(1)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= (bool)(arg1
)->Iconized();
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20430 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20433 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20435 return Py_BuildValue((char *)"");
20437 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 int arg1
= (int) 0 ;
20440 wxMaximizeEvent
*result
;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "id", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20449 arg1
= (int)(SWIG_As_int(obj0
));
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20467 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20470 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20472 return Py_BuildValue((char *)"");
20474 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (arg1
)->GetPosition();
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 wxPoint
* resultptr
;
20495 resultptr
= new wxPoint((wxPoint
&)(result
));
20496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20504 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 result
= (int)(arg1
)->GetNumberOfFiles();
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_From_int((int)(result
));
20532 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= result
;
20558 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20561 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20563 return Py_BuildValue((char *)"");
20565 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 int arg1
= (int) 0 ;
20568 wxUpdateUIEvent
*result
;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "commandId", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20577 arg1
= (int)(SWIG_As_int(obj0
));
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20595 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20623 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20634 if (SWIG_arg_fail(1)) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20651 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20662 if (SWIG_arg_fail(1)) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20683 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20694 if (SWIG_arg_fail(1)) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20711 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20739 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20767 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self",(char *) "check", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20779 if (SWIG_arg_fail(1)) SWIG_fail
;
20781 arg2
= (bool)(SWIG_As_bool(obj1
));
20782 if (SWIG_arg_fail(2)) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 (arg1
)->Check(arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 Py_INCREF(Py_None
); resultobj
= Py_None
;
20798 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "enable", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 arg2
= (bool)(SWIG_As_bool(obj1
));
20813 if (SWIG_arg_fail(2)) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 (arg1
)->Enable(arg2
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 Py_INCREF(Py_None
); resultobj
= Py_None
;
20829 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20832 wxString
*arg2
= 0 ;
20833 bool temp2
= false ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self",(char *) "text", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20842 if (SWIG_arg_fail(1)) SWIG_fail
;
20844 arg2
= wxString_in_helper(obj1
);
20845 if (arg2
== NULL
) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->SetText((wxString
const &)*arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 Py_INCREF(Py_None
); resultobj
= Py_None
;
20870 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "updateInterval", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20880 arg1
= (long)(SWIG_As_long(obj0
));
20881 if (SWIG_arg_fail(1)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20897 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20900 char *kwnames
[] = {
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_From_long((long)(result
));
20921 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxWindow
*arg1
= (wxWindow
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "win", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20949 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 char *kwnames
[] = {
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 wxUpdateUIEvent::ResetUpdateTime();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 Py_INCREF(Py_None
); resultobj
= Py_None
;
20970 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxUpdateUIMode arg1
;
20973 PyObject
* obj0
= 0 ;
20974 char *kwnames
[] = {
20975 (char *) "mode", NULL
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20980 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 Py_INCREF(Py_None
); resultobj
= Py_None
;
20997 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxUpdateUIMode result
;
21000 char *kwnames
[] = {
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_From_int((result
));
21019 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21022 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21024 return Py_BuildValue((char *)"");
21026 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxSysColourChangedEvent
*result
;
21029 char *kwnames
[] = {
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21048 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21051 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21053 return Py_BuildValue((char *)"");
21055 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 int arg1
= (int) 0 ;
21058 wxWindow
*arg2
= (wxWindow
*) NULL
;
21059 wxMouseCaptureChangedEvent
*result
;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "winid",(char *) "gainedCapture", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 arg1
= (int)(SWIG_As_int(obj0
));
21070 if (SWIG_arg_fail(1)) SWIG_fail
;
21074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(2)) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21091 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
;
21093 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21102 if (SWIG_arg_fail(1)) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= wxPyMake_wxObject(result
, 0);
21119 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21122 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21124 return Py_BuildValue((char *)"");
21126 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxDisplayChangedEvent
*result
;
21129 char *kwnames
[] = {
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21148 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21151 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21153 return Py_BuildValue((char *)"");
21155 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 int arg1
= (int) 0 ;
21158 wxPaletteChangedEvent
*result
;
21159 PyObject
* obj0
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "id", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21167 arg1
= (int)(SWIG_As_int(obj0
));
21168 if (SWIG_arg_fail(1)) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21185 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21188 wxWindow
*arg2
= (wxWindow
*) 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "win", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21199 if (SWIG_arg_fail(2)) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 (arg1
)->SetChangedWindow(arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 Py_INCREF(Py_None
); resultobj
= Py_None
;
21214 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21225 if (SWIG_arg_fail(1)) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= wxPyMake_wxObject(result
, 0);
21242 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21245 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21247 return Py_BuildValue((char *)"");
21249 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 int arg1
= (int) 0 ;
21252 wxQueryNewPaletteEvent
*result
;
21253 PyObject
* obj0
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "winid", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21261 arg1
= (int)(SWIG_As_int(obj0
));
21262 if (SWIG_arg_fail(1)) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21279 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "realized", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 arg2
= (bool)(SWIG_As_bool(obj1
));
21294 if (SWIG_arg_fail(2)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetPaletteRealized(arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21321 if (SWIG_arg_fail(1)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21338 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21341 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21343 return Py_BuildValue((char *)"");
21345 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxNavigationKeyEvent
*result
;
21348 char *kwnames
[] = {
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21367 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(1)) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "forward", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21407 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 arg2
= (bool)(SWIG_As_bool(obj1
));
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->SetDirection(arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21437 if (SWIG_arg_fail(1)) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21454 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "ischange", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21466 if (SWIG_arg_fail(1)) SWIG_fail
;
21468 arg2
= (bool)(SWIG_As_bool(obj1
));
21469 if (SWIG_arg_fail(2)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetWindowChange(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21513 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self",(char *) "bIs", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21525 if (SWIG_arg_fail(1)) SWIG_fail
;
21527 arg2
= (bool)(SWIG_As_bool(obj1
));
21528 if (SWIG_arg_fail(2)) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 (arg1
)->SetFromTab(arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 Py_INCREF(Py_None
); resultobj
= Py_None
;
21544 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "flags", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21556 if (SWIG_arg_fail(1)) SWIG_fail
;
21558 arg2
= (long)(SWIG_As_long(obj1
));
21559 if (SWIG_arg_fail(2)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 (arg1
)->SetFlags(arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 Py_INCREF(Py_None
); resultobj
= Py_None
;
21575 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21586 if (SWIG_arg_fail(1)) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= wxPyMake_wxObject(result
, 0);
21603 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21606 wxWindow
*arg2
= (wxWindow
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "win", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21615 if (SWIG_arg_fail(1)) SWIG_fail
;
21616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21617 if (SWIG_arg_fail(2)) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->SetCurrentFocus(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21635 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21637 return Py_BuildValue((char *)"");
21639 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxWindow
*arg1
= (wxWindow
*) NULL
;
21642 wxWindowCreateEvent
*result
;
21643 PyObject
* obj0
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "win", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21667 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21671 PyObject
* obj0
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= wxPyMake_wxObject(result
, 0);
21695 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21698 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21700 return Py_BuildValue((char *)"");
21702 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxWindow
*arg1
= (wxWindow
*) NULL
;
21705 wxWindowDestroyEvent
*result
;
21706 PyObject
* obj0
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "win", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21714 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21730 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21741 if (SWIG_arg_fail(1)) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= wxPyMake_wxObject(result
, 0);
21758 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21761 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21763 return Py_BuildValue((char *)"");
21765 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21768 int arg2
= (int) 0 ;
21769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21771 wxContextMenuEvent
*result
;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "type",(char *) "winid",(char *) "pt", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21783 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21784 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= (int)(SWIG_As_int(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21813 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21829 result
= (wxPoint
*) &_result_ref
;
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21842 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21845 wxPoint
*arg2
= 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "pos", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21855 if (SWIG_arg_fail(1)) SWIG_fail
;
21858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 Py_INCREF(Py_None
); resultobj
= Py_None
;
21874 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21877 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21879 return Py_BuildValue((char *)"");
21881 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxIdleEvent
*result
;
21884 char *kwnames
[] = {
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (wxIdleEvent
*)new wxIdleEvent();
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21903 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21906 bool arg2
= (bool) true ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "needMore", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21915 if (SWIG_arg_fail(1)) SWIG_fail
;
21918 arg2
= (bool)(SWIG_As_bool(obj1
));
21919 if (SWIG_arg_fail(2)) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->RequestMore(arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21936 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21964 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "mode", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21974 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21975 if (SWIG_arg_fail(1)) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21994 char *kwnames
[] = {
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_From_int((result
));
22013 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxWindow
*arg1
= (wxWindow
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "win", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)wxIdleEvent::CanSend(arg1
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22041 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22044 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22046 return Py_BuildValue((char *)"");
22048 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 int arg1
= (int) 0 ;
22051 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "winid",(char *) "commandType", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22062 arg1
= (int)(SWIG_As_int(obj0
));
22063 if (SWIG_arg_fail(1)) SWIG_fail
;
22068 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22069 if (SWIG_arg_fail(2)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22086 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22114 PyObject
*arg2
= (PyObject
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "self", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->SetSelf(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22139 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22150 if (SWIG_arg_fail(1)) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (PyObject
*)(arg1
)->GetSelf();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= result
;
22165 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22168 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22170 return Py_BuildValue((char *)"");
22172 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22175 int arg2
= (int) 0 ;
22176 wxPyCommandEvent
*result
;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "commandType",(char *) "id", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22187 if (SWIG_arg_fail(1)) SWIG_fail
;
22192 arg2
= (int)(SWIG_As_int(obj1
));
22193 if (SWIG_arg_fail(2)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22210 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 Py_INCREF(Py_None
); resultobj
= Py_None
;
22235 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22238 PyObject
*arg2
= (PyObject
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "self", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->SetSelf(arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 Py_INCREF(Py_None
); resultobj
= Py_None
;
22263 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22274 if (SWIG_arg_fail(1)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (PyObject
*)(arg1
)->GetSelf();
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= result
;
22289 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22292 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22294 return Py_BuildValue((char *)"");
22296 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxWindow
*arg1
= (wxWindow
*) 0 ;
22299 wxDateTime
*arg2
= 0 ;
22301 wxDateEvent
*result
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "win",(char *) "dt",(char *) "type", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail
;
22313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(2)) SWIG_fail
;
22315 if (arg2
== NULL
) {
22316 SWIG_null_ref("wxDateTime");
22318 if (SWIG_arg_fail(2)) SWIG_fail
;
22321 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22322 if (SWIG_arg_fail(3)) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22338 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22341 wxDateTime
*result
;
22342 PyObject
* obj0
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22349 if (SWIG_arg_fail(1)) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22354 result
= (wxDateTime
*) &_result_ref
;
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22367 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22370 wxDateTime
*arg2
= 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self",(char *) "date", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail
;
22381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22382 if (SWIG_arg_fail(2)) SWIG_fail
;
22383 if (arg2
== NULL
) {
22384 SWIG_null_ref("wxDateTime");
22386 if (SWIG_arg_fail(2)) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 Py_INCREF(Py_None
); resultobj
= Py_None
;
22402 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22405 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22407 return Py_BuildValue((char *)"");
22409 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22412 char *kwnames
[] = {
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (wxPyApp
*)new_wxPyApp();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22431 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22459 PyObject
*arg2
= (PyObject
*) 0 ;
22460 PyObject
*arg3
= (PyObject
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "self",(char *) "_class", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22487 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22519 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22522 wxString
*arg2
= 0 ;
22523 bool temp2
= false ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "name", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
22535 if (arg2
== NULL
) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->SetAppName((wxString
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22560 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22571 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22592 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22594 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22595 wxString
*arg2
= 0 ;
22596 bool temp2
= false ;
22597 PyObject
* obj0
= 0 ;
22598 PyObject
* obj1
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self",(char *) "name", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22605 if (SWIG_arg_fail(1)) SWIG_fail
;
22607 arg2
= wxString_in_helper(obj1
);
22608 if (arg2
== NULL
) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 (arg1
)->SetClassName((wxString
const &)*arg2
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22649 result
= (wxString
*) &_result_ref
;
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22668 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22671 wxString
*arg2
= 0 ;
22672 bool temp2
= false ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "name", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 arg2
= wxString_in_helper(obj1
);
22684 if (arg2
== NULL
) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22712 wxAppTraits
*result
;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22735 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 (arg1
)->ProcessPendingEvents();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 Py_INCREF(Py_None
); resultobj
= Py_None
;
22760 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22763 bool arg2
= (bool) false ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self",(char *) "onlyIfNeeded", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22773 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 arg2
= (bool)(SWIG_As_bool(obj1
));
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)(arg1
)->Yield(arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22796 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22799 PyObject
* obj0
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->WakeUpIdle();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 Py_INCREF(Py_None
); resultobj
= Py_None
;
22821 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22824 char *kwnames
[] = {
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)wxPyApp::IsMainLoopRunning();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22845 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22856 if (SWIG_arg_fail(1)) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (int)(arg1
)->MainLoop();
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= SWIG_From_int((int)(result
));
22873 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22883 if (SWIG_arg_fail(1)) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22898 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->ExitMainLoop();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 Py_INCREF(Py_None
); resultobj
= Py_None
;
22923 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22934 if (SWIG_arg_fail(1)) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)(arg1
)->Pending();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22951 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22962 if (SWIG_arg_fail(1)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (bool)(arg1
)->Dispatch();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22979 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (bool)(arg1
)->ProcessIdle();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23007 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23010 wxWindow
*arg2
= (wxWindow
*) 0 ;
23011 wxIdleEvent
*arg3
= 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 PyObject
* obj2
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self",(char *) "win",(char *) "event", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23024 if (SWIG_arg_fail(2)) SWIG_fail
;
23026 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23027 if (SWIG_arg_fail(3)) SWIG_fail
;
23028 if (arg3
== NULL
) {
23029 SWIG_null_ref("wxIdleEvent");
23031 if (SWIG_arg_fail(3)) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23049 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23060 if (SWIG_arg_fail(1)) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23077 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23080 wxWindow
*arg2
= (wxWindow
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "win", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23089 if (SWIG_arg_fail(1)) SWIG_fail
;
23090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(2)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->SetTopWindow(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= wxPyMake_wxObject(result
, 0);
23134 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "flag", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 arg2
= (bool)(SWIG_As_bool(obj1
));
23149 if (SWIG_arg_fail(2)) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->SetExitOnFrameDelete(arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23193 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "flag", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23205 if (SWIG_arg_fail(1)) SWIG_fail
;
23207 arg2
= (bool)(SWIG_As_bool(obj1
));
23208 if (SWIG_arg_fail(2)) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 (arg1
)->SetUseBestVisual(arg2
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23235 if (SWIG_arg_fail(1)) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23252 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23253 PyObject
*resultobj
;
23254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self",(char *) "mode", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23266 arg2
= (int)(SWIG_As_int(obj1
));
23267 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetPrintMode(arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_From_int((int)(result
));
23311 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23315 PyObject
* obj0
= 0 ;
23316 PyObject
* obj1
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "mode", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23323 if (SWIG_arg_fail(1)) SWIG_fail
;
23325 arg2
= (int)(SWIG_As_int(obj1
));
23326 if (SWIG_arg_fail(2)) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 (arg1
)->SetAssertMode(arg2
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 Py_INCREF(Py_None
); resultobj
= Py_None
;
23342 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (int)(arg1
)->GetAssertMode();
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_From_int((int)(result
));
23370 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23373 char *kwnames
[] = {
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23394 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23397 char *kwnames
[] = {
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_From_long((long)(result
));
23418 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23421 char *kwnames
[] = {
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_From_long((long)(result
));
23442 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23445 char *kwnames
[] = {
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (long)wxPyApp::GetMacExitMenuItemId();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_From_long((long)(result
));
23466 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23469 char *kwnames
[] = {
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= wxPyApp::GetMacHelpMenuTitleName();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23494 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23497 PyObject
* obj0
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "val", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23504 arg1
= (bool)(SWIG_As_bool(obj0
));
23505 if (SWIG_arg_fail(1)) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "val", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23531 arg1
= (long)(SWIG_As_long(obj0
));
23532 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 wxPyApp::SetMacAboutMenuItemId(arg1
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 Py_INCREF(Py_None
); resultobj
= Py_None
;
23548 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "val", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23558 arg1
= (long)(SWIG_As_long(obj0
));
23559 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 Py_INCREF(Py_None
); resultobj
= Py_None
;
23575 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23578 PyObject
* obj0
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "val", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23585 arg1
= (long)(SWIG_As_long(obj0
));
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 wxPyApp::SetMacExitMenuItemId(arg1
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23602 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxString
*arg1
= 0 ;
23605 bool temp1
= false ;
23606 PyObject
* obj0
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "val", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23613 arg1
= wxString_in_helper(obj0
);
23614 if (arg1
== NULL
) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 Py_INCREF(Py_None
); resultobj
= Py_None
;
23639 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23642 PyObject
* obj0
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23649 if (SWIG_arg_fail(1)) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->_BootstrapApp();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23667 char *kwnames
[] = {
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (int)wxPyApp::GetComCtl32Version();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_From_int((int)(result
));
23688 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23693 return Py_BuildValue((char *)"");
23695 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 char *kwnames
[] = {
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 Py_INCREF(Py_None
); resultobj
= Py_None
;
23716 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23719 char *kwnames
[] = {
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (bool)wxYield();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23740 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23743 char *kwnames
[] = {
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (bool)wxYieldIfNeeded();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23764 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxWindow
*arg1
= (wxWindow
*) NULL
;
23767 bool arg2
= (bool) false ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "win",(char *) "onlyIfNeeded", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23778 if (SWIG_arg_fail(1)) SWIG_fail
;
23782 arg2
= (bool)(SWIG_As_bool(obj1
));
23783 if (SWIG_arg_fail(2)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (bool)wxSafeYield(arg1
,arg2
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23802 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 char *kwnames
[] = {
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23826 wxEvent
*arg2
= 0 ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "dest",(char *) "event", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail
;
23837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23838 if (SWIG_arg_fail(2)) SWIG_fail
;
23839 if (arg2
== NULL
) {
23840 SWIG_null_ref("wxEvent");
23842 if (SWIG_arg_fail(2)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxPostEvent(arg1
,*arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 Py_INCREF(Py_None
); resultobj
= Py_None
;
23858 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 char *kwnames
[] = {
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 Py_INCREF(Py_None
); resultobj
= Py_None
;
23879 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23882 char *kwnames
[] = {
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (wxPyApp
*)wxPyGetApp();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= wxPyMake_wxObject(result
, 0);
23903 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 char *arg1
= (char *) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "encoding", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23912 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23913 SWIG_arg_fail(1);SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 wxSetDefaultPyEncoding((char const *)arg1
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 Py_INCREF(Py_None
); resultobj
= Py_None
;
23929 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23932 char *kwnames
[] = {
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (char *)wxGetDefaultPyEncoding();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_FromCharPtr(result
);
23951 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxEventLoop
*result
;
23954 char *kwnames
[] = {
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxEventLoop
*)new wxEventLoop();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23973 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23983 if (SWIG_arg_fail(1)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
23998 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24009 if (SWIG_arg_fail(1)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (int)(arg1
)->Run();
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= SWIG_From_int((int)(result
));
24026 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24029 int arg2
= (int) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "rc", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24038 if (SWIG_arg_fail(1)) SWIG_fail
;
24041 arg2
= (int)(SWIG_As_int(obj1
));
24042 if (SWIG_arg_fail(2)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->Exit(arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24087 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24098 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)(arg1
)->Dispatch();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24115 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24126 if (SWIG_arg_fail(1)) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24143 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxEventLoop
*result
;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24165 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
;
24167 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "loop", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(1)) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 wxEventLoop::SetActive(arg1
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24193 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24195 return Py_BuildValue((char *)"");
24197 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 int arg1
= (int) 0 ;
24200 int arg2
= (int) 0 ;
24201 int arg3
= (int) 0 ;
24202 wxAcceleratorEntry
*result
;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 PyObject
* obj2
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24213 arg1
= (int)(SWIG_As_int(obj0
));
24214 if (SWIG_arg_fail(1)) SWIG_fail
;
24219 arg2
= (int)(SWIG_As_int(obj1
));
24220 if (SWIG_arg_fail(2)) SWIG_fail
;
24225 arg3
= (int)(SWIG_As_int(obj2
));
24226 if (SWIG_arg_fail(3)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24243 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 Py_INCREF(Py_None
); resultobj
= Py_None
;
24268 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 PyObject
* obj2
= 0 ;
24277 PyObject
* obj3
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail
;
24286 arg2
= (int)(SWIG_As_int(obj1
));
24287 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 arg3
= (int)(SWIG_As_int(obj2
));
24291 if (SWIG_arg_fail(3)) SWIG_fail
;
24294 arg4
= (int)(SWIG_As_int(obj3
));
24295 if (SWIG_arg_fail(4)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->Set(arg2
,arg3
,arg4
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24315 PyObject
* obj0
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (int)(arg1
)->GetFlags();
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_From_int((int)(result
));
24339 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24350 if (SWIG_arg_fail(1)) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (int)(arg1
)->GetKeyCode();
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_From_int((int)(result
));
24367 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (int)(arg1
)->GetCommand();
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_From_int((int)(result
));
24395 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24398 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24400 return Py_BuildValue((char *)"");
24402 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24405 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24406 wxAcceleratorTable
*result
;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24414 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24415 if (arg2
) arg1
= PyList_Size(obj0
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24438 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 Py_INCREF(Py_None
); resultobj
= Py_None
;
24463 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24491 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24494 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24496 return Py_BuildValue((char *)"");
24498 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24499 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24504 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24507 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24512 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxString
*arg1
= 0 ;
24515 wxAcceleratorEntry
*result
;
24516 bool temp1
= false ;
24517 PyObject
* obj0
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "label", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24524 arg1
= wxString_in_helper(obj0
);
24525 if (arg1
== NULL
) SWIG_fail
;
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24550 static int _wrap_PanelNameStr_set(PyObject
*) {
24551 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24556 static PyObject
*_wrap_PanelNameStr_get(void) {
24561 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24563 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24570 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxVisualAttributes
*result
;
24573 char *kwnames
[] = {
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24592 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(1)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 delete_wxVisualAttributes(arg1
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 Py_INCREF(Py_None
); resultobj
= Py_None
;
24617 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24620 wxFont
*arg2
= (wxFont
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "font", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24629 if (SWIG_arg_fail(1)) SWIG_fail
;
24630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24631 if (SWIG_arg_fail(2)) SWIG_fail
;
24632 if (arg1
) (arg1
)->font
= *arg2
;
24634 Py_INCREF(Py_None
); resultobj
= Py_None
;
24641 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24653 result
= (wxFont
*)& ((arg1
)->font
);
24655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24662 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24665 wxColour
*arg2
= (wxColour
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "colFg", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24674 if (SWIG_arg_fail(1)) SWIG_fail
;
24675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24676 if (SWIG_arg_fail(2)) SWIG_fail
;
24677 if (arg1
) (arg1
)->colFg
= *arg2
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 result
= (wxColour
*)& ((arg1
)->colFg
);
24700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24707 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24710 wxColour
*arg2
= (wxColour
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "colBg", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail
;
24720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(2)) SWIG_fail
;
24722 if (arg1
) (arg1
)->colBg
= *arg2
;
24724 Py_INCREF(Py_None
); resultobj
= Py_None
;
24731 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24742 if (SWIG_arg_fail(1)) SWIG_fail
;
24743 result
= (wxColour
*)& ((arg1
)->colBg
);
24745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24752 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24755 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24757 return Py_BuildValue((char *)"");
24759 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxWindow
*arg1
= (wxWindow
*) 0 ;
24762 int arg2
= (int) (int)-1 ;
24763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24767 long arg5
= (long) 0 ;
24768 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24773 bool temp6
= false ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 PyObject
* obj2
= 0 ;
24777 PyObject
* obj3
= 0 ;
24778 PyObject
* obj4
= 0 ;
24779 PyObject
* obj5
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24789 arg2
= (int const)(SWIG_As_int(obj1
));
24790 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24807 arg5
= (long)(SWIG_As_long(obj4
));
24808 if (SWIG_arg_fail(5)) SWIG_fail
;
24813 arg6
= wxString_in_helper(obj5
);
24814 if (arg6
== NULL
) SWIG_fail
;
24819 if (!wxPyCheckForApp()) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24841 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24844 char *kwnames
[] = {
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24850 if (!wxPyCheckForApp()) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (wxWindow
*)new wxWindow();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24864 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxWindow
*arg1
= (wxWindow
*) 0 ;
24867 wxWindow
*arg2
= (wxWindow
*) 0 ;
24868 int arg3
= (int) (int)-1 ;
24869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24873 long arg6
= (long) 0 ;
24874 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24879 bool temp7
= false ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 PyObject
* obj2
= 0 ;
24883 PyObject
* obj3
= 0 ;
24884 PyObject
* obj4
= 0 ;
24885 PyObject
* obj5
= 0 ;
24886 PyObject
* obj6
= 0 ;
24887 char *kwnames
[] = {
24888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24893 if (SWIG_arg_fail(1)) SWIG_fail
;
24894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24895 if (SWIG_arg_fail(2)) SWIG_fail
;
24898 arg3
= (int const)(SWIG_As_int(obj2
));
24899 if (SWIG_arg_fail(3)) SWIG_fail
;
24905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24916 arg6
= (long)(SWIG_As_long(obj5
));
24917 if (SWIG_arg_fail(6)) SWIG_fail
;
24922 arg7
= wxString_in_helper(obj6
);
24923 if (arg7
== NULL
) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24951 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 bool arg2
= (bool) false ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "force", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 arg2
= (bool)(SWIG_As_bool(obj1
));
24968 if (SWIG_arg_fail(2)) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (bool)(arg1
)->Close(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24987 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxWindow
*arg1
= (wxWindow
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (bool)(arg1
)->Destroy();
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25015 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxWindow
*arg1
= (wxWindow
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (bool)(arg1
)->DestroyChildren();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25043 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxWindow
*arg1
= (wxWindow
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25071 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxWindow
*arg1
= (wxWindow
*) 0 ;
25074 wxString
*arg2
= 0 ;
25075 bool temp2
= false ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "title", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25084 if (SWIG_arg_fail(1)) SWIG_fail
;
25086 arg2
= wxString_in_helper(obj1
);
25087 if (arg2
== NULL
) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 (arg1
)->SetTitle((wxString
const &)*arg2
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxWindow
*arg1
= (wxWindow
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= ((wxWindow
const *)arg1
)->GetTitle();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25144 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxWindow
*arg1
= (wxWindow
*) 0 ;
25147 wxString
*arg2
= 0 ;
25148 bool temp2
= false ;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj1
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self",(char *) "label", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25157 if (SWIG_arg_fail(1)) SWIG_fail
;
25159 arg2
= wxString_in_helper(obj1
);
25160 if (arg2
== NULL
) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->SetLabel((wxString
const &)*arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxWindow
*arg1
= (wxWindow
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25196 if (SWIG_arg_fail(1)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= ((wxWindow
const *)arg1
)->GetLabel();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25217 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 wxString
*arg2
= 0 ;
25221 bool temp2
= false ;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self",(char *) "name", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail
;
25232 arg2
= wxString_in_helper(obj1
);
25233 if (arg2
== NULL
) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 (arg1
)->SetName((wxString
const &)*arg2
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 Py_INCREF(Py_None
); resultobj
= Py_None
;
25258 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxWindow
*arg1
= (wxWindow
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 char *kwnames
[] = {
25264 (char *) "self", NULL
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25269 if (SWIG_arg_fail(1)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= ((wxWindow
const *)arg1
)->GetName();
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25290 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
;
25292 wxWindow
*arg1
= (wxWindow
*) 0 ;
25293 wxWindowVariant arg2
;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "variant", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25302 if (SWIG_arg_fail(1)) SWIG_fail
;
25304 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25305 if (SWIG_arg_fail(2)) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxWindow
*arg1
= (wxWindow
*) 0 ;
25324 wxWindowVariant result
;
25325 PyObject
* obj0
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_From_int((result
));
25347 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxWindow
*arg1
= (wxWindow
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self",(char *) "winid", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25359 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 arg2
= (int)(SWIG_As_int(obj1
));
25362 if (SWIG_arg_fail(2)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetId(arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxWindow
*arg1
= (wxWindow
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25389 if (SWIG_arg_fail(1)) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (int)((wxWindow
const *)arg1
)->GetId();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_From_int((int)(result
));
25406 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25409 char *kwnames
[] = {
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (int)wxWindow::NewControlId();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_From_int((int)(result
));
25430 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "winid", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25441 arg1
= (int)(SWIG_As_int(obj0
));
25442 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (int)wxWindow::NextControlId(arg1
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_From_int((int)(result
));
25460 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25464 PyObject
* obj0
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "winid", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25471 arg1
= (int)(SWIG_As_int(obj0
));
25472 if (SWIG_arg_fail(1)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (int)wxWindow::PrevControlId(arg1
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_From_int((int)(result
));
25490 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "size", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->SetSize((wxSize
const &)*arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxWindow
*arg1
= (wxWindow
*) 0 ;
25529 int arg6
= (int) wxSIZE_AUTO
;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 PyObject
* obj2
= 0 ;
25533 PyObject
* obj3
= 0 ;
25534 PyObject
* obj4
= 0 ;
25535 PyObject
* obj5
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail
;
25544 arg2
= (int)(SWIG_As_int(obj1
));
25545 if (SWIG_arg_fail(2)) SWIG_fail
;
25548 arg3
= (int)(SWIG_As_int(obj2
));
25549 if (SWIG_arg_fail(3)) SWIG_fail
;
25552 arg4
= (int)(SWIG_As_int(obj3
));
25553 if (SWIG_arg_fail(4)) SWIG_fail
;
25556 arg5
= (int)(SWIG_As_int(obj4
));
25557 if (SWIG_arg_fail(5)) SWIG_fail
;
25561 arg6
= (int)(SWIG_As_int(obj5
));
25562 if (SWIG_arg_fail(6)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 Py_INCREF(Py_None
); resultobj
= Py_None
;
25579 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxWindow
*arg1
= (wxWindow
*) 0 ;
25583 int arg3
= (int) wxSIZE_AUTO
;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 PyObject
* obj2
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25594 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25601 arg3
= (int)(SWIG_As_int(obj2
));
25602 if (SWIG_arg_fail(3)) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 Py_INCREF(Py_None
); resultobj
= Py_None
;
25619 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25621 wxWindow
*arg1
= (wxWindow
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 PyObject
* obj2
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self",(char *) "width",(char *) "height", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25633 if (SWIG_arg_fail(1)) SWIG_fail
;
25635 arg2
= (int)(SWIG_As_int(obj1
));
25636 if (SWIG_arg_fail(2)) SWIG_fail
;
25639 arg3
= (int)(SWIG_As_int(obj2
));
25640 if (SWIG_arg_fail(3)) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 (arg1
)->SetSize(arg2
,arg3
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 Py_INCREF(Py_None
); resultobj
= Py_None
;
25656 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxWindow
*arg1
= (wxWindow
*) 0 ;
25659 wxPoint
*arg2
= 0 ;
25660 int arg3
= (int) wxSIZE_USE_EXISTING
;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 PyObject
* obj2
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self",(char *) "pt",(char *) "flags", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25671 if (SWIG_arg_fail(1)) SWIG_fail
;
25674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25678 arg3
= (int)(SWIG_As_int(obj2
));
25679 if (SWIG_arg_fail(3)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 Py_INCREF(Py_None
); resultobj
= Py_None
;
25696 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxWindow
*arg1
= (wxWindow
*) 0 ;
25701 int arg4
= (int) wxSIZE_USE_EXISTING
;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 PyObject
* obj2
= 0 ;
25705 PyObject
* obj3
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 arg2
= (int)(SWIG_As_int(obj1
));
25715 if (SWIG_arg_fail(2)) SWIG_fail
;
25718 arg3
= (int)(SWIG_As_int(obj2
));
25719 if (SWIG_arg_fail(3)) SWIG_fail
;
25723 arg4
= (int)(SWIG_As_int(obj3
));
25724 if (SWIG_arg_fail(4)) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 (arg1
)->Move(arg2
,arg3
,arg4
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 Py_INCREF(Py_None
); resultobj
= Py_None
;
25741 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxWindow
*arg1
= (wxWindow
*) 0 ;
25744 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25745 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self",(char *) "size", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail
;
25759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 Py_INCREF(Py_None
); resultobj
= Py_None
;
25776 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxWindow
*arg1
= (wxWindow
*) 0 ;
25779 PyObject
* obj0
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 Py_INCREF(Py_None
); resultobj
= Py_None
;
25801 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxWindow
*arg1
= (wxWindow
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25811 if (SWIG_arg_fail(1)) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self",(char *) "size", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25839 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxWindow
*arg1
= (wxWindow
*) 0 ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "width",(char *) "height", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(1)) SWIG_fail
;
25874 arg2
= (int)(SWIG_As_int(obj1
));
25875 if (SWIG_arg_fail(2)) SWIG_fail
;
25878 arg3
= (int)(SWIG_As_int(obj2
));
25879 if (SWIG_arg_fail(3)) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetClientSize(arg2
,arg3
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 Py_INCREF(Py_None
); resultobj
= Py_None
;
25895 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxWindow
*arg1
= (wxWindow
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "rect", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 Py_INCREF(Py_None
); resultobj
= Py_None
;
25927 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
;
25929 wxWindow
*arg1
= (wxWindow
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (arg1
)->GetPosition();
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25947 wxPoint
* resultptr
;
25948 resultptr
= new wxPoint((wxPoint
&)(result
));
25949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25957 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
;
25959 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 int *arg2
= (int *) 0 ;
25961 int *arg3
= (int *) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25972 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 (arg1
)->GetPosition(arg2
,arg3
);
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25985 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25986 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25987 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25994 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxWindow
*arg1
= (wxWindow
*) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26005 if (SWIG_arg_fail(1)) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= ((wxWindow
const *)arg1
)->GetSize();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 wxSize
* resultptr
;
26015 resultptr
= new wxSize((wxSize
&)(result
));
26016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26024 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxWindow
*arg1
= (wxWindow
*) 0 ;
26027 int *arg2
= (int *) 0 ;
26028 int *arg3
= (int *) 0 ;
26033 PyObject
* obj0
= 0 ;
26034 char *kwnames
[] = {
26035 (char *) "self", NULL
26038 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26039 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26051 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26052 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26053 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26054 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26061 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxWindow
*arg1
= (wxWindow
*) 0 ;
26065 PyObject
* obj0
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26072 if (SWIG_arg_fail(1)) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= ((wxWindow
const *)arg1
)->GetRect();
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26081 wxRect
* resultptr
;
26082 resultptr
= new wxRect((wxRect
&)(result
));
26083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26091 static PyObject
*_wrap_Window_GetClientSize(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_GetClientSize",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
)->GetClientSize();
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_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26122 PyObject
*resultobj
;
26123 wxWindow
*arg1
= (wxWindow
*) 0 ;
26124 int *arg2
= (int *) 0 ;
26125 int *arg3
= (int *) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self", NULL
26135 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26149 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26150 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26151 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26158 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxWindow
*arg1
= (wxWindow
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 wxPoint
* resultptr
;
26179 resultptr
= new wxPoint((wxPoint
&)(result
));
26180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26188 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxWindow
*arg1
= (wxWindow
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 wxRect
* resultptr
;
26209 resultptr
= new wxRect((wxRect
&)(result
));
26210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26218 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxWindow
*arg1
= (wxWindow
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 wxSize
* resultptr
;
26239 resultptr
= new wxSize((wxSize
&)(result
));
26240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26248 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxWindow
*arg1
= (wxWindow
*) 0 ;
26251 int *arg2
= (int *) 0 ;
26252 int *arg3
= (int *) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26263 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26266 if (SWIG_arg_fail(1)) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26276 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26277 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26278 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26285 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
;
26287 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 (arg1
)->InvalidateBestSize();
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26310 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxWindow
*arg1
= (wxWindow
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 wxSize
* resultptr
;
26331 resultptr
= new wxSize((wxSize
&)(result
));
26332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26340 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxWindow
*arg1
= (wxWindow
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26351 if (SWIG_arg_fail(1)) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26360 wxSize
* resultptr
;
26361 resultptr
= new wxSize((wxSize
&)(result
));
26362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26370 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxWindow
*arg1
= (wxWindow
*) 0 ;
26373 int arg2
= (int) wxBOTH
;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self",(char *) "direction", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26382 if (SWIG_arg_fail(1)) SWIG_fail
;
26385 arg2
= (int)(SWIG_As_int(obj1
));
26386 if (SWIG_arg_fail(2)) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 (arg1
)->Center(arg2
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxWindow
*arg1
= (wxWindow
*) 0 ;
26406 int arg2
= (int) wxBOTH
;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "dir", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail
;
26418 arg2
= (int)(SWIG_As_int(obj1
));
26419 if (SWIG_arg_fail(2)) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 (arg1
)->CenterOnScreen(arg2
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 Py_INCREF(Py_None
); resultobj
= Py_None
;
26436 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxWindow
*arg1
= (wxWindow
*) 0 ;
26439 int arg2
= (int) wxBOTH
;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self",(char *) "dir", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 arg2
= (int)(SWIG_As_int(obj1
));
26452 if (SWIG_arg_fail(2)) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 (arg1
)->CenterOnParent(arg2
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxWindow
*arg1
= (wxWindow
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxWindow
*arg1
= (wxWindow
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26504 if (SWIG_arg_fail(1)) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 (arg1
)->FitInside();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 Py_INCREF(Py_None
); resultobj
= Py_None
;
26519 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxWindow
*arg1
= (wxWindow
*) 0 ;
26524 int arg4
= (int) -1 ;
26525 int arg5
= (int) -1 ;
26526 int arg6
= (int) -1 ;
26527 int arg7
= (int) -1 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 PyObject
* obj3
= 0 ;
26532 PyObject
* obj4
= 0 ;
26533 PyObject
* obj5
= 0 ;
26534 PyObject
* obj6
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail
;
26543 arg2
= (int)(SWIG_As_int(obj1
));
26544 if (SWIG_arg_fail(2)) SWIG_fail
;
26547 arg3
= (int)(SWIG_As_int(obj2
));
26548 if (SWIG_arg_fail(3)) SWIG_fail
;
26552 arg4
= (int)(SWIG_As_int(obj3
));
26553 if (SWIG_arg_fail(4)) SWIG_fail
;
26558 arg5
= (int)(SWIG_As_int(obj4
));
26559 if (SWIG_arg_fail(5)) SWIG_fail
;
26564 arg6
= (int)(SWIG_As_int(obj5
));
26565 if (SWIG_arg_fail(6)) SWIG_fail
;
26570 arg7
= (int)(SWIG_As_int(obj6
));
26571 if (SWIG_arg_fail(7)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 Py_INCREF(Py_None
); resultobj
= Py_None
;
26588 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxWindow
*arg1
= (wxWindow
*) 0 ;
26592 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26593 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 PyObject
* obj2
= 0 ;
26602 PyObject
* obj3
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26609 if (SWIG_arg_fail(1)) SWIG_fail
;
26612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26617 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26623 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26640 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26645 int arg4
= (int) -1 ;
26646 int arg5
= (int) -1 ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 PyObject
* obj2
= 0 ;
26650 PyObject
* obj3
= 0 ;
26651 PyObject
* obj4
= 0 ;
26652 char *kwnames
[] = {
26653 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26658 if (SWIG_arg_fail(1)) SWIG_fail
;
26660 arg2
= (int)(SWIG_As_int(obj1
));
26661 if (SWIG_arg_fail(2)) SWIG_fail
;
26664 arg3
= (int)(SWIG_As_int(obj2
));
26665 if (SWIG_arg_fail(3)) SWIG_fail
;
26669 arg4
= (int)(SWIG_As_int(obj3
));
26670 if (SWIG_arg_fail(4)) SWIG_fail
;
26675 arg5
= (int)(SWIG_As_int(obj4
));
26676 if (SWIG_arg_fail(5)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxWindow
*arg1
= (wxWindow
*) 0 ;
26697 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26698 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 PyObject
* obj2
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26710 if (SWIG_arg_fail(1)) SWIG_fail
;
26713 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26718 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 Py_INCREF(Py_None
); resultobj
= Py_None
;
26735 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 wxSize
* resultptr
;
26756 resultptr
= new wxSize((wxSize
&)(result
));
26757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26765 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxWindow
*arg1
= (wxWindow
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 wxSize
* resultptr
;
26786 resultptr
= new wxSize((wxSize
&)(result
));
26787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26795 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxWindow
*arg1
= (wxWindow
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "minSize", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26811 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 Py_INCREF(Py_None
); resultobj
= Py_None
;
26827 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
;
26829 wxWindow
*arg1
= (wxWindow
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self",(char *) "maxSize", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail
;
26843 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 Py_INCREF(Py_None
); resultobj
= Py_None
;
26859 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxWindow
*arg1
= (wxWindow
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_From_int((int)(result
));
26887 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_From_int((int)(result
));
26915 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxWindow
*arg1
= (wxWindow
*) 0 ;
26919 PyObject
* obj0
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= SWIG_From_int((int)(result
));
26943 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxWindow
*arg1
= (wxWindow
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_From_int((int)(result
));
26971 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26977 PyObject
* obj1
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self",(char *) "size", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26984 if (SWIG_arg_fail(1)) SWIG_fail
;
26987 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 Py_INCREF(Py_None
); resultobj
= Py_None
;
27003 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "w",(char *) "h", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 arg2
= (int)(SWIG_As_int(obj1
));
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27023 arg3
= (int)(SWIG_As_int(obj2
));
27024 if (SWIG_arg_fail(3)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetVirtualSize(arg2
,arg3
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 Py_INCREF(Py_None
); resultobj
= Py_None
;
27040 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27051 if (SWIG_arg_fail(1)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 wxSize
* resultptr
;
27061 resultptr
= new wxSize((wxSize
&)(result
));
27062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27070 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27073 int *arg2
= (int *) 0 ;
27074 int *arg3
= (int *) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27085 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27088 if (SWIG_arg_fail(1)) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 Py_INCREF(Py_None
); resultobj
= Py_None
;
27097 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27098 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27099 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27100 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27107 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
;
27109 wxWindow
*arg1
= (wxWindow
*) 0 ;
27111 PyObject
* obj0
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 wxSize
* resultptr
;
27128 resultptr
= new wxSize((wxSize
&)(result
));
27129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27137 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxWindow
*arg1
= (wxWindow
*) 0 ;
27140 bool arg2
= (bool) true ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "show", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 arg2
= (bool)(SWIG_As_bool(obj1
));
27154 if (SWIG_arg_fail(2)) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (bool)(arg1
)->Show(arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27173 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27174 PyObject
*resultobj
;
27175 wxWindow
*arg1
= (wxWindow
*) 0 ;
27177 PyObject
* obj0
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(1)) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (bool)(arg1
)->Hide();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27201 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxWindow
*arg1
= (wxWindow
*) 0 ;
27204 bool arg2
= (bool) true ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "enable", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27214 if (SWIG_arg_fail(1)) SWIG_fail
;
27217 arg2
= (bool)(SWIG_As_bool(obj1
));
27218 if (SWIG_arg_fail(2)) SWIG_fail
;
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= (bool)(arg1
)->Enable(arg2
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27237 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (bool)(arg1
)->Disable();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27265 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27293 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 wxWindow
*arg1
= (wxWindow
*) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27321 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxWindow
*arg1
= (wxWindow
*) 0 ;
27325 PyObject
* obj0
= 0 ;
27326 PyObject
* obj1
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self",(char *) "style", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail
;
27335 arg2
= (long)(SWIG_As_long(obj1
));
27336 if (SWIG_arg_fail(2)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 (arg1
)->SetWindowStyleFlag(arg2
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 Py_INCREF(Py_None
); resultobj
= Py_None
;
27352 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxWindow
*arg1
= (wxWindow
*) 0 ;
27356 PyObject
* obj0
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27363 if (SWIG_arg_fail(1)) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= SWIG_From_long((long)(result
));
27380 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "flag", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 arg2
= (int)(SWIG_As_int(obj1
));
27396 if (SWIG_arg_fail(2)) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxWindow
*arg1
= (wxWindow
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27425 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27442 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxWindow
*arg1
= (wxWindow
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self",(char *) "exStyle", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 arg2
= (long)(SWIG_As_long(obj1
));
27457 if (SWIG_arg_fail(2)) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 (arg1
)->SetExtraStyle(arg2
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 Py_INCREF(Py_None
); resultobj
= Py_None
;
27473 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(1)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_From_long((long)(result
));
27501 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxWindow
*arg1
= (wxWindow
*) 0 ;
27504 bool arg2
= (bool) true ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "modal", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27516 arg2
= (bool)(SWIG_As_bool(obj1
));
27517 if (SWIG_arg_fail(2)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 (arg1
)->MakeModal(arg2
);
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27527 Py_INCREF(Py_None
); resultobj
= Py_None
;
27534 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxWindow
*arg1
= (wxWindow
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "enableTheme", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27548 arg2
= (bool)(SWIG_As_bool(obj1
));
27549 if (SWIG_arg_fail(2)) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 (arg1
)->SetThemeEnabled(arg2
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxWindow
*arg1
= (wxWindow
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27576 if (SWIG_arg_fail(1)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27593 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 (arg1
)->SetFocus();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxWindow
*arg1
= (wxWindow
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27628 if (SWIG_arg_fail(1)) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->SetFocusFromKbd();
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27643 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27646 char *kwnames
[] = {
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27652 if (!wxPyCheckForApp()) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (wxWindow
*)wxWindow::FindFocus();
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= wxPyMake_wxObject(result
, 0);
27668 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxWindow
*arg1
= (wxWindow
*) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27696 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxWindow
*arg1
= (wxWindow
*) 0 ;
27700 PyObject
* obj0
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27724 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxWindow
*arg1
= (wxWindow
*) 0 ;
27728 PyObject
* obj0
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27735 if (SWIG_arg_fail(1)) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= wxPyMake_wxObject(result
, 0);
27752 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxWindow
*arg1
= (wxWindow
*) 0 ;
27755 wxWindow
*arg2
= (wxWindow
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "child", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27765 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27767 if (SWIG_arg_fail(2)) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= wxPyMake_wxObject(result
, 0);
27784 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 wxWindow
*arg2
= (wxWindow
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "win", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail
;
27797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27798 if (SWIG_arg_fail(2)) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->SetTmpDefaultItem(arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27818 PyObject
* obj0
= 0 ;
27819 PyObject
* obj1
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self",(char *) "flags", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail
;
27829 arg2
= (int)(SWIG_As_int(obj1
));
27830 if (SWIG_arg_fail(2)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (bool)(arg1
)->Navigate(arg2
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27849 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxWindow
*arg1
= (wxWindow
*) 0 ;
27852 wxWindow
*arg2
= (wxWindow
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 PyObject
* obj1
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self",(char *) "win", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27861 if (SWIG_arg_fail(1)) SWIG_fail
;
27862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27863 if (SWIG_arg_fail(2)) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 (arg1
)->MoveAfterInTabOrder(arg2
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 Py_INCREF(Py_None
); resultobj
= Py_None
;
27878 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxWindow
*arg1
= (wxWindow
*) 0 ;
27881 wxWindow
*arg2
= (wxWindow
*) 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self",(char *) "win", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27890 if (SWIG_arg_fail(1)) SWIG_fail
;
27891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27892 if (SWIG_arg_fail(2)) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 (arg1
)->MoveBeforeInTabOrder(arg2
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 Py_INCREF(Py_None
); resultobj
= Py_None
;
27907 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxWindow
*arg1
= (wxWindow
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27918 if (SWIG_arg_fail(1)) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= result
;
27933 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxWindow
*arg1
= (wxWindow
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27944 if (SWIG_arg_fail(1)) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= wxPyMake_wxObject(result
, 0);
27961 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27972 if (SWIG_arg_fail(1)) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= wxPyMake_wxObject(result
, 0);
27989 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
;
27991 wxWindow
*arg1
= (wxWindow
*) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 char *kwnames
[] = {
27995 (char *) "self", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28000 if (SWIG_arg_fail(1)) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28017 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 wxWindow
*arg2
= (wxWindow
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self",(char *) "newParent", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28030 if (SWIG_arg_fail(1)) SWIG_fail
;
28031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28032 if (SWIG_arg_fail(2)) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (bool)(arg1
)->Reparent(arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28049 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
;
28051 wxWindow
*arg1
= (wxWindow
*) 0 ;
28052 wxWindow
*arg2
= (wxWindow
*) 0 ;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self",(char *) "child", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28061 if (SWIG_arg_fail(1)) SWIG_fail
;
28062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28063 if (SWIG_arg_fail(2)) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->AddChild(arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28078 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxWindow
*arg1
= (wxWindow
*) 0 ;
28081 wxWindow
*arg2
= (wxWindow
*) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 PyObject
* obj1
= 0 ;
28084 char *kwnames
[] = {
28085 (char *) "self",(char *) "child", NULL
28088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28090 if (SWIG_arg_fail(1)) SWIG_fail
;
28091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28092 if (SWIG_arg_fail(2)) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 (arg1
)->RemoveChild(arg2
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 Py_INCREF(Py_None
); resultobj
= Py_None
;
28107 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
;
28109 wxWindow
*arg1
= (wxWindow
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "winid", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 arg2
= (long)(SWIG_As_long(obj1
));
28123 if (SWIG_arg_fail(2)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= wxPyMake_wxObject(result
, 0);
28141 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 wxString
*arg2
= 0 ;
28146 bool temp2
= false ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "name", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28157 arg2
= wxString_in_helper(obj1
);
28158 if (arg2
== NULL
) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= wxPyMake_wxObject(result
, 0);
28185 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxWindow
*arg1
= (wxWindow
*) 0 ;
28188 wxEvtHandler
*result
;
28189 PyObject
* obj0
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= wxPyMake_wxObject(result
, 0);
28213 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxWindow
*arg1
= (wxWindow
*) 0 ;
28216 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self",(char *) "handler", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28225 if (SWIG_arg_fail(1)) SWIG_fail
;
28226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28227 if (SWIG_arg_fail(2)) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->SetEventHandler(arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 Py_INCREF(Py_None
); resultobj
= Py_None
;
28242 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxWindow
*arg1
= (wxWindow
*) 0 ;
28245 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self",(char *) "handler", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28256 if (SWIG_arg_fail(2)) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 (arg1
)->PushEventHandler(arg2
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 Py_INCREF(Py_None
); resultobj
= Py_None
;
28271 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxWindow
*arg1
= (wxWindow
*) 0 ;
28274 bool arg2
= (bool) false ;
28275 wxEvtHandler
*result
;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self",(char *) "deleteHandler", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 arg2
= (bool)(SWIG_As_bool(obj1
));
28288 if (SWIG_arg_fail(2)) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= wxPyMake_wxObject(result
, 0);
28307 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxWindow
*arg1
= (wxWindow
*) 0 ;
28310 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "handler", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail
;
28321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28322 if (SWIG_arg_fail(2)) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28339 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxWindow
*arg1
= (wxWindow
*) 0 ;
28342 wxValidator
*arg2
= 0 ;
28343 PyObject
* obj0
= 0 ;
28344 PyObject
* obj1
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self",(char *) "validator", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28351 if (SWIG_arg_fail(1)) SWIG_fail
;
28353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28354 if (SWIG_arg_fail(2)) SWIG_fail
;
28355 if (arg2
== NULL
) {
28356 SWIG_null_ref("wxValidator");
28358 if (SWIG_arg_fail(2)) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 Py_INCREF(Py_None
); resultobj
= Py_None
;
28374 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxWindow
*arg1
= (wxWindow
*) 0 ;
28377 wxValidator
*result
;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28385 if (SWIG_arg_fail(1)) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (wxValidator
*)(arg1
)->GetValidator();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= wxPyMake_wxObject(result
, 0);
28402 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxWindow
*arg1
= (wxWindow
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28413 if (SWIG_arg_fail(1)) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (bool)(arg1
)->Validate();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28430 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxWindow
*arg1
= (wxWindow
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28441 if (SWIG_arg_fail(1)) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (bool)(arg1
)->TransferDataToWindow();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxWindow
*arg1
= (wxWindow
*) 0 ;
28462 PyObject
* obj0
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (bool)(arg1
)->TransferDataFromWindow();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28486 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxWindow
*arg1
= (wxWindow
*) 0 ;
28489 PyObject
* obj0
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28496 if (SWIG_arg_fail(1)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->InitDialog();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28511 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxWindow
*arg1
= (wxWindow
*) 0 ;
28514 wxAcceleratorTable
*arg2
= 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "accel", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(1)) SWIG_fail
;
28525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28527 if (arg2
== NULL
) {
28528 SWIG_null_ref("wxAcceleratorTable");
28530 if (SWIG_arg_fail(2)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxWindow
*arg1
= (wxWindow
*) 0 ;
28549 wxAcceleratorTable
*result
;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28572 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxWindow
*arg1
= (wxWindow
*) 0 ;
28579 PyObject
* obj0
= 0 ;
28580 PyObject
* obj1
= 0 ;
28581 PyObject
* obj2
= 0 ;
28582 PyObject
* obj3
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28589 if (SWIG_arg_fail(1)) SWIG_fail
;
28591 arg2
= (int)(SWIG_As_int(obj1
));
28592 if (SWIG_arg_fail(2)) SWIG_fail
;
28595 arg3
= (int)(SWIG_As_int(obj2
));
28596 if (SWIG_arg_fail(3)) SWIG_fail
;
28599 arg4
= (int)(SWIG_As_int(obj3
));
28600 if (SWIG_arg_fail(4)) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28618 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "hotkeyId", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail
;
28633 arg2
= (int)(SWIG_As_int(obj1
));
28634 if (SWIG_arg_fail(2)) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28652 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxWindow
*arg1
= (wxWindow
*) 0 ;
28655 wxPoint
*arg2
= 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 char *kwnames
[] = {
28661 (char *) "self",(char *) "pt", NULL
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28666 if (SWIG_arg_fail(1)) SWIG_fail
;
28669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 wxPoint
* resultptr
;
28680 resultptr
= new wxPoint((wxPoint
&)(result
));
28681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28689 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
;
28691 wxWindow
*arg1
= (wxWindow
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self",(char *) "sz", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28703 if (SWIG_arg_fail(1)) SWIG_fail
;
28706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 wxSize
* resultptr
;
28717 resultptr
= new wxSize((wxSize
&)(result
));
28718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28726 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxWindow
*arg1
= (wxWindow
*) 0 ;
28729 wxPoint
*arg2
= 0 ;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "pt", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28740 if (SWIG_arg_fail(1)) SWIG_fail
;
28743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28753 wxPoint
* resultptr
;
28754 resultptr
= new wxPoint((wxPoint
&)(result
));
28755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28763 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxWindow
*arg1
= (wxWindow
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self",(char *) "sz", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 wxSize
* resultptr
;
28791 resultptr
= new wxSize((wxSize
&)(result
));
28792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28800 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxWindow
*arg1
= (wxWindow
*) 0 ;
28803 wxPoint
*arg2
= 0 ;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "pt", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 wxPoint
* resultptr
;
28828 resultptr
= new wxPoint((wxPoint
&)(result
));
28829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28837 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxWindow
*arg1
= (wxWindow
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self",(char *) "sz", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(1)) SWIG_fail
;
28854 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 wxSize
* resultptr
;
28865 resultptr
= new wxSize((wxSize
&)(result
));
28866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28874 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
;
28876 wxWindow
*arg1
= (wxWindow
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 char *kwnames
[] = {
28883 (char *) "self",(char *) "x",(char *) "y", NULL
28886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28888 if (SWIG_arg_fail(1)) SWIG_fail
;
28890 arg2
= (int)(SWIG_As_int(obj1
));
28891 if (SWIG_arg_fail(2)) SWIG_fail
;
28894 arg3
= (int)(SWIG_As_int(obj2
));
28895 if (SWIG_arg_fail(3)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->WarpPointer(arg2
,arg3
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 Py_INCREF(Py_None
); resultobj
= Py_None
;
28911 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxWindow
*arg1
= (wxWindow
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->CaptureMouse();
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxWindow
*arg1
= (wxWindow
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->ReleaseMouse();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 Py_INCREF(Py_None
); resultobj
= Py_None
;
28961 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28964 char *kwnames
[] = {
28968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28970 if (!wxPyCheckForApp()) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (wxWindow
*)wxWindow::GetCapture();
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= wxPyMake_wxObject(result
, 0);
28986 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxWindow
*arg1
= (wxWindow
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29014 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29016 wxWindow
*arg1
= (wxWindow
*) 0 ;
29017 bool arg2
= (bool) true ;
29018 wxRect
*arg3
= (wxRect
*) NULL
;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail
;
29031 arg2
= (bool)(SWIG_As_bool(obj1
));
29032 if (SWIG_arg_fail(2)) SWIG_fail
;
29036 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29037 if (SWIG_arg_fail(3)) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 Py_INCREF(Py_None
); resultobj
= Py_None
;
29053 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxWindow
*arg1
= (wxWindow
*) 0 ;
29057 bool arg3
= (bool) true ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 PyObject
* obj2
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail
;
29071 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29075 arg3
= (bool)(SWIG_As_bool(obj2
));
29076 if (SWIG_arg_fail(3)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
;
29095 wxWindow
*arg1
= (wxWindow
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail
;
29105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 wxPyEndAllowThreads(__tstate
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 Py_INCREF(Py_None
); resultobj
= Py_None
;
29118 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
;
29120 wxWindow
*arg1
= (wxWindow
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29128 if (SWIG_arg_fail(1)) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 (arg1
)->ClearBackground();
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 Py_INCREF(Py_None
); resultobj
= Py_None
;
29143 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxWindow
*arg1
= (wxWindow
*) 0 ;
29146 PyObject
* obj0
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "self", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29153 if (SWIG_arg_fail(1)) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 Py_INCREF(Py_None
); resultobj
= Py_None
;
29168 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29170 wxWindow
*arg1
= (wxWindow
*) 0 ;
29171 PyObject
* obj0
= 0 ;
29172 char *kwnames
[] = {
29173 (char *) "self", NULL
29176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29178 if (SWIG_arg_fail(1)) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 Py_INCREF(Py_None
); resultobj
= Py_None
;
29193 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxWindow
*arg1
= (wxWindow
*) 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self",(char *) "dc", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29208 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 if (arg2
== NULL
) {
29210 SWIG_null_ref("wxDC");
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 (arg1
)->PrepareDC(*arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 Py_INCREF(Py_None
); resultobj
= Py_None
;
29228 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
;
29230 wxWindow
*arg1
= (wxWindow
*) 0 ;
29232 PyObject
* obj0
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "self", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29239 if (SWIG_arg_fail(1)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29244 result
= (wxRegion
*) &_result_ref
;
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29257 static PyObject
*_wrap_Window_GetUpdateClientRect(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_GetUpdateClientRect",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
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 wxRect
* resultptr
;
29278 resultptr
= new wxRect((wxRect
&)(result
));
29279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29287 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxWindow
*arg1
= (wxWindow
*) 0 ;
29292 int arg4
= (int) 1 ;
29293 int arg5
= (int) 1 ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 PyObject
* obj2
= 0 ;
29298 PyObject
* obj3
= 0 ;
29299 PyObject
* obj4
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29306 if (SWIG_arg_fail(1)) SWIG_fail
;
29308 arg2
= (int)(SWIG_As_int(obj1
));
29309 if (SWIG_arg_fail(2)) SWIG_fail
;
29312 arg3
= (int)(SWIG_As_int(obj2
));
29313 if (SWIG_arg_fail(3)) SWIG_fail
;
29317 arg4
= (int)(SWIG_As_int(obj3
));
29318 if (SWIG_arg_fail(4)) SWIG_fail
;
29323 arg5
= (int)(SWIG_As_int(obj4
));
29324 if (SWIG_arg_fail(5)) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29343 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxWindow
*arg1
= (wxWindow
*) 0 ;
29346 wxPoint
*arg2
= 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "pt", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29357 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29378 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxWindow
*arg1
= (wxWindow
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self",(char *) "rect", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29392 if (SWIG_arg_fail(1)) SWIG_fail
;
29395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29413 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxWindow
*arg1
= (wxWindow
*) 0 ;
29416 wxVisualAttributes result
;
29417 PyObject
* obj0
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29424 if (SWIG_arg_fail(1)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 wxVisualAttributes
* resultptr
;
29434 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29443 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29445 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29446 wxVisualAttributes result
;
29447 PyObject
* obj0
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "variant", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29455 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29456 if (SWIG_arg_fail(1)) SWIG_fail
;
29460 if (!wxPyCheckForApp()) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 wxVisualAttributes
* resultptr
;
29469 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29478 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxWindow
*arg1
= (wxWindow
*) 0 ;
29481 wxColour
*arg2
= 0 ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self",(char *) "colour", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29492 if (SWIG_arg_fail(1)) SWIG_fail
;
29495 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29513 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxWindow
*arg1
= (wxWindow
*) 0 ;
29516 wxColour
*arg2
= 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self",(char *) "colour", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29526 if (SWIG_arg_fail(1)) SWIG_fail
;
29529 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 Py_INCREF(Py_None
); resultobj
= Py_None
;
29545 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxWindow
*arg1
= (wxWindow
*) 0 ;
29548 wxColour
*arg2
= 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self",(char *) "colour", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(1)) SWIG_fail
;
29562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29580 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxWindow
*arg1
= (wxWindow
*) 0 ;
29583 wxColour
*arg2
= 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "colour", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29593 if (SWIG_arg_fail(1)) SWIG_fail
;
29596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 Py_INCREF(Py_None
); resultobj
= Py_None
;
29612 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxWindow
*arg1
= (wxWindow
*) 0 ;
29616 PyObject
* obj0
= 0 ;
29617 char *kwnames
[] = {
29618 (char *) "self", NULL
29621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29623 if (SWIG_arg_fail(1)) SWIG_fail
;
29625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29632 wxColour
* resultptr
;
29633 resultptr
= new wxColour((wxColour
&)(result
));
29634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29642 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
;
29644 wxWindow
*arg1
= (wxWindow
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29653 if (SWIG_arg_fail(1)) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29662 wxColour
* resultptr
;
29663 resultptr
= new wxColour((wxColour
&)(result
));
29664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29672 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxWindow
*arg1
= (wxWindow
*) 0 ;
29676 PyObject
* obj0
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29700 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxWindow
*arg1
= (wxWindow
*) 0 ;
29704 PyObject
* obj0
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29711 if (SWIG_arg_fail(1)) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29728 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
;
29730 wxWindow
*arg1
= (wxWindow
*) 0 ;
29731 wxBackgroundStyle arg2
;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self",(char *) "style", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29741 if (SWIG_arg_fail(1)) SWIG_fail
;
29743 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29744 if (SWIG_arg_fail(2)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29762 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxWindow
*arg1
= (wxWindow
*) 0 ;
29765 wxBackgroundStyle result
;
29766 PyObject
* obj0
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29773 if (SWIG_arg_fail(1)) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= SWIG_From_int((result
));
29788 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxWindow
*arg1
= (wxWindow
*) 0 ;
29792 PyObject
* obj0
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29799 if (SWIG_arg_fail(1)) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 result
= (bool)(arg1
)->HasTransparentBackground();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29816 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxWindow
*arg1
= (wxWindow
*) 0 ;
29819 wxCursor
*arg2
= 0 ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 char *kwnames
[] = {
29824 (char *) "self",(char *) "cursor", NULL
29827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29829 if (SWIG_arg_fail(1)) SWIG_fail
;
29831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(2)) SWIG_fail
;
29833 if (arg2
== NULL
) {
29834 SWIG_null_ref("wxCursor");
29836 if (SWIG_arg_fail(2)) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29854 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxWindow
*arg1
= (wxWindow
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29865 if (SWIG_arg_fail(1)) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (arg1
)->GetCursor();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 wxCursor
* resultptr
;
29875 resultptr
= new wxCursor((wxCursor
&)(result
));
29876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29884 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxWindow
*arg1
= (wxWindow
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self",(char *) "font", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29897 if (SWIG_arg_fail(1)) SWIG_fail
;
29899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29900 if (SWIG_arg_fail(2)) SWIG_fail
;
29901 if (arg2
== NULL
) {
29902 SWIG_null_ref("wxFont");
29904 if (SWIG_arg_fail(2)) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29922 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxWindow
*arg1
= (wxWindow
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self",(char *) "font", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29934 if (SWIG_arg_fail(1)) SWIG_fail
;
29936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29937 if (SWIG_arg_fail(2)) SWIG_fail
;
29938 if (arg2
== NULL
) {
29939 SWIG_null_ref("wxFont");
29941 if (SWIG_arg_fail(2)) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 Py_INCREF(Py_None
); resultobj
= Py_None
;
29957 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxWindow
*arg1
= (wxWindow
*) 0 ;
29961 PyObject
* obj0
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29968 if (SWIG_arg_fail(1)) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (arg1
)->GetFont();
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29977 wxFont
* resultptr
;
29978 resultptr
= new wxFont((wxFont
&)(result
));
29979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29987 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxWindow
*arg1
= (wxWindow
*) 0 ;
29990 wxCaret
*arg2
= (wxCaret
*) 0 ;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self",(char *) "caret", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29999 if (SWIG_arg_fail(1)) SWIG_fail
;
30000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30001 if (SWIG_arg_fail(2)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 (arg1
)->SetCaret(arg2
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 Py_INCREF(Py_None
); resultobj
= Py_None
;
30016 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxWindow
*arg1
= (wxWindow
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 char *kwnames
[] = {
30022 (char *) "self", NULL
30025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30042 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
;
30044 wxWindow
*arg1
= (wxWindow
*) 0 ;
30046 PyObject
* obj0
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_From_int((int)(result
));
30070 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
;
30072 wxWindow
*arg1
= (wxWindow
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 char *kwnames
[] = {
30076 (char *) "self", NULL
30079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30081 if (SWIG_arg_fail(1)) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_From_int((int)(result
));
30098 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxWindow
*arg1
= (wxWindow
*) 0 ;
30101 wxString
*arg2
= 0 ;
30102 int *arg3
= (int *) 0 ;
30103 int *arg4
= (int *) 0 ;
30104 bool temp2
= false ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "string", NULL
30115 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30116 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail
;
30121 arg2
= wxString_in_helper(obj1
);
30122 if (arg2
== NULL
) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 Py_INCREF(Py_None
); resultobj
= Py_None
;
30133 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30134 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30135 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30136 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30151 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
;
30153 wxWindow
*arg1
= (wxWindow
*) 0 ;
30154 wxString
*arg2
= 0 ;
30155 int *arg3
= (int *) 0 ;
30156 int *arg4
= (int *) 0 ;
30157 int *arg5
= (int *) 0 ;
30158 int *arg6
= (int *) 0 ;
30159 wxFont
*arg7
= (wxFont
*) NULL
;
30160 bool temp2
= false ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 PyObject
* obj2
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self",(char *) "string",(char *) "font", NULL
30176 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30177 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30178 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30179 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(1)) SWIG_fail
;
30184 arg2
= wxString_in_helper(obj1
);
30185 if (arg2
== NULL
) SWIG_fail
;
30189 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30190 if (SWIG_arg_fail(7)) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 Py_INCREF(Py_None
); resultobj
= Py_None
;
30200 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30201 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30202 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30203 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30204 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30205 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30206 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30207 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30222 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxWindow
*arg1
= (wxWindow
*) 0 ;
30225 int *arg2
= (int *) 0 ;
30226 int *arg3
= (int *) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 PyObject
* obj2
= 0 ;
30234 char *kwnames
[] = {
30235 (char *) "self",(char *) "x",(char *) "y", NULL
30238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30240 if (SWIG_arg_fail(1)) SWIG_fail
;
30242 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30243 temp2
= SWIG_As_int(obj1
);
30244 if (SWIG_arg_fail(2)) SWIG_fail
;
30246 res2
= SWIG_NEWOBJ
;
30250 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30251 temp3
= SWIG_As_int(obj2
);
30252 if (SWIG_arg_fail(3)) SWIG_fail
;
30254 res3
= SWIG_NEWOBJ
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 Py_INCREF(Py_None
); resultobj
= Py_None
;
30265 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30266 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30267 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30268 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30275 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxWindow
*arg1
= (wxWindow
*) 0 ;
30278 int *arg2
= (int *) 0 ;
30279 int *arg3
= (int *) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "x",(char *) "y", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30295 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30296 temp2
= SWIG_As_int(obj1
);
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30299 res2
= SWIG_NEWOBJ
;
30303 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30304 temp3
= SWIG_As_int(obj2
);
30305 if (SWIG_arg_fail(3)) SWIG_fail
;
30307 res3
= SWIG_NEWOBJ
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 Py_INCREF(Py_None
); resultobj
= Py_None
;
30318 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30319 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30320 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30321 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30328 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
;
30330 wxWindow
*arg1
= (wxWindow
*) 0 ;
30331 wxPoint
*arg2
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char *kwnames
[] = {
30337 (char *) "self",(char *) "pt", NULL
30340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(1)) SWIG_fail
;
30345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30355 wxPoint
* resultptr
;
30356 resultptr
= new wxPoint((wxPoint
&)(result
));
30357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30365 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxWindow
*arg1
= (wxWindow
*) 0 ;
30368 wxPoint
*arg2
= 0 ;
30371 PyObject
* obj0
= 0 ;
30372 PyObject
* obj1
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "pt", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 wxPoint
* resultptr
;
30393 resultptr
= new wxPoint((wxPoint
&)(result
));
30394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30402 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxWindow
*arg1
= (wxWindow
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "x",(char *) "y", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30417 if (SWIG_arg_fail(1)) SWIG_fail
;
30419 arg2
= (int)(SWIG_As_int(obj1
));
30420 if (SWIG_arg_fail(2)) SWIG_fail
;
30423 arg3
= (int)(SWIG_As_int(obj2
));
30424 if (SWIG_arg_fail(3)) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= SWIG_From_int((result
));
30440 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxWindow
*arg1
= (wxWindow
*) 0 ;
30443 wxPoint
*arg2
= 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "pt", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30454 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= SWIG_From_int((result
));
30473 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30474 PyObject
*resultobj
;
30475 wxWindow
*arg1
= (wxWindow
*) 0 ;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30481 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail
;
30485 arg2
= (long)(SWIG_As_long(obj1
));
30486 if (SWIG_arg_fail(2)) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_From_int((result
));
30502 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30503 PyObject
*resultobj
;
30504 wxWindow
*arg1
= (wxWindow
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30508 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(1)) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= SWIG_From_int((result
));
30525 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30530 argc
= PyObject_Length(args
);
30531 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30532 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30538 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30546 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30553 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30561 _v
= SWIG_Check_long(argv
[1]);
30563 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30568 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30573 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxWindow
*arg1
= (wxWindow
*) 0 ;
30576 long arg2
= (long) wxUPDATE_UI_NONE
;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "flags", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30585 if (SWIG_arg_fail(1)) SWIG_fail
;
30588 arg2
= (long)(SWIG_As_long(obj1
));
30589 if (SWIG_arg_fail(2)) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 (arg1
)->UpdateWindowUI(arg2
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 Py_INCREF(Py_None
); resultobj
= Py_None
;
30606 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
;
30608 wxWindow
*arg1
= (wxWindow
*) 0 ;
30609 wxMenu
*arg2
= (wxMenu
*) 0 ;
30610 int arg3
= (int) -1 ;
30611 int arg4
= (int) -1 ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 PyObject
* obj2
= 0 ;
30616 PyObject
* obj3
= 0 ;
30617 char *kwnames
[] = {
30618 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(1)) SWIG_fail
;
30624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30625 if (SWIG_arg_fail(2)) SWIG_fail
;
30628 arg3
= (int)(SWIG_As_int(obj2
));
30629 if (SWIG_arg_fail(3)) SWIG_fail
;
30634 arg4
= (int)(SWIG_As_int(obj3
));
30635 if (SWIG_arg_fail(4)) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30654 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
;
30656 wxWindow
*arg1
= (wxWindow
*) 0 ;
30657 wxMenu
*arg2
= (wxMenu
*) 0 ;
30658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 PyObject
* obj2
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self",(char *) "menu",(char *) "pos", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30671 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30673 if (SWIG_arg_fail(2)) SWIG_fail
;
30677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30696 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxWindow
*arg1
= (wxWindow
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "self", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30707 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (long)wxWindow_GetHandle(arg1
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_From_long((long)(result
));
30724 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxWindow
*arg1
= (wxWindow
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self",(char *) "handle", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30736 if (SWIG_arg_fail(1)) SWIG_fail
;
30738 arg2
= (long)(SWIG_As_long(obj1
));
30739 if (SWIG_arg_fail(2)) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 wxWindow_AssociateHandle(arg1
,arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxWindow
*arg1
= (wxWindow
*) 0 ;
30758 PyObject
* obj0
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30765 if (SWIG_arg_fail(1)) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 (arg1
)->DissociateHandle();
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 Py_INCREF(Py_None
); resultobj
= Py_None
;
30780 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30782 wxWindow
*arg1
= (wxWindow
*) 0 ;
30783 wxPaintEvent
*arg2
= 0 ;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self",(char *) "event", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail
;
30794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30796 if (arg2
== NULL
) {
30797 SWIG_null_ref("wxPaintEvent");
30799 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 (arg1
)->OnPaint(*arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 Py_INCREF(Py_None
); resultobj
= Py_None
;
30815 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxWindow
*arg1
= (wxWindow
*) 0 ;
30820 PyObject
* obj0
= 0 ;
30821 PyObject
* obj1
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "orient", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
30831 if (SWIG_arg_fail(2)) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30849 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
;
30851 wxWindow
*arg1
= (wxWindow
*) 0 ;
30856 bool arg6
= (bool) true ;
30857 PyObject
* obj0
= 0 ;
30858 PyObject
* obj1
= 0 ;
30859 PyObject
* obj2
= 0 ;
30860 PyObject
* obj3
= 0 ;
30861 PyObject
* obj4
= 0 ;
30862 PyObject
* obj5
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 arg2
= (int)(SWIG_As_int(obj1
));
30872 if (SWIG_arg_fail(2)) SWIG_fail
;
30875 arg3
= (int)(SWIG_As_int(obj2
));
30876 if (SWIG_arg_fail(3)) SWIG_fail
;
30879 arg4
= (int)(SWIG_As_int(obj3
));
30880 if (SWIG_arg_fail(4)) SWIG_fail
;
30883 arg5
= (int)(SWIG_As_int(obj4
));
30884 if (SWIG_arg_fail(5)) SWIG_fail
;
30888 arg6
= (bool)(SWIG_As_bool(obj5
));
30889 if (SWIG_arg_fail(6)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 Py_INCREF(Py_None
); resultobj
= Py_None
;
30906 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxWindow
*arg1
= (wxWindow
*) 0 ;
30911 bool arg4
= (bool) true ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 PyObject
* obj2
= 0 ;
30915 PyObject
* obj3
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30922 if (SWIG_arg_fail(1)) SWIG_fail
;
30924 arg2
= (int)(SWIG_As_int(obj1
));
30925 if (SWIG_arg_fail(2)) SWIG_fail
;
30928 arg3
= (int)(SWIG_As_int(obj2
));
30929 if (SWIG_arg_fail(3)) SWIG_fail
;
30933 arg4
= (bool)(SWIG_As_bool(obj3
));
30934 if (SWIG_arg_fail(4)) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 Py_INCREF(Py_None
); resultobj
= Py_None
;
30951 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
;
30953 wxWindow
*arg1
= (wxWindow
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 char *kwnames
[] = {
30959 (char *) "self",(char *) "orientation", NULL
30962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30964 if (SWIG_arg_fail(1)) SWIG_fail
;
30966 arg2
= (int)(SWIG_As_int(obj1
));
30967 if (SWIG_arg_fail(2)) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_From_int((int)(result
));
30985 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
;
30987 wxWindow
*arg1
= (wxWindow
*) 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self",(char *) "orientation", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30998 if (SWIG_arg_fail(1)) SWIG_fail
;
31000 arg2
= (int)(SWIG_As_int(obj1
));
31001 if (SWIG_arg_fail(2)) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_From_int((int)(result
));
31019 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
;
31021 wxWindow
*arg1
= (wxWindow
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 char *kwnames
[] = {
31027 (char *) "self",(char *) "orientation", NULL
31030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31032 if (SWIG_arg_fail(1)) SWIG_fail
;
31034 arg2
= (int)(SWIG_As_int(obj1
));
31035 if (SWIG_arg_fail(2)) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= SWIG_From_int((int)(result
));
31053 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxWindow
*arg1
= (wxWindow
*) 0 ;
31058 wxRect
*arg4
= (wxRect
*) NULL
;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 PyObject
* obj3
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(1)) SWIG_fail
;
31071 arg2
= (int)(SWIG_As_int(obj1
));
31072 if (SWIG_arg_fail(2)) SWIG_fail
;
31075 arg3
= (int)(SWIG_As_int(obj2
));
31076 if (SWIG_arg_fail(3)) SWIG_fail
;
31079 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31080 if (SWIG_arg_fail(4)) SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 Py_INCREF(Py_None
); resultobj
= Py_None
;
31096 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
;
31098 wxWindow
*arg1
= (wxWindow
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 char *kwnames
[] = {
31104 (char *) "self",(char *) "lines", NULL
31107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31109 if (SWIG_arg_fail(1)) SWIG_fail
;
31111 arg2
= (int)(SWIG_As_int(obj1
));
31112 if (SWIG_arg_fail(2)) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (bool)(arg1
)->ScrollLines(arg2
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31130 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxWindow
*arg1
= (wxWindow
*) 0 ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 char *kwnames
[] = {
31138 (char *) "self",(char *) "pages", NULL
31141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31143 if (SWIG_arg_fail(1)) SWIG_fail
;
31145 arg2
= (int)(SWIG_As_int(obj1
));
31146 if (SWIG_arg_fail(2)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (bool)(arg1
)->ScrollPages(arg2
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31164 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxWindow
*arg1
= (wxWindow
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "self", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31175 if (SWIG_arg_fail(1)) SWIG_fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (bool)(arg1
)->LineUp();
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31192 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
;
31194 wxWindow
*arg1
= (wxWindow
*) 0 ;
31196 PyObject
* obj0
= 0 ;
31197 char *kwnames
[] = {
31198 (char *) "self", NULL
31201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31203 if (SWIG_arg_fail(1)) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= (bool)(arg1
)->LineDown();
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31220 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
;
31222 wxWindow
*arg1
= (wxWindow
*) 0 ;
31224 PyObject
* obj0
= 0 ;
31225 char *kwnames
[] = {
31226 (char *) "self", NULL
31229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31231 if (SWIG_arg_fail(1)) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (bool)(arg1
)->PageUp();
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31248 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31249 PyObject
*resultobj
;
31250 wxWindow
*arg1
= (wxWindow
*) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31259 if (SWIG_arg_fail(1)) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (bool)(arg1
)->PageDown();
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31276 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
;
31278 wxWindow
*arg1
= (wxWindow
*) 0 ;
31279 wxString
*arg2
= 0 ;
31280 bool temp2
= false ;
31281 PyObject
* obj0
= 0 ;
31282 PyObject
* obj1
= 0 ;
31283 char *kwnames
[] = {
31284 (char *) "self",(char *) "text", NULL
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail
;
31291 arg2
= wxString_in_helper(obj1
);
31292 if (arg2
== NULL
) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 Py_INCREF(Py_None
); resultobj
= Py_None
;
31317 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxWindow
*arg1
= (wxWindow
*) 0 ;
31320 wxString
*arg2
= 0 ;
31321 bool temp2
= false ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "text", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31330 if (SWIG_arg_fail(1)) SWIG_fail
;
31332 arg2
= wxString_in_helper(obj1
);
31333 if (arg2
== NULL
) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 Py_INCREF(Py_None
); resultobj
= Py_None
;
31358 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxWindow
*arg1
= (wxWindow
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31390 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxWindow
*arg1
= (wxWindow
*) 0 ;
31393 wxString
*arg2
= 0 ;
31394 bool temp2
= false ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "tip", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31403 if (SWIG_arg_fail(1)) SWIG_fail
;
31405 arg2
= wxString_in_helper(obj1
);
31406 if (arg2
== NULL
) SWIG_fail
;
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31416 Py_INCREF(Py_None
); resultobj
= Py_None
;
31431 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxWindow
*arg1
= (wxWindow
*) 0 ;
31434 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self",(char *) "tip", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail
;
31444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31445 if (SWIG_arg_fail(2)) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 (arg1
)->SetToolTip(arg2
);
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31453 Py_INCREF(Py_None
); resultobj
= Py_None
;
31460 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
;
31462 wxWindow
*arg1
= (wxWindow
*) 0 ;
31464 PyObject
* obj0
= 0 ;
31465 char *kwnames
[] = {
31466 (char *) "self", NULL
31469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31471 if (SWIG_arg_fail(1)) SWIG_fail
;
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= wxPyMake_wxObject(result
, 0);
31488 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
;
31490 wxWindow
*arg1
= (wxWindow
*) 0 ;
31491 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self",(char *) "dropTarget", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail
;
31501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31502 if (SWIG_arg_fail(2)) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 (arg1
)->SetDropTarget(arg2
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31517 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxWindow
*arg1
= (wxWindow
*) 0 ;
31520 wxPyDropTarget
*result
;
31521 PyObject
* obj0
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31528 if (SWIG_arg_fail(1)) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31543 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
;
31545 wxWindow
*arg1
= (wxWindow
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 PyObject
* obj1
= 0 ;
31549 char *kwnames
[] = {
31550 (char *) "self",(char *) "accept", NULL
31553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31555 if (SWIG_arg_fail(1)) SWIG_fail
;
31557 arg2
= (bool)(SWIG_As_bool(obj1
));
31558 if (SWIG_arg_fail(2)) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 (arg1
)->DragAcceptFiles(arg2
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 Py_INCREF(Py_None
); resultobj
= Py_None
;
31574 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
;
31576 wxWindow
*arg1
= (wxWindow
*) 0 ;
31577 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 char *kwnames
[] = {
31581 (char *) "self",(char *) "constraints", NULL
31584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31586 if (SWIG_arg_fail(1)) SWIG_fail
;
31587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31588 if (SWIG_arg_fail(2)) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 (arg1
)->SetConstraints(arg2
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 Py_INCREF(Py_None
); resultobj
= Py_None
;
31603 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
;
31605 wxWindow
*arg1
= (wxWindow
*) 0 ;
31606 wxLayoutConstraints
*result
;
31607 PyObject
* obj0
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "self", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31614 if (SWIG_arg_fail(1)) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31629 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxWindow
*arg1
= (wxWindow
*) 0 ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "autoLayout", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31641 if (SWIG_arg_fail(1)) SWIG_fail
;
31643 arg2
= (bool)(SWIG_As_bool(obj1
));
31644 if (SWIG_arg_fail(2)) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 (arg1
)->SetAutoLayout(arg2
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 Py_INCREF(Py_None
); resultobj
= Py_None
;
31660 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
;
31662 wxWindow
*arg1
= (wxWindow
*) 0 ;
31664 PyObject
* obj0
= 0 ;
31665 char *kwnames
[] = {
31666 (char *) "self", NULL
31669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31688 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31689 PyObject
*resultobj
;
31690 wxWindow
*arg1
= (wxWindow
*) 0 ;
31692 PyObject
* obj0
= 0 ;
31693 char *kwnames
[] = {
31694 (char *) "self", NULL
31697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31699 if (SWIG_arg_fail(1)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (bool)(arg1
)->Layout();
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31716 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
;
31718 wxWindow
*arg1
= (wxWindow
*) 0 ;
31719 wxSizer
*arg2
= (wxSizer
*) 0 ;
31720 bool arg3
= (bool) true ;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 PyObject
* obj2
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31730 if (SWIG_arg_fail(1)) SWIG_fail
;
31731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31732 if (SWIG_arg_fail(2)) SWIG_fail
;
31735 arg3
= (bool)(SWIG_As_bool(obj2
));
31736 if (SWIG_arg_fail(3)) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 (arg1
)->SetSizer(arg2
,arg3
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 Py_INCREF(Py_None
); resultobj
= Py_None
;
31753 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
;
31755 wxWindow
*arg1
= (wxWindow
*) 0 ;
31756 wxSizer
*arg2
= (wxSizer
*) 0 ;
31757 bool arg3
= (bool) true ;
31758 PyObject
* obj0
= 0 ;
31759 PyObject
* obj1
= 0 ;
31760 PyObject
* obj2
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail
;
31768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31769 if (SWIG_arg_fail(2)) SWIG_fail
;
31772 arg3
= (bool)(SWIG_As_bool(obj2
));
31773 if (SWIG_arg_fail(3)) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 Py_INCREF(Py_None
); resultobj
= Py_None
;
31790 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxWindow
*arg1
= (wxWindow
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 char *kwnames
[] = {
31796 (char *) "self", NULL
31799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31801 if (SWIG_arg_fail(1)) SWIG_fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31810 resultobj
= wxPyMake_wxSizer(result
, 0);
31818 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxWindow
*arg1
= (wxWindow
*) 0 ;
31821 wxSizer
*arg2
= (wxSizer
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 PyObject
* obj1
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self",(char *) "sizer", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31830 if (SWIG_arg_fail(1)) SWIG_fail
;
31831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31832 if (SWIG_arg_fail(2)) SWIG_fail
;
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 (arg1
)->SetContainingSizer(arg2
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 Py_INCREF(Py_None
); resultobj
= Py_None
;
31847 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxWindow
*arg1
= (wxWindow
*) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31858 if (SWIG_arg_fail(1)) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= wxPyMake_wxSizer(result
, 0);
31875 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
;
31877 wxWindow
*arg1
= (wxWindow
*) 0 ;
31878 PyObject
* obj0
= 0 ;
31879 char *kwnames
[] = {
31880 (char *) "self", NULL
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 (arg1
)->InheritAttributes();
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 Py_INCREF(Py_None
); resultobj
= Py_None
;
31900 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 wxWindow
*arg1
= (wxWindow
*) 0 ;
31904 PyObject
* obj0
= 0 ;
31905 char *kwnames
[] = {
31906 (char *) "self", NULL
31909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31911 if (SWIG_arg_fail(1)) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31928 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31931 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31933 return Py_BuildValue((char *)"");
31935 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31938 wxWindow
*arg2
= (wxWindow
*) NULL
;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 char *kwnames
[] = {
31943 (char *) "id",(char *) "parent", NULL
31946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31948 arg1
= (long)(SWIG_As_long(obj0
));
31949 if (SWIG_arg_fail(1)) SWIG_fail
;
31952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31953 if (SWIG_arg_fail(2)) SWIG_fail
;
31956 if (!wxPyCheckForApp()) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= wxPyMake_wxObject(result
, 0);
31972 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
;
31974 wxString
*arg1
= 0 ;
31975 wxWindow
*arg2
= (wxWindow
*) NULL
;
31977 bool temp1
= false ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char *kwnames
[] = {
31981 (char *) "name",(char *) "parent", NULL
31984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31986 arg1
= wxString_in_helper(obj0
);
31987 if (arg1
== NULL
) SWIG_fail
;
31991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31992 if (SWIG_arg_fail(2)) SWIG_fail
;
31995 if (!wxPyCheckForApp()) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32003 resultobj
= wxPyMake_wxObject(result
, 0);
32019 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
;
32021 wxString
*arg1
= 0 ;
32022 wxWindow
*arg2
= (wxWindow
*) NULL
;
32024 bool temp1
= false ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "label",(char *) "parent", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32033 arg1
= wxString_in_helper(obj0
);
32034 if (arg1
== NULL
) SWIG_fail
;
32038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32039 if (SWIG_arg_fail(2)) SWIG_fail
;
32042 if (!wxPyCheckForApp()) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= wxPyMake_wxObject(result
, 0);
32066 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
;
32068 wxWindow
*arg1
= (wxWindow
*) 0 ;
32069 unsigned long arg2
;
32071 PyObject
* obj0
= 0 ;
32072 PyObject
* obj1
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "parent",(char *) "_hWnd", NULL
32077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32079 if (SWIG_arg_fail(1)) SWIG_fail
;
32081 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32082 if (SWIG_arg_fail(2)) SWIG_fail
;
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= wxPyMake_wxObject(result
, 0);
32100 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
;
32102 wxValidator
*result
;
32103 char *kwnames
[] = {
32107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 result
= (wxValidator
*)new wxValidator();
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32122 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
;
32124 wxValidator
*arg1
= (wxValidator
*) 0 ;
32125 wxValidator
*result
;
32126 PyObject
* obj0
= 0 ;
32127 char *kwnames
[] = {
32128 (char *) "self", NULL
32131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32133 if (SWIG_arg_fail(1)) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (wxValidator
*)(arg1
)->Clone();
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32142 resultobj
= wxPyMake_wxObject(result
, 0);
32150 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
;
32152 wxValidator
*arg1
= (wxValidator
*) 0 ;
32153 wxWindow
*arg2
= (wxWindow
*) 0 ;
32155 PyObject
* obj0
= 0 ;
32156 PyObject
* obj1
= 0 ;
32157 char *kwnames
[] = {
32158 (char *) "self",(char *) "parent", NULL
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32163 if (SWIG_arg_fail(1)) SWIG_fail
;
32164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32165 if (SWIG_arg_fail(2)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (bool)(arg1
)->Validate(arg2
);
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32182 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
;
32184 wxValidator
*arg1
= (wxValidator
*) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 char *kwnames
[] = {
32188 (char *) "self", NULL
32191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32193 if (SWIG_arg_fail(1)) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (bool)(arg1
)->TransferToWindow();
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32210 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxValidator
*arg1
= (wxValidator
*) 0 ;
32214 PyObject
* obj0
= 0 ;
32215 char *kwnames
[] = {
32216 (char *) "self", NULL
32219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32221 if (SWIG_arg_fail(1)) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (bool)(arg1
)->TransferFromWindow();
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32238 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
;
32240 wxValidator
*arg1
= (wxValidator
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 char *kwnames
[] = {
32244 (char *) "self", NULL
32247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32249 if (SWIG_arg_fail(1)) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 result
= (wxWindow
*)(arg1
)->GetWindow();
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= wxPyMake_wxObject(result
, 0);
32266 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
;
32268 wxValidator
*arg1
= (wxValidator
*) 0 ;
32269 wxWindow
*arg2
= (wxWindow
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 char *kwnames
[] = {
32273 (char *) "self",(char *) "window", NULL
32276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32278 if (SWIG_arg_fail(1)) SWIG_fail
;
32279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32280 if (SWIG_arg_fail(2)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 (arg1
)->SetWindow(arg2
);
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 Py_INCREF(Py_None
); resultobj
= Py_None
;
32295 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32296 PyObject
*resultobj
;
32298 char *kwnames
[] = {
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 result
= (bool)wxValidator::IsSilent();
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32319 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32320 PyObject
*resultobj
;
32321 int arg1
= (int) true ;
32322 PyObject
* obj0
= 0 ;
32323 char *kwnames
[] = {
32324 (char *) "doIt", NULL
32327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32330 arg1
= (int)(SWIG_As_int(obj0
));
32331 if (SWIG_arg_fail(1)) SWIG_fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 wxValidator::SetBellOnError(arg1
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 Py_INCREF(Py_None
); resultobj
= Py_None
;
32348 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32351 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32353 return Py_BuildValue((char *)"");
32355 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxPyValidator
*result
;
32358 char *kwnames
[] = {
32362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (wxPyValidator
*)new wxPyValidator();
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32377 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
;
32379 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32380 PyObject
*arg2
= (PyObject
*) 0 ;
32381 PyObject
*arg3
= (PyObject
*) 0 ;
32382 int arg4
= (int) true ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 PyObject
* obj2
= 0 ;
32386 PyObject
* obj3
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail
;
32398 arg4
= (int)(SWIG_As_int(obj3
));
32399 if (SWIG_arg_fail(4)) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 Py_INCREF(Py_None
); resultobj
= Py_None
;
32416 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32419 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32421 return Py_BuildValue((char *)"");
32423 static int _wrap_DefaultValidator_set(PyObject
*) {
32424 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32429 static PyObject
*_wrap_DefaultValidator_get(void) {
32432 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32437 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32438 PyObject
*resultobj
;
32439 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32440 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32441 long arg2
= (long) 0 ;
32443 bool temp1
= false ;
32444 PyObject
* obj0
= 0 ;
32445 PyObject
* obj1
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "title",(char *) "style", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32453 arg1
= wxString_in_helper(obj0
);
32454 if (arg1
== NULL
) SWIG_fail
;
32460 arg2
= (long)(SWIG_As_long(obj1
));
32461 if (SWIG_arg_fail(2)) SWIG_fail
;
32465 if (!wxPyCheckForApp()) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32487 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxMenu
*arg1
= (wxMenu
*) 0 ;
32491 wxString
*arg3
= 0 ;
32492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32494 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32495 wxMenuItem
*result
;
32496 bool temp3
= false ;
32497 bool temp4
= false ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 PyObject
* obj2
= 0 ;
32501 PyObject
* obj3
= 0 ;
32502 PyObject
* obj4
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32509 if (SWIG_arg_fail(1)) SWIG_fail
;
32511 arg2
= (int)(SWIG_As_int(obj1
));
32512 if (SWIG_arg_fail(2)) SWIG_fail
;
32515 arg3
= wxString_in_helper(obj2
);
32516 if (arg3
== NULL
) SWIG_fail
;
32521 arg4
= wxString_in_helper(obj3
);
32522 if (arg4
== NULL
) SWIG_fail
;
32528 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32529 if (SWIG_arg_fail(5)) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= wxPyMake_wxObject(result
, 0);
32564 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32565 PyObject
*resultobj
;
32566 wxMenu
*arg1
= (wxMenu
*) 0 ;
32567 wxMenuItem
*result
;
32568 PyObject
* obj0
= 0 ;
32569 char *kwnames
[] = {
32570 (char *) "self", NULL
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32575 if (SWIG_arg_fail(1)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32584 resultobj
= wxPyMake_wxObject(result
, 0);
32592 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxMenu
*arg1
= (wxMenu
*) 0 ;
32596 wxString
*arg3
= 0 ;
32597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32599 wxMenuItem
*result
;
32600 bool temp3
= false ;
32601 bool temp4
= false ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 PyObject
* obj2
= 0 ;
32605 PyObject
* obj3
= 0 ;
32606 char *kwnames
[] = {
32607 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32612 if (SWIG_arg_fail(1)) SWIG_fail
;
32614 arg2
= (int)(SWIG_As_int(obj1
));
32615 if (SWIG_arg_fail(2)) SWIG_fail
;
32618 arg3
= wxString_in_helper(obj2
);
32619 if (arg3
== NULL
) SWIG_fail
;
32624 arg4
= wxString_in_helper(obj3
);
32625 if (arg4
== NULL
) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= wxPyMake_wxObject(result
, 0);
32661 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
;
32663 wxMenu
*arg1
= (wxMenu
*) 0 ;
32665 wxString
*arg3
= 0 ;
32666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32668 wxMenuItem
*result
;
32669 bool temp3
= false ;
32670 bool temp4
= false ;
32671 PyObject
* obj0
= 0 ;
32672 PyObject
* obj1
= 0 ;
32673 PyObject
* obj2
= 0 ;
32674 PyObject
* obj3
= 0 ;
32675 char *kwnames
[] = {
32676 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32681 if (SWIG_arg_fail(1)) SWIG_fail
;
32683 arg2
= (int)(SWIG_As_int(obj1
));
32684 if (SWIG_arg_fail(2)) SWIG_fail
;
32687 arg3
= wxString_in_helper(obj2
);
32688 if (arg3
== NULL
) SWIG_fail
;
32693 arg4
= wxString_in_helper(obj3
);
32694 if (arg4
== NULL
) SWIG_fail
;
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= wxPyMake_wxObject(result
, 0);
32730 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
;
32732 wxMenu
*arg1
= (wxMenu
*) 0 ;
32734 wxString
*arg3
= 0 ;
32735 wxMenu
*arg4
= (wxMenu
*) 0 ;
32736 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32738 wxMenuItem
*result
;
32739 bool temp3
= false ;
32740 bool temp5
= false ;
32741 PyObject
* obj0
= 0 ;
32742 PyObject
* obj1
= 0 ;
32743 PyObject
* obj2
= 0 ;
32744 PyObject
* obj3
= 0 ;
32745 PyObject
* obj4
= 0 ;
32746 char *kwnames
[] = {
32747 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32752 if (SWIG_arg_fail(1)) SWIG_fail
;
32754 arg2
= (int)(SWIG_As_int(obj1
));
32755 if (SWIG_arg_fail(2)) SWIG_fail
;
32758 arg3
= wxString_in_helper(obj2
);
32759 if (arg3
== NULL
) SWIG_fail
;
32762 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32763 if (SWIG_arg_fail(4)) SWIG_fail
;
32766 arg5
= wxString_in_helper(obj4
);
32767 if (arg5
== NULL
) SWIG_fail
;
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32779 resultobj
= wxPyMake_wxObject(result
, 0);
32803 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
;
32805 wxMenu
*arg1
= (wxMenu
*) 0 ;
32806 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32807 wxMenuItem
*result
;
32808 PyObject
* obj0
= 0 ;
32809 PyObject
* obj1
= 0 ;
32810 char *kwnames
[] = {
32811 (char *) "self",(char *) "item", NULL
32814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32816 if (SWIG_arg_fail(1)) SWIG_fail
;
32817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32818 if (SWIG_arg_fail(2)) SWIG_fail
;
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32827 resultobj
= wxPyMake_wxObject(result
, 0);
32835 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
;
32837 wxMenu
*arg1
= (wxMenu
*) 0 ;
32838 PyObject
* obj0
= 0 ;
32839 char *kwnames
[] = {
32840 (char *) "self", NULL
32843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32845 if (SWIG_arg_fail(1)) SWIG_fail
;
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32853 Py_INCREF(Py_None
); resultobj
= Py_None
;
32860 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
;
32862 wxMenu
*arg1
= (wxMenu
*) 0 ;
32864 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32865 wxMenuItem
*result
;
32866 PyObject
* obj0
= 0 ;
32867 PyObject
* obj1
= 0 ;
32868 PyObject
* obj2
= 0 ;
32869 char *kwnames
[] = {
32870 (char *) "self",(char *) "pos",(char *) "item", NULL
32873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32875 if (SWIG_arg_fail(1)) SWIG_fail
;
32877 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32878 if (SWIG_arg_fail(2)) SWIG_fail
;
32880 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32881 if (SWIG_arg_fail(3)) SWIG_fail
;
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= wxPyMake_wxObject(result
, 0);
32898 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32899 PyObject
*resultobj
;
32900 wxMenu
*arg1
= (wxMenu
*) 0 ;
32903 wxString
*arg4
= 0 ;
32904 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32905 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32906 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32907 wxMenuItem
*result
;
32908 bool temp4
= false ;
32909 bool temp5
= false ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32912 PyObject
* obj2
= 0 ;
32913 PyObject
* obj3
= 0 ;
32914 PyObject
* obj4
= 0 ;
32915 PyObject
* obj5
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32922 if (SWIG_arg_fail(1)) SWIG_fail
;
32924 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32925 if (SWIG_arg_fail(2)) SWIG_fail
;
32928 arg3
= (int)(SWIG_As_int(obj2
));
32929 if (SWIG_arg_fail(3)) SWIG_fail
;
32932 arg4
= wxString_in_helper(obj3
);
32933 if (arg4
== NULL
) SWIG_fail
;
32938 arg5
= wxString_in_helper(obj4
);
32939 if (arg5
== NULL
) SWIG_fail
;
32945 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32946 if (SWIG_arg_fail(6)) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32957 resultobj
= wxPyMake_wxObject(result
, 0);
32981 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxMenu
*arg1
= (wxMenu
*) 0 ;
32985 wxMenuItem
*result
;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "self",(char *) "pos", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32994 if (SWIG_arg_fail(1)) SWIG_fail
;
32996 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32997 if (SWIG_arg_fail(2)) SWIG_fail
;
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= wxPyMake_wxObject(result
, 0);
33015 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
;
33017 wxMenu
*arg1
= (wxMenu
*) 0 ;
33020 wxString
*arg4
= 0 ;
33021 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33022 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33023 wxMenuItem
*result
;
33024 bool temp4
= false ;
33025 bool temp5
= false ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 PyObject
* obj2
= 0 ;
33029 PyObject
* obj3
= 0 ;
33030 PyObject
* obj4
= 0 ;
33031 char *kwnames
[] = {
33032 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33037 if (SWIG_arg_fail(1)) SWIG_fail
;
33039 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33040 if (SWIG_arg_fail(2)) SWIG_fail
;
33043 arg3
= (int)(SWIG_As_int(obj2
));
33044 if (SWIG_arg_fail(3)) SWIG_fail
;
33047 arg4
= wxString_in_helper(obj3
);
33048 if (arg4
== NULL
) SWIG_fail
;
33053 arg5
= wxString_in_helper(obj4
);
33054 if (arg5
== NULL
) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= wxPyMake_wxObject(result
, 0);
33090 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxMenu
*arg1
= (wxMenu
*) 0 ;
33095 wxString
*arg4
= 0 ;
33096 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33097 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33098 wxMenuItem
*result
;
33099 bool temp4
= false ;
33100 bool temp5
= false ;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 PyObject
* obj2
= 0 ;
33104 PyObject
* obj3
= 0 ;
33105 PyObject
* obj4
= 0 ;
33106 char *kwnames
[] = {
33107 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33112 if (SWIG_arg_fail(1)) SWIG_fail
;
33114 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33115 if (SWIG_arg_fail(2)) SWIG_fail
;
33118 arg3
= (int)(SWIG_As_int(obj2
));
33119 if (SWIG_arg_fail(3)) SWIG_fail
;
33122 arg4
= wxString_in_helper(obj3
);
33123 if (arg4
== NULL
) SWIG_fail
;
33128 arg5
= wxString_in_helper(obj4
);
33129 if (arg5
== NULL
) SWIG_fail
;
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= wxPyMake_wxObject(result
, 0);
33165 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33166 PyObject
*resultobj
;
33167 wxMenu
*arg1
= (wxMenu
*) 0 ;
33170 wxString
*arg4
= 0 ;
33171 wxMenu
*arg5
= (wxMenu
*) 0 ;
33172 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33173 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33174 wxMenuItem
*result
;
33175 bool temp4
= false ;
33176 bool temp6
= false ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 PyObject
* obj2
= 0 ;
33180 PyObject
* obj3
= 0 ;
33181 PyObject
* obj4
= 0 ;
33182 PyObject
* obj5
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33189 if (SWIG_arg_fail(1)) SWIG_fail
;
33191 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33192 if (SWIG_arg_fail(2)) SWIG_fail
;
33195 arg3
= (int)(SWIG_As_int(obj2
));
33196 if (SWIG_arg_fail(3)) SWIG_fail
;
33199 arg4
= wxString_in_helper(obj3
);
33200 if (arg4
== NULL
) SWIG_fail
;
33203 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33204 if (SWIG_arg_fail(5)) SWIG_fail
;
33207 arg6
= wxString_in_helper(obj5
);
33208 if (arg6
== NULL
) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= wxPyMake_wxObject(result
, 0);
33244 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33245 PyObject
*resultobj
;
33246 wxMenu
*arg1
= (wxMenu
*) 0 ;
33247 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33248 wxMenuItem
*result
;
33249 PyObject
* obj0
= 0 ;
33250 PyObject
* obj1
= 0 ;
33251 char *kwnames
[] = {
33252 (char *) "self",(char *) "item", NULL
33255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33257 if (SWIG_arg_fail(1)) SWIG_fail
;
33258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33259 if (SWIG_arg_fail(2)) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= wxPyMake_wxObject(result
, 0);
33276 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
;
33278 wxMenu
*arg1
= (wxMenu
*) 0 ;
33280 wxString
*arg3
= 0 ;
33281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33283 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33284 wxMenuItem
*result
;
33285 bool temp3
= false ;
33286 bool temp4
= false ;
33287 PyObject
* obj0
= 0 ;
33288 PyObject
* obj1
= 0 ;
33289 PyObject
* obj2
= 0 ;
33290 PyObject
* obj3
= 0 ;
33291 PyObject
* obj4
= 0 ;
33292 char *kwnames
[] = {
33293 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33298 if (SWIG_arg_fail(1)) SWIG_fail
;
33300 arg2
= (int)(SWIG_As_int(obj1
));
33301 if (SWIG_arg_fail(2)) SWIG_fail
;
33304 arg3
= wxString_in_helper(obj2
);
33305 if (arg3
== NULL
) SWIG_fail
;
33310 arg4
= wxString_in_helper(obj3
);
33311 if (arg4
== NULL
) SWIG_fail
;
33317 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33318 if (SWIG_arg_fail(5)) SWIG_fail
;
33322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33323 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33325 wxPyEndAllowThreads(__tstate
);
33326 if (PyErr_Occurred()) SWIG_fail
;
33329 resultobj
= wxPyMake_wxObject(result
, 0);
33353 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
;
33355 wxMenu
*arg1
= (wxMenu
*) 0 ;
33356 wxMenuItem
*result
;
33357 PyObject
* obj0
= 0 ;
33358 char *kwnames
[] = {
33359 (char *) "self", NULL
33362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33364 if (SWIG_arg_fail(1)) SWIG_fail
;
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33369 wxPyEndAllowThreads(__tstate
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33373 resultobj
= wxPyMake_wxObject(result
, 0);
33381 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
;
33383 wxMenu
*arg1
= (wxMenu
*) 0 ;
33385 wxString
*arg3
= 0 ;
33386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33388 wxMenuItem
*result
;
33389 bool temp3
= false ;
33390 bool temp4
= false ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 PyObject
* obj2
= 0 ;
33394 PyObject
* obj3
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail
;
33403 arg2
= (int)(SWIG_As_int(obj1
));
33404 if (SWIG_arg_fail(2)) SWIG_fail
;
33407 arg3
= wxString_in_helper(obj2
);
33408 if (arg3
== NULL
) SWIG_fail
;
33413 arg4
= wxString_in_helper(obj3
);
33414 if (arg4
== NULL
) SWIG_fail
;
33419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33420 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= wxPyMake_wxObject(result
, 0);
33450 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxMenu
*arg1
= (wxMenu
*) 0 ;
33454 wxString
*arg3
= 0 ;
33455 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33456 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33457 wxMenuItem
*result
;
33458 bool temp3
= false ;
33459 bool temp4
= false ;
33460 PyObject
* obj0
= 0 ;
33461 PyObject
* obj1
= 0 ;
33462 PyObject
* obj2
= 0 ;
33463 PyObject
* obj3
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33470 if (SWIG_arg_fail(1)) SWIG_fail
;
33472 arg2
= (int)(SWIG_As_int(obj1
));
33473 if (SWIG_arg_fail(2)) SWIG_fail
;
33476 arg3
= wxString_in_helper(obj2
);
33477 if (arg3
== NULL
) SWIG_fail
;
33482 arg4
= wxString_in_helper(obj3
);
33483 if (arg4
== NULL
) SWIG_fail
;
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= wxPyMake_wxObject(result
, 0);
33519 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33520 PyObject
*resultobj
;
33521 wxMenu
*arg1
= (wxMenu
*) 0 ;
33523 wxString
*arg3
= 0 ;
33524 wxMenu
*arg4
= (wxMenu
*) 0 ;
33525 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33526 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33527 wxMenuItem
*result
;
33528 bool temp3
= false ;
33529 bool temp5
= false ;
33530 PyObject
* obj0
= 0 ;
33531 PyObject
* obj1
= 0 ;
33532 PyObject
* obj2
= 0 ;
33533 PyObject
* obj3
= 0 ;
33534 PyObject
* obj4
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33541 if (SWIG_arg_fail(1)) SWIG_fail
;
33543 arg2
= (int)(SWIG_As_int(obj1
));
33544 if (SWIG_arg_fail(2)) SWIG_fail
;
33547 arg3
= wxString_in_helper(obj2
);
33548 if (arg3
== NULL
) SWIG_fail
;
33551 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33552 if (SWIG_arg_fail(4)) SWIG_fail
;
33555 arg5
= wxString_in_helper(obj4
);
33556 if (arg5
== NULL
) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= wxPyMake_wxObject(result
, 0);
33592 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33593 PyObject
*resultobj
;
33594 wxMenu
*arg1
= (wxMenu
*) 0 ;
33596 wxMenuItem
*result
;
33597 PyObject
* obj0
= 0 ;
33598 PyObject
* obj1
= 0 ;
33599 char *kwnames
[] = {
33600 (char *) "self",(char *) "id", NULL
33603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33605 if (SWIG_arg_fail(1)) SWIG_fail
;
33607 arg2
= (int)(SWIG_As_int(obj1
));
33608 if (SWIG_arg_fail(2)) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= wxPyMake_wxObject(result
, 0);
33626 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
;
33628 wxMenu
*arg1
= (wxMenu
*) 0 ;
33629 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33630 wxMenuItem
*result
;
33631 PyObject
* obj0
= 0 ;
33632 PyObject
* obj1
= 0 ;
33633 char *kwnames
[] = {
33634 (char *) "self",(char *) "item", NULL
33637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33639 if (SWIG_arg_fail(1)) SWIG_fail
;
33640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33641 if (SWIG_arg_fail(2)) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= wxPyMake_wxObject(result
, 0);
33658 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33659 PyObject
*resultobj
;
33660 wxMenu
*arg1
= (wxMenu
*) 0 ;
33663 PyObject
* obj0
= 0 ;
33664 PyObject
* obj1
= 0 ;
33665 char *kwnames
[] = {
33666 (char *) "self",(char *) "id", NULL
33669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33671 if (SWIG_arg_fail(1)) SWIG_fail
;
33673 arg2
= (int)(SWIG_As_int(obj1
));
33674 if (SWIG_arg_fail(2)) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (bool)(arg1
)->Delete(arg2
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33692 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxMenu
*arg1
= (wxMenu
*) 0 ;
33695 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33697 PyObject
* obj0
= 0 ;
33698 PyObject
* obj1
= 0 ;
33699 char *kwnames
[] = {
33700 (char *) "self",(char *) "item", NULL
33703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33705 if (SWIG_arg_fail(1)) SWIG_fail
;
33706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33707 if (SWIG_arg_fail(2)) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= (bool)(arg1
)->Delete(arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33724 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxMenu
*arg1
= (wxMenu
*) 0 ;
33727 PyObject
* obj0
= 0 ;
33728 char *kwnames
[] = {
33729 (char *) "self", NULL
33732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33734 if (SWIG_arg_fail(1)) SWIG_fail
;
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 wxMenu_Destroy(arg1
);
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33742 Py_INCREF(Py_None
); resultobj
= Py_None
;
33749 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33750 PyObject
*resultobj
;
33751 wxMenu
*arg1
= (wxMenu
*) 0 ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 char *kwnames
[] = {
33757 (char *) "self",(char *) "id", NULL
33760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33762 if (SWIG_arg_fail(1)) SWIG_fail
;
33764 arg2
= (int)(SWIG_As_int(obj1
));
33765 if (SWIG_arg_fail(2)) SWIG_fail
;
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= (bool)(arg1
)->Destroy(arg2
);
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33783 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
;
33785 wxMenu
*arg1
= (wxMenu
*) 0 ;
33786 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33788 PyObject
* obj0
= 0 ;
33789 PyObject
* obj1
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "self",(char *) "item", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33796 if (SWIG_arg_fail(1)) SWIG_fail
;
33797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33798 if (SWIG_arg_fail(2)) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (bool)(arg1
)->Destroy(arg2
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33815 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxMenu
*arg1
= (wxMenu
*) 0 ;
33819 PyObject
* obj0
= 0 ;
33820 char *kwnames
[] = {
33821 (char *) "self", NULL
33824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33826 if (SWIG_arg_fail(1)) SWIG_fail
;
33828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33829 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33843 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
;
33845 wxMenu
*arg1
= (wxMenu
*) 0 ;
33847 PyObject
* obj0
= 0 ;
33848 char *kwnames
[] = {
33849 (char *) "self", NULL
33852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33854 if (SWIG_arg_fail(1)) SWIG_fail
;
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33862 resultobj
= result
;
33869 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33870 PyObject
*resultobj
;
33871 wxMenu
*arg1
= (wxMenu
*) 0 ;
33872 wxString
*arg2
= 0 ;
33874 bool temp2
= false ;
33875 PyObject
* obj0
= 0 ;
33876 PyObject
* obj1
= 0 ;
33877 char *kwnames
[] = {
33878 (char *) "self",(char *) "item", NULL
33881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33883 if (SWIG_arg_fail(1)) SWIG_fail
;
33885 arg2
= wxString_in_helper(obj1
);
33886 if (arg2
== NULL
) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_From_int((int)(result
));
33913 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxMenu
*arg1
= (wxMenu
*) 0 ;
33917 wxMenuItem
*result
;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "self",(char *) "id", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33926 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 arg2
= (int)(SWIG_As_int(obj1
));
33929 if (SWIG_arg_fail(2)) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= wxPyMake_wxObject(result
, 0);
33947 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
;
33949 wxMenu
*arg1
= (wxMenu
*) 0 ;
33951 wxMenuItem
*result
;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 char *kwnames
[] = {
33955 (char *) "self",(char *) "position", NULL
33958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33960 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= wxPyMake_wxObject(result
, 0);
33981 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
;
33983 wxMenu
*arg1
= (wxMenu
*) 0 ;
33986 PyObject
* obj0
= 0 ;
33987 PyObject
* obj1
= 0 ;
33988 PyObject
* obj2
= 0 ;
33989 char *kwnames
[] = {
33990 (char *) "self",(char *) "id",(char *) "enable", NULL
33993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33995 if (SWIG_arg_fail(1)) SWIG_fail
;
33997 arg2
= (int)(SWIG_As_int(obj1
));
33998 if (SWIG_arg_fail(2)) SWIG_fail
;
34001 arg3
= (bool)(SWIG_As_bool(obj2
));
34002 if (SWIG_arg_fail(3)) SWIG_fail
;
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 (arg1
)->Enable(arg2
,arg3
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 Py_INCREF(Py_None
); resultobj
= Py_None
;
34018 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
;
34020 wxMenu
*arg1
= (wxMenu
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 PyObject
* obj1
= 0 ;
34025 char *kwnames
[] = {
34026 (char *) "self",(char *) "id", NULL
34029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34031 if (SWIG_arg_fail(1)) SWIG_fail
;
34033 arg2
= (int)(SWIG_As_int(obj1
));
34034 if (SWIG_arg_fail(2)) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34052 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34053 PyObject
*resultobj
;
34054 wxMenu
*arg1
= (wxMenu
*) 0 ;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 PyObject
* obj2
= 0 ;
34060 char *kwnames
[] = {
34061 (char *) "self",(char *) "id",(char *) "check", NULL
34064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34066 if (SWIG_arg_fail(1)) SWIG_fail
;
34068 arg2
= (int)(SWIG_As_int(obj1
));
34069 if (SWIG_arg_fail(2)) SWIG_fail
;
34072 arg3
= (bool)(SWIG_As_bool(obj2
));
34073 if (SWIG_arg_fail(3)) SWIG_fail
;
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 (arg1
)->Check(arg2
,arg3
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 Py_INCREF(Py_None
); resultobj
= Py_None
;
34089 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char *kwnames
[] = {
34097 (char *) "self",(char *) "id", NULL
34100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail
;
34104 arg2
= (int)(SWIG_As_int(obj1
));
34105 if (SWIG_arg_fail(2)) SWIG_fail
;
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34123 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34124 PyObject
*resultobj
;
34125 wxMenu
*arg1
= (wxMenu
*) 0 ;
34127 wxString
*arg3
= 0 ;
34128 bool temp3
= false ;
34129 PyObject
* obj0
= 0 ;
34130 PyObject
* obj1
= 0 ;
34131 PyObject
* obj2
= 0 ;
34132 char *kwnames
[] = {
34133 (char *) "self",(char *) "id",(char *) "label", NULL
34136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34138 if (SWIG_arg_fail(1)) SWIG_fail
;
34140 arg2
= (int)(SWIG_As_int(obj1
));
34141 if (SWIG_arg_fail(2)) SWIG_fail
;
34144 arg3
= wxString_in_helper(obj2
);
34145 if (arg3
== NULL
) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34152 wxPyEndAllowThreads(__tstate
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34155 Py_INCREF(Py_None
); resultobj
= Py_None
;
34170 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
;
34172 wxMenu
*arg1
= (wxMenu
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 char *kwnames
[] = {
34178 (char *) "self",(char *) "id", NULL
34181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34183 if (SWIG_arg_fail(1)) SWIG_fail
;
34185 arg2
= (int)(SWIG_As_int(obj1
));
34186 if (SWIG_arg_fail(2)) SWIG_fail
;
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34208 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34209 PyObject
*resultobj
;
34210 wxMenu
*arg1
= (wxMenu
*) 0 ;
34212 wxString
*arg3
= 0 ;
34213 bool temp3
= false ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 char *kwnames
[] = {
34218 (char *) "self",(char *) "id",(char *) "helpString", NULL
34221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34223 if (SWIG_arg_fail(1)) SWIG_fail
;
34225 arg2
= (int)(SWIG_As_int(obj1
));
34226 if (SWIG_arg_fail(2)) SWIG_fail
;
34229 arg3
= wxString_in_helper(obj2
);
34230 if (arg3
== NULL
) SWIG_fail
;
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 Py_INCREF(Py_None
); resultobj
= Py_None
;
34255 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
;
34257 wxMenu
*arg1
= (wxMenu
*) 0 ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 char *kwnames
[] = {
34263 (char *) "self",(char *) "id", NULL
34266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34268 if (SWIG_arg_fail(1)) SWIG_fail
;
34270 arg2
= (int)(SWIG_As_int(obj1
));
34271 if (SWIG_arg_fail(2)) SWIG_fail
;
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34275 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34293 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
;
34295 wxMenu
*arg1
= (wxMenu
*) 0 ;
34296 wxString
*arg2
= 0 ;
34297 bool temp2
= false ;
34298 PyObject
* obj0
= 0 ;
34299 PyObject
* obj1
= 0 ;
34300 char *kwnames
[] = {
34301 (char *) "self",(char *) "title", NULL
34304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34306 if (SWIG_arg_fail(1)) SWIG_fail
;
34308 arg2
= wxString_in_helper(obj1
);
34309 if (arg2
== NULL
) SWIG_fail
;
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 (arg1
)->SetTitle((wxString
const &)*arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 Py_INCREF(Py_None
); resultobj
= Py_None
;
34334 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxMenu
*arg1
= (wxMenu
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34345 if (SWIG_arg_fail(1)) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= ((wxMenu
const *)arg1
)->GetTitle();
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34366 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
;
34368 wxMenu
*arg1
= (wxMenu
*) 0 ;
34369 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34370 PyObject
* obj0
= 0 ;
34371 PyObject
* obj1
= 0 ;
34372 char *kwnames
[] = {
34373 (char *) "self",(char *) "handler", NULL
34376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34378 if (SWIG_arg_fail(1)) SWIG_fail
;
34379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(2)) SWIG_fail
;
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->SetEventHandler(arg2
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 Py_INCREF(Py_None
); resultobj
= Py_None
;
34395 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
;
34397 wxMenu
*arg1
= (wxMenu
*) 0 ;
34398 wxEvtHandler
*result
;
34399 PyObject
* obj0
= 0 ;
34400 char *kwnames
[] = {
34401 (char *) "self", NULL
34404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34406 if (SWIG_arg_fail(1)) SWIG_fail
;
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= wxPyMake_wxObject(result
, 0);
34423 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
;
34425 wxMenu
*arg1
= (wxMenu
*) 0 ;
34426 wxWindow
*arg2
= (wxWindow
*) 0 ;
34427 PyObject
* obj0
= 0 ;
34428 PyObject
* obj1
= 0 ;
34429 char *kwnames
[] = {
34430 (char *) "self",(char *) "win", NULL
34433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34435 if (SWIG_arg_fail(1)) SWIG_fail
;
34436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34437 if (SWIG_arg_fail(2)) SWIG_fail
;
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 (arg1
)->SetInvokingWindow(arg2
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34445 Py_INCREF(Py_None
); resultobj
= Py_None
;
34452 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
;
34454 wxMenu
*arg1
= (wxMenu
*) 0 ;
34456 PyObject
* obj0
= 0 ;
34457 char *kwnames
[] = {
34458 (char *) "self", NULL
34461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34463 if (SWIG_arg_fail(1)) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34472 resultobj
= wxPyMake_wxObject(result
, 0);
34480 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34481 PyObject
*resultobj
;
34482 wxMenu
*arg1
= (wxMenu
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 char *kwnames
[] = {
34486 (char *) "self", NULL
34489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34491 if (SWIG_arg_fail(1)) SWIG_fail
;
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_From_long((long)(result
));
34508 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxMenu
*arg1
= (wxMenu
*) 0 ;
34511 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34512 PyObject
* obj0
= 0 ;
34513 PyObject
* obj1
= 0 ;
34514 char *kwnames
[] = {
34515 (char *) "self",(char *) "source", NULL
34518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34520 if (SWIG_arg_fail(1)) SWIG_fail
;
34522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34523 if (SWIG_arg_fail(2)) SWIG_fail
;
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 (arg1
)->UpdateUI(arg2
);
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34532 Py_INCREF(Py_None
); resultobj
= Py_None
;
34539 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
;
34541 wxMenu
*arg1
= (wxMenu
*) 0 ;
34543 PyObject
* obj0
= 0 ;
34544 char *kwnames
[] = {
34545 (char *) "self", NULL
34548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34550 if (SWIG_arg_fail(1)) SWIG_fail
;
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34559 resultobj
= wxPyMake_wxObject(result
, 0);
34567 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34568 PyObject
*resultobj
;
34569 wxMenu
*arg1
= (wxMenu
*) 0 ;
34570 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34571 PyObject
* obj0
= 0 ;
34572 PyObject
* obj1
= 0 ;
34573 char *kwnames
[] = {
34574 (char *) "self",(char *) "menubar", NULL
34577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34579 if (SWIG_arg_fail(1)) SWIG_fail
;
34580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34581 if (SWIG_arg_fail(2)) SWIG_fail
;
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34584 (arg1
)->Attach(arg2
);
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34589 Py_INCREF(Py_None
); resultobj
= Py_None
;
34596 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxMenu
*arg1
= (wxMenu
*) 0 ;
34599 PyObject
* obj0
= 0 ;
34600 char *kwnames
[] = {
34601 (char *) "self", NULL
34604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34606 if (SWIG_arg_fail(1)) SWIG_fail
;
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34614 Py_INCREF(Py_None
); resultobj
= Py_None
;
34621 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34622 PyObject
*resultobj
;
34623 wxMenu
*arg1
= (wxMenu
*) 0 ;
34625 PyObject
* obj0
= 0 ;
34626 char *kwnames
[] = {
34627 (char *) "self", NULL
34630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34632 if (SWIG_arg_fail(1)) SWIG_fail
;
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34649 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxMenu
*arg1
= (wxMenu
*) 0 ;
34652 wxMenu
*arg2
= (wxMenu
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 char *kwnames
[] = {
34656 (char *) "self",(char *) "parent", NULL
34659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34661 if (SWIG_arg_fail(1)) SWIG_fail
;
34662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34663 if (SWIG_arg_fail(2)) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 (arg1
)->SetParent(arg2
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 Py_INCREF(Py_None
); resultobj
= Py_None
;
34678 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
;
34680 wxMenu
*arg1
= (wxMenu
*) 0 ;
34682 PyObject
* obj0
= 0 ;
34683 char *kwnames
[] = {
34684 (char *) "self", NULL
34687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34689 if (SWIG_arg_fail(1)) SWIG_fail
;
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34698 resultobj
= wxPyMake_wxObject(result
, 0);
34706 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34709 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34711 return Py_BuildValue((char *)"");
34713 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 long arg1
= (long) 0 ;
34717 PyObject
* obj0
= 0 ;
34718 char *kwnames
[] = {
34719 (char *) "style", NULL
34722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34725 arg1
= (long)(SWIG_As_long(obj0
));
34726 if (SWIG_arg_fail(1)) SWIG_fail
;
34730 if (!wxPyCheckForApp()) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34744 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34747 wxMenu
*arg2
= (wxMenu
*) 0 ;
34748 wxString
*arg3
= 0 ;
34750 bool temp3
= false ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 PyObject
* obj2
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "menu",(char *) "title", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(2)) SWIG_fail
;
34764 arg3
= wxString_in_helper(obj2
);
34765 if (arg3
== NULL
) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34792 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34796 wxMenu
*arg3
= (wxMenu
*) 0 ;
34797 wxString
*arg4
= 0 ;
34799 bool temp4
= false ;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 PyObject
* obj2
= 0 ;
34803 PyObject
* obj3
= 0 ;
34804 char *kwnames
[] = {
34805 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail
;
34812 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34813 if (SWIG_arg_fail(2)) SWIG_fail
;
34815 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34816 if (SWIG_arg_fail(3)) SWIG_fail
;
34818 arg4
= wxString_in_helper(obj3
);
34819 if (arg4
== NULL
) SWIG_fail
;
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34846 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34850 PyObject
* obj0
= 0 ;
34851 char *kwnames
[] = {
34852 (char *) "self", NULL
34855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34857 if (SWIG_arg_fail(1)) SWIG_fail
;
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34874 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
;
34876 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 PyObject
* obj1
= 0 ;
34881 char *kwnames
[] = {
34882 (char *) "self",(char *) "pos", NULL
34885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34887 if (SWIG_arg_fail(1)) SWIG_fail
;
34889 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34890 if (SWIG_arg_fail(2)) SWIG_fail
;
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34896 wxPyEndAllowThreads(__tstate
);
34897 if (PyErr_Occurred()) SWIG_fail
;
34900 resultobj
= wxPyMake_wxObject(result
, 0);
34908 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34912 wxMenu
*arg3
= (wxMenu
*) 0 ;
34913 wxString
*arg4
= 0 ;
34915 bool temp4
= false ;
34916 PyObject
* obj0
= 0 ;
34917 PyObject
* obj1
= 0 ;
34918 PyObject
* obj2
= 0 ;
34919 PyObject
* obj3
= 0 ;
34920 char *kwnames
[] = {
34921 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34926 if (SWIG_arg_fail(1)) SWIG_fail
;
34928 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34929 if (SWIG_arg_fail(2)) SWIG_fail
;
34931 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34932 if (SWIG_arg_fail(3)) SWIG_fail
;
34934 arg4
= wxString_in_helper(obj3
);
34935 if (arg4
== NULL
) SWIG_fail
;
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= wxPyMake_wxObject(result
, 0);
34962 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
;
34964 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34967 PyObject
* obj0
= 0 ;
34968 PyObject
* obj1
= 0 ;
34969 char *kwnames
[] = {
34970 (char *) "self",(char *) "pos", NULL
34973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34975 if (SWIG_arg_fail(1)) SWIG_fail
;
34977 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34978 if (SWIG_arg_fail(2)) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= wxPyMake_wxObject(result
, 0);
34996 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35001 PyObject
* obj0
= 0 ;
35002 PyObject
* obj1
= 0 ;
35003 PyObject
* obj2
= 0 ;
35004 char *kwnames
[] = {
35005 (char *) "self",(char *) "pos",(char *) "enable", NULL
35008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35010 if (SWIG_arg_fail(1)) SWIG_fail
;
35012 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35013 if (SWIG_arg_fail(2)) SWIG_fail
;
35016 arg3
= (bool)(SWIG_As_bool(obj2
));
35017 if (SWIG_arg_fail(3)) SWIG_fail
;
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 (arg1
)->EnableTop(arg2
,arg3
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35026 Py_INCREF(Py_None
); resultobj
= Py_None
;
35033 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35034 PyObject
*resultobj
;
35035 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35038 PyObject
* obj0
= 0 ;
35039 PyObject
* obj1
= 0 ;
35040 char *kwnames
[] = {
35041 (char *) "self",(char *) "pos", NULL
35044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35046 if (SWIG_arg_fail(1)) SWIG_fail
;
35048 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35049 if (SWIG_arg_fail(2)) SWIG_fail
;
35052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35053 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35055 wxPyEndAllowThreads(__tstate
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35067 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35068 PyObject
*resultobj
;
35069 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35071 wxString
*arg3
= 0 ;
35072 bool temp3
= false ;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 PyObject
* obj2
= 0 ;
35076 char *kwnames
[] = {
35077 (char *) "self",(char *) "pos",(char *) "label", NULL
35080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35082 if (SWIG_arg_fail(1)) SWIG_fail
;
35084 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35085 if (SWIG_arg_fail(2)) SWIG_fail
;
35088 arg3
= wxString_in_helper(obj2
);
35089 if (arg3
== NULL
) SWIG_fail
;
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35099 Py_INCREF(Py_None
); resultobj
= Py_None
;
35114 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35115 PyObject
*resultobj
;
35116 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char *kwnames
[] = {
35122 (char *) "self",(char *) "pos", NULL
35125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35127 if (SWIG_arg_fail(1)) SWIG_fail
;
35129 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35130 if (SWIG_arg_fail(2)) SWIG_fail
;
35133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35134 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35152 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
;
35154 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35155 wxString
*arg2
= 0 ;
35156 wxString
*arg3
= 0 ;
35158 bool temp2
= false ;
35159 bool temp3
= false ;
35160 PyObject
* obj0
= 0 ;
35161 PyObject
* obj1
= 0 ;
35162 PyObject
* obj2
= 0 ;
35163 char *kwnames
[] = {
35164 (char *) "self",(char *) "menu",(char *) "item", NULL
35167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35169 if (SWIG_arg_fail(1)) SWIG_fail
;
35171 arg2
= wxString_in_helper(obj1
);
35172 if (arg2
== NULL
) SWIG_fail
;
35176 arg3
= wxString_in_helper(obj2
);
35177 if (arg3
== NULL
) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_From_int((int)(result
));
35212 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35213 PyObject
*resultobj
;
35214 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35216 wxMenuItem
*result
;
35217 PyObject
* obj0
= 0 ;
35218 PyObject
* obj1
= 0 ;
35219 char *kwnames
[] = {
35220 (char *) "self",(char *) "id", NULL
35223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35225 if (SWIG_arg_fail(1)) SWIG_fail
;
35227 arg2
= (int)(SWIG_As_int(obj1
));
35228 if (SWIG_arg_fail(2)) SWIG_fail
;
35231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= wxPyMake_wxObject(result
, 0);
35246 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35247 PyObject
*resultobj
;
35248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35249 wxString
*arg2
= 0 ;
35251 bool temp2
= false ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 char *kwnames
[] = {
35255 (char *) "self",(char *) "title", NULL
35258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35260 if (SWIG_arg_fail(1)) SWIG_fail
;
35262 arg2
= wxString_in_helper(obj1
);
35263 if (arg2
== NULL
) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= SWIG_From_int((int)(result
));
35290 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35291 PyObject
*resultobj
;
35292 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35295 PyObject
* obj0
= 0 ;
35296 PyObject
* obj1
= 0 ;
35297 PyObject
* obj2
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self",(char *) "id",(char *) "enable", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35304 if (SWIG_arg_fail(1)) SWIG_fail
;
35306 arg2
= (int)(SWIG_As_int(obj1
));
35307 if (SWIG_arg_fail(2)) SWIG_fail
;
35310 arg3
= (bool)(SWIG_As_bool(obj2
));
35311 if (SWIG_arg_fail(3)) SWIG_fail
;
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 (arg1
)->Enable(arg2
,arg3
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35320 Py_INCREF(Py_None
); resultobj
= Py_None
;
35327 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35328 PyObject
*resultobj
;
35329 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 PyObject
* obj1
= 0 ;
35334 PyObject
* obj2
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self",(char *) "id",(char *) "check", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35341 if (SWIG_arg_fail(1)) SWIG_fail
;
35343 arg2
= (int)(SWIG_As_int(obj1
));
35344 if (SWIG_arg_fail(2)) SWIG_fail
;
35347 arg3
= (bool)(SWIG_As_bool(obj2
));
35348 if (SWIG_arg_fail(3)) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 (arg1
)->Check(arg2
,arg3
);
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 Py_INCREF(Py_None
); resultobj
= Py_None
;
35364 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35365 PyObject
*resultobj
;
35366 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35369 PyObject
* obj0
= 0 ;
35370 PyObject
* obj1
= 0 ;
35371 char *kwnames
[] = {
35372 (char *) "self",(char *) "id", NULL
35375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35377 if (SWIG_arg_fail(1)) SWIG_fail
;
35379 arg2
= (int)(SWIG_As_int(obj1
));
35380 if (SWIG_arg_fail(2)) SWIG_fail
;
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35384 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35398 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35399 PyObject
*resultobj
;
35400 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 char *kwnames
[] = {
35406 (char *) "self",(char *) "id", NULL
35409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35411 if (SWIG_arg_fail(1)) SWIG_fail
;
35413 arg2
= (int)(SWIG_As_int(obj1
));
35414 if (SWIG_arg_fail(2)) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35432 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35433 PyObject
*resultobj
;
35434 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35436 wxString
*arg3
= 0 ;
35437 bool temp3
= false ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 PyObject
* obj2
= 0 ;
35441 char *kwnames
[] = {
35442 (char *) "self",(char *) "id",(char *) "label", NULL
35445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35447 if (SWIG_arg_fail(1)) SWIG_fail
;
35449 arg2
= (int)(SWIG_As_int(obj1
));
35450 if (SWIG_arg_fail(2)) SWIG_fail
;
35453 arg3
= wxString_in_helper(obj2
);
35454 if (arg3
== NULL
) SWIG_fail
;
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35464 Py_INCREF(Py_None
); resultobj
= Py_None
;
35479 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
;
35481 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 PyObject
* obj1
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self",(char *) "id", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35492 if (SWIG_arg_fail(1)) SWIG_fail
;
35494 arg2
= (int)(SWIG_As_int(obj1
));
35495 if (SWIG_arg_fail(2)) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35517 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
;
35519 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35521 wxString
*arg3
= 0 ;
35522 bool temp3
= false ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 PyObject
* obj2
= 0 ;
35526 char *kwnames
[] = {
35527 (char *) "self",(char *) "id",(char *) "helpString", NULL
35530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35532 if (SWIG_arg_fail(1)) SWIG_fail
;
35534 arg2
= (int)(SWIG_As_int(obj1
));
35535 if (SWIG_arg_fail(2)) SWIG_fail
;
35538 arg3
= wxString_in_helper(obj2
);
35539 if (arg3
== NULL
) SWIG_fail
;
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 Py_INCREF(Py_None
); resultobj
= Py_None
;
35564 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
;
35566 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35569 PyObject
* obj0
= 0 ;
35570 PyObject
* obj1
= 0 ;
35571 char *kwnames
[] = {
35572 (char *) "self",(char *) "id", NULL
35575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35577 if (SWIG_arg_fail(1)) SWIG_fail
;
35579 arg2
= (int)(SWIG_As_int(obj1
));
35580 if (SWIG_arg_fail(2)) SWIG_fail
;
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35602 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
;
35604 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35606 PyObject
* obj0
= 0 ;
35607 char *kwnames
[] = {
35608 (char *) "self", NULL
35611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35613 if (SWIG_arg_fail(1)) SWIG_fail
;
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35618 wxPyEndAllowThreads(__tstate
);
35619 if (PyErr_Occurred()) SWIG_fail
;
35622 resultobj
= wxPyMake_wxObject(result
, 0);
35630 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35631 PyObject
*resultobj
;
35632 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35634 PyObject
* obj0
= 0 ;
35635 char *kwnames
[] = {
35636 (char *) "self", NULL
35639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35641 if (SWIG_arg_fail(1)) SWIG_fail
;
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35658 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35659 PyObject
*resultobj
;
35660 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35661 wxFrame
*arg2
= (wxFrame
*) 0 ;
35662 PyObject
* obj0
= 0 ;
35663 PyObject
* obj1
= 0 ;
35664 char *kwnames
[] = {
35665 (char *) "self",(char *) "frame", NULL
35668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35670 if (SWIG_arg_fail(1)) SWIG_fail
;
35671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35672 if (SWIG_arg_fail(2)) SWIG_fail
;
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 (arg1
)->Attach(arg2
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 Py_INCREF(Py_None
); resultobj
= Py_None
;
35687 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
;
35689 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35690 PyObject
* obj0
= 0 ;
35691 char *kwnames
[] = {
35692 (char *) "self", NULL
35695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35697 if (SWIG_arg_fail(1)) SWIG_fail
;
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 Py_INCREF(Py_None
); resultobj
= Py_None
;
35712 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35715 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35717 return Py_BuildValue((char *)"");
35719 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
;
35721 wxMenu
*arg1
= (wxMenu
*) NULL
;
35722 int arg2
= (int) wxID_ANY
;
35723 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35724 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35727 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35728 wxMenu
*arg6
= (wxMenu
*) NULL
;
35729 wxMenuItem
*result
;
35730 bool temp3
= false ;
35731 bool temp4
= false ;
35732 PyObject
* obj0
= 0 ;
35733 PyObject
* obj1
= 0 ;
35734 PyObject
* obj2
= 0 ;
35735 PyObject
* obj3
= 0 ;
35736 PyObject
* obj4
= 0 ;
35737 PyObject
* obj5
= 0 ;
35738 char *kwnames
[] = {
35739 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35745 if (SWIG_arg_fail(1)) SWIG_fail
;
35749 arg2
= (int)(SWIG_As_int(obj1
));
35750 if (SWIG_arg_fail(2)) SWIG_fail
;
35755 arg3
= wxString_in_helper(obj2
);
35756 if (arg3
== NULL
) SWIG_fail
;
35762 arg4
= wxString_in_helper(obj3
);
35763 if (arg4
== NULL
) SWIG_fail
;
35769 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35770 if (SWIG_arg_fail(5)) SWIG_fail
;
35774 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35775 if (SWIG_arg_fail(6)) SWIG_fail
;
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= wxPyMake_wxObject(result
, 1);
35809 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
;
35811 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35813 PyObject
* obj0
= 0 ;
35814 char *kwnames
[] = {
35815 (char *) "self", NULL
35818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35820 if (SWIG_arg_fail(1)) SWIG_fail
;
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35829 resultobj
= wxPyMake_wxObject(result
, 0);
35837 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
;
35839 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35840 wxMenu
*arg2
= (wxMenu
*) 0 ;
35841 PyObject
* obj0
= 0 ;
35842 PyObject
* obj1
= 0 ;
35843 char *kwnames
[] = {
35844 (char *) "self",(char *) "menu", NULL
35847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35849 if (SWIG_arg_fail(1)) SWIG_fail
;
35850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35851 if (SWIG_arg_fail(2)) SWIG_fail
;
35853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35854 (arg1
)->SetMenu(arg2
);
35856 wxPyEndAllowThreads(__tstate
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 Py_INCREF(Py_None
); resultobj
= Py_None
;
35866 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
;
35868 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35870 PyObject
* obj0
= 0 ;
35871 PyObject
* obj1
= 0 ;
35872 char *kwnames
[] = {
35873 (char *) "self",(char *) "id", NULL
35876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35878 if (SWIG_arg_fail(1)) SWIG_fail
;
35880 arg2
= (int)(SWIG_As_int(obj1
));
35881 if (SWIG_arg_fail(2)) SWIG_fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 (arg1
)->SetId(arg2
);
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35890 Py_INCREF(Py_None
); resultobj
= Py_None
;
35897 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
;
35899 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35901 PyObject
* obj0
= 0 ;
35902 char *kwnames
[] = {
35903 (char *) "self", NULL
35906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35908 if (SWIG_arg_fail(1)) SWIG_fail
;
35910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35911 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_From_int((int)(result
));
35925 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
;
35927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 char *kwnames
[] = {
35931 (char *) "self", NULL
35934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35936 if (SWIG_arg_fail(1)) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35953 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35954 PyObject
*resultobj
;
35955 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35956 wxString
*arg2
= 0 ;
35957 bool temp2
= false ;
35958 PyObject
* obj0
= 0 ;
35959 PyObject
* obj1
= 0 ;
35960 char *kwnames
[] = {
35961 (char *) "self",(char *) "str", NULL
35964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35966 if (SWIG_arg_fail(1)) SWIG_fail
;
35968 arg2
= wxString_in_helper(obj1
);
35969 if (arg2
== NULL
) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35974 (arg1
)->SetText((wxString
const &)*arg2
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 Py_INCREF(Py_None
); resultobj
= Py_None
;
35994 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35995 PyObject
*resultobj
;
35996 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35998 PyObject
* obj0
= 0 ;
35999 char *kwnames
[] = {
36000 (char *) "self", NULL
36003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36005 if (SWIG_arg_fail(1)) SWIG_fail
;
36007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36008 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36010 wxPyEndAllowThreads(__tstate
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36026 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36027 PyObject
*resultobj
;
36028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36030 PyObject
* obj0
= 0 ;
36031 char *kwnames
[] = {
36032 (char *) "self", NULL
36035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36037 if (SWIG_arg_fail(1)) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36042 result
= (wxString
*) &_result_ref
;
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36052 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36061 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
;
36063 wxString
*arg1
= 0 ;
36065 bool temp1
= false ;
36066 PyObject
* obj0
= 0 ;
36067 char *kwnames
[] = {
36068 (char *) "text", NULL
36071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36073 arg1
= wxString_in_helper(obj0
);
36074 if (arg1
== NULL
) SWIG_fail
;
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36105 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36116 if (SWIG_arg_fail(1)) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 resultobj
= SWIG_From_int((result
));
36131 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self",(char *) "kind", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36143 if (SWIG_arg_fail(1)) SWIG_fail
;
36145 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36146 if (SWIG_arg_fail(2)) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 (arg1
)->SetKind((wxItemKind
)arg2
);
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 Py_INCREF(Py_None
); resultobj
= Py_None
;
36162 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
;
36164 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36166 PyObject
* obj0
= 0 ;
36167 PyObject
* obj1
= 0 ;
36168 char *kwnames
[] = {
36169 (char *) "self",(char *) "checkable", NULL
36172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36174 if (SWIG_arg_fail(1)) SWIG_fail
;
36176 arg2
= (bool)(SWIG_As_bool(obj1
));
36177 if (SWIG_arg_fail(2)) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 (arg1
)->SetCheckable(arg2
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 Py_INCREF(Py_None
); resultobj
= Py_None
;
36193 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
;
36195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36197 PyObject
* obj0
= 0 ;
36198 char *kwnames
[] = {
36199 (char *) "self", NULL
36202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36204 if (SWIG_arg_fail(1)) SWIG_fail
;
36206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36207 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36209 wxPyEndAllowThreads(__tstate
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36221 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36222 PyObject
*resultobj
;
36223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36225 PyObject
* obj0
= 0 ;
36226 char *kwnames
[] = {
36227 (char *) "self", NULL
36230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36232 if (SWIG_arg_fail(1)) SWIG_fail
;
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36249 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
;
36251 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36252 wxMenu
*arg2
= (wxMenu
*) 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self",(char *) "menu", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36261 if (SWIG_arg_fail(1)) SWIG_fail
;
36262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36263 if (SWIG_arg_fail(2)) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->SetSubMenu(arg2
);
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 Py_INCREF(Py_None
); resultobj
= Py_None
;
36278 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36279 PyObject
*resultobj
;
36280 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 char *kwnames
[] = {
36284 (char *) "self", NULL
36287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36289 if (SWIG_arg_fail(1)) SWIG_fail
;
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= wxPyMake_wxObject(result
, 0);
36306 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36307 PyObject
*resultobj
;
36308 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36309 bool arg2
= (bool) true ;
36310 PyObject
* obj0
= 0 ;
36311 PyObject
* obj1
= 0 ;
36312 char *kwnames
[] = {
36313 (char *) "self",(char *) "enable", NULL
36316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36318 if (SWIG_arg_fail(1)) SWIG_fail
;
36321 arg2
= (bool)(SWIG_As_bool(obj1
));
36322 if (SWIG_arg_fail(2)) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 (arg1
)->Enable(arg2
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 Py_INCREF(Py_None
); resultobj
= Py_None
;
36339 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36343 PyObject
* obj0
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36350 if (SWIG_arg_fail(1)) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36367 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
;
36369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36370 bool arg2
= (bool) true ;
36371 PyObject
* obj0
= 0 ;
36372 PyObject
* obj1
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self",(char *) "check", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36379 if (SWIG_arg_fail(1)) SWIG_fail
;
36382 arg2
= (bool)(SWIG_As_bool(obj1
));
36383 if (SWIG_arg_fail(2)) SWIG_fail
;
36387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36388 (arg1
)->Check(arg2
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 Py_INCREF(Py_None
); resultobj
= Py_None
;
36400 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36401 PyObject
*resultobj
;
36402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36404 PyObject
* obj0
= 0 ;
36405 char *kwnames
[] = {
36406 (char *) "self", NULL
36409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36411 if (SWIG_arg_fail(1)) SWIG_fail
;
36413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36414 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36416 wxPyEndAllowThreads(__tstate
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36428 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
;
36430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36438 if (SWIG_arg_fail(1)) SWIG_fail
;
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 Py_INCREF(Py_None
); resultobj
= Py_None
;
36453 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36456 wxString
*arg2
= 0 ;
36457 bool temp2
= false ;
36458 PyObject
* obj0
= 0 ;
36459 PyObject
* obj1
= 0 ;
36460 char *kwnames
[] = {
36461 (char *) "self",(char *) "str", NULL
36464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36466 if (SWIG_arg_fail(1)) SWIG_fail
;
36468 arg2
= wxString_in_helper(obj1
);
36469 if (arg2
== NULL
) SWIG_fail
;
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->SetHelp((wxString
const &)*arg2
);
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 Py_INCREF(Py_None
); resultobj
= Py_None
;
36494 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
;
36496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36498 PyObject
* obj0
= 0 ;
36499 char *kwnames
[] = {
36500 (char *) "self", NULL
36503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36505 if (SWIG_arg_fail(1)) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36510 result
= (wxString
*) &_result_ref
;
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36529 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36532 wxAcceleratorEntry
*result
;
36533 PyObject
* obj0
= 0 ;
36534 char *kwnames
[] = {
36535 (char *) "self", NULL
36538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36540 if (SWIG_arg_fail(1)) SWIG_fail
;
36542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36543 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36555 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
;
36557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36558 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36559 PyObject
* obj0
= 0 ;
36560 PyObject
* obj1
= 0 ;
36561 char *kwnames
[] = {
36562 (char *) "self",(char *) "accel", NULL
36565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36567 if (SWIG_arg_fail(1)) SWIG_fail
;
36568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36569 if (SWIG_arg_fail(2)) SWIG_fail
;
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 (arg1
)->SetAccel(arg2
);
36574 wxPyEndAllowThreads(__tstate
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 Py_INCREF(Py_None
); resultobj
= Py_None
;
36584 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
;
36586 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36588 PyObject
* obj0
= 0 ;
36589 PyObject
* obj1
= 0 ;
36590 char *kwnames
[] = {
36591 (char *) "self",(char *) "font", NULL
36594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36596 if (SWIG_arg_fail(1)) SWIG_fail
;
36598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36599 if (SWIG_arg_fail(2)) SWIG_fail
;
36600 if (arg2
== NULL
) {
36601 SWIG_null_ref("wxFont");
36603 if (SWIG_arg_fail(2)) SWIG_fail
;
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->SetFont((wxFont
const &)*arg2
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 Py_INCREF(Py_None
); resultobj
= Py_None
;
36619 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
;
36621 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36623 PyObject
* obj0
= 0 ;
36624 char *kwnames
[] = {
36625 (char *) "self", NULL
36628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36630 if (SWIG_arg_fail(1)) SWIG_fail
;
36632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36633 result
= (arg1
)->GetFont();
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36639 wxFont
* resultptr
;
36640 resultptr
= new wxFont((wxFont
&)(result
));
36641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36649 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
;
36651 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36652 wxColour
*arg2
= 0 ;
36654 PyObject
* obj0
= 0 ;
36655 PyObject
* obj1
= 0 ;
36656 char *kwnames
[] = {
36657 (char *) "self",(char *) "colText", NULL
36660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36662 if (SWIG_arg_fail(1)) SWIG_fail
;
36665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36671 wxPyEndAllowThreads(__tstate
);
36672 if (PyErr_Occurred()) SWIG_fail
;
36674 Py_INCREF(Py_None
); resultobj
= Py_None
;
36681 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36682 PyObject
*resultobj
;
36683 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36685 PyObject
* obj0
= 0 ;
36686 char *kwnames
[] = {
36687 (char *) "self", NULL
36690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36692 if (SWIG_arg_fail(1)) SWIG_fail
;
36694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36695 result
= (arg1
)->GetTextColour();
36697 wxPyEndAllowThreads(__tstate
);
36698 if (PyErr_Occurred()) SWIG_fail
;
36701 wxColour
* resultptr
;
36702 resultptr
= new wxColour((wxColour
&)(result
));
36703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36711 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36712 PyObject
*resultobj
;
36713 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36714 wxColour
*arg2
= 0 ;
36716 PyObject
* obj0
= 0 ;
36717 PyObject
* obj1
= 0 ;
36718 char *kwnames
[] = {
36719 (char *) "self",(char *) "colBack", NULL
36722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36724 if (SWIG_arg_fail(1)) SWIG_fail
;
36727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 Py_INCREF(Py_None
); resultobj
= Py_None
;
36743 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
;
36745 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36747 PyObject
* obj0
= 0 ;
36748 char *kwnames
[] = {
36749 (char *) "self", NULL
36752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36754 if (SWIG_arg_fail(1)) SWIG_fail
;
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 result
= (arg1
)->GetBackgroundColour();
36759 wxPyEndAllowThreads(__tstate
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36763 wxColour
* resultptr
;
36764 resultptr
= new wxColour((wxColour
&)(result
));
36765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36773 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
;
36775 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36776 wxBitmap
*arg2
= 0 ;
36777 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36778 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36779 PyObject
* obj0
= 0 ;
36780 PyObject
* obj1
= 0 ;
36781 PyObject
* obj2
= 0 ;
36782 char *kwnames
[] = {
36783 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36788 if (SWIG_arg_fail(1)) SWIG_fail
;
36790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36791 if (SWIG_arg_fail(2)) SWIG_fail
;
36792 if (arg2
== NULL
) {
36793 SWIG_null_ref("wxBitmap");
36795 if (SWIG_arg_fail(2)) SWIG_fail
;
36799 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36800 if (SWIG_arg_fail(3)) SWIG_fail
;
36801 if (arg3
== NULL
) {
36802 SWIG_null_ref("wxBitmap");
36804 if (SWIG_arg_fail(3)) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 Py_INCREF(Py_None
); resultobj
= Py_None
;
36821 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36824 wxBitmap
*arg2
= 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char *kwnames
[] = {
36828 (char *) "self",(char *) "bmpDisabled", NULL
36831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36833 if (SWIG_arg_fail(1)) SWIG_fail
;
36835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36836 if (SWIG_arg_fail(2)) SWIG_fail
;
36837 if (arg2
== NULL
) {
36838 SWIG_null_ref("wxBitmap");
36840 if (SWIG_arg_fail(2)) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 Py_INCREF(Py_None
); resultobj
= Py_None
;
36856 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "self", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36867 if (SWIG_arg_fail(1)) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36872 result
= (wxBitmap
*) &_result_ref
;
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36879 wxBitmap
* resultptr
= new wxBitmap(*result
);
36880 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36888 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36889 PyObject
*resultobj
;
36890 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36892 PyObject
* obj0
= 0 ;
36893 PyObject
* obj1
= 0 ;
36894 char *kwnames
[] = {
36895 (char *) "self",(char *) "nWidth", NULL
36898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36900 if (SWIG_arg_fail(1)) SWIG_fail
;
36902 arg2
= (int)(SWIG_As_int(obj1
));
36903 if (SWIG_arg_fail(2)) SWIG_fail
;
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 (arg1
)->SetMarginWidth(arg2
);
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36912 Py_INCREF(Py_None
); resultobj
= Py_None
;
36919 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36920 PyObject
*resultobj
;
36921 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36923 PyObject
* obj0
= 0 ;
36924 char *kwnames
[] = {
36925 (char *) "self", NULL
36928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36930 if (SWIG_arg_fail(1)) SWIG_fail
;
36932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36933 result
= (int)(arg1
)->GetMarginWidth();
36935 wxPyEndAllowThreads(__tstate
);
36936 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_From_int((int)(result
));
36947 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36948 PyObject
*resultobj
;
36950 char *kwnames
[] = {
36954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36959 wxPyEndAllowThreads(__tstate
);
36960 if (PyErr_Occurred()) SWIG_fail
;
36963 resultobj
= SWIG_From_int((int)(result
));
36971 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
;
36973 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36975 PyObject
* obj0
= 0 ;
36976 char *kwnames
[] = {
36977 (char *) "self", NULL
36980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36982 if (SWIG_arg_fail(1)) SWIG_fail
;
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 result
= (bool)(arg1
)->IsOwnerDrawn();
36987 wxPyEndAllowThreads(__tstate
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36999 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37002 bool arg2
= (bool) true ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 char *kwnames
[] = {
37006 (char *) "self",(char *) "ownerDrawn", NULL
37009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37011 if (SWIG_arg_fail(1)) SWIG_fail
;
37014 arg2
= (bool)(SWIG_As_bool(obj1
));
37015 if (SWIG_arg_fail(2)) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 (arg1
)->SetOwnerDrawn(arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 Py_INCREF(Py_None
); resultobj
= Py_None
;
37032 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
;
37034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37035 PyObject
* obj0
= 0 ;
37036 char *kwnames
[] = {
37037 (char *) "self", NULL
37040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37042 if (SWIG_arg_fail(1)) SWIG_fail
;
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 (arg1
)->ResetOwnerDrawn();
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37050 Py_INCREF(Py_None
); resultobj
= Py_None
;
37057 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37058 PyObject
*resultobj
;
37059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37060 wxBitmap
*arg2
= 0 ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 char *kwnames
[] = {
37064 (char *) "self",(char *) "bitmap", NULL
37067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37069 if (SWIG_arg_fail(1)) SWIG_fail
;
37071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37072 if (SWIG_arg_fail(2)) SWIG_fail
;
37073 if (arg2
== NULL
) {
37074 SWIG_null_ref("wxBitmap");
37076 if (SWIG_arg_fail(2)) SWIG_fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37085 Py_INCREF(Py_None
); resultobj
= Py_None
;
37092 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37093 PyObject
*resultobj
;
37094 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37096 PyObject
* obj0
= 0 ;
37097 char *kwnames
[] = {
37098 (char *) "self", NULL
37101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37103 if (SWIG_arg_fail(1)) SWIG_fail
;
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37108 result
= (wxBitmap
*) &_result_ref
;
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37115 wxBitmap
* resultptr
= new wxBitmap(*result
);
37116 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37124 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37127 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37129 return Py_BuildValue((char *)"");
37131 static int _wrap_ControlNameStr_set(PyObject
*) {
37132 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37137 static PyObject
*_wrap_ControlNameStr_get(void) {
37142 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37144 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37151 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
;
37153 wxWindow
*arg1
= (wxWindow
*) 0 ;
37154 int arg2
= (int) -1 ;
37155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37159 long arg5
= (long) 0 ;
37160 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37161 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37162 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37167 bool temp7
= false ;
37168 PyObject
* obj0
= 0 ;
37169 PyObject
* obj1
= 0 ;
37170 PyObject
* obj2
= 0 ;
37171 PyObject
* obj3
= 0 ;
37172 PyObject
* obj4
= 0 ;
37173 PyObject
* obj5
= 0 ;
37174 PyObject
* obj6
= 0 ;
37175 char *kwnames
[] = {
37176 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37181 if (SWIG_arg_fail(1)) SWIG_fail
;
37184 arg2
= (int)(SWIG_As_int(obj1
));
37185 if (SWIG_arg_fail(2)) SWIG_fail
;
37191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37202 arg5
= (long)(SWIG_As_long(obj4
));
37203 if (SWIG_arg_fail(5)) SWIG_fail
;
37208 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37209 if (SWIG_arg_fail(6)) SWIG_fail
;
37210 if (arg6
== NULL
) {
37211 SWIG_null_ref("wxValidator");
37213 if (SWIG_arg_fail(6)) SWIG_fail
;
37218 arg7
= wxString_in_helper(obj6
);
37219 if (arg7
== NULL
) SWIG_fail
;
37224 if (!wxPyCheckForApp()) SWIG_fail
;
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37246 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37249 char *kwnames
[] = {
37253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37255 if (!wxPyCheckForApp()) SWIG_fail
;
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 result
= (wxControl
*)new wxControl();
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37269 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37270 PyObject
*resultobj
;
37271 wxControl
*arg1
= (wxControl
*) 0 ;
37272 wxWindow
*arg2
= (wxWindow
*) 0 ;
37273 int arg3
= (int) -1 ;
37274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37278 long arg6
= (long) 0 ;
37279 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37280 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37281 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37282 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37286 bool temp8
= false ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 PyObject
* obj2
= 0 ;
37290 PyObject
* obj3
= 0 ;
37291 PyObject
* obj4
= 0 ;
37292 PyObject
* obj5
= 0 ;
37293 PyObject
* obj6
= 0 ;
37294 PyObject
* obj7
= 0 ;
37295 char *kwnames
[] = {
37296 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37301 if (SWIG_arg_fail(1)) SWIG_fail
;
37302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37303 if (SWIG_arg_fail(2)) SWIG_fail
;
37306 arg3
= (int)(SWIG_As_int(obj2
));
37307 if (SWIG_arg_fail(3)) SWIG_fail
;
37313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37324 arg6
= (long)(SWIG_As_long(obj5
));
37325 if (SWIG_arg_fail(6)) SWIG_fail
;
37330 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37331 if (SWIG_arg_fail(7)) SWIG_fail
;
37332 if (arg7
== NULL
) {
37333 SWIG_null_ref("wxValidator");
37335 if (SWIG_arg_fail(7)) SWIG_fail
;
37340 arg8
= wxString_in_helper(obj7
);
37341 if (arg8
== NULL
) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37369 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37370 PyObject
*resultobj
;
37371 wxControl
*arg1
= (wxControl
*) 0 ;
37372 wxCommandEvent
*arg2
= 0 ;
37373 PyObject
* obj0
= 0 ;
37374 PyObject
* obj1
= 0 ;
37375 char *kwnames
[] = {
37376 (char *) "self",(char *) "event", NULL
37379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37381 if (SWIG_arg_fail(1)) SWIG_fail
;
37383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37384 if (SWIG_arg_fail(2)) SWIG_fail
;
37385 if (arg2
== NULL
) {
37386 SWIG_null_ref("wxCommandEvent");
37388 if (SWIG_arg_fail(2)) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 (arg1
)->Command(*arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 Py_INCREF(Py_None
); resultobj
= Py_None
;
37404 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxControl
*arg1
= (wxControl
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 char *kwnames
[] = {
37410 (char *) "self", NULL
37413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37415 if (SWIG_arg_fail(1)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (arg1
)->GetLabel();
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37436 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37437 PyObject
*resultobj
;
37438 wxControl
*arg1
= (wxControl
*) 0 ;
37439 wxString
*arg2
= 0 ;
37440 bool temp2
= false ;
37441 PyObject
* obj0
= 0 ;
37442 PyObject
* obj1
= 0 ;
37443 char *kwnames
[] = {
37444 (char *) "self",(char *) "label", NULL
37447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37449 if (SWIG_arg_fail(1)) SWIG_fail
;
37451 arg2
= wxString_in_helper(obj1
);
37452 if (arg2
== NULL
) SWIG_fail
;
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 (arg1
)->SetLabel((wxString
const &)*arg2
);
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37462 Py_INCREF(Py_None
); resultobj
= Py_None
;
37477 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37478 PyObject
*resultobj
;
37479 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37480 wxVisualAttributes result
;
37481 PyObject
* obj0
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "variant", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37489 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37490 if (SWIG_arg_fail(1)) SWIG_fail
;
37494 if (!wxPyCheckForApp()) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37502 wxVisualAttributes
* resultptr
;
37503 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37512 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37515 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37517 return Py_BuildValue((char *)"");
37519 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37520 PyObject
*resultobj
;
37521 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37522 wxString
*arg2
= 0 ;
37523 PyObject
*arg3
= (PyObject
*) NULL
;
37525 bool temp2
= false ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 PyObject
* obj2
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "item",(char *) "clientData", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37535 if (SWIG_arg_fail(1)) SWIG_fail
;
37537 arg2
= wxString_in_helper(obj1
);
37538 if (arg2
== NULL
) SWIG_fail
;
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37548 wxPyEndAllowThreads(__tstate
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37552 resultobj
= SWIG_From_int((int)(result
));
37568 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
;
37570 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37571 wxArrayString
*arg2
= 0 ;
37572 bool temp2
= false ;
37573 PyObject
* obj0
= 0 ;
37574 PyObject
* obj1
= 0 ;
37575 char *kwnames
[] = {
37576 (char *) "self",(char *) "strings", NULL
37579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37581 if (SWIG_arg_fail(1)) SWIG_fail
;
37583 if (! PySequence_Check(obj1
)) {
37584 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37587 arg2
= new wxArrayString
;
37589 int i
, len
=PySequence_Length(obj1
);
37590 for (i
=0; i
<len
; i
++) {
37591 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37593 PyObject
* str
= PyObject_Unicode(item
);
37595 PyObject
* str
= PyObject_Str(item
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37598 arg2
->Add(Py2wxString(str
));
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 (arg1
)->Append((wxArrayString
const &)*arg2
);
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 Py_INCREF(Py_None
); resultobj
= Py_None
;
37612 if (temp2
) delete arg2
;
37617 if (temp2
) delete arg2
;
37623 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37624 PyObject
*resultobj
;
37625 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37626 wxString
*arg2
= 0 ;
37628 PyObject
*arg4
= (PyObject
*) NULL
;
37630 bool temp2
= false ;
37631 PyObject
* obj0
= 0 ;
37632 PyObject
* obj1
= 0 ;
37633 PyObject
* obj2
= 0 ;
37634 PyObject
* obj3
= 0 ;
37635 char *kwnames
[] = {
37636 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37641 if (SWIG_arg_fail(1)) SWIG_fail
;
37643 arg2
= wxString_in_helper(obj1
);
37644 if (arg2
== NULL
) SWIG_fail
;
37648 arg3
= (int)(SWIG_As_int(obj2
));
37649 if (SWIG_arg_fail(3)) SWIG_fail
;
37655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37656 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= SWIG_From_int((int)(result
));
37678 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37680 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37681 PyObject
* obj0
= 0 ;
37682 char *kwnames
[] = {
37683 (char *) "self", NULL
37686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37688 if (SWIG_arg_fail(1)) SWIG_fail
;
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37693 wxPyEndAllowThreads(__tstate
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37696 Py_INCREF(Py_None
); resultobj
= Py_None
;
37703 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37704 PyObject
*resultobj
;
37705 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37707 PyObject
* obj0
= 0 ;
37708 PyObject
* obj1
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "self",(char *) "n", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37715 if (SWIG_arg_fail(1)) SWIG_fail
;
37717 arg2
= (int)(SWIG_As_int(obj1
));
37718 if (SWIG_arg_fail(2)) SWIG_fail
;
37721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37722 (arg1
)->Delete(arg2
);
37724 wxPyEndAllowThreads(__tstate
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37727 Py_INCREF(Py_None
); resultobj
= Py_None
;
37734 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37735 PyObject
*resultobj
;
37736 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37739 PyObject
* obj0
= 0 ;
37740 PyObject
* obj1
= 0 ;
37741 char *kwnames
[] = {
37742 (char *) "self",(char *) "n", NULL
37745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37747 if (SWIG_arg_fail(1)) SWIG_fail
;
37749 arg2
= (int)(SWIG_As_int(obj1
));
37750 if (SWIG_arg_fail(2)) SWIG_fail
;
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= result
;
37766 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
;
37768 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37770 PyObject
*arg3
= (PyObject
*) 0 ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 PyObject
* obj2
= 0 ;
37774 char *kwnames
[] = {
37775 (char *) "self",(char *) "n",(char *) "clientData", NULL
37778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37780 if (SWIG_arg_fail(1)) SWIG_fail
;
37782 arg2
= (int)(SWIG_As_int(obj1
));
37783 if (SWIG_arg_fail(2)) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37793 Py_INCREF(Py_None
); resultobj
= Py_None
;
37800 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37801 PyObject
*resultobj
;
37802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37804 PyObject
* obj0
= 0 ;
37805 char *kwnames
[] = {
37806 (char *) "self", NULL
37809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37811 if (SWIG_arg_fail(1)) SWIG_fail
;
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37816 wxPyEndAllowThreads(__tstate
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37820 resultobj
= SWIG_From_int((int)(result
));
37828 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37829 PyObject
*resultobj
;
37830 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37832 PyObject
* obj0
= 0 ;
37833 char *kwnames
[] = {
37834 (char *) "self", NULL
37837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37839 if (SWIG_arg_fail(1)) SWIG_fail
;
37841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37842 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37844 wxPyEndAllowThreads(__tstate
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37856 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37857 PyObject
*resultobj
;
37858 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 char *kwnames
[] = {
37864 (char *) "self",(char *) "n", NULL
37867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37869 if (SWIG_arg_fail(1)) SWIG_fail
;
37871 arg2
= (int)(SWIG_As_int(obj1
));
37872 if (SWIG_arg_fail(2)) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37894 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37895 PyObject
*resultobj
;
37896 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37897 wxArrayString result
;
37898 PyObject
* obj0
= 0 ;
37899 char *kwnames
[] = {
37900 (char *) "self", NULL
37903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37905 if (SWIG_arg_fail(1)) SWIG_fail
;
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37910 wxPyEndAllowThreads(__tstate
);
37911 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= wxArrayString2PyList_helper(result
);
37922 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37923 PyObject
*resultobj
;
37924 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37926 wxString
*arg3
= 0 ;
37927 bool temp3
= false ;
37928 PyObject
* obj0
= 0 ;
37929 PyObject
* obj1
= 0 ;
37930 PyObject
* obj2
= 0 ;
37931 char *kwnames
[] = {
37932 (char *) "self",(char *) "n",(char *) "s", NULL
37935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37937 if (SWIG_arg_fail(1)) SWIG_fail
;
37939 arg2
= (int)(SWIG_As_int(obj1
));
37940 if (SWIG_arg_fail(2)) SWIG_fail
;
37943 arg3
= wxString_in_helper(obj2
);
37944 if (arg3
== NULL
) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37954 Py_INCREF(Py_None
); resultobj
= Py_None
;
37969 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
;
37971 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37972 wxString
*arg2
= 0 ;
37974 bool temp2
= false ;
37975 PyObject
* obj0
= 0 ;
37976 PyObject
* obj1
= 0 ;
37977 char *kwnames
[] = {
37978 (char *) "self",(char *) "s", NULL
37981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37983 if (SWIG_arg_fail(1)) SWIG_fail
;
37985 arg2
= wxString_in_helper(obj1
);
37986 if (arg2
== NULL
) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= SWIG_From_int((int)(result
));
38013 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38014 PyObject
*resultobj
;
38015 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38017 PyObject
* obj0
= 0 ;
38018 PyObject
* obj1
= 0 ;
38019 char *kwnames
[] = {
38020 (char *) "self",(char *) "n", NULL
38023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38025 if (SWIG_arg_fail(1)) SWIG_fail
;
38027 arg2
= (int)(SWIG_As_int(obj1
));
38028 if (SWIG_arg_fail(2)) SWIG_fail
;
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 (arg1
)->SetSelection(arg2
);
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38037 Py_INCREF(Py_None
); resultobj
= Py_None
;
38044 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38045 PyObject
*resultobj
;
38046 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38048 PyObject
* obj0
= 0 ;
38049 char *kwnames
[] = {
38050 (char *) "self", NULL
38053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38055 if (SWIG_arg_fail(1)) SWIG_fail
;
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38064 resultobj
= SWIG_From_int((int)(result
));
38072 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38073 PyObject
*resultobj
;
38074 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38075 wxString
*arg2
= 0 ;
38077 bool temp2
= false ;
38078 PyObject
* obj0
= 0 ;
38079 PyObject
* obj1
= 0 ;
38080 char *kwnames
[] = {
38081 (char *) "self",(char *) "s", NULL
38084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38086 if (SWIG_arg_fail(1)) SWIG_fail
;
38088 arg2
= wxString_in_helper(obj1
);
38089 if (arg2
== NULL
) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38116 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38117 PyObject
*resultobj
;
38118 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38120 PyObject
* obj0
= 0 ;
38121 char *kwnames
[] = {
38122 (char *) "self", NULL
38125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38127 if (SWIG_arg_fail(1)) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38148 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
;
38150 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self",(char *) "n", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38160 if (SWIG_arg_fail(1)) SWIG_fail
;
38162 arg2
= (int)(SWIG_As_int(obj1
));
38163 if (SWIG_arg_fail(2)) SWIG_fail
;
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 (arg1
)->Select(arg2
);
38169 wxPyEndAllowThreads(__tstate
);
38170 if (PyErr_Occurred()) SWIG_fail
;
38172 Py_INCREF(Py_None
); resultobj
= Py_None
;
38179 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38182 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38184 return Py_BuildValue((char *)"");
38186 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38189 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38191 return Py_BuildValue((char *)"");
38193 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38194 PyObject
*resultobj
;
38195 wxSizerItem
*result
;
38196 char *kwnames
[] = {
38200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38203 result
= (wxSizerItem
*)new wxSizerItem();
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38215 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38216 PyObject
*resultobj
;
38217 wxWindow
*arg1
= (wxWindow
*) 0 ;
38221 PyObject
*arg5
= (PyObject
*) NULL
;
38222 wxSizerItem
*result
;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 PyObject
* obj2
= 0 ;
38226 PyObject
* obj3
= 0 ;
38227 PyObject
* obj4
= 0 ;
38228 char *kwnames
[] = {
38229 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38234 if (SWIG_arg_fail(1)) SWIG_fail
;
38236 arg2
= (int)(SWIG_As_int(obj1
));
38237 if (SWIG_arg_fail(2)) SWIG_fail
;
38240 arg3
= (int)(SWIG_As_int(obj2
));
38241 if (SWIG_arg_fail(3)) SWIG_fail
;
38244 arg4
= (int)(SWIG_As_int(obj3
));
38245 if (SWIG_arg_fail(4)) SWIG_fail
;
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38264 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
;
38271 PyObject
*arg6
= (PyObject
*) NULL
;
38272 wxSizerItem
*result
;
38273 PyObject
* obj0
= 0 ;
38274 PyObject
* obj1
= 0 ;
38275 PyObject
* obj2
= 0 ;
38276 PyObject
* obj3
= 0 ;
38277 PyObject
* obj4
= 0 ;
38278 PyObject
* obj5
= 0 ;
38279 char *kwnames
[] = {
38280 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38285 arg1
= (int)(SWIG_As_int(obj0
));
38286 if (SWIG_arg_fail(1)) SWIG_fail
;
38289 arg2
= (int)(SWIG_As_int(obj1
));
38290 if (SWIG_arg_fail(2)) SWIG_fail
;
38293 arg3
= (int)(SWIG_As_int(obj2
));
38294 if (SWIG_arg_fail(3)) SWIG_fail
;
38297 arg4
= (int)(SWIG_As_int(obj3
));
38298 if (SWIG_arg_fail(4)) SWIG_fail
;
38301 arg5
= (int)(SWIG_As_int(obj4
));
38302 if (SWIG_arg_fail(5)) SWIG_fail
;
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38321 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38322 PyObject
*resultobj
;
38323 wxSizer
*arg1
= (wxSizer
*) 0 ;
38327 PyObject
*arg5
= (PyObject
*) NULL
;
38328 wxSizerItem
*result
;
38329 PyObject
* obj0
= 0 ;
38330 PyObject
* obj1
= 0 ;
38331 PyObject
* obj2
= 0 ;
38332 PyObject
* obj3
= 0 ;
38333 PyObject
* obj4
= 0 ;
38334 char *kwnames
[] = {
38335 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38340 if (SWIG_arg_fail(1)) SWIG_fail
;
38342 arg2
= (int)(SWIG_As_int(obj1
));
38343 if (SWIG_arg_fail(2)) SWIG_fail
;
38346 arg3
= (int)(SWIG_As_int(obj2
));
38347 if (SWIG_arg_fail(3)) SWIG_fail
;
38350 arg4
= (int)(SWIG_As_int(obj3
));
38351 if (SWIG_arg_fail(4)) SWIG_fail
;
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38370 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
;
38372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38373 PyObject
* obj0
= 0 ;
38374 char *kwnames
[] = {
38375 (char *) "self", NULL
38378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38380 if (SWIG_arg_fail(1)) SWIG_fail
;
38382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38383 (arg1
)->DeleteWindows();
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38388 Py_INCREF(Py_None
); resultobj
= Py_None
;
38395 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
;
38397 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38398 PyObject
* obj0
= 0 ;
38399 char *kwnames
[] = {
38400 (char *) "self", NULL
38403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38405 if (SWIG_arg_fail(1)) SWIG_fail
;
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 (arg1
)->DetachSizer();
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38413 Py_INCREF(Py_None
); resultobj
= Py_None
;
38420 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38421 PyObject
*resultobj
;
38422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38424 PyObject
* obj0
= 0 ;
38425 char *kwnames
[] = {
38426 (char *) "self", NULL
38429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38431 if (SWIG_arg_fail(1)) SWIG_fail
;
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 result
= (arg1
)->GetSize();
38436 wxPyEndAllowThreads(__tstate
);
38437 if (PyErr_Occurred()) SWIG_fail
;
38440 wxSize
* resultptr
;
38441 resultptr
= new wxSize((wxSize
&)(result
));
38442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38450 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38451 PyObject
*resultobj
;
38452 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38454 PyObject
* obj0
= 0 ;
38455 char *kwnames
[] = {
38456 (char *) "self", NULL
38459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38461 if (SWIG_arg_fail(1)) SWIG_fail
;
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 result
= (arg1
)->CalcMin();
38466 wxPyEndAllowThreads(__tstate
);
38467 if (PyErr_Occurred()) SWIG_fail
;
38470 wxSize
* resultptr
;
38471 resultptr
= new wxSize((wxSize
&)(result
));
38472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38480 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38481 PyObject
*resultobj
;
38482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 PyObject
* obj2
= 0 ;
38488 char *kwnames
[] = {
38489 (char *) "self",(char *) "pos",(char *) "size", NULL
38492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38494 if (SWIG_arg_fail(1)) SWIG_fail
;
38497 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38498 if (SWIG_arg_fail(2)) SWIG_fail
;
38499 if (argp
== NULL
) {
38500 SWIG_null_ref("wxPoint");
38502 if (SWIG_arg_fail(2)) SWIG_fail
;
38507 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38508 if (SWIG_arg_fail(3)) SWIG_fail
;
38509 if (argp
== NULL
) {
38510 SWIG_null_ref("wxSize");
38512 if (SWIG_arg_fail(3)) SWIG_fail
;
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 (arg1
)->SetDimension(arg2
,arg3
);
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38522 Py_INCREF(Py_None
); resultobj
= Py_None
;
38529 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38530 PyObject
*resultobj
;
38531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38533 PyObject
* obj0
= 0 ;
38534 char *kwnames
[] = {
38535 (char *) "self", NULL
38538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38540 if (SWIG_arg_fail(1)) SWIG_fail
;
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 result
= (arg1
)->GetMinSize();
38545 wxPyEndAllowThreads(__tstate
);
38546 if (PyErr_Occurred()) SWIG_fail
;
38549 wxSize
* resultptr
;
38550 resultptr
= new wxSize((wxSize
&)(result
));
38551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38559 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38560 PyObject
*resultobj
;
38561 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38563 PyObject
* obj0
= 0 ;
38564 char *kwnames
[] = {
38565 (char *) "self", NULL
38568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38570 if (SWIG_arg_fail(1)) SWIG_fail
;
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38575 wxPyEndAllowThreads(__tstate
);
38576 if (PyErr_Occurred()) SWIG_fail
;
38579 wxSize
* resultptr
;
38580 resultptr
= new wxSize((wxSize
&)(result
));
38581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38589 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38590 PyObject
*resultobj
;
38591 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38594 PyObject
* obj0
= 0 ;
38595 PyObject
* obj1
= 0 ;
38596 PyObject
* obj2
= 0 ;
38597 char *kwnames
[] = {
38598 (char *) "self",(char *) "x",(char *) "y", NULL
38601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38603 if (SWIG_arg_fail(1)) SWIG_fail
;
38605 arg2
= (int)(SWIG_As_int(obj1
));
38606 if (SWIG_arg_fail(2)) SWIG_fail
;
38609 arg3
= (int)(SWIG_As_int(obj2
));
38610 if (SWIG_arg_fail(3)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->SetInitSize(arg2
,arg3
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 Py_INCREF(Py_None
); resultobj
= Py_None
;
38626 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38627 PyObject
*resultobj
;
38628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38631 PyObject
* obj0
= 0 ;
38632 PyObject
* obj1
= 0 ;
38633 PyObject
* obj2
= 0 ;
38634 char *kwnames
[] = {
38635 (char *) "self",(char *) "width",(char *) "height", NULL
38638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38640 if (SWIG_arg_fail(1)) SWIG_fail
;
38642 arg2
= (int)(SWIG_As_int(obj1
));
38643 if (SWIG_arg_fail(2)) SWIG_fail
;
38646 arg3
= (int)(SWIG_As_int(obj2
));
38647 if (SWIG_arg_fail(3)) SWIG_fail
;
38650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38651 (arg1
)->SetRatio(arg2
,arg3
);
38653 wxPyEndAllowThreads(__tstate
);
38654 if (PyErr_Occurred()) SWIG_fail
;
38656 Py_INCREF(Py_None
); resultobj
= Py_None
;
38663 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38664 PyObject
*resultobj
;
38665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38667 PyObject
* obj0
= 0 ;
38668 PyObject
* obj1
= 0 ;
38669 char *kwnames
[] = {
38670 (char *) "self",(char *) "size", NULL
38673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38675 if (SWIG_arg_fail(1)) SWIG_fail
;
38678 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38679 if (SWIG_arg_fail(2)) SWIG_fail
;
38680 if (argp
== NULL
) {
38681 SWIG_null_ref("wxSize");
38683 if (SWIG_arg_fail(2)) SWIG_fail
;
38687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38688 (arg1
)->SetRatio(arg2
);
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38693 Py_INCREF(Py_None
); resultobj
= Py_None
;
38700 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38701 PyObject
*resultobj
;
38702 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38704 PyObject
* obj0
= 0 ;
38705 PyObject
* obj1
= 0 ;
38706 char *kwnames
[] = {
38707 (char *) "self",(char *) "ratio", NULL
38710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38712 if (SWIG_arg_fail(1)) SWIG_fail
;
38714 arg2
= (float)(SWIG_As_float(obj1
));
38715 if (SWIG_arg_fail(2)) SWIG_fail
;
38718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38719 (arg1
)->SetRatio(arg2
);
38721 wxPyEndAllowThreads(__tstate
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38724 Py_INCREF(Py_None
); resultobj
= Py_None
;
38731 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38732 PyObject
*resultobj
;
38733 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38735 PyObject
* obj0
= 0 ;
38736 char *kwnames
[] = {
38737 (char *) "self", NULL
38740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38742 if (SWIG_arg_fail(1)) SWIG_fail
;
38744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38745 result
= (float)(arg1
)->GetRatio();
38747 wxPyEndAllowThreads(__tstate
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= SWIG_From_float((float)(result
));
38759 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38760 PyObject
*resultobj
;
38761 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38763 PyObject
* obj0
= 0 ;
38764 char *kwnames
[] = {
38765 (char *) "self", NULL
38768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38770 if (SWIG_arg_fail(1)) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= (arg1
)->GetRect();
38775 wxPyEndAllowThreads(__tstate
);
38776 if (PyErr_Occurred()) SWIG_fail
;
38779 wxRect
* resultptr
;
38780 resultptr
= new wxRect((wxRect
&)(result
));
38781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38789 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
;
38791 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38793 PyObject
* obj0
= 0 ;
38794 char *kwnames
[] = {
38795 (char *) "self", NULL
38798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38800 if (SWIG_arg_fail(1)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 result
= (bool)(arg1
)->IsWindow();
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38817 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38818 PyObject
*resultobj
;
38819 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38821 PyObject
* obj0
= 0 ;
38822 char *kwnames
[] = {
38823 (char *) "self", NULL
38826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38828 if (SWIG_arg_fail(1)) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 result
= (bool)(arg1
)->IsSizer();
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38845 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38846 PyObject
*resultobj
;
38847 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38849 PyObject
* obj0
= 0 ;
38850 char *kwnames
[] = {
38851 (char *) "self", NULL
38854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38856 if (SWIG_arg_fail(1)) SWIG_fail
;
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= (bool)(arg1
)->IsSpacer();
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38873 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38874 PyObject
*resultobj
;
38875 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 char *kwnames
[] = {
38880 (char *) "self",(char *) "proportion", NULL
38883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38885 if (SWIG_arg_fail(1)) SWIG_fail
;
38887 arg2
= (int)(SWIG_As_int(obj1
));
38888 if (SWIG_arg_fail(2)) SWIG_fail
;
38891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38892 (arg1
)->SetProportion(arg2
);
38894 wxPyEndAllowThreads(__tstate
);
38895 if (PyErr_Occurred()) SWIG_fail
;
38897 Py_INCREF(Py_None
); resultobj
= Py_None
;
38904 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38905 PyObject
*resultobj
;
38906 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38908 PyObject
* obj0
= 0 ;
38909 char *kwnames
[] = {
38910 (char *) "self", NULL
38913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38915 if (SWIG_arg_fail(1)) SWIG_fail
;
38917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38918 result
= (int)(arg1
)->GetProportion();
38920 wxPyEndAllowThreads(__tstate
);
38921 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_From_int((int)(result
));
38932 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38933 PyObject
*resultobj
;
38934 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 char *kwnames
[] = {
38939 (char *) "self",(char *) "flag", NULL
38942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38944 if (SWIG_arg_fail(1)) SWIG_fail
;
38946 arg2
= (int)(SWIG_As_int(obj1
));
38947 if (SWIG_arg_fail(2)) SWIG_fail
;
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 (arg1
)->SetFlag(arg2
);
38953 wxPyEndAllowThreads(__tstate
);
38954 if (PyErr_Occurred()) SWIG_fail
;
38956 Py_INCREF(Py_None
); resultobj
= Py_None
;
38963 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38964 PyObject
*resultobj
;
38965 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38967 PyObject
* obj0
= 0 ;
38968 char *kwnames
[] = {
38969 (char *) "self", NULL
38972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38974 if (SWIG_arg_fail(1)) SWIG_fail
;
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 result
= (int)(arg1
)->GetFlag();
38979 wxPyEndAllowThreads(__tstate
);
38980 if (PyErr_Occurred()) SWIG_fail
;
38983 resultobj
= SWIG_From_int((int)(result
));
38991 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38992 PyObject
*resultobj
;
38993 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38995 PyObject
* obj0
= 0 ;
38996 PyObject
* obj1
= 0 ;
38997 char *kwnames
[] = {
38998 (char *) "self",(char *) "border", NULL
39001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39003 if (SWIG_arg_fail(1)) SWIG_fail
;
39005 arg2
= (int)(SWIG_As_int(obj1
));
39006 if (SWIG_arg_fail(2)) SWIG_fail
;
39009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39010 (arg1
)->SetBorder(arg2
);
39012 wxPyEndAllowThreads(__tstate
);
39013 if (PyErr_Occurred()) SWIG_fail
;
39015 Py_INCREF(Py_None
); resultobj
= Py_None
;
39022 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39023 PyObject
*resultobj
;
39024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39026 PyObject
* obj0
= 0 ;
39027 char *kwnames
[] = {
39028 (char *) "self", NULL
39031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39033 if (SWIG_arg_fail(1)) SWIG_fail
;
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 result
= (int)(arg1
)->GetBorder();
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39042 resultobj
= SWIG_From_int((int)(result
));
39050 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39051 PyObject
*resultobj
;
39052 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39054 PyObject
* obj0
= 0 ;
39055 char *kwnames
[] = {
39056 (char *) "self", NULL
39059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39061 if (SWIG_arg_fail(1)) SWIG_fail
;
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 result
= (wxWindow
*)(arg1
)->GetWindow();
39066 wxPyEndAllowThreads(__tstate
);
39067 if (PyErr_Occurred()) SWIG_fail
;
39070 resultobj
= wxPyMake_wxObject(result
, 0);
39078 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39079 PyObject
*resultobj
;
39080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39081 wxWindow
*arg2
= (wxWindow
*) 0 ;
39082 PyObject
* obj0
= 0 ;
39083 PyObject
* obj1
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self",(char *) "window", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39090 if (SWIG_arg_fail(1)) SWIG_fail
;
39091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39092 if (SWIG_arg_fail(2)) SWIG_fail
;
39094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39095 (arg1
)->SetWindow(arg2
);
39097 wxPyEndAllowThreads(__tstate
);
39098 if (PyErr_Occurred()) SWIG_fail
;
39100 Py_INCREF(Py_None
); resultobj
= Py_None
;
39107 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
;
39109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39111 PyObject
* obj0
= 0 ;
39112 char *kwnames
[] = {
39113 (char *) "self", NULL
39116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39118 if (SWIG_arg_fail(1)) SWIG_fail
;
39120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39121 result
= (wxSizer
*)(arg1
)->GetSizer();
39123 wxPyEndAllowThreads(__tstate
);
39124 if (PyErr_Occurred()) SWIG_fail
;
39127 resultobj
= wxPyMake_wxSizer(result
, 0);
39135 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39136 PyObject
*resultobj
;
39137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39138 wxSizer
*arg2
= (wxSizer
*) 0 ;
39139 PyObject
* obj0
= 0 ;
39140 PyObject
* obj1
= 0 ;
39141 char *kwnames
[] = {
39142 (char *) "self",(char *) "sizer", NULL
39145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39147 if (SWIG_arg_fail(1)) SWIG_fail
;
39148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39149 if (SWIG_arg_fail(2)) SWIG_fail
;
39151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39152 (arg1
)->SetSizer(arg2
);
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39157 Py_INCREF(Py_None
); resultobj
= Py_None
;
39164 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39165 PyObject
*resultobj
;
39166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39168 PyObject
* obj0
= 0 ;
39169 char *kwnames
[] = {
39170 (char *) "self", NULL
39173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39175 if (SWIG_arg_fail(1)) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39180 result
= (wxSize
*) &_result_ref
;
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39193 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39194 PyObject
*resultobj
;
39195 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39198 PyObject
* obj0
= 0 ;
39199 PyObject
* obj1
= 0 ;
39200 char *kwnames
[] = {
39201 (char *) "self",(char *) "size", NULL
39204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39206 if (SWIG_arg_fail(1)) SWIG_fail
;
39209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39213 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39215 wxPyEndAllowThreads(__tstate
);
39216 if (PyErr_Occurred()) SWIG_fail
;
39218 Py_INCREF(Py_None
); resultobj
= Py_None
;
39225 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39226 PyObject
*resultobj
;
39227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39229 PyObject
* obj0
= 0 ;
39230 PyObject
* obj1
= 0 ;
39231 char *kwnames
[] = {
39232 (char *) "self",(char *) "show", NULL
39235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39237 if (SWIG_arg_fail(1)) SWIG_fail
;
39239 arg2
= (bool)(SWIG_As_bool(obj1
));
39240 if (SWIG_arg_fail(2)) SWIG_fail
;
39243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39244 (arg1
)->Show(arg2
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 Py_INCREF(Py_None
); resultobj
= Py_None
;
39256 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
;
39258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39260 PyObject
* obj0
= 0 ;
39261 char *kwnames
[] = {
39262 (char *) "self", NULL
39265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39267 if (SWIG_arg_fail(1)) SWIG_fail
;
39269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39270 result
= (bool)(arg1
)->IsShown();
39272 wxPyEndAllowThreads(__tstate
);
39273 if (PyErr_Occurred()) SWIG_fail
;
39276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39284 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39285 PyObject
*resultobj
;
39286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39288 PyObject
* obj0
= 0 ;
39289 char *kwnames
[] = {
39290 (char *) "self", NULL
39293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39295 if (SWIG_arg_fail(1)) SWIG_fail
;
39297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39298 result
= (arg1
)->GetPosition();
39300 wxPyEndAllowThreads(__tstate
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39304 wxPoint
* resultptr
;
39305 resultptr
= new wxPoint((wxPoint
&)(result
));
39306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39314 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39315 PyObject
*resultobj
;
39316 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39318 PyObject
* obj0
= 0 ;
39319 char *kwnames
[] = {
39320 (char *) "self", NULL
39323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39325 if (SWIG_arg_fail(1)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 resultobj
= result
;
39340 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39343 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39345 return Py_BuildValue((char *)"");
39347 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
;
39349 wxSizer
*arg1
= (wxSizer
*) 0 ;
39350 PyObject
*arg2
= (PyObject
*) 0 ;
39351 PyObject
* obj0
= 0 ;
39352 PyObject
* obj1
= 0 ;
39353 char *kwnames
[] = {
39354 (char *) "self",(char *) "_self", NULL
39357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39359 if (SWIG_arg_fail(1)) SWIG_fail
;
39362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 wxSizer__setOORInfo(arg1
,arg2
);
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 Py_INCREF(Py_None
); resultobj
= Py_None
;
39375 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39376 PyObject
*resultobj
;
39377 wxSizer
*arg1
= (wxSizer
*) 0 ;
39378 PyObject
*arg2
= (PyObject
*) 0 ;
39379 int arg3
= (int) 0 ;
39380 int arg4
= (int) 0 ;
39381 int arg5
= (int) 0 ;
39382 PyObject
*arg6
= (PyObject
*) NULL
;
39383 wxSizerItem
*result
;
39384 PyObject
* obj0
= 0 ;
39385 PyObject
* obj1
= 0 ;
39386 PyObject
* obj2
= 0 ;
39387 PyObject
* obj3
= 0 ;
39388 PyObject
* obj4
= 0 ;
39389 PyObject
* obj5
= 0 ;
39390 char *kwnames
[] = {
39391 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39396 if (SWIG_arg_fail(1)) SWIG_fail
;
39400 arg3
= (int)(SWIG_As_int(obj2
));
39401 if (SWIG_arg_fail(3)) SWIG_fail
;
39406 arg4
= (int)(SWIG_As_int(obj3
));
39407 if (SWIG_arg_fail(4)) SWIG_fail
;
39412 arg5
= (int)(SWIG_As_int(obj4
));
39413 if (SWIG_arg_fail(5)) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39433 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39434 PyObject
*resultobj
;
39435 wxSizer
*arg1
= (wxSizer
*) 0 ;
39437 PyObject
*arg3
= (PyObject
*) 0 ;
39438 int arg4
= (int) 0 ;
39439 int arg5
= (int) 0 ;
39440 int arg6
= (int) 0 ;
39441 PyObject
*arg7
= (PyObject
*) NULL
;
39442 wxSizerItem
*result
;
39443 PyObject
* obj0
= 0 ;
39444 PyObject
* obj1
= 0 ;
39445 PyObject
* obj2
= 0 ;
39446 PyObject
* obj3
= 0 ;
39447 PyObject
* obj4
= 0 ;
39448 PyObject
* obj5
= 0 ;
39449 PyObject
* obj6
= 0 ;
39450 char *kwnames
[] = {
39451 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39456 if (SWIG_arg_fail(1)) SWIG_fail
;
39458 arg2
= (int)(SWIG_As_int(obj1
));
39459 if (SWIG_arg_fail(2)) SWIG_fail
;
39464 arg4
= (int)(SWIG_As_int(obj3
));
39465 if (SWIG_arg_fail(4)) SWIG_fail
;
39470 arg5
= (int)(SWIG_As_int(obj4
));
39471 if (SWIG_arg_fail(5)) SWIG_fail
;
39476 arg6
= (int)(SWIG_As_int(obj5
));
39477 if (SWIG_arg_fail(6)) SWIG_fail
;
39484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39485 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39487 wxPyEndAllowThreads(__tstate
);
39488 if (PyErr_Occurred()) SWIG_fail
;
39490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39497 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39498 PyObject
*resultobj
;
39499 wxSizer
*arg1
= (wxSizer
*) 0 ;
39500 PyObject
*arg2
= (PyObject
*) 0 ;
39501 int arg3
= (int) 0 ;
39502 int arg4
= (int) 0 ;
39503 int arg5
= (int) 0 ;
39504 PyObject
*arg6
= (PyObject
*) NULL
;
39505 wxSizerItem
*result
;
39506 PyObject
* obj0
= 0 ;
39507 PyObject
* obj1
= 0 ;
39508 PyObject
* obj2
= 0 ;
39509 PyObject
* obj3
= 0 ;
39510 PyObject
* obj4
= 0 ;
39511 PyObject
* obj5
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39518 if (SWIG_arg_fail(1)) SWIG_fail
;
39522 arg3
= (int)(SWIG_As_int(obj2
));
39523 if (SWIG_arg_fail(3)) SWIG_fail
;
39528 arg4
= (int)(SWIG_As_int(obj3
));
39529 if (SWIG_arg_fail(4)) SWIG_fail
;
39534 arg5
= (int)(SWIG_As_int(obj4
));
39535 if (SWIG_arg_fail(5)) SWIG_fail
;
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39545 wxPyEndAllowThreads(__tstate
);
39546 if (PyErr_Occurred()) SWIG_fail
;
39548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39555 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39556 PyObject
*resultobj
;
39557 wxSizer
*arg1
= (wxSizer
*) 0 ;
39558 PyObject
*arg2
= (PyObject
*) 0 ;
39560 PyObject
* obj0
= 0 ;
39561 PyObject
* obj1
= 0 ;
39562 char *kwnames
[] = {
39563 (char *) "self",(char *) "item", NULL
39566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39568 if (SWIG_arg_fail(1)) SWIG_fail
;
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39572 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39574 wxPyEndAllowThreads(__tstate
);
39575 if (PyErr_Occurred()) SWIG_fail
;
39578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39586 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39587 PyObject
*resultobj
;
39588 wxSizer
*arg1
= (wxSizer
*) 0 ;
39589 PyObject
*arg2
= (PyObject
*) 0 ;
39591 PyObject
* obj0
= 0 ;
39592 PyObject
* obj1
= 0 ;
39593 char *kwnames
[] = {
39594 (char *) "self",(char *) "item", NULL
39597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39599 if (SWIG_arg_fail(1)) SWIG_fail
;
39602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39603 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39605 wxPyEndAllowThreads(__tstate
);
39606 if (PyErr_Occurred()) SWIG_fail
;
39609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39617 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39618 PyObject
*resultobj
;
39619 wxSizer
*arg1
= (wxSizer
*) 0 ;
39620 PyObject
*arg2
= (PyObject
*) 0 ;
39621 wxSizerItem
*result
;
39622 PyObject
* obj0
= 0 ;
39623 PyObject
* obj1
= 0 ;
39624 char *kwnames
[] = {
39625 (char *) "self",(char *) "item", NULL
39628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39630 if (SWIG_arg_fail(1)) SWIG_fail
;
39633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39634 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39636 wxPyEndAllowThreads(__tstate
);
39637 if (PyErr_Occurred()) SWIG_fail
;
39639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39646 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39647 PyObject
*resultobj
;
39648 wxSizer
*arg1
= (wxSizer
*) 0 ;
39649 PyObject
*arg2
= (PyObject
*) 0 ;
39652 PyObject
* obj0
= 0 ;
39653 PyObject
* obj1
= 0 ;
39654 PyObject
* obj2
= 0 ;
39655 char *kwnames
[] = {
39656 (char *) "self",(char *) "item",(char *) "size", NULL
39659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39661 if (SWIG_arg_fail(1)) SWIG_fail
;
39665 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39669 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 Py_INCREF(Py_None
); resultobj
= Py_None
;
39681 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39682 PyObject
*resultobj
;
39683 wxSizer
*arg1
= (wxSizer
*) 0 ;
39684 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39685 wxSizerItem
*result
;
39686 PyObject
* obj0
= 0 ;
39687 PyObject
* obj1
= 0 ;
39688 char *kwnames
[] = {
39689 (char *) "self",(char *) "item", NULL
39692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39694 if (SWIG_arg_fail(1)) SWIG_fail
;
39695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39696 if (SWIG_arg_fail(2)) SWIG_fail
;
39698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39699 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39701 wxPyEndAllowThreads(__tstate
);
39702 if (PyErr_Occurred()) SWIG_fail
;
39704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39711 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
;
39713 wxSizer
*arg1
= (wxSizer
*) 0 ;
39715 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39716 wxSizerItem
*result
;
39717 PyObject
* obj0
= 0 ;
39718 PyObject
* obj1
= 0 ;
39719 PyObject
* obj2
= 0 ;
39720 char *kwnames
[] = {
39721 (char *) "self",(char *) "index",(char *) "item", NULL
39724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39726 if (SWIG_arg_fail(1)) SWIG_fail
;
39728 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39729 if (SWIG_arg_fail(2)) SWIG_fail
;
39731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39732 if (SWIG_arg_fail(3)) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39747 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxSizer
*arg1
= (wxSizer
*) 0 ;
39750 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39751 wxSizerItem
*result
;
39752 PyObject
* obj0
= 0 ;
39753 PyObject
* obj1
= 0 ;
39754 char *kwnames
[] = {
39755 (char *) "self",(char *) "item", NULL
39758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39760 if (SWIG_arg_fail(1)) SWIG_fail
;
39761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39762 if (SWIG_arg_fail(2)) SWIG_fail
;
39764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39765 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39767 wxPyEndAllowThreads(__tstate
);
39768 if (PyErr_Occurred()) SWIG_fail
;
39770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39777 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39778 PyObject
*resultobj
;
39779 wxSizer
*arg1
= (wxSizer
*) 0 ;
39784 PyObject
* obj0
= 0 ;
39785 PyObject
* obj1
= 0 ;
39786 PyObject
* obj2
= 0 ;
39787 PyObject
* obj3
= 0 ;
39788 PyObject
* obj4
= 0 ;
39789 char *kwnames
[] = {
39790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39795 if (SWIG_arg_fail(1)) SWIG_fail
;
39797 arg2
= (int)(SWIG_As_int(obj1
));
39798 if (SWIG_arg_fail(2)) SWIG_fail
;
39801 arg3
= (int)(SWIG_As_int(obj2
));
39802 if (SWIG_arg_fail(3)) SWIG_fail
;
39805 arg4
= (int)(SWIG_As_int(obj3
));
39806 if (SWIG_arg_fail(4)) SWIG_fail
;
39809 arg5
= (int)(SWIG_As_int(obj4
));
39810 if (SWIG_arg_fail(5)) SWIG_fail
;
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39816 wxPyEndAllowThreads(__tstate
);
39817 if (PyErr_Occurred()) SWIG_fail
;
39819 Py_INCREF(Py_None
); resultobj
= Py_None
;
39826 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39827 PyObject
*resultobj
;
39828 wxSizer
*arg1
= (wxSizer
*) 0 ;
39831 PyObject
* obj0
= 0 ;
39832 PyObject
* obj1
= 0 ;
39833 char *kwnames
[] = {
39834 (char *) "self",(char *) "size", NULL
39837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39839 if (SWIG_arg_fail(1)) SWIG_fail
;
39842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39848 wxPyEndAllowThreads(__tstate
);
39849 if (PyErr_Occurred()) SWIG_fail
;
39851 Py_INCREF(Py_None
); resultobj
= Py_None
;
39858 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
;
39860 wxSizer
*arg1
= (wxSizer
*) 0 ;
39862 PyObject
* obj0
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39869 if (SWIG_arg_fail(1)) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 result
= (arg1
)->GetSize();
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39878 wxSize
* resultptr
;
39879 resultptr
= new wxSize((wxSize
&)(result
));
39880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39888 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39889 PyObject
*resultobj
;
39890 wxSizer
*arg1
= (wxSizer
*) 0 ;
39892 PyObject
* obj0
= 0 ;
39893 char *kwnames
[] = {
39894 (char *) "self", NULL
39897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39899 if (SWIG_arg_fail(1)) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (arg1
)->GetPosition();
39904 wxPyEndAllowThreads(__tstate
);
39905 if (PyErr_Occurred()) SWIG_fail
;
39908 wxPoint
* resultptr
;
39909 resultptr
= new wxPoint((wxPoint
&)(result
));
39910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39918 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39919 PyObject
*resultobj
;
39920 wxSizer
*arg1
= (wxSizer
*) 0 ;
39922 PyObject
* obj0
= 0 ;
39923 char *kwnames
[] = {
39924 (char *) "self", NULL
39927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39929 if (SWIG_arg_fail(1)) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (arg1
)->GetMinSize();
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39938 wxSize
* resultptr
;
39939 resultptr
= new wxSize((wxSize
&)(result
));
39940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39948 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxSizer
*arg1
= (wxSizer
*) 0 ;
39951 PyObject
* obj0
= 0 ;
39952 char *kwnames
[] = {
39953 (char *) "self", NULL
39956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39958 if (SWIG_arg_fail(1)) SWIG_fail
;
39960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39961 (arg1
)->RecalcSizes();
39963 wxPyEndAllowThreads(__tstate
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39966 Py_INCREF(Py_None
); resultobj
= Py_None
;
39973 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39974 PyObject
*resultobj
;
39975 wxSizer
*arg1
= (wxSizer
*) 0 ;
39977 PyObject
* obj0
= 0 ;
39978 char *kwnames
[] = {
39979 (char *) "self", NULL
39982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39984 if (SWIG_arg_fail(1)) SWIG_fail
;
39986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39987 result
= (arg1
)->CalcMin();
39989 wxPyEndAllowThreads(__tstate
);
39990 if (PyErr_Occurred()) SWIG_fail
;
39993 wxSize
* resultptr
;
39994 resultptr
= new wxSize((wxSize
&)(result
));
39995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40003 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
;
40005 wxSizer
*arg1
= (wxSizer
*) 0 ;
40006 PyObject
* obj0
= 0 ;
40007 char *kwnames
[] = {
40008 (char *) "self", NULL
40011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40013 if (SWIG_arg_fail(1)) SWIG_fail
;
40015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40018 wxPyEndAllowThreads(__tstate
);
40019 if (PyErr_Occurred()) SWIG_fail
;
40021 Py_INCREF(Py_None
); resultobj
= Py_None
;
40028 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40029 PyObject
*resultobj
;
40030 wxSizer
*arg1
= (wxSizer
*) 0 ;
40031 wxWindow
*arg2
= (wxWindow
*) 0 ;
40033 PyObject
* obj0
= 0 ;
40034 PyObject
* obj1
= 0 ;
40035 char *kwnames
[] = {
40036 (char *) "self",(char *) "window", NULL
40039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40041 if (SWIG_arg_fail(1)) SWIG_fail
;
40042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40043 if (SWIG_arg_fail(2)) SWIG_fail
;
40045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40046 result
= (arg1
)->Fit(arg2
);
40048 wxPyEndAllowThreads(__tstate
);
40049 if (PyErr_Occurred()) SWIG_fail
;
40052 wxSize
* resultptr
;
40053 resultptr
= new wxSize((wxSize
&)(result
));
40054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40062 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40063 PyObject
*resultobj
;
40064 wxSizer
*arg1
= (wxSizer
*) 0 ;
40065 wxWindow
*arg2
= (wxWindow
*) 0 ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 char *kwnames
[] = {
40069 (char *) "self",(char *) "window", NULL
40072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40074 if (SWIG_arg_fail(1)) SWIG_fail
;
40075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40076 if (SWIG_arg_fail(2)) SWIG_fail
;
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 (arg1
)->FitInside(arg2
);
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40084 Py_INCREF(Py_None
); resultobj
= Py_None
;
40091 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
;
40093 wxSizer
*arg1
= (wxSizer
*) 0 ;
40094 wxWindow
*arg2
= (wxWindow
*) 0 ;
40095 PyObject
* obj0
= 0 ;
40096 PyObject
* obj1
= 0 ;
40097 char *kwnames
[] = {
40098 (char *) "self",(char *) "window", NULL
40101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40103 if (SWIG_arg_fail(1)) SWIG_fail
;
40104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40105 if (SWIG_arg_fail(2)) SWIG_fail
;
40107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40108 (arg1
)->SetSizeHints(arg2
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40113 Py_INCREF(Py_None
); resultobj
= Py_None
;
40120 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40121 PyObject
*resultobj
;
40122 wxSizer
*arg1
= (wxSizer
*) 0 ;
40123 wxWindow
*arg2
= (wxWindow
*) 0 ;
40124 PyObject
* obj0
= 0 ;
40125 PyObject
* obj1
= 0 ;
40126 char *kwnames
[] = {
40127 (char *) "self",(char *) "window", NULL
40130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40132 if (SWIG_arg_fail(1)) SWIG_fail
;
40133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40134 if (SWIG_arg_fail(2)) SWIG_fail
;
40136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40137 (arg1
)->SetVirtualSizeHints(arg2
);
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40142 Py_INCREF(Py_None
); resultobj
= Py_None
;
40149 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40150 PyObject
*resultobj
;
40151 wxSizer
*arg1
= (wxSizer
*) 0 ;
40152 bool arg2
= (bool) false ;
40153 PyObject
* obj0
= 0 ;
40154 PyObject
* obj1
= 0 ;
40155 char *kwnames
[] = {
40156 (char *) "self",(char *) "deleteWindows", NULL
40159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40161 if (SWIG_arg_fail(1)) SWIG_fail
;
40164 arg2
= (bool)(SWIG_As_bool(obj1
));
40165 if (SWIG_arg_fail(2)) SWIG_fail
;
40169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40170 (arg1
)->Clear(arg2
);
40172 wxPyEndAllowThreads(__tstate
);
40173 if (PyErr_Occurred()) SWIG_fail
;
40175 Py_INCREF(Py_None
); resultobj
= Py_None
;
40182 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40183 PyObject
*resultobj
;
40184 wxSizer
*arg1
= (wxSizer
*) 0 ;
40185 PyObject
* obj0
= 0 ;
40186 char *kwnames
[] = {
40187 (char *) "self", NULL
40190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40192 if (SWIG_arg_fail(1)) SWIG_fail
;
40194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 (arg1
)->DeleteWindows();
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 Py_INCREF(Py_None
); resultobj
= Py_None
;
40207 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40208 PyObject
*resultobj
;
40209 wxSizer
*arg1
= (wxSizer
*) 0 ;
40211 PyObject
* obj0
= 0 ;
40212 char *kwnames
[] = {
40213 (char *) "self", NULL
40216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40218 if (SWIG_arg_fail(1)) SWIG_fail
;
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 resultobj
= result
;
40233 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
;
40235 wxSizer
*arg1
= (wxSizer
*) 0 ;
40236 PyObject
*arg2
= (PyObject
*) 0 ;
40237 bool arg3
= (bool) true ;
40238 bool arg4
= (bool) false ;
40240 PyObject
* obj0
= 0 ;
40241 PyObject
* obj1
= 0 ;
40242 PyObject
* obj2
= 0 ;
40243 PyObject
* obj3
= 0 ;
40244 char *kwnames
[] = {
40245 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40250 if (SWIG_arg_fail(1)) SWIG_fail
;
40254 arg3
= (bool)(SWIG_As_bool(obj2
));
40255 if (SWIG_arg_fail(3)) SWIG_fail
;
40260 arg4
= (bool)(SWIG_As_bool(obj3
));
40261 if (SWIG_arg_fail(4)) SWIG_fail
;
40265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40266 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40268 wxPyEndAllowThreads(__tstate
);
40269 if (PyErr_Occurred()) SWIG_fail
;
40272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40280 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40281 PyObject
*resultobj
;
40282 wxSizer
*arg1
= (wxSizer
*) 0 ;
40283 PyObject
*arg2
= (PyObject
*) 0 ;
40285 PyObject
* obj0
= 0 ;
40286 PyObject
* obj1
= 0 ;
40287 char *kwnames
[] = {
40288 (char *) "self",(char *) "item", NULL
40291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40293 if (SWIG_arg_fail(1)) SWIG_fail
;
40296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40297 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40311 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40312 PyObject
*resultobj
;
40313 wxSizer
*arg1
= (wxSizer
*) 0 ;
40315 PyObject
* obj0
= 0 ;
40316 PyObject
* obj1
= 0 ;
40317 char *kwnames
[] = {
40318 (char *) "self",(char *) "show", NULL
40321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40323 if (SWIG_arg_fail(1)) SWIG_fail
;
40325 arg2
= (bool)(SWIG_As_bool(obj1
));
40326 if (SWIG_arg_fail(2)) SWIG_fail
;
40329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40330 (arg1
)->ShowItems(arg2
);
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40335 Py_INCREF(Py_None
); resultobj
= Py_None
;
40342 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40345 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40347 return Py_BuildValue((char *)"");
40349 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40350 PyObject
*resultobj
;
40352 char *kwnames
[] = {
40356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40359 result
= (wxPySizer
*)new wxPySizer();
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40371 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40372 PyObject
*resultobj
;
40373 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40374 PyObject
*arg2
= (PyObject
*) 0 ;
40375 PyObject
*arg3
= (PyObject
*) 0 ;
40376 PyObject
* obj0
= 0 ;
40377 PyObject
* obj1
= 0 ;
40378 PyObject
* obj2
= 0 ;
40379 char *kwnames
[] = {
40380 (char *) "self",(char *) "self",(char *) "_class", NULL
40383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40385 if (SWIG_arg_fail(1)) SWIG_fail
;
40389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40392 wxPyEndAllowThreads(__tstate
);
40393 if (PyErr_Occurred()) SWIG_fail
;
40395 Py_INCREF(Py_None
); resultobj
= Py_None
;
40402 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40405 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40407 return Py_BuildValue((char *)"");
40409 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 int arg1
= (int) wxHORIZONTAL
;
40412 wxBoxSizer
*result
;
40413 PyObject
* obj0
= 0 ;
40414 char *kwnames
[] = {
40415 (char *) "orient", NULL
40418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40421 arg1
= (int)(SWIG_As_int(obj0
));
40422 if (SWIG_arg_fail(1)) SWIG_fail
;
40426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40427 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40429 wxPyEndAllowThreads(__tstate
);
40430 if (PyErr_Occurred()) SWIG_fail
;
40432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40439 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40440 PyObject
*resultobj
;
40441 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40443 PyObject
* obj0
= 0 ;
40444 char *kwnames
[] = {
40445 (char *) "self", NULL
40448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40450 if (SWIG_arg_fail(1)) SWIG_fail
;
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 result
= (int)(arg1
)->GetOrientation();
40455 wxPyEndAllowThreads(__tstate
);
40456 if (PyErr_Occurred()) SWIG_fail
;
40459 resultobj
= SWIG_From_int((int)(result
));
40467 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40471 PyObject
* obj0
= 0 ;
40472 PyObject
* obj1
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self",(char *) "orient", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40479 if (SWIG_arg_fail(1)) SWIG_fail
;
40481 arg2
= (int)(SWIG_As_int(obj1
));
40482 if (SWIG_arg_fail(2)) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 (arg1
)->SetOrientation(arg2
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40491 Py_INCREF(Py_None
); resultobj
= Py_None
;
40498 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40501 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40503 return Py_BuildValue((char *)"");
40505 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40506 PyObject
*resultobj
;
40507 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40508 int arg2
= (int) wxHORIZONTAL
;
40509 wxStaticBoxSizer
*result
;
40510 PyObject
* obj0
= 0 ;
40511 PyObject
* obj1
= 0 ;
40512 char *kwnames
[] = {
40513 (char *) "box",(char *) "orient", NULL
40516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40518 if (SWIG_arg_fail(1)) SWIG_fail
;
40521 arg2
= (int)(SWIG_As_int(obj1
));
40522 if (SWIG_arg_fail(2)) SWIG_fail
;
40526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40527 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40529 wxPyEndAllowThreads(__tstate
);
40530 if (PyErr_Occurred()) SWIG_fail
;
40532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40539 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40540 PyObject
*resultobj
;
40541 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40542 wxStaticBox
*result
;
40543 PyObject
* obj0
= 0 ;
40544 char *kwnames
[] = {
40545 (char *) "self", NULL
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40550 if (SWIG_arg_fail(1)) SWIG_fail
;
40552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40553 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40555 wxPyEndAllowThreads(__tstate
);
40556 if (PyErr_Occurred()) SWIG_fail
;
40559 resultobj
= wxPyMake_wxObject(result
, 0);
40567 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40570 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40572 return Py_BuildValue((char *)"");
40574 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
;
40576 int arg1
= (int) 1 ;
40577 int arg2
= (int) 0 ;
40578 int arg3
= (int) 0 ;
40579 int arg4
= (int) 0 ;
40580 wxGridSizer
*result
;
40581 PyObject
* obj0
= 0 ;
40582 PyObject
* obj1
= 0 ;
40583 PyObject
* obj2
= 0 ;
40584 PyObject
* obj3
= 0 ;
40585 char *kwnames
[] = {
40586 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40592 arg1
= (int)(SWIG_As_int(obj0
));
40593 if (SWIG_arg_fail(1)) SWIG_fail
;
40598 arg2
= (int)(SWIG_As_int(obj1
));
40599 if (SWIG_arg_fail(2)) SWIG_fail
;
40604 arg3
= (int)(SWIG_As_int(obj2
));
40605 if (SWIG_arg_fail(3)) SWIG_fail
;
40610 arg4
= (int)(SWIG_As_int(obj3
));
40611 if (SWIG_arg_fail(4)) SWIG_fail
;
40615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40616 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40618 wxPyEndAllowThreads(__tstate
);
40619 if (PyErr_Occurred()) SWIG_fail
;
40621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40628 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40629 PyObject
*resultobj
;
40630 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40632 PyObject
* obj0
= 0 ;
40633 PyObject
* obj1
= 0 ;
40634 char *kwnames
[] = {
40635 (char *) "self",(char *) "cols", NULL
40638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40640 if (SWIG_arg_fail(1)) SWIG_fail
;
40642 arg2
= (int)(SWIG_As_int(obj1
));
40643 if (SWIG_arg_fail(2)) SWIG_fail
;
40646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40647 (arg1
)->SetCols(arg2
);
40649 wxPyEndAllowThreads(__tstate
);
40650 if (PyErr_Occurred()) SWIG_fail
;
40652 Py_INCREF(Py_None
); resultobj
= Py_None
;
40659 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40660 PyObject
*resultobj
;
40661 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40663 PyObject
* obj0
= 0 ;
40664 PyObject
* obj1
= 0 ;
40665 char *kwnames
[] = {
40666 (char *) "self",(char *) "rows", NULL
40669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40671 if (SWIG_arg_fail(1)) SWIG_fail
;
40673 arg2
= (int)(SWIG_As_int(obj1
));
40674 if (SWIG_arg_fail(2)) SWIG_fail
;
40677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40678 (arg1
)->SetRows(arg2
);
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40683 Py_INCREF(Py_None
); resultobj
= Py_None
;
40690 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40691 PyObject
*resultobj
;
40692 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 char *kwnames
[] = {
40697 (char *) "self",(char *) "gap", NULL
40700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40702 if (SWIG_arg_fail(1)) SWIG_fail
;
40704 arg2
= (int)(SWIG_As_int(obj1
));
40705 if (SWIG_arg_fail(2)) SWIG_fail
;
40708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40709 (arg1
)->SetVGap(arg2
);
40711 wxPyEndAllowThreads(__tstate
);
40712 if (PyErr_Occurred()) SWIG_fail
;
40714 Py_INCREF(Py_None
); resultobj
= Py_None
;
40721 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40722 PyObject
*resultobj
;
40723 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40725 PyObject
* obj0
= 0 ;
40726 PyObject
* obj1
= 0 ;
40727 char *kwnames
[] = {
40728 (char *) "self",(char *) "gap", NULL
40731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40733 if (SWIG_arg_fail(1)) SWIG_fail
;
40735 arg2
= (int)(SWIG_As_int(obj1
));
40736 if (SWIG_arg_fail(2)) SWIG_fail
;
40739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40740 (arg1
)->SetHGap(arg2
);
40742 wxPyEndAllowThreads(__tstate
);
40743 if (PyErr_Occurred()) SWIG_fail
;
40745 Py_INCREF(Py_None
); resultobj
= Py_None
;
40752 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40753 PyObject
*resultobj
;
40754 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40756 PyObject
* obj0
= 0 ;
40757 char *kwnames
[] = {
40758 (char *) "self", NULL
40761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40763 if (SWIG_arg_fail(1)) SWIG_fail
;
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 result
= (int)(arg1
)->GetCols();
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40772 resultobj
= SWIG_From_int((int)(result
));
40780 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40781 PyObject
*resultobj
;
40782 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40784 PyObject
* obj0
= 0 ;
40785 char *kwnames
[] = {
40786 (char *) "self", NULL
40789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40791 if (SWIG_arg_fail(1)) SWIG_fail
;
40793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40794 result
= (int)(arg1
)->GetRows();
40796 wxPyEndAllowThreads(__tstate
);
40797 if (PyErr_Occurred()) SWIG_fail
;
40800 resultobj
= SWIG_From_int((int)(result
));
40808 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40809 PyObject
*resultobj
;
40810 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40812 PyObject
* obj0
= 0 ;
40813 char *kwnames
[] = {
40814 (char *) "self", NULL
40817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40819 if (SWIG_arg_fail(1)) SWIG_fail
;
40821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40822 result
= (int)(arg1
)->GetVGap();
40824 wxPyEndAllowThreads(__tstate
);
40825 if (PyErr_Occurred()) SWIG_fail
;
40828 resultobj
= SWIG_From_int((int)(result
));
40836 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40837 PyObject
*resultobj
;
40838 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40840 PyObject
* obj0
= 0 ;
40841 char *kwnames
[] = {
40842 (char *) "self", NULL
40845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40847 if (SWIG_arg_fail(1)) SWIG_fail
;
40849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40850 result
= (int)(arg1
)->GetHGap();
40852 wxPyEndAllowThreads(__tstate
);
40853 if (PyErr_Occurred()) SWIG_fail
;
40856 resultobj
= SWIG_From_int((int)(result
));
40864 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40867 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40869 return Py_BuildValue((char *)"");
40871 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40872 PyObject
*resultobj
;
40873 int arg1
= (int) 1 ;
40874 int arg2
= (int) 0 ;
40875 int arg3
= (int) 0 ;
40876 int arg4
= (int) 0 ;
40877 wxFlexGridSizer
*result
;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 PyObject
* obj2
= 0 ;
40881 PyObject
* obj3
= 0 ;
40882 char *kwnames
[] = {
40883 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40889 arg1
= (int)(SWIG_As_int(obj0
));
40890 if (SWIG_arg_fail(1)) SWIG_fail
;
40895 arg2
= (int)(SWIG_As_int(obj1
));
40896 if (SWIG_arg_fail(2)) SWIG_fail
;
40901 arg3
= (int)(SWIG_As_int(obj2
));
40902 if (SWIG_arg_fail(3)) SWIG_fail
;
40907 arg4
= (int)(SWIG_As_int(obj3
));
40908 if (SWIG_arg_fail(4)) SWIG_fail
;
40912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40913 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40915 wxPyEndAllowThreads(__tstate
);
40916 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40925 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40926 PyObject
*resultobj
;
40927 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40929 int arg3
= (int) 0 ;
40930 PyObject
* obj0
= 0 ;
40931 PyObject
* obj1
= 0 ;
40932 PyObject
* obj2
= 0 ;
40933 char *kwnames
[] = {
40934 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40939 if (SWIG_arg_fail(1)) SWIG_fail
;
40941 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40942 if (SWIG_arg_fail(2)) SWIG_fail
;
40946 arg3
= (int)(SWIG_As_int(obj2
));
40947 if (SWIG_arg_fail(3)) SWIG_fail
;
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 (arg1
)->AddGrowableRow(arg2
,arg3
);
40954 wxPyEndAllowThreads(__tstate
);
40955 if (PyErr_Occurred()) SWIG_fail
;
40957 Py_INCREF(Py_None
); resultobj
= Py_None
;
40964 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40965 PyObject
*resultobj
;
40966 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40968 PyObject
* obj0
= 0 ;
40969 PyObject
* obj1
= 0 ;
40970 char *kwnames
[] = {
40971 (char *) "self",(char *) "idx", NULL
40974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40976 if (SWIG_arg_fail(1)) SWIG_fail
;
40978 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40979 if (SWIG_arg_fail(2)) SWIG_fail
;
40982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40983 (arg1
)->RemoveGrowableRow(arg2
);
40985 wxPyEndAllowThreads(__tstate
);
40986 if (PyErr_Occurred()) SWIG_fail
;
40988 Py_INCREF(Py_None
); resultobj
= Py_None
;
40995 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40996 PyObject
*resultobj
;
40997 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40999 int arg3
= (int) 0 ;
41000 PyObject
* obj0
= 0 ;
41001 PyObject
* obj1
= 0 ;
41002 PyObject
* obj2
= 0 ;
41003 char *kwnames
[] = {
41004 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41009 if (SWIG_arg_fail(1)) SWIG_fail
;
41011 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41012 if (SWIG_arg_fail(2)) SWIG_fail
;
41016 arg3
= (int)(SWIG_As_int(obj2
));
41017 if (SWIG_arg_fail(3)) SWIG_fail
;
41021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41022 (arg1
)->AddGrowableCol(arg2
,arg3
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41027 Py_INCREF(Py_None
); resultobj
= Py_None
;
41034 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41035 PyObject
*resultobj
;
41036 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41038 PyObject
* obj0
= 0 ;
41039 PyObject
* obj1
= 0 ;
41040 char *kwnames
[] = {
41041 (char *) "self",(char *) "idx", NULL
41044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41046 if (SWIG_arg_fail(1)) SWIG_fail
;
41048 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41049 if (SWIG_arg_fail(2)) SWIG_fail
;
41052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41053 (arg1
)->RemoveGrowableCol(arg2
);
41055 wxPyEndAllowThreads(__tstate
);
41056 if (PyErr_Occurred()) SWIG_fail
;
41058 Py_INCREF(Py_None
); resultobj
= Py_None
;
41065 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41066 PyObject
*resultobj
;
41067 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41069 PyObject
* obj0
= 0 ;
41070 PyObject
* obj1
= 0 ;
41071 char *kwnames
[] = {
41072 (char *) "self",(char *) "direction", NULL
41075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41077 if (SWIG_arg_fail(1)) SWIG_fail
;
41079 arg2
= (int)(SWIG_As_int(obj1
));
41080 if (SWIG_arg_fail(2)) SWIG_fail
;
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 (arg1
)->SetFlexibleDirection(arg2
);
41086 wxPyEndAllowThreads(__tstate
);
41087 if (PyErr_Occurred()) SWIG_fail
;
41089 Py_INCREF(Py_None
); resultobj
= Py_None
;
41096 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41097 PyObject
*resultobj
;
41098 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41100 PyObject
* obj0
= 0 ;
41101 char *kwnames
[] = {
41102 (char *) "self", NULL
41105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41107 if (SWIG_arg_fail(1)) SWIG_fail
;
41109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41110 result
= (int)(arg1
)->GetFlexibleDirection();
41112 wxPyEndAllowThreads(__tstate
);
41113 if (PyErr_Occurred()) SWIG_fail
;
41116 resultobj
= SWIG_From_int((int)(result
));
41124 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41125 PyObject
*resultobj
;
41126 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41127 wxFlexSizerGrowMode arg2
;
41128 PyObject
* obj0
= 0 ;
41129 PyObject
* obj1
= 0 ;
41130 char *kwnames
[] = {
41131 (char *) "self",(char *) "mode", NULL
41134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41136 if (SWIG_arg_fail(1)) SWIG_fail
;
41138 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41139 if (SWIG_arg_fail(2)) SWIG_fail
;
41142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41143 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41145 wxPyEndAllowThreads(__tstate
);
41146 if (PyErr_Occurred()) SWIG_fail
;
41148 Py_INCREF(Py_None
); resultobj
= Py_None
;
41155 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41156 PyObject
*resultobj
;
41157 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41158 wxFlexSizerGrowMode result
;
41159 PyObject
* obj0
= 0 ;
41160 char *kwnames
[] = {
41161 (char *) "self", NULL
41164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41166 if (SWIG_arg_fail(1)) SWIG_fail
;
41168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41169 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41171 wxPyEndAllowThreads(__tstate
);
41172 if (PyErr_Occurred()) SWIG_fail
;
41174 resultobj
= SWIG_From_int((result
));
41181 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41182 PyObject
*resultobj
;
41183 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41184 wxArrayInt
*result
;
41185 PyObject
* obj0
= 0 ;
41186 char *kwnames
[] = {
41187 (char *) "self", NULL
41190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41192 if (SWIG_arg_fail(1)) SWIG_fail
;
41194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41196 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41197 result
= (wxArrayInt
*) &_result_ref
;
41200 wxPyEndAllowThreads(__tstate
);
41201 if (PyErr_Occurred()) SWIG_fail
;
41204 resultobj
= PyList_New(0);
41206 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41207 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41208 PyList_Append(resultobj
, val
);
41218 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41219 PyObject
*resultobj
;
41220 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41221 wxArrayInt
*result
;
41222 PyObject
* obj0
= 0 ;
41223 char *kwnames
[] = {
41224 (char *) "self", NULL
41227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41229 if (SWIG_arg_fail(1)) SWIG_fail
;
41231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41233 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41234 result
= (wxArrayInt
*) &_result_ref
;
41237 wxPyEndAllowThreads(__tstate
);
41238 if (PyErr_Occurred()) SWIG_fail
;
41241 resultobj
= PyList_New(0);
41243 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41244 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41245 PyList_Append(resultobj
, val
);
41255 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41258 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41260 return Py_BuildValue((char *)"");
41262 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41263 PyObject
*resultobj
;
41264 wxStdDialogButtonSizer
*result
;
41265 char *kwnames
[] = {
41269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41272 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41274 wxPyEndAllowThreads(__tstate
);
41275 if (PyErr_Occurred()) SWIG_fail
;
41277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41284 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41285 PyObject
*resultobj
;
41286 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41287 wxButton
*arg2
= (wxButton
*) 0 ;
41288 PyObject
* obj0
= 0 ;
41289 PyObject
* obj1
= 0 ;
41290 char *kwnames
[] = {
41291 (char *) "self",(char *) "button", NULL
41294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41296 if (SWIG_arg_fail(1)) SWIG_fail
;
41297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41298 if (SWIG_arg_fail(2)) SWIG_fail
;
41300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41301 (arg1
)->AddButton(arg2
);
41303 wxPyEndAllowThreads(__tstate
);
41304 if (PyErr_Occurred()) SWIG_fail
;
41306 Py_INCREF(Py_None
); resultobj
= Py_None
;
41313 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41314 PyObject
*resultobj
;
41315 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41316 PyObject
* obj0
= 0 ;
41317 char *kwnames
[] = {
41318 (char *) "self", NULL
41321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41323 if (SWIG_arg_fail(1)) SWIG_fail
;
41325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41328 wxPyEndAllowThreads(__tstate
);
41329 if (PyErr_Occurred()) SWIG_fail
;
41331 Py_INCREF(Py_None
); resultobj
= Py_None
;
41338 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41339 PyObject
*resultobj
;
41340 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41341 wxButton
*arg2
= (wxButton
*) 0 ;
41342 PyObject
* obj0
= 0 ;
41343 PyObject
* obj1
= 0 ;
41344 char *kwnames
[] = {
41345 (char *) "self",(char *) "button", NULL
41348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41350 if (SWIG_arg_fail(1)) SWIG_fail
;
41351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41352 if (SWIG_arg_fail(2)) SWIG_fail
;
41354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41355 (arg1
)->SetAffirmativeButton(arg2
);
41357 wxPyEndAllowThreads(__tstate
);
41358 if (PyErr_Occurred()) SWIG_fail
;
41360 Py_INCREF(Py_None
); resultobj
= Py_None
;
41367 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41368 PyObject
*resultobj
;
41369 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41370 wxButton
*arg2
= (wxButton
*) 0 ;
41371 PyObject
* obj0
= 0 ;
41372 PyObject
* obj1
= 0 ;
41373 char *kwnames
[] = {
41374 (char *) "self",(char *) "button", NULL
41377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41379 if (SWIG_arg_fail(1)) SWIG_fail
;
41380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41381 if (SWIG_arg_fail(2)) SWIG_fail
;
41383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41384 (arg1
)->SetNegativeButton(arg2
);
41386 wxPyEndAllowThreads(__tstate
);
41387 if (PyErr_Occurred()) SWIG_fail
;
41389 Py_INCREF(Py_None
); resultobj
= Py_None
;
41396 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41397 PyObject
*resultobj
;
41398 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41399 wxButton
*arg2
= (wxButton
*) 0 ;
41400 PyObject
* obj0
= 0 ;
41401 PyObject
* obj1
= 0 ;
41402 char *kwnames
[] = {
41403 (char *) "self",(char *) "button", NULL
41406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41408 if (SWIG_arg_fail(1)) SWIG_fail
;
41409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41410 if (SWIG_arg_fail(2)) SWIG_fail
;
41412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41413 (arg1
)->SetCancelButton(arg2
);
41415 wxPyEndAllowThreads(__tstate
);
41416 if (PyErr_Occurred()) SWIG_fail
;
41418 Py_INCREF(Py_None
); resultobj
= Py_None
;
41425 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41426 PyObject
*resultobj
;
41427 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41429 PyObject
* obj0
= 0 ;
41430 char *kwnames
[] = {
41431 (char *) "self", NULL
41434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41436 if (SWIG_arg_fail(1)) SWIG_fail
;
41438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41439 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41441 wxPyEndAllowThreads(__tstate
);
41442 if (PyErr_Occurred()) SWIG_fail
;
41445 resultobj
= wxPyMake_wxObject(result
, 0);
41453 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41454 PyObject
*resultobj
;
41455 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41457 PyObject
* obj0
= 0 ;
41458 char *kwnames
[] = {
41459 (char *) "self", NULL
41462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41464 if (SWIG_arg_fail(1)) SWIG_fail
;
41466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41467 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41469 wxPyEndAllowThreads(__tstate
);
41470 if (PyErr_Occurred()) SWIG_fail
;
41473 resultobj
= wxPyMake_wxObject(result
, 0);
41481 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
;
41483 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41485 PyObject
* obj0
= 0 ;
41486 char *kwnames
[] = {
41487 (char *) "self", NULL
41490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41492 if (SWIG_arg_fail(1)) SWIG_fail
;
41494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41495 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41497 wxPyEndAllowThreads(__tstate
);
41498 if (PyErr_Occurred()) SWIG_fail
;
41501 resultobj
= wxPyMake_wxObject(result
, 0);
41509 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
;
41511 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41513 PyObject
* obj0
= 0 ;
41514 char *kwnames
[] = {
41515 (char *) "self", NULL
41518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41520 if (SWIG_arg_fail(1)) SWIG_fail
;
41522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41523 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41525 wxPyEndAllowThreads(__tstate
);
41526 if (PyErr_Occurred()) SWIG_fail
;
41529 resultobj
= wxPyMake_wxObject(result
, 0);
41537 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41538 PyObject
*resultobj
;
41539 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41541 PyObject
* obj0
= 0 ;
41542 char *kwnames
[] = {
41543 (char *) "self", NULL
41546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41548 if (SWIG_arg_fail(1)) SWIG_fail
;
41550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41551 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41553 wxPyEndAllowThreads(__tstate
);
41554 if (PyErr_Occurred()) SWIG_fail
;
41557 resultobj
= wxPyMake_wxObject(result
, 0);
41565 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41568 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41570 return Py_BuildValue((char *)"");
41572 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41573 PyObject
*resultobj
;
41574 int arg1
= (int) 0 ;
41575 int arg2
= (int) 0 ;
41576 wxGBPosition
*result
;
41577 PyObject
* obj0
= 0 ;
41578 PyObject
* obj1
= 0 ;
41579 char *kwnames
[] = {
41580 (char *) "row",(char *) "col", NULL
41583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41586 arg1
= (int)(SWIG_As_int(obj0
));
41587 if (SWIG_arg_fail(1)) SWIG_fail
;
41592 arg2
= (int)(SWIG_As_int(obj1
));
41593 if (SWIG_arg_fail(2)) SWIG_fail
;
41597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41598 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41600 wxPyEndAllowThreads(__tstate
);
41601 if (PyErr_Occurred()) SWIG_fail
;
41603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41610 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41611 PyObject
*resultobj
;
41612 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41614 PyObject
* obj0
= 0 ;
41615 char *kwnames
[] = {
41616 (char *) "self", NULL
41619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41621 if (SWIG_arg_fail(1)) SWIG_fail
;
41623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41624 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41626 wxPyEndAllowThreads(__tstate
);
41627 if (PyErr_Occurred()) SWIG_fail
;
41630 resultobj
= SWIG_From_int((int)(result
));
41638 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41639 PyObject
*resultobj
;
41640 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41642 PyObject
* obj0
= 0 ;
41643 char *kwnames
[] = {
41644 (char *) "self", NULL
41647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41649 if (SWIG_arg_fail(1)) SWIG_fail
;
41651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41652 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41654 wxPyEndAllowThreads(__tstate
);
41655 if (PyErr_Occurred()) SWIG_fail
;
41658 resultobj
= SWIG_From_int((int)(result
));
41666 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41667 PyObject
*resultobj
;
41668 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41670 PyObject
* obj0
= 0 ;
41671 PyObject
* obj1
= 0 ;
41672 char *kwnames
[] = {
41673 (char *) "self",(char *) "row", NULL
41676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41678 if (SWIG_arg_fail(1)) SWIG_fail
;
41680 arg2
= (int)(SWIG_As_int(obj1
));
41681 if (SWIG_arg_fail(2)) SWIG_fail
;
41684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41685 (arg1
)->SetRow(arg2
);
41687 wxPyEndAllowThreads(__tstate
);
41688 if (PyErr_Occurred()) SWIG_fail
;
41690 Py_INCREF(Py_None
); resultobj
= Py_None
;
41697 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41698 PyObject
*resultobj
;
41699 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41701 PyObject
* obj0
= 0 ;
41702 PyObject
* obj1
= 0 ;
41703 char *kwnames
[] = {
41704 (char *) "self",(char *) "col", NULL
41707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41709 if (SWIG_arg_fail(1)) SWIG_fail
;
41711 arg2
= (int)(SWIG_As_int(obj1
));
41712 if (SWIG_arg_fail(2)) SWIG_fail
;
41715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41716 (arg1
)->SetCol(arg2
);
41718 wxPyEndAllowThreads(__tstate
);
41719 if (PyErr_Occurred()) SWIG_fail
;
41721 Py_INCREF(Py_None
); resultobj
= Py_None
;
41728 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41729 PyObject
*resultobj
;
41730 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41731 wxGBPosition
*arg2
= 0 ;
41733 wxGBPosition temp2
;
41734 PyObject
* obj0
= 0 ;
41735 PyObject
* obj1
= 0 ;
41736 char *kwnames
[] = {
41737 (char *) "self",(char *) "other", NULL
41740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41742 if (SWIG_arg_fail(1)) SWIG_fail
;
41745 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41749 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41751 wxPyEndAllowThreads(__tstate
);
41752 if (PyErr_Occurred()) SWIG_fail
;
41755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41763 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41764 PyObject
*resultobj
;
41765 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41766 wxGBPosition
*arg2
= 0 ;
41768 wxGBPosition temp2
;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 char *kwnames
[] = {
41772 (char *) "self",(char *) "other", NULL
41775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41777 if (SWIG_arg_fail(1)) SWIG_fail
;
41780 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41784 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41798 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41799 PyObject
*resultobj
;
41800 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41801 int arg2
= (int) 0 ;
41802 int arg3
= (int) 0 ;
41803 PyObject
* obj0
= 0 ;
41804 PyObject
* obj1
= 0 ;
41805 PyObject
* obj2
= 0 ;
41806 char *kwnames
[] = {
41807 (char *) "self",(char *) "row",(char *) "col", NULL
41810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41812 if (SWIG_arg_fail(1)) SWIG_fail
;
41815 arg2
= (int)(SWIG_As_int(obj1
));
41816 if (SWIG_arg_fail(2)) SWIG_fail
;
41821 arg3
= (int)(SWIG_As_int(obj2
));
41822 if (SWIG_arg_fail(3)) SWIG_fail
;
41826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41827 wxGBPosition_Set(arg1
,arg2
,arg3
);
41829 wxPyEndAllowThreads(__tstate
);
41830 if (PyErr_Occurred()) SWIG_fail
;
41832 Py_INCREF(Py_None
); resultobj
= Py_None
;
41839 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41840 PyObject
*resultobj
;
41841 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41843 PyObject
* obj0
= 0 ;
41844 char *kwnames
[] = {
41845 (char *) "self", NULL
41848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41850 if (SWIG_arg_fail(1)) SWIG_fail
;
41852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41853 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41855 wxPyEndAllowThreads(__tstate
);
41856 if (PyErr_Occurred()) SWIG_fail
;
41858 resultobj
= result
;
41865 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41868 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41870 return Py_BuildValue((char *)"");
41872 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41873 PyObject
*resultobj
;
41874 int arg1
= (int) 1 ;
41875 int arg2
= (int) 1 ;
41877 PyObject
* obj0
= 0 ;
41878 PyObject
* obj1
= 0 ;
41879 char *kwnames
[] = {
41880 (char *) "rowspan",(char *) "colspan", NULL
41883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41886 arg1
= (int)(SWIG_As_int(obj0
));
41887 if (SWIG_arg_fail(1)) SWIG_fail
;
41892 arg2
= (int)(SWIG_As_int(obj1
));
41893 if (SWIG_arg_fail(2)) SWIG_fail
;
41897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41898 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41900 wxPyEndAllowThreads(__tstate
);
41901 if (PyErr_Occurred()) SWIG_fail
;
41903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41910 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41911 PyObject
*resultobj
;
41912 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41914 PyObject
* obj0
= 0 ;
41915 char *kwnames
[] = {
41916 (char *) "self", NULL
41919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41921 if (SWIG_arg_fail(1)) SWIG_fail
;
41923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41924 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41926 wxPyEndAllowThreads(__tstate
);
41927 if (PyErr_Occurred()) SWIG_fail
;
41930 resultobj
= SWIG_From_int((int)(result
));
41938 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41939 PyObject
*resultobj
;
41940 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41942 PyObject
* obj0
= 0 ;
41943 char *kwnames
[] = {
41944 (char *) "self", NULL
41947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41949 if (SWIG_arg_fail(1)) SWIG_fail
;
41951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41952 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41954 wxPyEndAllowThreads(__tstate
);
41955 if (PyErr_Occurred()) SWIG_fail
;
41958 resultobj
= SWIG_From_int((int)(result
));
41966 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41967 PyObject
*resultobj
;
41968 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41970 PyObject
* obj0
= 0 ;
41971 PyObject
* obj1
= 0 ;
41972 char *kwnames
[] = {
41973 (char *) "self",(char *) "rowspan", NULL
41976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41978 if (SWIG_arg_fail(1)) SWIG_fail
;
41980 arg2
= (int)(SWIG_As_int(obj1
));
41981 if (SWIG_arg_fail(2)) SWIG_fail
;
41984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41985 (arg1
)->SetRowspan(arg2
);
41987 wxPyEndAllowThreads(__tstate
);
41988 if (PyErr_Occurred()) SWIG_fail
;
41990 Py_INCREF(Py_None
); resultobj
= Py_None
;
41997 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41998 PyObject
*resultobj
;
41999 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42001 PyObject
* obj0
= 0 ;
42002 PyObject
* obj1
= 0 ;
42003 char *kwnames
[] = {
42004 (char *) "self",(char *) "colspan", NULL
42007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42009 if (SWIG_arg_fail(1)) SWIG_fail
;
42011 arg2
= (int)(SWIG_As_int(obj1
));
42012 if (SWIG_arg_fail(2)) SWIG_fail
;
42015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42016 (arg1
)->SetColspan(arg2
);
42018 wxPyEndAllowThreads(__tstate
);
42019 if (PyErr_Occurred()) SWIG_fail
;
42021 Py_INCREF(Py_None
); resultobj
= Py_None
;
42028 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42029 PyObject
*resultobj
;
42030 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42031 wxGBSpan
*arg2
= 0 ;
42034 PyObject
* obj0
= 0 ;
42035 PyObject
* obj1
= 0 ;
42036 char *kwnames
[] = {
42037 (char *) "self",(char *) "other", NULL
42040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42042 if (SWIG_arg_fail(1)) SWIG_fail
;
42045 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42049 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42051 wxPyEndAllowThreads(__tstate
);
42052 if (PyErr_Occurred()) SWIG_fail
;
42055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42063 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42064 PyObject
*resultobj
;
42065 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42066 wxGBSpan
*arg2
= 0 ;
42069 PyObject
* obj0
= 0 ;
42070 PyObject
* obj1
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "self",(char *) "other", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42080 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42098 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42099 PyObject
*resultobj
;
42100 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42101 int arg2
= (int) 1 ;
42102 int arg3
= (int) 1 ;
42103 PyObject
* obj0
= 0 ;
42104 PyObject
* obj1
= 0 ;
42105 PyObject
* obj2
= 0 ;
42106 char *kwnames
[] = {
42107 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42115 arg2
= (int)(SWIG_As_int(obj1
));
42116 if (SWIG_arg_fail(2)) SWIG_fail
;
42121 arg3
= (int)(SWIG_As_int(obj2
));
42122 if (SWIG_arg_fail(3)) SWIG_fail
;
42126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 wxGBSpan_Set(arg1
,arg2
,arg3
);
42129 wxPyEndAllowThreads(__tstate
);
42130 if (PyErr_Occurred()) SWIG_fail
;
42132 Py_INCREF(Py_None
); resultobj
= Py_None
;
42139 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42140 PyObject
*resultobj
;
42141 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42143 PyObject
* obj0
= 0 ;
42144 char *kwnames
[] = {
42145 (char *) "self", NULL
42148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42150 if (SWIG_arg_fail(1)) SWIG_fail
;
42152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42153 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42155 wxPyEndAllowThreads(__tstate
);
42156 if (PyErr_Occurred()) SWIG_fail
;
42158 resultobj
= result
;
42165 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42168 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42170 return Py_BuildValue((char *)"");
42172 static int _wrap_DefaultSpan_set(PyObject
*) {
42173 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42178 static PyObject
*_wrap_DefaultSpan_get(void) {
42181 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42186 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42187 PyObject
*resultobj
;
42188 wxGBSizerItem
*result
;
42189 char *kwnames
[] = {
42193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42196 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42198 wxPyEndAllowThreads(__tstate
);
42199 if (PyErr_Occurred()) SWIG_fail
;
42201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42208 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42209 PyObject
*resultobj
;
42210 wxWindow
*arg1
= (wxWindow
*) 0 ;
42211 wxGBPosition
*arg2
= 0 ;
42212 wxGBSpan
*arg3
= 0 ;
42215 PyObject
*arg6
= (PyObject
*) NULL
;
42216 wxGBSizerItem
*result
;
42217 wxGBPosition temp2
;
42219 PyObject
* obj0
= 0 ;
42220 PyObject
* obj1
= 0 ;
42221 PyObject
* obj2
= 0 ;
42222 PyObject
* obj3
= 0 ;
42223 PyObject
* obj4
= 0 ;
42224 PyObject
* obj5
= 0 ;
42225 char *kwnames
[] = {
42226 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42231 if (SWIG_arg_fail(1)) SWIG_fail
;
42234 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42238 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42241 arg4
= (int)(SWIG_As_int(obj3
));
42242 if (SWIG_arg_fail(4)) SWIG_fail
;
42245 arg5
= (int)(SWIG_As_int(obj4
));
42246 if (SWIG_arg_fail(5)) SWIG_fail
;
42252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42253 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42255 wxPyEndAllowThreads(__tstate
);
42256 if (PyErr_Occurred()) SWIG_fail
;
42258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42265 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42266 PyObject
*resultobj
;
42267 wxSizer
*arg1
= (wxSizer
*) 0 ;
42268 wxGBPosition
*arg2
= 0 ;
42269 wxGBSpan
*arg3
= 0 ;
42272 PyObject
*arg6
= (PyObject
*) NULL
;
42273 wxGBSizerItem
*result
;
42274 wxGBPosition temp2
;
42276 PyObject
* obj0
= 0 ;
42277 PyObject
* obj1
= 0 ;
42278 PyObject
* obj2
= 0 ;
42279 PyObject
* obj3
= 0 ;
42280 PyObject
* obj4
= 0 ;
42281 PyObject
* obj5
= 0 ;
42282 char *kwnames
[] = {
42283 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42288 if (SWIG_arg_fail(1)) SWIG_fail
;
42291 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42295 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42298 arg4
= (int)(SWIG_As_int(obj3
));
42299 if (SWIG_arg_fail(4)) SWIG_fail
;
42302 arg5
= (int)(SWIG_As_int(obj4
));
42303 if (SWIG_arg_fail(5)) SWIG_fail
;
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42312 wxPyEndAllowThreads(__tstate
);
42313 if (PyErr_Occurred()) SWIG_fail
;
42315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42322 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42323 PyObject
*resultobj
;
42326 wxGBPosition
*arg3
= 0 ;
42327 wxGBSpan
*arg4
= 0 ;
42330 PyObject
*arg7
= (PyObject
*) NULL
;
42331 wxGBSizerItem
*result
;
42332 wxGBPosition temp3
;
42334 PyObject
* obj0
= 0 ;
42335 PyObject
* obj1
= 0 ;
42336 PyObject
* obj2
= 0 ;
42337 PyObject
* obj3
= 0 ;
42338 PyObject
* obj4
= 0 ;
42339 PyObject
* obj5
= 0 ;
42340 PyObject
* obj6
= 0 ;
42341 char *kwnames
[] = {
42342 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42347 arg1
= (int)(SWIG_As_int(obj0
));
42348 if (SWIG_arg_fail(1)) SWIG_fail
;
42351 arg2
= (int)(SWIG_As_int(obj1
));
42352 if (SWIG_arg_fail(2)) SWIG_fail
;
42356 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42360 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42363 arg5
= (int)(SWIG_As_int(obj4
));
42364 if (SWIG_arg_fail(5)) SWIG_fail
;
42367 arg6
= (int)(SWIG_As_int(obj5
));
42368 if (SWIG_arg_fail(6)) SWIG_fail
;
42374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42375 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42377 wxPyEndAllowThreads(__tstate
);
42378 if (PyErr_Occurred()) SWIG_fail
;
42380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42387 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42388 PyObject
*resultobj
;
42389 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42390 wxGBPosition result
;
42391 PyObject
* obj0
= 0 ;
42392 char *kwnames
[] = {
42393 (char *) "self", NULL
42396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42398 if (SWIG_arg_fail(1)) SWIG_fail
;
42400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42401 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42403 wxPyEndAllowThreads(__tstate
);
42404 if (PyErr_Occurred()) SWIG_fail
;
42407 wxGBPosition
* resultptr
;
42408 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42417 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42418 PyObject
*resultobj
;
42419 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42421 PyObject
* obj0
= 0 ;
42422 char *kwnames
[] = {
42423 (char *) "self", NULL
42426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42428 if (SWIG_arg_fail(1)) SWIG_fail
;
42430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42431 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42433 wxPyEndAllowThreads(__tstate
);
42434 if (PyErr_Occurred()) SWIG_fail
;
42437 wxGBSpan
* resultptr
;
42438 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42447 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42448 PyObject
*resultobj
;
42449 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42450 wxGBPosition
*arg2
= 0 ;
42452 wxGBPosition temp2
;
42453 PyObject
* obj0
= 0 ;
42454 PyObject
* obj1
= 0 ;
42455 char *kwnames
[] = {
42456 (char *) "self",(char *) "pos", NULL
42459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42461 if (SWIG_arg_fail(1)) SWIG_fail
;
42464 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42468 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42470 wxPyEndAllowThreads(__tstate
);
42471 if (PyErr_Occurred()) SWIG_fail
;
42474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42482 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42483 PyObject
*resultobj
;
42484 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42485 wxGBSpan
*arg2
= 0 ;
42488 PyObject
* obj0
= 0 ;
42489 PyObject
* obj1
= 0 ;
42490 char *kwnames
[] = {
42491 (char *) "self",(char *) "span", NULL
42494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42496 if (SWIG_arg_fail(1)) SWIG_fail
;
42499 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42503 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42505 wxPyEndAllowThreads(__tstate
);
42506 if (PyErr_Occurred()) SWIG_fail
;
42509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42517 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42518 PyObject
*resultobj
;
42519 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42520 wxGBSizerItem
*arg2
= 0 ;
42522 PyObject
* obj0
= 0 ;
42523 PyObject
* obj1
= 0 ;
42524 char *kwnames
[] = {
42525 (char *) "self",(char *) "other", NULL
42528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42530 if (SWIG_arg_fail(1)) SWIG_fail
;
42532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42533 if (SWIG_arg_fail(2)) SWIG_fail
;
42534 if (arg2
== NULL
) {
42535 SWIG_null_ref("wxGBSizerItem");
42537 if (SWIG_arg_fail(2)) SWIG_fail
;
42540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42541 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42543 wxPyEndAllowThreads(__tstate
);
42544 if (PyErr_Occurred()) SWIG_fail
;
42547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42555 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42556 PyObject
*resultobj
;
42557 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42558 wxGBPosition
*arg2
= 0 ;
42559 wxGBSpan
*arg3
= 0 ;
42561 wxGBPosition temp2
;
42563 PyObject
* obj0
= 0 ;
42564 PyObject
* obj1
= 0 ;
42565 PyObject
* obj2
= 0 ;
42566 char *kwnames
[] = {
42567 (char *) "self",(char *) "pos",(char *) "span", NULL
42570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42572 if (SWIG_arg_fail(1)) SWIG_fail
;
42575 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42579 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42583 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42585 wxPyEndAllowThreads(__tstate
);
42586 if (PyErr_Occurred()) SWIG_fail
;
42589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42597 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42598 PyObject
*resultobj
;
42599 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42600 wxGBPosition result
;
42601 PyObject
* obj0
= 0 ;
42602 char *kwnames
[] = {
42603 (char *) "self", NULL
42606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42608 if (SWIG_arg_fail(1)) SWIG_fail
;
42610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42611 result
= wxGBSizerItem_GetEndPos(arg1
);
42613 wxPyEndAllowThreads(__tstate
);
42614 if (PyErr_Occurred()) SWIG_fail
;
42617 wxGBPosition
* resultptr
;
42618 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42627 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42628 PyObject
*resultobj
;
42629 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42630 wxGridBagSizer
*result
;
42631 PyObject
* obj0
= 0 ;
42632 char *kwnames
[] = {
42633 (char *) "self", NULL
42636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42638 if (SWIG_arg_fail(1)) SWIG_fail
;
42640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42641 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42643 wxPyEndAllowThreads(__tstate
);
42644 if (PyErr_Occurred()) SWIG_fail
;
42646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42653 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42654 PyObject
*resultobj
;
42655 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42656 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42657 PyObject
* obj0
= 0 ;
42658 PyObject
* obj1
= 0 ;
42659 char *kwnames
[] = {
42660 (char *) "self",(char *) "sizer", NULL
42663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42665 if (SWIG_arg_fail(1)) SWIG_fail
;
42666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42667 if (SWIG_arg_fail(2)) SWIG_fail
;
42669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42670 (arg1
)->SetGBSizer(arg2
);
42672 wxPyEndAllowThreads(__tstate
);
42673 if (PyErr_Occurred()) SWIG_fail
;
42675 Py_INCREF(Py_None
); resultobj
= Py_None
;
42682 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42685 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42687 return Py_BuildValue((char *)"");
42689 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42690 PyObject
*resultobj
;
42691 int arg1
= (int) 0 ;
42692 int arg2
= (int) 0 ;
42693 wxGridBagSizer
*result
;
42694 PyObject
* obj0
= 0 ;
42695 PyObject
* obj1
= 0 ;
42696 char *kwnames
[] = {
42697 (char *) "vgap",(char *) "hgap", NULL
42700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42703 arg1
= (int)(SWIG_As_int(obj0
));
42704 if (SWIG_arg_fail(1)) SWIG_fail
;
42709 arg2
= (int)(SWIG_As_int(obj1
));
42710 if (SWIG_arg_fail(2)) SWIG_fail
;
42714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42715 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42717 wxPyEndAllowThreads(__tstate
);
42718 if (PyErr_Occurred()) SWIG_fail
;
42720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42727 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42728 PyObject
*resultobj
;
42729 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42730 PyObject
*arg2
= (PyObject
*) 0 ;
42731 wxGBPosition
*arg3
= 0 ;
42732 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42733 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42734 int arg5
= (int) 0 ;
42735 int arg6
= (int) 0 ;
42736 PyObject
*arg7
= (PyObject
*) NULL
;
42737 wxGBSizerItem
*result
;
42738 wxGBPosition temp3
;
42740 PyObject
* obj0
= 0 ;
42741 PyObject
* obj1
= 0 ;
42742 PyObject
* obj2
= 0 ;
42743 PyObject
* obj3
= 0 ;
42744 PyObject
* obj4
= 0 ;
42745 PyObject
* obj5
= 0 ;
42746 PyObject
* obj6
= 0 ;
42747 char *kwnames
[] = {
42748 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42753 if (SWIG_arg_fail(1)) SWIG_fail
;
42757 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42762 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42767 arg5
= (int)(SWIG_As_int(obj4
));
42768 if (SWIG_arg_fail(5)) SWIG_fail
;
42773 arg6
= (int)(SWIG_As_int(obj5
));
42774 if (SWIG_arg_fail(6)) SWIG_fail
;
42781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42782 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42784 wxPyEndAllowThreads(__tstate
);
42785 if (PyErr_Occurred()) SWIG_fail
;
42787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42794 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42795 PyObject
*resultobj
;
42796 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42797 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42798 wxGBSizerItem
*result
;
42799 PyObject
* obj0
= 0 ;
42800 PyObject
* obj1
= 0 ;
42801 char *kwnames
[] = {
42802 (char *) "self",(char *) "item", NULL
42805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42807 if (SWIG_arg_fail(1)) SWIG_fail
;
42808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42809 if (SWIG_arg_fail(2)) SWIG_fail
;
42811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42812 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42814 wxPyEndAllowThreads(__tstate
);
42815 if (PyErr_Occurred()) SWIG_fail
;
42817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42824 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42825 PyObject
*resultobj
;
42826 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42830 PyObject
* obj0
= 0 ;
42831 PyObject
* obj1
= 0 ;
42832 PyObject
* obj2
= 0 ;
42833 char *kwnames
[] = {
42834 (char *) "self",(char *) "row",(char *) "col", NULL
42837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42839 if (SWIG_arg_fail(1)) SWIG_fail
;
42841 arg2
= (int)(SWIG_As_int(obj1
));
42842 if (SWIG_arg_fail(2)) SWIG_fail
;
42845 arg3
= (int)(SWIG_As_int(obj2
));
42846 if (SWIG_arg_fail(3)) SWIG_fail
;
42849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42850 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42852 wxPyEndAllowThreads(__tstate
);
42853 if (PyErr_Occurred()) SWIG_fail
;
42856 wxSize
* resultptr
;
42857 resultptr
= new wxSize((wxSize
&)(result
));
42858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42866 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42867 PyObject
*resultobj
;
42868 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42870 PyObject
* obj0
= 0 ;
42871 char *kwnames
[] = {
42872 (char *) "self", NULL
42875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42877 if (SWIG_arg_fail(1)) SWIG_fail
;
42879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42880 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42882 wxPyEndAllowThreads(__tstate
);
42883 if (PyErr_Occurred()) SWIG_fail
;
42886 wxSize
* resultptr
;
42887 resultptr
= new wxSize((wxSize
&)(result
));
42888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42896 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42897 PyObject
*resultobj
;
42898 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42901 PyObject
* obj0
= 0 ;
42902 PyObject
* obj1
= 0 ;
42903 char *kwnames
[] = {
42904 (char *) "self",(char *) "sz", NULL
42907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42909 if (SWIG_arg_fail(1)) SWIG_fail
;
42912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42916 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42918 wxPyEndAllowThreads(__tstate
);
42919 if (PyErr_Occurred()) SWIG_fail
;
42921 Py_INCREF(Py_None
); resultobj
= Py_None
;
42928 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42929 PyObject
*resultobj
;
42930 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42931 wxWindow
*arg2
= (wxWindow
*) 0 ;
42932 wxGBPosition result
;
42933 PyObject
* obj0
= 0 ;
42934 PyObject
* obj1
= 0 ;
42936 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42938 if (SWIG_arg_fail(1)) SWIG_fail
;
42939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42940 if (SWIG_arg_fail(2)) SWIG_fail
;
42942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42943 result
= (arg1
)->GetItemPosition(arg2
);
42945 wxPyEndAllowThreads(__tstate
);
42946 if (PyErr_Occurred()) SWIG_fail
;
42949 wxGBPosition
* resultptr
;
42950 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42959 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42960 PyObject
*resultobj
;
42961 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42962 wxSizer
*arg2
= (wxSizer
*) 0 ;
42963 wxGBPosition result
;
42964 PyObject
* obj0
= 0 ;
42965 PyObject
* obj1
= 0 ;
42967 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42969 if (SWIG_arg_fail(1)) SWIG_fail
;
42970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42971 if (SWIG_arg_fail(2)) SWIG_fail
;
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 result
= (arg1
)->GetItemPosition(arg2
);
42976 wxPyEndAllowThreads(__tstate
);
42977 if (PyErr_Occurred()) SWIG_fail
;
42980 wxGBPosition
* resultptr
;
42981 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42990 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42991 PyObject
*resultobj
;
42992 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42994 wxGBPosition result
;
42995 PyObject
* obj0
= 0 ;
42996 PyObject
* obj1
= 0 ;
42998 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43000 if (SWIG_arg_fail(1)) SWIG_fail
;
43002 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43003 if (SWIG_arg_fail(2)) SWIG_fail
;
43006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43007 result
= (arg1
)->GetItemPosition(arg2
);
43009 wxPyEndAllowThreads(__tstate
);
43010 if (PyErr_Occurred()) SWIG_fail
;
43013 wxGBPosition
* resultptr
;
43014 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43023 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43028 argc
= PyObject_Length(args
);
43029 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43030 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43036 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43046 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43054 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43072 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43080 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43088 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43096 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43098 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43103 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43108 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43109 PyObject
*resultobj
;
43110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43111 wxWindow
*arg2
= (wxWindow
*) 0 ;
43112 wxGBPosition
*arg3
= 0 ;
43114 wxGBPosition temp3
;
43115 PyObject
* obj0
= 0 ;
43116 PyObject
* obj1
= 0 ;
43117 PyObject
* obj2
= 0 ;
43119 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43121 if (SWIG_arg_fail(1)) SWIG_fail
;
43122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43123 if (SWIG_arg_fail(2)) SWIG_fail
;
43126 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43130 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43132 wxPyEndAllowThreads(__tstate
);
43133 if (PyErr_Occurred()) SWIG_fail
;
43136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43144 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43145 PyObject
*resultobj
;
43146 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43147 wxSizer
*arg2
= (wxSizer
*) 0 ;
43148 wxGBPosition
*arg3
= 0 ;
43150 wxGBPosition temp3
;
43151 PyObject
* obj0
= 0 ;
43152 PyObject
* obj1
= 0 ;
43153 PyObject
* obj2
= 0 ;
43155 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43157 if (SWIG_arg_fail(1)) SWIG_fail
;
43158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43159 if (SWIG_arg_fail(2)) SWIG_fail
;
43162 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43166 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43168 wxPyEndAllowThreads(__tstate
);
43169 if (PyErr_Occurred()) SWIG_fail
;
43172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43180 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43181 PyObject
*resultobj
;
43182 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43184 wxGBPosition
*arg3
= 0 ;
43186 wxGBPosition temp3
;
43187 PyObject
* obj0
= 0 ;
43188 PyObject
* obj1
= 0 ;
43189 PyObject
* obj2
= 0 ;
43191 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43193 if (SWIG_arg_fail(1)) SWIG_fail
;
43195 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43196 if (SWIG_arg_fail(2)) SWIG_fail
;
43200 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43204 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43206 wxPyEndAllowThreads(__tstate
);
43207 if (PyErr_Occurred()) SWIG_fail
;
43210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43218 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43223 argc
= PyObject_Length(args
);
43224 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43225 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43231 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43241 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43250 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43253 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43281 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43284 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43293 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43301 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43304 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43307 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43313 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43318 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43319 PyObject
*resultobj
;
43320 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43321 wxWindow
*arg2
= (wxWindow
*) 0 ;
43323 PyObject
* obj0
= 0 ;
43324 PyObject
* obj1
= 0 ;
43326 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43328 if (SWIG_arg_fail(1)) SWIG_fail
;
43329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43330 if (SWIG_arg_fail(2)) SWIG_fail
;
43332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43333 result
= (arg1
)->GetItemSpan(arg2
);
43335 wxPyEndAllowThreads(__tstate
);
43336 if (PyErr_Occurred()) SWIG_fail
;
43339 wxGBSpan
* resultptr
;
43340 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43349 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43350 PyObject
*resultobj
;
43351 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43352 wxSizer
*arg2
= (wxSizer
*) 0 ;
43354 PyObject
* obj0
= 0 ;
43355 PyObject
* obj1
= 0 ;
43357 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43359 if (SWIG_arg_fail(1)) SWIG_fail
;
43360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43361 if (SWIG_arg_fail(2)) SWIG_fail
;
43363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43364 result
= (arg1
)->GetItemSpan(arg2
);
43366 wxPyEndAllowThreads(__tstate
);
43367 if (PyErr_Occurred()) SWIG_fail
;
43370 wxGBSpan
* resultptr
;
43371 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43380 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43381 PyObject
*resultobj
;
43382 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43385 PyObject
* obj0
= 0 ;
43386 PyObject
* obj1
= 0 ;
43388 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43390 if (SWIG_arg_fail(1)) SWIG_fail
;
43392 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43393 if (SWIG_arg_fail(2)) SWIG_fail
;
43396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43397 result
= (arg1
)->GetItemSpan(arg2
);
43399 wxPyEndAllowThreads(__tstate
);
43400 if (PyErr_Occurred()) SWIG_fail
;
43403 wxGBSpan
* resultptr
;
43404 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43413 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43418 argc
= PyObject_Length(args
);
43419 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43420 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43426 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43436 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43444 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43452 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43462 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43470 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43478 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43486 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43488 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43493 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43498 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43499 PyObject
*resultobj
;
43500 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43501 wxWindow
*arg2
= (wxWindow
*) 0 ;
43502 wxGBSpan
*arg3
= 0 ;
43505 PyObject
* obj0
= 0 ;
43506 PyObject
* obj1
= 0 ;
43507 PyObject
* obj2
= 0 ;
43509 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43511 if (SWIG_arg_fail(1)) SWIG_fail
;
43512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43513 if (SWIG_arg_fail(2)) SWIG_fail
;
43516 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43520 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43522 wxPyEndAllowThreads(__tstate
);
43523 if (PyErr_Occurred()) SWIG_fail
;
43526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43534 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43535 PyObject
*resultobj
;
43536 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43537 wxSizer
*arg2
= (wxSizer
*) 0 ;
43538 wxGBSpan
*arg3
= 0 ;
43541 PyObject
* obj0
= 0 ;
43542 PyObject
* obj1
= 0 ;
43543 PyObject
* obj2
= 0 ;
43545 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43547 if (SWIG_arg_fail(1)) SWIG_fail
;
43548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43549 if (SWIG_arg_fail(2)) SWIG_fail
;
43552 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43556 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43558 wxPyEndAllowThreads(__tstate
);
43559 if (PyErr_Occurred()) SWIG_fail
;
43562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43570 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43571 PyObject
*resultobj
;
43572 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43574 wxGBSpan
*arg3
= 0 ;
43577 PyObject
* obj0
= 0 ;
43578 PyObject
* obj1
= 0 ;
43579 PyObject
* obj2
= 0 ;
43581 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43583 if (SWIG_arg_fail(1)) SWIG_fail
;
43585 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43586 if (SWIG_arg_fail(2)) SWIG_fail
;
43590 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43594 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43596 wxPyEndAllowThreads(__tstate
);
43597 if (PyErr_Occurred()) SWIG_fail
;
43600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43608 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43613 argc
= PyObject_Length(args
);
43614 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43631 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43640 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43643 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43671 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43674 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43683 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43691 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43694 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43697 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43703 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43708 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43709 PyObject
*resultobj
;
43710 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43711 wxWindow
*arg2
= (wxWindow
*) 0 ;
43712 wxGBSizerItem
*result
;
43713 PyObject
* obj0
= 0 ;
43714 PyObject
* obj1
= 0 ;
43716 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43718 if (SWIG_arg_fail(1)) SWIG_fail
;
43719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43720 if (SWIG_arg_fail(2)) SWIG_fail
;
43722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43723 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43725 wxPyEndAllowThreads(__tstate
);
43726 if (PyErr_Occurred()) SWIG_fail
;
43728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43735 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43736 PyObject
*resultobj
;
43737 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43738 wxSizer
*arg2
= (wxSizer
*) 0 ;
43739 wxGBSizerItem
*result
;
43740 PyObject
* obj0
= 0 ;
43741 PyObject
* obj1
= 0 ;
43743 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43745 if (SWIG_arg_fail(1)) SWIG_fail
;
43746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43747 if (SWIG_arg_fail(2)) SWIG_fail
;
43749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43750 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43752 wxPyEndAllowThreads(__tstate
);
43753 if (PyErr_Occurred()) SWIG_fail
;
43755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43762 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43767 argc
= PyObject_Length(args
);
43768 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43769 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43775 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43785 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43793 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43811 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43819 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43824 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43829 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43830 PyObject
*resultobj
;
43831 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43832 wxGBPosition
*arg2
= 0 ;
43833 wxGBSizerItem
*result
;
43834 wxGBPosition temp2
;
43835 PyObject
* obj0
= 0 ;
43836 PyObject
* obj1
= 0 ;
43837 char *kwnames
[] = {
43838 (char *) "self",(char *) "pos", NULL
43841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43843 if (SWIG_arg_fail(1)) SWIG_fail
;
43846 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43850 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43852 wxPyEndAllowThreads(__tstate
);
43853 if (PyErr_Occurred()) SWIG_fail
;
43855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43862 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43863 PyObject
*resultobj
;
43864 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43865 wxPoint
*arg2
= 0 ;
43866 wxGBSizerItem
*result
;
43868 PyObject
* obj0
= 0 ;
43869 PyObject
* obj1
= 0 ;
43870 char *kwnames
[] = {
43871 (char *) "self",(char *) "pt", NULL
43874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43876 if (SWIG_arg_fail(1)) SWIG_fail
;
43879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43883 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43885 wxPyEndAllowThreads(__tstate
);
43886 if (PyErr_Occurred()) SWIG_fail
;
43888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43895 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43896 PyObject
*resultobj
;
43897 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43898 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43899 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43901 PyObject
* obj0
= 0 ;
43902 PyObject
* obj1
= 0 ;
43903 PyObject
* obj2
= 0 ;
43904 char *kwnames
[] = {
43905 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43910 if (SWIG_arg_fail(1)) SWIG_fail
;
43911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43912 if (SWIG_arg_fail(2)) SWIG_fail
;
43914 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43915 if (SWIG_arg_fail(3)) SWIG_fail
;
43918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43919 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43921 wxPyEndAllowThreads(__tstate
);
43922 if (PyErr_Occurred()) SWIG_fail
;
43925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43933 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43934 PyObject
*resultobj
;
43935 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43936 wxGBPosition
*arg2
= 0 ;
43937 wxGBSpan
*arg3
= 0 ;
43938 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43940 wxGBPosition temp2
;
43942 PyObject
* obj0
= 0 ;
43943 PyObject
* obj1
= 0 ;
43944 PyObject
* obj2
= 0 ;
43945 PyObject
* obj3
= 0 ;
43946 char *kwnames
[] = {
43947 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43952 if (SWIG_arg_fail(1)) SWIG_fail
;
43955 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43959 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43962 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43963 if (SWIG_arg_fail(4)) SWIG_fail
;
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43969 wxPyEndAllowThreads(__tstate
);
43970 if (PyErr_Occurred()) SWIG_fail
;
43973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43981 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43984 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43986 return Py_BuildValue((char *)"");
43988 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43989 PyObject
*resultobj
;
43990 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43991 wxRelationship arg2
;
43992 wxWindow
*arg3
= (wxWindow
*) 0 ;
43994 int arg5
= (int) 0 ;
43995 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43996 PyObject
* obj0
= 0 ;
43997 PyObject
* obj1
= 0 ;
43998 PyObject
* obj2
= 0 ;
43999 PyObject
* obj3
= 0 ;
44000 PyObject
* obj4
= 0 ;
44001 PyObject
* obj5
= 0 ;
44002 char *kwnames
[] = {
44003 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44008 if (SWIG_arg_fail(1)) SWIG_fail
;
44010 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44011 if (SWIG_arg_fail(2)) SWIG_fail
;
44013 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44014 if (SWIG_arg_fail(3)) SWIG_fail
;
44016 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44017 if (SWIG_arg_fail(4)) SWIG_fail
;
44021 arg5
= (int)(SWIG_As_int(obj4
));
44022 if (SWIG_arg_fail(5)) SWIG_fail
;
44027 arg6
= (int)(SWIG_As_int(obj5
));
44028 if (SWIG_arg_fail(6)) SWIG_fail
;
44032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44033 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44035 wxPyEndAllowThreads(__tstate
);
44036 if (PyErr_Occurred()) SWIG_fail
;
44038 Py_INCREF(Py_None
); resultobj
= Py_None
;
44045 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44046 PyObject
*resultobj
;
44047 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44048 wxWindow
*arg2
= (wxWindow
*) 0 ;
44049 int arg3
= (int) 0 ;
44050 PyObject
* obj0
= 0 ;
44051 PyObject
* obj1
= 0 ;
44052 PyObject
* obj2
= 0 ;
44053 char *kwnames
[] = {
44054 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44059 if (SWIG_arg_fail(1)) SWIG_fail
;
44060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44061 if (SWIG_arg_fail(2)) SWIG_fail
;
44064 arg3
= (int)(SWIG_As_int(obj2
));
44065 if (SWIG_arg_fail(3)) SWIG_fail
;
44069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44070 (arg1
)->LeftOf(arg2
,arg3
);
44072 wxPyEndAllowThreads(__tstate
);
44073 if (PyErr_Occurred()) SWIG_fail
;
44075 Py_INCREF(Py_None
); resultobj
= Py_None
;
44082 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44083 PyObject
*resultobj
;
44084 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44085 wxWindow
*arg2
= (wxWindow
*) 0 ;
44086 int arg3
= (int) 0 ;
44087 PyObject
* obj0
= 0 ;
44088 PyObject
* obj1
= 0 ;
44089 PyObject
* obj2
= 0 ;
44090 char *kwnames
[] = {
44091 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44096 if (SWIG_arg_fail(1)) SWIG_fail
;
44097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44098 if (SWIG_arg_fail(2)) SWIG_fail
;
44101 arg3
= (int)(SWIG_As_int(obj2
));
44102 if (SWIG_arg_fail(3)) SWIG_fail
;
44106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44107 (arg1
)->RightOf(arg2
,arg3
);
44109 wxPyEndAllowThreads(__tstate
);
44110 if (PyErr_Occurred()) SWIG_fail
;
44112 Py_INCREF(Py_None
); resultobj
= Py_None
;
44119 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44120 PyObject
*resultobj
;
44121 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44122 wxWindow
*arg2
= (wxWindow
*) 0 ;
44123 int arg3
= (int) 0 ;
44124 PyObject
* obj0
= 0 ;
44125 PyObject
* obj1
= 0 ;
44126 PyObject
* obj2
= 0 ;
44127 char *kwnames
[] = {
44128 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44133 if (SWIG_arg_fail(1)) SWIG_fail
;
44134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44135 if (SWIG_arg_fail(2)) SWIG_fail
;
44138 arg3
= (int)(SWIG_As_int(obj2
));
44139 if (SWIG_arg_fail(3)) SWIG_fail
;
44143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44144 (arg1
)->Above(arg2
,arg3
);
44146 wxPyEndAllowThreads(__tstate
);
44147 if (PyErr_Occurred()) SWIG_fail
;
44149 Py_INCREF(Py_None
); resultobj
= Py_None
;
44156 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44157 PyObject
*resultobj
;
44158 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44159 wxWindow
*arg2
= (wxWindow
*) 0 ;
44160 int arg3
= (int) 0 ;
44161 PyObject
* obj0
= 0 ;
44162 PyObject
* obj1
= 0 ;
44163 PyObject
* obj2
= 0 ;
44164 char *kwnames
[] = {
44165 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44170 if (SWIG_arg_fail(1)) SWIG_fail
;
44171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44172 if (SWIG_arg_fail(2)) SWIG_fail
;
44175 arg3
= (int)(SWIG_As_int(obj2
));
44176 if (SWIG_arg_fail(3)) SWIG_fail
;
44180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44181 (arg1
)->Below(arg2
,arg3
);
44183 wxPyEndAllowThreads(__tstate
);
44184 if (PyErr_Occurred()) SWIG_fail
;
44186 Py_INCREF(Py_None
); resultobj
= Py_None
;
44193 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44194 PyObject
*resultobj
;
44195 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44196 wxWindow
*arg2
= (wxWindow
*) 0 ;
44198 int arg4
= (int) 0 ;
44199 PyObject
* obj0
= 0 ;
44200 PyObject
* obj1
= 0 ;
44201 PyObject
* obj2
= 0 ;
44202 PyObject
* obj3
= 0 ;
44203 char *kwnames
[] = {
44204 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44209 if (SWIG_arg_fail(1)) SWIG_fail
;
44210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44211 if (SWIG_arg_fail(2)) SWIG_fail
;
44213 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44214 if (SWIG_arg_fail(3)) SWIG_fail
;
44218 arg4
= (int)(SWIG_As_int(obj3
));
44219 if (SWIG_arg_fail(4)) SWIG_fail
;
44223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44224 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44226 wxPyEndAllowThreads(__tstate
);
44227 if (PyErr_Occurred()) SWIG_fail
;
44229 Py_INCREF(Py_None
); resultobj
= Py_None
;
44236 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44237 PyObject
*resultobj
;
44238 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44239 wxWindow
*arg2
= (wxWindow
*) 0 ;
44242 PyObject
* obj0
= 0 ;
44243 PyObject
* obj1
= 0 ;
44244 PyObject
* obj2
= 0 ;
44245 PyObject
* obj3
= 0 ;
44246 char *kwnames
[] = {
44247 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44252 if (SWIG_arg_fail(1)) SWIG_fail
;
44253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44254 if (SWIG_arg_fail(2)) SWIG_fail
;
44256 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44257 if (SWIG_arg_fail(3)) SWIG_fail
;
44260 arg4
= (int)(SWIG_As_int(obj3
));
44261 if (SWIG_arg_fail(4)) SWIG_fail
;
44264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44265 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44267 wxPyEndAllowThreads(__tstate
);
44268 if (PyErr_Occurred()) SWIG_fail
;
44270 Py_INCREF(Py_None
); resultobj
= Py_None
;
44277 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44278 PyObject
*resultobj
;
44279 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44281 PyObject
* obj0
= 0 ;
44282 PyObject
* obj1
= 0 ;
44283 char *kwnames
[] = {
44284 (char *) "self",(char *) "val", NULL
44287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44289 if (SWIG_arg_fail(1)) SWIG_fail
;
44291 arg2
= (int)(SWIG_As_int(obj1
));
44292 if (SWIG_arg_fail(2)) SWIG_fail
;
44295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44296 (arg1
)->Absolute(arg2
);
44298 wxPyEndAllowThreads(__tstate
);
44299 if (PyErr_Occurred()) SWIG_fail
;
44301 Py_INCREF(Py_None
); resultobj
= Py_None
;
44308 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44309 PyObject
*resultobj
;
44310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44311 PyObject
* obj0
= 0 ;
44312 char *kwnames
[] = {
44313 (char *) "self", NULL
44316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44318 if (SWIG_arg_fail(1)) SWIG_fail
;
44320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44321 (arg1
)->Unconstrained();
44323 wxPyEndAllowThreads(__tstate
);
44324 if (PyErr_Occurred()) SWIG_fail
;
44326 Py_INCREF(Py_None
); resultobj
= Py_None
;
44333 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44334 PyObject
*resultobj
;
44335 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44336 PyObject
* obj0
= 0 ;
44337 char *kwnames
[] = {
44338 (char *) "self", NULL
44341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44343 if (SWIG_arg_fail(1)) SWIG_fail
;
44345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44348 wxPyEndAllowThreads(__tstate
);
44349 if (PyErr_Occurred()) SWIG_fail
;
44351 Py_INCREF(Py_None
); resultobj
= Py_None
;
44358 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44359 PyObject
*resultobj
;
44360 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44362 PyObject
* obj0
= 0 ;
44363 char *kwnames
[] = {
44364 (char *) "self", NULL
44367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44369 if (SWIG_arg_fail(1)) SWIG_fail
;
44371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44372 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44374 wxPyEndAllowThreads(__tstate
);
44375 if (PyErr_Occurred()) SWIG_fail
;
44378 resultobj
= wxPyMake_wxObject(result
, 0);
44386 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44387 PyObject
*resultobj
;
44388 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44390 PyObject
* obj0
= 0 ;
44391 char *kwnames
[] = {
44392 (char *) "self", NULL
44395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44397 if (SWIG_arg_fail(1)) SWIG_fail
;
44399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44400 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44402 wxPyEndAllowThreads(__tstate
);
44403 if (PyErr_Occurred()) SWIG_fail
;
44405 resultobj
= SWIG_From_int((result
));
44412 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44413 PyObject
*resultobj
;
44414 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44416 PyObject
* obj0
= 0 ;
44417 PyObject
* obj1
= 0 ;
44418 char *kwnames
[] = {
44419 (char *) "self",(char *) "which", NULL
44422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44424 if (SWIG_arg_fail(1)) SWIG_fail
;
44426 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44427 if (SWIG_arg_fail(2)) SWIG_fail
;
44430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44431 (arg1
)->SetEdge((wxEdge
)arg2
);
44433 wxPyEndAllowThreads(__tstate
);
44434 if (PyErr_Occurred()) SWIG_fail
;
44436 Py_INCREF(Py_None
); resultobj
= Py_None
;
44443 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44444 PyObject
*resultobj
;
44445 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44447 PyObject
* obj0
= 0 ;
44448 PyObject
* obj1
= 0 ;
44449 char *kwnames
[] = {
44450 (char *) "self",(char *) "v", NULL
44453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44455 if (SWIG_arg_fail(1)) SWIG_fail
;
44457 arg2
= (int)(SWIG_As_int(obj1
));
44458 if (SWIG_arg_fail(2)) SWIG_fail
;
44461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44462 (arg1
)->SetValue(arg2
);
44464 wxPyEndAllowThreads(__tstate
);
44465 if (PyErr_Occurred()) SWIG_fail
;
44467 Py_INCREF(Py_None
); resultobj
= Py_None
;
44474 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44475 PyObject
*resultobj
;
44476 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44478 PyObject
* obj0
= 0 ;
44479 char *kwnames
[] = {
44480 (char *) "self", NULL
44483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44485 if (SWIG_arg_fail(1)) SWIG_fail
;
44487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44488 result
= (int)(arg1
)->GetMargin();
44490 wxPyEndAllowThreads(__tstate
);
44491 if (PyErr_Occurred()) SWIG_fail
;
44494 resultobj
= SWIG_From_int((int)(result
));
44502 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44503 PyObject
*resultobj
;
44504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44506 PyObject
* obj0
= 0 ;
44507 PyObject
* obj1
= 0 ;
44508 char *kwnames
[] = {
44509 (char *) "self",(char *) "m", NULL
44512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44514 if (SWIG_arg_fail(1)) SWIG_fail
;
44516 arg2
= (int)(SWIG_As_int(obj1
));
44517 if (SWIG_arg_fail(2)) SWIG_fail
;
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44521 (arg1
)->SetMargin(arg2
);
44523 wxPyEndAllowThreads(__tstate
);
44524 if (PyErr_Occurred()) SWIG_fail
;
44526 Py_INCREF(Py_None
); resultobj
= Py_None
;
44533 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44534 PyObject
*resultobj
;
44535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44537 PyObject
* obj0
= 0 ;
44538 char *kwnames
[] = {
44539 (char *) "self", NULL
44542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44544 if (SWIG_arg_fail(1)) SWIG_fail
;
44546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44547 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44549 wxPyEndAllowThreads(__tstate
);
44550 if (PyErr_Occurred()) SWIG_fail
;
44553 resultobj
= SWIG_From_int((int)(result
));
44561 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44562 PyObject
*resultobj
;
44563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44565 PyObject
* obj0
= 0 ;
44566 char *kwnames
[] = {
44567 (char *) "self", NULL
44570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44572 if (SWIG_arg_fail(1)) SWIG_fail
;
44574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44575 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44577 wxPyEndAllowThreads(__tstate
);
44578 if (PyErr_Occurred()) SWIG_fail
;
44581 resultobj
= SWIG_From_int((int)(result
));
44589 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44590 PyObject
*resultobj
;
44591 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44593 PyObject
* obj0
= 0 ;
44594 char *kwnames
[] = {
44595 (char *) "self", NULL
44598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44600 if (SWIG_arg_fail(1)) SWIG_fail
;
44602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44603 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44605 wxPyEndAllowThreads(__tstate
);
44606 if (PyErr_Occurred()) SWIG_fail
;
44609 resultobj
= SWIG_From_int((int)(result
));
44617 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44618 PyObject
*resultobj
;
44619 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44621 PyObject
* obj0
= 0 ;
44622 char *kwnames
[] = {
44623 (char *) "self", NULL
44626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44628 if (SWIG_arg_fail(1)) SWIG_fail
;
44630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44631 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44633 wxPyEndAllowThreads(__tstate
);
44634 if (PyErr_Occurred()) SWIG_fail
;
44637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44645 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44646 PyObject
*resultobj
;
44647 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44649 PyObject
* obj0
= 0 ;
44650 PyObject
* obj1
= 0 ;
44651 char *kwnames
[] = {
44652 (char *) "self",(char *) "d", NULL
44655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44657 if (SWIG_arg_fail(1)) SWIG_fail
;
44659 arg2
= (bool)(SWIG_As_bool(obj1
));
44660 if (SWIG_arg_fail(2)) SWIG_fail
;
44663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44664 (arg1
)->SetDone(arg2
);
44666 wxPyEndAllowThreads(__tstate
);
44667 if (PyErr_Occurred()) SWIG_fail
;
44669 Py_INCREF(Py_None
); resultobj
= Py_None
;
44676 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44677 PyObject
*resultobj
;
44678 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44679 wxRelationship result
;
44680 PyObject
* obj0
= 0 ;
44681 char *kwnames
[] = {
44682 (char *) "self", NULL
44685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44687 if (SWIG_arg_fail(1)) SWIG_fail
;
44689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44690 result
= (wxRelationship
)(arg1
)->GetRelationship();
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44695 resultobj
= SWIG_From_int((result
));
44702 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44703 PyObject
*resultobj
;
44704 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44705 wxRelationship arg2
;
44706 PyObject
* obj0
= 0 ;
44707 PyObject
* obj1
= 0 ;
44708 char *kwnames
[] = {
44709 (char *) "self",(char *) "r", NULL
44712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44714 if (SWIG_arg_fail(1)) SWIG_fail
;
44716 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44717 if (SWIG_arg_fail(2)) SWIG_fail
;
44720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44721 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44723 wxPyEndAllowThreads(__tstate
);
44724 if (PyErr_Occurred()) SWIG_fail
;
44726 Py_INCREF(Py_None
); resultobj
= Py_None
;
44733 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44734 PyObject
*resultobj
;
44735 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44736 wxWindow
*arg2
= (wxWindow
*) 0 ;
44738 PyObject
* obj0
= 0 ;
44739 PyObject
* obj1
= 0 ;
44740 char *kwnames
[] = {
44741 (char *) "self",(char *) "otherW", NULL
44744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44746 if (SWIG_arg_fail(1)) SWIG_fail
;
44747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44748 if (SWIG_arg_fail(2)) SWIG_fail
;
44750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44751 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44753 wxPyEndAllowThreads(__tstate
);
44754 if (PyErr_Occurred()) SWIG_fail
;
44757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44765 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44766 PyObject
*resultobj
;
44767 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44768 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44769 wxWindow
*arg3
= (wxWindow
*) 0 ;
44771 PyObject
* obj0
= 0 ;
44772 PyObject
* obj1
= 0 ;
44773 PyObject
* obj2
= 0 ;
44774 char *kwnames
[] = {
44775 (char *) "self",(char *) "constraints",(char *) "win", NULL
44778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44780 if (SWIG_arg_fail(1)) SWIG_fail
;
44781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44782 if (SWIG_arg_fail(2)) SWIG_fail
;
44783 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44784 if (SWIG_arg_fail(3)) SWIG_fail
;
44786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44787 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44789 wxPyEndAllowThreads(__tstate
);
44790 if (PyErr_Occurred()) SWIG_fail
;
44793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44801 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44802 PyObject
*resultobj
;
44803 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44805 wxWindow
*arg3
= (wxWindow
*) 0 ;
44806 wxWindow
*arg4
= (wxWindow
*) 0 ;
44808 PyObject
* obj0
= 0 ;
44809 PyObject
* obj1
= 0 ;
44810 PyObject
* obj2
= 0 ;
44811 PyObject
* obj3
= 0 ;
44812 char *kwnames
[] = {
44813 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44818 if (SWIG_arg_fail(1)) SWIG_fail
;
44820 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44821 if (SWIG_arg_fail(2)) SWIG_fail
;
44823 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44824 if (SWIG_arg_fail(3)) SWIG_fail
;
44825 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44826 if (SWIG_arg_fail(4)) SWIG_fail
;
44828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44829 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44831 wxPyEndAllowThreads(__tstate
);
44832 if (PyErr_Occurred()) SWIG_fail
;
44835 resultobj
= SWIG_From_int((int)(result
));
44843 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44846 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44848 return Py_BuildValue((char *)"");
44850 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44851 PyObject
*resultobj
;
44852 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44853 wxIndividualLayoutConstraint
*result
;
44854 PyObject
* obj0
= 0 ;
44855 char *kwnames
[] = {
44856 (char *) "self", NULL
44859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44861 if (SWIG_arg_fail(1)) SWIG_fail
;
44862 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44871 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44872 PyObject
*resultobj
;
44873 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44874 wxIndividualLayoutConstraint
*result
;
44875 PyObject
* obj0
= 0 ;
44876 char *kwnames
[] = {
44877 (char *) "self", NULL
44880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44882 if (SWIG_arg_fail(1)) SWIG_fail
;
44883 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44892 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44893 PyObject
*resultobj
;
44894 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44895 wxIndividualLayoutConstraint
*result
;
44896 PyObject
* obj0
= 0 ;
44897 char *kwnames
[] = {
44898 (char *) "self", NULL
44901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44903 if (SWIG_arg_fail(1)) SWIG_fail
;
44904 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44913 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44914 PyObject
*resultobj
;
44915 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44916 wxIndividualLayoutConstraint
*result
;
44917 PyObject
* obj0
= 0 ;
44918 char *kwnames
[] = {
44919 (char *) "self", NULL
44922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44924 if (SWIG_arg_fail(1)) SWIG_fail
;
44925 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44934 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44935 PyObject
*resultobj
;
44936 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44937 wxIndividualLayoutConstraint
*result
;
44938 PyObject
* obj0
= 0 ;
44939 char *kwnames
[] = {
44940 (char *) "self", NULL
44943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44945 if (SWIG_arg_fail(1)) SWIG_fail
;
44946 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44955 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44956 PyObject
*resultobj
;
44957 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44958 wxIndividualLayoutConstraint
*result
;
44959 PyObject
* obj0
= 0 ;
44960 char *kwnames
[] = {
44961 (char *) "self", NULL
44964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44966 if (SWIG_arg_fail(1)) SWIG_fail
;
44967 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44976 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44977 PyObject
*resultobj
;
44978 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44979 wxIndividualLayoutConstraint
*result
;
44980 PyObject
* obj0
= 0 ;
44981 char *kwnames
[] = {
44982 (char *) "self", NULL
44985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44987 if (SWIG_arg_fail(1)) SWIG_fail
;
44988 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44997 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44998 PyObject
*resultobj
;
44999 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45000 wxIndividualLayoutConstraint
*result
;
45001 PyObject
* obj0
= 0 ;
45002 char *kwnames
[] = {
45003 (char *) "self", NULL
45006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45008 if (SWIG_arg_fail(1)) SWIG_fail
;
45009 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45018 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45019 PyObject
*resultobj
;
45020 wxLayoutConstraints
*result
;
45021 char *kwnames
[] = {
45025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45028 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45030 wxPyEndAllowThreads(__tstate
);
45031 if (PyErr_Occurred()) SWIG_fail
;
45033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45040 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45041 PyObject
*resultobj
;
45042 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45043 wxWindow
*arg2
= (wxWindow
*) 0 ;
45044 int *arg3
= (int *) 0 ;
45048 PyObject
* obj0
= 0 ;
45049 PyObject
* obj1
= 0 ;
45050 char *kwnames
[] = {
45051 (char *) "self",(char *) "win", NULL
45054 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45057 if (SWIG_arg_fail(1)) SWIG_fail
;
45058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45059 if (SWIG_arg_fail(2)) SWIG_fail
;
45061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45062 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45064 wxPyEndAllowThreads(__tstate
);
45065 if (PyErr_Occurred()) SWIG_fail
;
45068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45070 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45071 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45078 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45079 PyObject
*resultobj
;
45080 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45082 PyObject
* obj0
= 0 ;
45083 char *kwnames
[] = {
45084 (char *) "self", NULL
45087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45089 if (SWIG_arg_fail(1)) SWIG_fail
;
45091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45092 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45094 wxPyEndAllowThreads(__tstate
);
45095 if (PyErr_Occurred()) SWIG_fail
;
45098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45106 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45109 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45111 return Py_BuildValue((char *)"");
45113 static PyMethodDef SwigMethods
[] = {
45114 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45115 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45116 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45119 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45153 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45168 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45222 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45250 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45269 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45271 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45279 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45280 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45292 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45304 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45308 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45314 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45324 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45334 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45338 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45417 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45419 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45423 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45425 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45429 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45431 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45435 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45439 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45441 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45473 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45476 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45479 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45491 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45502 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45571 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45578 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45614 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45624 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45630 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45632 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45634 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45637 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45641 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45644 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45647 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45649 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45662 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45666 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45669 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45694 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45697 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45703 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45707 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45718 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45724 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45728 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45735 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45740 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45749 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45794 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45814 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45825 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45835 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46007 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46049 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46066 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46121 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46148 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46192 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46200 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46219 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46220 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46257 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46287 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46290 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46297 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46307 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46319 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46331 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46341 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46351 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46365 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46372 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46373 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46374 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46375 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46376 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46381 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46408 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46420 { NULL
, NULL
, 0, NULL
}
46424 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46426 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46427 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46429 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46430 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46432 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46433 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46435 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46436 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46438 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46439 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46441 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46442 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46444 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46445 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46447 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46448 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46450 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46451 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46453 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46454 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46456 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46459 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46460 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46462 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46463 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46465 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46466 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46468 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46469 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46471 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46472 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46474 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46475 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46477 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46480 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46481 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46483 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46486 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46487 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46489 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46492 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46493 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46495 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46496 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46498 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46499 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46501 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46502 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46504 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46505 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46507 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46508 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46510 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46511 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46513 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46514 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46516 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46517 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46519 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46520 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46522 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46523 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46525 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46526 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46528 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46529 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46531 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46532 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46534 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46535 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46537 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46538 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46540 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46543 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46544 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46546 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46547 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46549 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46552 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46553 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46555 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46556 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46558 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46559 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46561 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46562 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46564 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46565 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46567 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46568 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46570 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46571 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46573 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46574 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46576 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46577 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46579 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46582 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46583 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46585 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46588 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46589 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46591 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46592 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46594 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46595 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46597 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46598 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46600 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46601 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46603 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46604 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46606 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46607 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46609 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46610 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46612 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46613 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46615 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46616 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46618 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46619 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46621 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46622 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46624 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46625 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46627 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46628 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46630 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46631 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46633 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46634 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46636 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46637 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46639 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46640 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46642 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46643 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46645 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46646 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46648 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46649 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46651 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46652 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46654 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46655 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46657 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46658 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46660 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46661 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46663 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46664 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46666 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46667 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46669 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46670 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46672 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46673 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46675 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46678 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46679 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46681 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46684 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46685 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46687 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46688 return (void *)((wxObject
*) ((wxSizer
*) x
));
46690 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46691 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46693 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46696 static void *_p_wxEventTo_p_wxObject(void *x
) {
46697 return (void *)((wxObject
*) ((wxEvent
*) x
));
46699 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46700 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46702 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46703 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46705 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46706 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46708 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46709 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46711 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46712 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46714 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46715 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46717 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46718 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46720 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46721 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46723 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46724 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46726 static void *_p_wxControlTo_p_wxObject(void *x
) {
46727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46729 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46730 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46732 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46733 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46735 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46736 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46738 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46739 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46741 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46744 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46745 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46747 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46748 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46750 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46753 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46754 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46756 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46759 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46760 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46762 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46763 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46765 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46766 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46768 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46769 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46771 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46772 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46774 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46775 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46777 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46795 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46798 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46799 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46801 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46807 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46808 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46810 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46813 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46814 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46816 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46817 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46819 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46822 static void *_p_wxImageTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) ((wxImage
*) x
));
46825 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46834 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46837 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46840 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46843 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46846 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46852 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46855 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46858 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46861 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46864 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46867 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46870 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46873 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46876 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46879 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46882 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46885 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46888 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46891 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46892 return (void *)((wxWindow
*) ((wxControl
*) x
));
46894 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46895 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46897 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46898 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46900 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46901 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46903 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46904 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46906 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46907 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46909 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46910 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46912 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46913 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46915 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46916 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46918 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46919 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46921 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46922 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46924 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46925 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46927 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46928 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46930 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}};
46931 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}};
46932 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}};
46933 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}};
46934 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}};
46935 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}};
46936 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}};
46937 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}};
46938 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}};
46939 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}};
46940 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}};
46941 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}};
46942 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}};
46943 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46944 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}};
46945 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}};
46946 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}};
46947 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}};
46948 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}};
46949 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}};
46950 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}};
46951 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}};
46952 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}};
46953 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}};
46954 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}};
46955 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}};
46956 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}};
46957 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}};
46958 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}};
46959 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}};
46960 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}};
46961 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}};
46962 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}};
46963 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}};
46964 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}};
46965 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}};
46966 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}};
46967 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}};
46968 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}};
46969 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}};
46970 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}};
46971 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}};
46972 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}};
46973 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}};
46974 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}};
46975 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}};
46976 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}};
46977 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}};
46978 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}};
46979 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}};
46980 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}};
46981 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}};
46982 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}};
46983 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}};
46984 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}};
46985 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}};
46986 static swig_type_info _swigt__p_wxDateEvent
[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46987 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}};
46988 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}};
46989 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}};
46990 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}};
46991 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}};
46992 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}};
46993 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}};
46994 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}};
46995 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}};
46996 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}};
46997 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}};
46998 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}};
46999 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}};
47000 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}};
47001 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}};
47002 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}};
47003 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}};
47004 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}};
47005 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}};
47006 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}};
47007 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}};
47008 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}};
47009 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}};
47010 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}};
47011 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}};
47012 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}};
47013 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}};
47014 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}};
47015 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}};
47016 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}};
47017 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}};
47018 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}};
47019 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}};
47020 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}};
47021 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}};
47022 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}};
47023 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}};
47024 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47025 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}};
47026 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}};
47027 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}};
47028 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}};
47029 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}};
47030 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}};
47031 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}};
47032 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}};
47033 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}};
47034 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}};
47035 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}};
47036 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}};
47037 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}};
47038 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}};
47039 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}};
47040 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}};
47041 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47042 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}};
47043 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}};
47044 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}};
47045 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}};
47046 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47047 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}};
47048 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}};
47049 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}};
47050 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}};
47051 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}};
47052 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}};
47053 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}};
47054 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}};
47055 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}};
47056 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}};
47058 static swig_type_info
*swig_types_initial
[] = {
47059 _swigt__p_wxLayoutConstraints
,
47060 _swigt__p_wxRealPoint
,
47061 _swigt__p_wxSizerItem
,
47062 _swigt__p_wxGBSizerItem
,
47063 _swigt__p_wxScrollEvent
,
47064 _swigt__p_wxEventLoop
,
47065 _swigt__p_wxIndividualLayoutConstraint
,
47067 _swigt__p_wxBoxSizer
,
47068 _swigt__p_wxStaticBoxSizer
,
47069 _swigt__p_wxGridBagSizer
,
47070 _swigt__p_wxAcceleratorEntry
,
47071 _swigt__p_wxUpdateUIEvent
,
47074 _swigt__p_wxGridSizer
,
47075 _swigt__p_wxFlexGridSizer
,
47076 _swigt__p_wxInitDialogEvent
,
47077 _swigt__p_wxItemContainer
,
47078 _swigt__p_wxNcPaintEvent
,
47079 _swigt__p_wxPaintEvent
,
47080 _swigt__p_wxSysColourChangedEvent
,
47081 _swigt__p_wxMouseCaptureChangedEvent
,
47082 _swigt__p_wxDisplayChangedEvent
,
47083 _swigt__p_wxPaletteChangedEvent
,
47084 _swigt__p_wxControl
,
47086 _swigt__p_wxMenuBarBase
,
47087 _swigt__p_wxSetCursorEvent
,
47088 _swigt__p_wxFSFile
,
47091 _swigt__std__ptrdiff_t
,
47092 _swigt__p_wxRegion
,
47093 _swigt__p_wxPoint2D
,
47097 _swigt__p_wxPySizer
,
47098 _swigt__p_wxVisualAttributes
,
47099 _swigt__p_wxNotifyEvent
,
47100 _swigt__p_wxPyEvent
,
47101 _swigt__p_wxPropagationDisabler
,
47102 _swigt__p_form_ops_t
,
47103 _swigt__p_wxAppTraits
,
47104 _swigt__p_wxArrayString
,
47105 _swigt__p_wxShowEvent
,
47106 _swigt__p_wxToolTip
,
47107 _swigt__p_wxMoveEvent
,
47108 _swigt__p_wxSizeEvent
,
47109 _swigt__p_wxActivateEvent
,
47110 _swigt__p_wxIconizeEvent
,
47111 _swigt__p_wxMaximizeEvent
,
47112 _swigt__p_wxQueryNewPaletteEvent
,
47113 _swigt__p_wxWindowCreateEvent
,
47114 _swigt__p_wxIdleEvent
,
47115 _swigt__p_wxDateEvent
,
47116 _swigt__p_wxMenuItem
,
47117 _swigt__p_wxStaticBox
,
47119 _swigt__p_wxDuplexMode
,
47120 _swigt__p_wxTIFFHandler
,
47121 _swigt__p_wxXPMHandler
,
47122 _swigt__p_wxPNMHandler
,
47123 _swigt__p_wxJPEGHandler
,
47124 _swigt__p_wxPCXHandler
,
47125 _swigt__p_wxGIFHandler
,
47126 _swigt__p_wxPNGHandler
,
47127 _swigt__p_wxANIHandler
,
47128 _swigt__p_wxMemoryFSHandler
,
47129 _swigt__p_wxZipFSHandler
,
47130 _swigt__p_wxInternetFSHandler
,
47131 _swigt__p_wxPyFileSystemHandler
,
47132 _swigt__p_wxEvtHandler
,
47133 _swigt__p_wxCURHandler
,
47134 _swigt__p_wxICOHandler
,
47135 _swigt__p_wxBMPHandler
,
47136 _swigt__p_wxImageHandler
,
47137 _swigt__p_wxFileSystemHandler
,
47139 _swigt__p_wxButton
,
47140 _swigt__p_wxGBSpan
,
47141 _swigt__p_wxPropagateOnce
,
47142 _swigt__p_wxAcceleratorTable
,
47143 _swigt__p_wxStdDialogButtonSizer
,
47145 _swigt__p_wxGBPosition
,
47148 _swigt__p_wxScrollWinEvent
,
47149 _swigt__p_wxPaperSize
,
47150 _swigt__p_wxImageHistogram
,
47152 _swigt__p_wxCursor
,
47153 _swigt__p_wxObject
,
47154 _swigt__p_wxInputStream
,
47155 _swigt__p_wxOutputStream
,
47156 _swigt__p_wxPyInputStream
,
47157 _swigt__p_wxDateTime
,
47158 _swigt__p_wxKeyEvent
,
47159 _swigt__p_wxNavigationKeyEvent
,
47160 _swigt__p_wxWindowDestroyEvent
,
47161 _swigt__p_unsigned_long
,
47162 _swigt__p_wxWindow
,
47163 _swigt__p_wxMenuBar
,
47164 _swigt__p_wxFileSystem
,
47165 _swigt__p_wxBitmap
,
47166 _swigt__unsigned_int
,
47167 _swigt__p_unsigned_int
,
47168 _swigt__p_wxMenuEvent
,
47169 _swigt__p_wxContextMenuEvent
,
47170 _swigt__p_unsigned_char
,
47171 _swigt__p_wxEraseEvent
,
47172 _swigt__p_wxMouseEvent
,
47173 _swigt__p_wxCloseEvent
,
47175 _swigt__p_wxCommandEvent
,
47176 _swigt__p_wxPyCommandEvent
,
47177 _swigt__p_wxPyDropTarget
,
47178 _swigt__p_wxQuantize
,
47179 _swigt__p_wxChildFocusEvent
,
47180 _swigt__p_wxFocusEvent
,
47181 _swigt__p_wxDropFilesEvent
,
47182 _swigt__p_wxControlWithItems
,
47183 _swigt__p_wxColour
,
47184 _swigt__p_wxValidator
,
47185 _swigt__p_wxPyValidator
,
47190 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47192 static swig_const_info swig_const_table
[] = {
47193 {0, 0, 0, 0.0, 0, 0}};
47204 /* Python-specific SWIG API */
47205 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47206 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47207 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47209 /* -----------------------------------------------------------------------------
47210 * global variable support code.
47211 * ----------------------------------------------------------------------------- */
47213 typedef struct swig_globalvar
{
47214 char *name
; /* Name of global variable */
47215 PyObject
*(*get_attr
)(); /* Return the current value */
47216 int (*set_attr
)(PyObject
*); /* Set the value */
47217 struct swig_globalvar
*next
;
47220 typedef struct swig_varlinkobject
{
47222 swig_globalvar
*vars
;
47223 } swig_varlinkobject
;
47226 swig_varlink_repr(swig_varlinkobject
*v
) {
47228 return PyString_FromString("<Swig global variables>");
47232 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47233 swig_globalvar
*var
;
47235 fprintf(fp
,"Swig global variables { ");
47236 for (var
= v
->vars
; var
; var
=var
->next
) {
47237 fprintf(fp
,"%s", var
->name
);
47238 if (var
->next
) fprintf(fp
,", ");
47240 fprintf(fp
," }\n");
47245 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47246 swig_globalvar
*var
= v
->vars
;
47248 if (strcmp(var
->name
,n
) == 0) {
47249 return (*var
->get_attr
)();
47253 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47258 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47259 swig_globalvar
*var
= v
->vars
;
47261 if (strcmp(var
->name
,n
) == 0) {
47262 return (*var
->set_attr
)(p
);
47266 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47270 static PyTypeObject varlinktype
= {
47271 PyObject_HEAD_INIT(0)
47272 0, /* Number of items in variable part (ob_size) */
47273 (char *)"swigvarlink", /* Type name (tp_name) */
47274 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47275 0, /* Itemsize (tp_itemsize) */
47276 0, /* Deallocator (tp_dealloc) */
47277 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47278 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47279 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47280 0, /* tp_compare */
47281 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47282 0, /* tp_as_number */
47283 0, /* tp_as_sequence */
47284 0, /* tp_as_mapping */
47288 0, /* tp_getattro */
47289 0, /* tp_setattro */
47290 0, /* tp_as_buffer */
47293 #if PY_VERSION_HEX >= 0x02000000
47294 0, /* tp_traverse */
47297 #if PY_VERSION_HEX >= 0x02010000
47298 0, /* tp_richcompare */
47299 0, /* tp_weaklistoffset */
47301 #if PY_VERSION_HEX >= 0x02020000
47302 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47304 #if PY_VERSION_HEX >= 0x02030000
47307 #ifdef COUNT_ALLOCS
47308 0,0,0,0 /* tp_alloc -> tp_next */
47312 /* Create a variable linking object for use later */
47314 SWIG_Python_newvarlink(void) {
47315 swig_varlinkobject
*result
= 0;
47316 result
= PyMem_NEW(swig_varlinkobject
,1);
47317 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47318 result
->ob_type
= &varlinktype
;
47320 result
->ob_refcnt
= 0;
47321 Py_XINCREF((PyObject
*) result
);
47322 return ((PyObject
*) result
);
47326 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47327 swig_varlinkobject
*v
;
47328 swig_globalvar
*gv
;
47329 v
= (swig_varlinkobject
*) p
;
47330 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47331 gv
->name
= (char *) malloc(strlen(name
)+1);
47332 strcpy(gv
->name
,name
);
47333 gv
->get_attr
= get_attr
;
47334 gv
->set_attr
= set_attr
;
47335 gv
->next
= v
->vars
;
47339 /* -----------------------------------------------------------------------------
47340 * constants/methods manipulation
47341 * ----------------------------------------------------------------------------- */
47343 /* Install Constants */
47345 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47348 for (i
= 0; constants
[i
].type
; i
++) {
47349 switch(constants
[i
].type
) {
47351 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47353 case SWIG_PY_FLOAT
:
47354 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47356 case SWIG_PY_STRING
:
47357 if (constants
[i
].pvalue
) {
47358 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47360 Py_INCREF(Py_None
);
47364 case SWIG_PY_POINTER
:
47365 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47367 case SWIG_PY_BINARY
:
47368 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47375 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47381 /* -----------------------------------------------------------------------------*/
47382 /* Fix SwigMethods to carry the callback ptrs when needed */
47383 /* -----------------------------------------------------------------------------*/
47386 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47387 swig_const_info
*const_table
,
47388 swig_type_info
**types
,
47389 swig_type_info
**types_initial
) {
47391 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47392 char *c
= methods
[i
].ml_doc
;
47393 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47395 swig_const_info
*ci
= 0;
47396 char *name
= c
+ 10;
47397 for (j
= 0; const_table
[j
].type
; j
++) {
47398 if (strncmp(const_table
[j
].name
, name
,
47399 strlen(const_table
[j
].name
)) == 0) {
47400 ci
= &(const_table
[j
]);
47405 size_t shift
= (ci
->ptype
) - types
;
47406 swig_type_info
*ty
= types_initial
[shift
];
47407 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47408 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47409 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47411 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47412 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47414 strncpy(buff
, "swig_ptr: ", 10);
47416 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47417 methods
[i
].ml_doc
= ndoc
;
47423 /* -----------------------------------------------------------------------------*
47424 * Initialize type list
47425 * -----------------------------------------------------------------------------*/
47427 #if PY_MAJOR_VERSION < 2
47428 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47429 is copied out of Python/modsupport.c in python version 2.3.4 */
47431 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47434 if (!PyModule_Check(m
)) {
47435 PyErr_SetString(PyExc_TypeError
,
47436 "PyModule_AddObject() needs module as first arg");
47440 PyErr_SetString(PyExc_TypeError
,
47441 "PyModule_AddObject() needs non-NULL value");
47445 dict
= PyModule_GetDict(m
);
47446 if (dict
== NULL
) {
47447 /* Internal error -- modules must have a dict! */
47448 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47449 PyModule_GetName(m
));
47452 if (PyDict_SetItemString(dict
, name
, o
))
47459 static swig_type_info
**
47460 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47461 static PyMethodDef swig_empty_runtime_method_table
[] = {
47463 NULL
, NULL
, 0, NULL
47467 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47468 swig_empty_runtime_method_table
);
47469 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47470 if (pointer
&& module) {
47471 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47473 return type_list_handle
;
47476 static swig_type_info
**
47477 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47478 swig_type_info
**type_pointer
;
47480 /* first check if module already created */
47481 type_pointer
= SWIG_Python_GetTypeListHandle();
47482 if (type_pointer
) {
47483 return type_pointer
;
47485 /* create a new module and variable */
47486 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47494 /* -----------------------------------------------------------------------------*
47495 * Partial Init method
47496 * -----------------------------------------------------------------------------*/
47498 #ifdef SWIG_LINK_RUNTIME
47502 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47508 SWIGEXPORT(void) SWIG_init(void) {
47509 static PyObject
*SWIG_globals
= 0;
47510 static int typeinit
= 0;
47513 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47515 /* Fix SwigMethods to carry the callback ptrs when needed */
47516 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47518 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47519 d
= PyModule_GetDict(m
);
47522 #ifdef SWIG_LINK_RUNTIME
47523 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47525 # ifndef SWIG_STATIC_RUNTIME
47526 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47529 for (i
= 0; swig_types_initial
[i
]; i
++) {
47530 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47534 SWIG_InstallConstants(d
,swig_const_table
);
47537 #ifndef wxPyUSE_EXPORT
47538 // Make our API structure a CObject so other modules can import it
47539 // from this module.
47540 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47541 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47546 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47549 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47552 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47555 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47558 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47561 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47564 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47567 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47570 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47573 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47576 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47579 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47582 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47585 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47588 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47591 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47594 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47597 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47600 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47603 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47606 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47609 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47612 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47615 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47618 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47621 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47624 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47627 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47630 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47633 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47636 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47639 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47642 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47645 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47648 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47651 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47654 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47657 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47660 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47663 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47666 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47669 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47672 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47675 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47678 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47681 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47684 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47687 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47690 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47693 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47696 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47699 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47702 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47705 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47708 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47711 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47714 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47717 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47720 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47723 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47726 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47729 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47732 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47735 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47738 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47741 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47744 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47747 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47750 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47753 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47756 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47759 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47762 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47765 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47768 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47771 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47774 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47777 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47780 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47783 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47786 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47789 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47792 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47795 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47798 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47801 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47804 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47807 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47810 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47813 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47816 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47819 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47822 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47825 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47828 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47831 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47834 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47837 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47840 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47843 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47846 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47849 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47852 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47855 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47858 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47861 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47864 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47867 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47870 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47873 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47876 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47879 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47882 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47885 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47888 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47891 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47894 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47897 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47900 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47903 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47906 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47909 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47912 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47915 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47918 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47921 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47924 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47927 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47930 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47933 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47936 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47939 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47942 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47945 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47948 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47951 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47954 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47957 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47960 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47963 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47966 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47969 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47972 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47975 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47978 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47981 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47984 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47987 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47990 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47993 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47996 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47999 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48002 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48005 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48008 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48011 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48014 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48017 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48020 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48023 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48026 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48029 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48032 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48035 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48038 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48041 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48044 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48047 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48050 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48053 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48056 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48059 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48062 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48065 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48068 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48071 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48074 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48077 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48080 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48083 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48086 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48089 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48092 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48095 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48098 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48101 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48104 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48107 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48110 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48113 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48116 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48119 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48122 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48125 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48128 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48131 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48134 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48137 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48140 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48143 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48146 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48149 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48152 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48155 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48158 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48161 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48164 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48167 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48170 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48173 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48176 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48179 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48182 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48185 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48188 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48191 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48194 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48197 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48200 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48203 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48206 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48209 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48212 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48215 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48218 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48221 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48224 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48227 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48230 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48233 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48236 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48239 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48242 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48245 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48248 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48251 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48254 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48257 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48260 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48263 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48266 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48269 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48272 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48275 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48278 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48281 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48284 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48287 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48290 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48293 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48296 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48299 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48302 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48305 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48308 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48311 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48314 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48317 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48320 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48323 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48326 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48329 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48332 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48335 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48338 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48341 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48344 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48347 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48350 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48353 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48356 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48359 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48362 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48365 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48368 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48371 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48374 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48377 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48380 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48383 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48386 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48389 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48392 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48395 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48398 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48401 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48404 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48407 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48410 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48413 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48416 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48419 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48422 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48425 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48428 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48431 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48434 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48437 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48440 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48443 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48446 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48449 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48452 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48455 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48458 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48461 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48464 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48467 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48470 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48473 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48476 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48479 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48482 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48485 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48488 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48491 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48494 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48497 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48500 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48503 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48506 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48509 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48512 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48515 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48518 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48521 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48524 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48527 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48530 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48533 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48536 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48539 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48542 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48545 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48548 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48551 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48554 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48557 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48560 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48563 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48566 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48569 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48572 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48575 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48578 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48581 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48584 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48587 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48590 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48593 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48596 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48599 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48602 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48605 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48608 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48611 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48614 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48617 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48620 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48623 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48626 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48629 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48632 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48635 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48638 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48641 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48644 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48647 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48650 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48653 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48656 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48659 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48662 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48665 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48668 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48671 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48674 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48677 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48680 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48683 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48686 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48689 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48692 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48695 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48698 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48701 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48704 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48707 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48710 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48713 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48716 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48719 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48722 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48725 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48728 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48731 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48734 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48737 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48740 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48743 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48746 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48749 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48752 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48755 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48758 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48761 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48764 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48767 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48770 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48773 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48776 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48779 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48782 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48785 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48788 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48791 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48794 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48797 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48800 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48803 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48806 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48809 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48812 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48815 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48818 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48821 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48824 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48827 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48830 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48833 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48836 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48839 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48842 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48845 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48848 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48851 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48854 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48857 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48860 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48863 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48866 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48869 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48872 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48875 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48878 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48881 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48884 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48887 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48890 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48893 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48896 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48899 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48902 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48905 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48908 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48911 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48914 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48917 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48920 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48923 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48926 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48929 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48932 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48935 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48938 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48941 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48944 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48947 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48950 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48953 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48956 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48959 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48962 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48965 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48968 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48971 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48974 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48977 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48980 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48983 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48986 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48989 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48992 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48995 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48998 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49001 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49004 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49007 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49010 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49013 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49016 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49019 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49022 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49025 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49028 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49031 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49034 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49037 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49040 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49043 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49046 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49049 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49052 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49055 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49058 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49061 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49064 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49067 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49070 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49073 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49076 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49079 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49082 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49085 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49088 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49091 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49094 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49097 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49100 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49103 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49106 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49109 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49112 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49115 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49118 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49121 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49124 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49127 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49130 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49133 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49136 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49138 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49141 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49144 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49147 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49150 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49153 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49156 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49159 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49162 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49165 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49168 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49171 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49174 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49177 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49180 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49183 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49186 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49189 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49192 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49195 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49198 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49201 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49204 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49207 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49210 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49213 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49216 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49219 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49222 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49225 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49228 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49231 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49234 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49237 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49240 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49243 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49246 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49249 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49252 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49255 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49258 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49261 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49264 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49267 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49270 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49273 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49276 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49279 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49282 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49285 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49288 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49290 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49291 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49293 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49296 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49299 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49302 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49305 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49307 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49308 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49309 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49310 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49311 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49312 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49313 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49314 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49315 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49316 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49318 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49321 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49323 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49324 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49325 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49326 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49327 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49328 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49330 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49333 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49336 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49339 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49342 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49345 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49348 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49351 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49354 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49357 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49360 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49363 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49366 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49369 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49372 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49375 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49377 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49378 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49379 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49380 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49381 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49382 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49383 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49384 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49385 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49386 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49388 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49389 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49390 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49391 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49392 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49393 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49396 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49397 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49398 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49399 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49400 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49401 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49402 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49403 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49404 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49405 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49406 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49407 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49408 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49409 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49410 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49411 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49412 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49413 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49414 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49415 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49416 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49417 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49418 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49419 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49420 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49421 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49422 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49423 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49424 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49425 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49426 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49427 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49428 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49429 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49430 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49431 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49432 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49433 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49434 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49435 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49436 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49437 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49438 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49439 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49440 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49441 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49442 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49443 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49444 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49445 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49446 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49447 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49448 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49449 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49450 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49451 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49452 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49453 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49454 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49455 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49456 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49457 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49458 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49459 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49460 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49461 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49462 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49463 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49464 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49465 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49466 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49467 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49468 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49469 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49470 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49471 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49472 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49473 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49474 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49475 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49476 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49477 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49478 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49479 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49480 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49481 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49482 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49483 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49484 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49485 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49486 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49487 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49488 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49489 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49490 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49492 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49495 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49498 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49501 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49504 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49507 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49510 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49513 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49516 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49519 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49522 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49525 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49528 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49530 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49532 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49535 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49538 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49541 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49544 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49547 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49549 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49550 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49552 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49555 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49558 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49561 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49564 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49566 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49567 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49569 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49572 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49575 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49577 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49579 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49582 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49585 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49588 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49591 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49594 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49597 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49600 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49603 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49606 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49609 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49612 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49615 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49618 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49621 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49624 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49627 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49630 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49633 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49636 // Initialize threading, some globals and such
49640 // Although these are defined in __version__ they need to be here too so
49641 // that an assert can be done to ensure that the wxPython and the wxWindows
49643 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49644 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49645 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));